12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <?php
- # Generated by the protocol buffer compiler. DO NOT EDIT!
- # source: protos/ydb_topic.proto
- namespace Ydb\Topic;
- use Google\Protobuf\Internal\GPBType;
- use Google\Protobuf\Internal\RepeatedField;
- use Google\Protobuf\Internal\GPBUtil;
- /**
- * In-session reauthentication and reauthorization, lets user increase session lifetime.
- * Client should wait for UpdateTokenResponse before sending next UpdateTokenRequest.
- *
- * Generated from protobuf message <code>Ydb.Topic.UpdateTokenRequest</code>
- */
- class UpdateTokenRequest extends \Google\Protobuf\Internal\Message
- {
- /**
- * Generated from protobuf field <code>string token = 1;</code>
- */
- protected $token = '';
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $token
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Protos\YdbTopic::initOnce();
- parent::__construct($data);
- }
- /**
- * Generated from protobuf field <code>string token = 1;</code>
- * @return string
- */
- public function getToken()
- {
- return $this->token;
- }
- /**
- * Generated from protobuf field <code>string token = 1;</code>
- * @param string $var
- * @return $this
- */
- public function setToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->token = $var;
- return $this;
- }
- }
|