/
githubmirror
/
ydb-php-sdk
Обзор
Документация
Войти
/
githubmirror
/
ydb-php-sdk
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
protos/Ydb/MapKey.php
94 строки
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/annotations/validation.proto namespace Ydb; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Generated from protobuf message <code>Ydb.MapKey</code> */ class MapKey extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field <code>.Ydb.Limit length = 1;</code> */ protected $length = null; /** * Generated from protobuf field <code>string value = 2;</code> */ protected $value = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Ydb\Limit $length * @type string $value * } */ public function __construct($data = NULL) { \GPBMetadata\Protos\Annotations\Validation::initOnce(); parent::__construct($data); } /** * Generated from protobuf field <code>.Ydb.Limit length = 1;</code> * @return \Ydb\Limit|null */ public function getLength() { return $this->length; } public function hasLength() { return isset($this->length); } public function clearLength() { unset($this->length); } /** * Generated from protobuf field <code>.Ydb.Limit length = 1;</code> * @param \Ydb\Limit $var * @return $this */ public function setLength($var) { GPBUtil::checkMessage($var, \Ydb\Limit::class); $this->length = $var; return $this; } /** * Generated from protobuf field <code>string value = 2;</code> * @return string */ public function getValue() { return $this->value; } /** * Generated from protobuf field <code>string value = 2;</code> * @param string $var * @return $this */ public function setValue($var) { GPBUtil::checkString($var, True); $this->value = $var; return $this; } }