123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- <?php
- # Generated by the protocol buffer compiler. DO NOT EDIT!
- # source: protos/ydb_monitoring.proto
- namespace Ydb\Monitoring;
- use Google\Protobuf\Internal\GPBType;
- use Google\Protobuf\Internal\RepeatedField;
- use Google\Protobuf\Internal\GPBUtil;
- /**
- * Generated from protobuf message <code>Ydb.Monitoring.LocationCompute</code>
- */
- class LocationCompute extends \Google\Protobuf\Internal\Message
- {
- /**
- * Generated from protobuf field <code>.Ydb.Monitoring.LocationNode node = 1;</code>
- */
- protected $node = null;
- /**
- * Generated from protobuf field <code>.Ydb.Monitoring.LocationComputePool pool = 2;</code>
- */
- protected $pool = null;
- /**
- * Generated from protobuf field <code>.Ydb.Monitoring.LocationComputeTablet tablet = 3;</code>
- */
- protected $tablet = null;
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Ydb\Monitoring\LocationNode $node
- * @type \Ydb\Monitoring\LocationComputePool $pool
- * @type \Ydb\Monitoring\LocationComputeTablet $tablet
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Protos\YdbMonitoring::initOnce();
- parent::__construct($data);
- }
- /**
- * Generated from protobuf field <code>.Ydb.Monitoring.LocationNode node = 1;</code>
- * @return \Ydb\Monitoring\LocationNode|null
- */
- public function getNode()
- {
- return $this->node;
- }
- public function hasNode()
- {
- return isset($this->node);
- }
- public function clearNode()
- {
- unset($this->node);
- }
- /**
- * Generated from protobuf field <code>.Ydb.Monitoring.LocationNode node = 1;</code>
- * @param \Ydb\Monitoring\LocationNode $var
- * @return $this
- */
- public function setNode($var)
- {
- GPBUtil::checkMessage($var, \Ydb\Monitoring\LocationNode::class);
- $this->node = $var;
- return $this;
- }
- /**
- * Generated from protobuf field <code>.Ydb.Monitoring.LocationComputePool pool = 2;</code>
- * @return \Ydb\Monitoring\LocationComputePool|null
- */
- public function getPool()
- {
- return $this->pool;
- }
- public function hasPool()
- {
- return isset($this->pool);
- }
- public function clearPool()
- {
- unset($this->pool);
- }
- /**
- * Generated from protobuf field <code>.Ydb.Monitoring.LocationComputePool pool = 2;</code>
- * @param \Ydb\Monitoring\LocationComputePool $var
- * @return $this
- */
- public function setPool($var)
- {
- GPBUtil::checkMessage($var, \Ydb\Monitoring\LocationComputePool::class);
- $this->pool = $var;
- return $this;
- }
- /**
- * Generated from protobuf field <code>.Ydb.Monitoring.LocationComputeTablet tablet = 3;</code>
- * @return \Ydb\Monitoring\LocationComputeTablet|null
- */
- public function getTablet()
- {
- return $this->tablet;
- }
- public function hasTablet()
- {
- return isset($this->tablet);
- }
- public function clearTablet()
- {
- unset($this->tablet);
- }
- /**
- * Generated from protobuf field <code>.Ydb.Monitoring.LocationComputeTablet tablet = 3;</code>
- * @param \Ydb\Monitoring\LocationComputeTablet $var
- * @return $this
- */
- public function setTablet($var)
- {
- GPBUtil::checkMessage($var, \Ydb\Monitoring\LocationComputeTablet::class);
- $this->tablet = $var;
- return $this;
- }
- }
|