Ydb.Monitoring.LocationStoragePool */ class LocationStoragePool extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field string name = 1; */ protected $name = ''; /** * Generated from protobuf field .Ydb.Monitoring.LocationStorageGroup group = 2; */ protected $group = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $name * @type \Ydb\Monitoring\LocationStorageGroup $group * } */ public function __construct($data = NULL) { \GPBMetadata\Protos\YdbMonitoring::initOnce(); parent::__construct($data); } /** * Generated from protobuf field string name = 1; * @return string */ public function getName() { return $this->name; } /** * Generated from protobuf field string name = 1; * @param string $var * @return $this */ public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; } /** * Generated from protobuf field .Ydb.Monitoring.LocationStorageGroup group = 2; * @return \Ydb\Monitoring\LocationStorageGroup|null */ public function getGroup() { return $this->group; } public function hasGroup() { return isset($this->group); } public function clearGroup() { unset($this->group); } /** * Generated from protobuf field .Ydb.Monitoring.LocationStorageGroup group = 2; * @param \Ydb\Monitoring\LocationStorageGroup $var * @return $this */ public function setGroup($var) { GPBUtil::checkMessage($var, \Ydb\Monitoring\LocationStorageGroup::class); $this->group = $var; return $this; } }