Ydb.TupleType */ class TupleType extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field repeated .Ydb.Type elements = 1; */ private $elements; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type array<\Ydb\Type>|\Google\Protobuf\Internal\RepeatedField $elements * } */ public function __construct($data = NULL) { \GPBMetadata\Protos\YdbValue::initOnce(); parent::__construct($data); } /** * Generated from protobuf field repeated .Ydb.Type elements = 1; * @return \Google\Protobuf\Internal\RepeatedField */ public function getElements() { return $this->elements; } /** * Generated from protobuf field repeated .Ydb.Type elements = 1; * @param array<\Ydb\Type>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setElements($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Ydb\Type::class); $this->elements = $arr; return $this; } }