/
githubmirror
/
ydb-php-sdk
Обзор
Документация
Войти
/
githubmirror
/
ydb-php-sdk
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
protos/Ydb/Topic/DescribeTopicResponse.php
77 строк
2 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; /** * Describe topic response sent from server to client. * If topic is not existed then response status will be "SCHEME_ERROR". * * Generated from protobuf message <code>Ydb.Topic.DescribeTopicResponse</code> */ class DescribeTopicResponse extends \Google\Protobuf\Internal\Message { /** * Result of request will be inside operation. * * Generated from protobuf field <code>.Ydb.Operations.Operation operation = 1;</code> */ protected $operation = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Ydb\Operations\Operation $operation * Result of request will be inside operation. * } */ public function __construct($data = NULL) { \GPBMetadata\Protos\YdbTopic::initOnce(); parent::__construct($data); } /** * Result of request will be inside operation. * * Generated from protobuf field <code>.Ydb.Operations.Operation operation = 1;</code> * @return \Ydb\Operations\Operation|null */ public function getOperation() { return $this->operation; } public function hasOperation() { return isset($this->operation); } public function clearOperation() { unset($this->operation); } /** * Result of request will be inside operation. * * Generated from protobuf field <code>.Ydb.Operations.Operation operation = 1;</code> * @param \Ydb\Operations\Operation $var * @return $this */ public function setOperation($var) { GPBUtil::checkMessage($var, \Ydb\Operations\Operation::class); $this->operation = $var; return $this; } }