1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <?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;
- }
- }
|