Ydb.Cms.StorageUnits */ class StorageUnits extends \Google\Protobuf\Internal\Message { /** * Required. Kind of the storage unit. Determine guarantees * for all main unit parameters: used hard disk type, capacity * throughput, IOPS etc. * * Generated from protobuf field string unit_kind = 1; */ protected $unit_kind = ''; /** * Required. The number of units in this set. * * Generated from protobuf field uint64 count = 2; */ protected $count = 0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $unit_kind * Required. Kind of the storage unit. Determine guarantees * for all main unit parameters: used hard disk type, capacity * throughput, IOPS etc. * @type int|string $count * Required. The number of units in this set. * } */ public function __construct($data = NULL) { \GPBMetadata\Protos\YdbCms::initOnce(); parent::__construct($data); } /** * Required. Kind of the storage unit. Determine guarantees * for all main unit parameters: used hard disk type, capacity * throughput, IOPS etc. * * Generated from protobuf field string unit_kind = 1; * @return string */ public function getUnitKind() { return $this->unit_kind; } /** * Required. Kind of the storage unit. Determine guarantees * for all main unit parameters: used hard disk type, capacity * throughput, IOPS etc. * * Generated from protobuf field string unit_kind = 1; * @param string $var * @return $this */ public function setUnitKind($var) { GPBUtil::checkString($var, True); $this->unit_kind = $var; return $this; } /** * Required. The number of units in this set. * * Generated from protobuf field uint64 count = 2; * @return int|string */ public function getCount() { return $this->count; } /** * Required. The number of units in this set. * * Generated from protobuf field uint64 count = 2; * @param int|string $var * @return $this */ public function setCount($var) { GPBUtil::checkUint64($var); $this->count = $var; return $this; } }