Ydb.Topic.StreamReadMessage.CommitOffsetResponse */ class CommitOffsetResponse extends \Google\Protobuf\Internal\Message { /** * Partitions with progress. * * Generated from protobuf field repeated .Ydb.Topic.StreamReadMessage.CommitOffsetResponse.PartitionCommittedOffset partitions_committed_offsets = 1; */ private $partitions_committed_offsets; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type array<\Ydb\Topic\StreamReadMessage\CommitOffsetResponse\PartitionCommittedOffset>|\Google\Protobuf\Internal\RepeatedField $partitions_committed_offsets * Partitions with progress. * } */ public function __construct($data = NULL) { \GPBMetadata\Protos\YdbTopic::initOnce(); parent::__construct($data); } /** * Partitions with progress. * * Generated from protobuf field repeated .Ydb.Topic.StreamReadMessage.CommitOffsetResponse.PartitionCommittedOffset partitions_committed_offsets = 1; * @return \Google\Protobuf\Internal\RepeatedField */ public function getPartitionsCommittedOffsets() { return $this->partitions_committed_offsets; } /** * Partitions with progress. * * Generated from protobuf field repeated .Ydb.Topic.StreamReadMessage.CommitOffsetResponse.PartitionCommittedOffset partitions_committed_offsets = 1; * @param array<\Ydb\Topic\StreamReadMessage\CommitOffsetResponse\PartitionCommittedOffset>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setPartitionsCommittedOffsets($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Ydb\Topic\StreamReadMessage\CommitOffsetResponse\PartitionCommittedOffset::class); $this->partitions_committed_offsets = $arr; return $this; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(CommitOffsetResponse::class, \Ydb\Topic\StreamReadMessage_CommitOffsetResponse::class);