123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- <?php
- namespace Ydb\Topic\AddOffsetsToTransactionRequest\TopicOffsets;
- use Google\Protobuf\Internal\GPBType;
- use Google\Protobuf\Internal\RepeatedField;
- use Google\Protobuf\Internal\GPBUtil;
- class PartitionOffsets extends \Google\Protobuf\Internal\Message
- {
-
- protected $partition_id = 0;
-
- private $partition_offsets;
-
- public function __construct($data = NULL) {
- \GPBMetadata\Protos\YdbTopic::initOnce();
- parent::__construct($data);
- }
-
- public function getPartitionId()
- {
- return $this->partition_id;
- }
-
- public function setPartitionId($var)
- {
- GPBUtil::checkInt64($var);
- $this->partition_id = $var;
- return $this;
- }
-
- public function getPartitionOffsets()
- {
- return $this->partition_offsets;
- }
-
- public function setPartitionOffsets($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Ydb\Topic\OffsetsRange::class);
- $this->partition_offsets = $arr;
- return $this;
- }
- }
- class_alias(PartitionOffsets::class, \Ydb\Topic\AddOffsetsToTransactionRequest_TopicOffsets_PartitionOffsets::class);
|