123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- <?php
- # Generated by the protocol buffer compiler. DO NOT EDIT!
- # source: protos/ydb_topic.proto
- namespace Ydb\Topic\StreamReadMessage;
- use Google\Protobuf\Internal\GPBType;
- use Google\Protobuf\Internal\RepeatedField;
- use Google\Protobuf\Internal\GPBUtil;
- /**
- * Signal for server that client finished working with this partition.
- * Must be sent only after corresponding StopPartitionSessionRequest from server.
- * Server will give this partition to other read session only after StopPartitionSessionResponse signal.
- *
- * Generated from protobuf message <code>Ydb.Topic.StreamReadMessage.StopPartitionSessionResponse</code>
- */
- class StopPartitionSessionResponse extends \Google\Protobuf\Internal\Message
- {
- /**
- * Partition session identifier of partition session that is released by client.
- *
- * Generated from protobuf field <code>int64 partition_session_id = 1;</code>
- */
- protected $partition_session_id = 0;
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int|string $partition_session_id
- * Partition session identifier of partition session that is released by client.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Protos\YdbTopic::initOnce();
- parent::__construct($data);
- }
- /**
- * Partition session identifier of partition session that is released by client.
- *
- * Generated from protobuf field <code>int64 partition_session_id = 1;</code>
- * @return int|string
- */
- public function getPartitionSessionId()
- {
- return $this->partition_session_id;
- }
- /**
- * Partition session identifier of partition session that is released by client.
- *
- * Generated from protobuf field <code>int64 partition_session_id = 1;</code>
- * @param int|string $var
- * @return $this
- */
- public function setPartitionSessionId($var)
- {
- GPBUtil::checkInt64($var);
- $this->partition_session_id = $var;
- return $this;
- }
- }
- // Adding a class alias for backwards compatibility with the previous class name.
- class_alias(StopPartitionSessionResponse::class, \Ydb\Topic\StreamReadMessage_StopPartitionSessionResponse::class);
|