/
githubmirror
/
ydb-php-sdk
Обзор
Документация
Войти
/
githubmirror
/
ydb-php-sdk
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
protos/Ydb/Topic/SupportedCodecs.php
70 строк
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; /** * Description of supported codecs. * * Generated from protobuf message <code>Ydb.Topic.SupportedCodecs</code> */ class SupportedCodecs extends \Google\Protobuf\Internal\Message { /** * List of supported codecs. * See enum Codec above for values. * * Generated from protobuf field <code>repeated int32 codecs = 1 [(.Ydb.size) = {</code> */ private $codecs; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type array<int>|\Google\Protobuf\Internal\RepeatedField $codecs * List of supported codecs. * See enum Codec above for values. * } */ public function __construct($data = NULL) { \GPBMetadata\Protos\YdbTopic::initOnce(); parent::__construct($data); } /** * List of supported codecs. * See enum Codec above for values. * * Generated from protobuf field <code>repeated int32 codecs = 1 [(.Ydb.size) = {</code> * @return \Google\Protobuf\Internal\RepeatedField */ public function getCodecs() { return $this->codecs; } /** * List of supported codecs. * See enum Codec above for values. * * Generated from protobuf field <code>repeated int32 codecs = 1 [(.Ydb.size) = {</code> * @param array<int>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setCodecs($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT32); $this->codecs = $arr; return $this; } }