12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <?php
- # Generated by the protocol buffer compiler. DO NOT EDIT!
- # source: protos/ydb_coordination.proto
- namespace Ydb\Coordination\SessionResponse;
- use Google\Protobuf\Internal\GPBType;
- use Google\Protobuf\Internal\RepeatedField;
- use Google\Protobuf\Internal\GPBUtil;
- /**
- **
- * Used by the server to report when an acquire operation is added to the waiters queue
- *
- * Generated from protobuf message <code>Ydb.Coordination.SessionResponse.AcquireSemaphorePending</code>
- */
- class AcquireSemaphorePending extends \Google\Protobuf\Internal\Message
- {
- /**
- * Generated from protobuf field <code>uint64 req_id = 1;</code>
- */
- protected $req_id = 0;
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int|string $req_id
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Protos\YdbCoordination::initOnce();
- parent::__construct($data);
- }
- /**
- * Generated from protobuf field <code>uint64 req_id = 1;</code>
- * @return int|string
- */
- public function getReqId()
- {
- return $this->req_id;
- }
- /**
- * Generated from protobuf field <code>uint64 req_id = 1;</code>
- * @param int|string $var
- * @return $this
- */
- public function setReqId($var)
- {
- GPBUtil::checkUint64($var);
- $this->req_id = $var;
- return $this;
- }
- }
- // Adding a class alias for backwards compatibility with the previous class name.
- class_alias(AcquireSemaphorePending::class, \Ydb\Coordination\SessionResponse_AcquireSemaphorePending::class);
|