Ydb.Cms.ComputationalUnitDescription */ class ComputationalUnitDescription extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field string kind = 1; */ protected $kind = ''; /** * Generated from protobuf field map labels = 2; */ private $labels; /** * Generated from protobuf field repeated string allowed_availability_zones = 3; */ private $allowed_availability_zones; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $kind * @type array|\Google\Protobuf\Internal\MapField $labels * @type array|\Google\Protobuf\Internal\RepeatedField $allowed_availability_zones * } */ public function __construct($data = NULL) { \GPBMetadata\Protos\YdbCms::initOnce(); parent::__construct($data); } /** * Generated from protobuf field string kind = 1; * @return string */ public function getKind() { return $this->kind; } /** * Generated from protobuf field string kind = 1; * @param string $var * @return $this */ public function setKind($var) { GPBUtil::checkString($var, True); $this->kind = $var; return $this; } /** * Generated from protobuf field map labels = 2; * @return \Google\Protobuf\Internal\MapField */ public function getLabels() { return $this->labels; } /** * Generated from protobuf field map labels = 2; * @param array|\Google\Protobuf\Internal\MapField $var * @return $this */ public function setLabels($var) { $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); $this->labels = $arr; return $this; } /** * Generated from protobuf field repeated string allowed_availability_zones = 3; * @return \Google\Protobuf\Internal\RepeatedField */ public function getAllowedAvailabilityZones() { return $this->allowed_availability_zones; } /** * Generated from protobuf field repeated string allowed_availability_zones = 3; * @param array|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setAllowedAvailabilityZones($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->allowed_availability_zones = $arr; return $this; } }