123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- <?php
- # Generated by the protocol buffer compiler. DO NOT EDIT!
- # source: protos/ydb_operation.proto
- namespace Ydb\Operations;
- use Google\Protobuf\Internal\GPBType;
- use Google\Protobuf\Internal\RepeatedField;
- use Google\Protobuf\Internal\GPBUtil;
- /**
- * Generated from protobuf message <code>Ydb.Operations.ListOperationsRequest</code>
- */
- class ListOperationsRequest extends \Google\Protobuf\Internal\Message
- {
- /**
- * Generated from protobuf field <code>string kind = 1 [(.Ydb.required) = true];</code>
- */
- protected $kind = '';
- /**
- * Generated from protobuf field <code>uint64 page_size = 2;</code>
- */
- protected $page_size = 0;
- /**
- * Generated from protobuf field <code>string page_token = 3;</code>
- */
- protected $page_token = '';
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $kind
- * @type int|string $page_size
- * @type string $page_token
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Protos\YdbOperation::initOnce();
- parent::__construct($data);
- }
- /**
- * Generated from protobuf field <code>string kind = 1 [(.Ydb.required) = true];</code>
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
- /**
- * Generated from protobuf field <code>string kind = 1 [(.Ydb.required) = true];</code>
- * @param string $var
- * @return $this
- */
- public function setKind($var)
- {
- GPBUtil::checkString($var, True);
- $this->kind = $var;
- return $this;
- }
- /**
- * Generated from protobuf field <code>uint64 page_size = 2;</code>
- * @return int|string
- */
- public function getPageSize()
- {
- return $this->page_size;
- }
- /**
- * Generated from protobuf field <code>uint64 page_size = 2;</code>
- * @param int|string $var
- * @return $this
- */
- public function setPageSize($var)
- {
- GPBUtil::checkUint64($var);
- $this->page_size = $var;
- return $this;
- }
- /**
- * Generated from protobuf field <code>string page_token = 3;</code>
- * @return string
- */
- public function getPageToken()
- {
- return $this->page_token;
- }
- /**
- * Generated from protobuf field <code>string page_token = 3;</code>
- * @param string $var
- * @return $this
- */
- public function setPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->page_token = $var;
- return $this;
- }
- }
|