Ydb.Coordination.SessionResponse.PingPong
*/
class PingPong extends \Google\Protobuf\Internal\Message
{
/**
* Opaque number specified in the ping message is echoed in the pong message
*
* Generated from protobuf field uint64 opaque = 1;
*/
protected $opaque = 0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int|string $opaque
* Opaque number specified in the ping message is echoed in the pong message
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Protos\YdbCoordination::initOnce();
parent::__construct($data);
}
/**
* Opaque number specified in the ping message is echoed in the pong message
*
* Generated from protobuf field uint64 opaque = 1;
* @return int|string
*/
public function getOpaque()
{
return $this->opaque;
}
/**
* Opaque number specified in the ping message is echoed in the pong message
*
* Generated from protobuf field uint64 opaque = 1;
* @param int|string $var
* @return $this
*/
public function setOpaque($var)
{
GPBUtil::checkUint64($var);
$this->opaque = $var;
return $this;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PingPong::class, \Ydb\Coordination\SessionResponse_PingPong::class);