/
githubmirror
/
ydb-php-sdk
Обзор
Документация
Войти
/
githubmirror
/
ydb-php-sdk
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
protos/Ydb/Topic/UpdateTokenRequest.php
60 строк
1 KB
Alexei Shabalin
updated protos
17 фев 2023, 13:31
17 фев 2023, 13:31
ae6a264
Код
Авторство
О чём код?
<?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; } }