/
githubmirror
/
ydb-php-sdk
Обзор
Документация
Войти
/
githubmirror
/
ydb-php-sdk
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
protos/Ydb/Monitoring/Location.php
141 строка
4 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/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.Location</code> */ class Location extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field <code>.Ydb.Monitoring.LocationStorage storage = 1;</code> */ protected $storage = null; /** * Generated from protobuf field <code>.Ydb.Monitoring.LocationCompute compute = 2;</code> */ protected $compute = null; /** * Generated from protobuf field <code>.Ydb.Monitoring.LocationDatabase database = 3;</code> */ protected $database = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Ydb\Monitoring\LocationStorage $storage * @type \Ydb\Monitoring\LocationCompute $compute * @type \Ydb\Monitoring\LocationDatabase $database * } */ public function __construct($data = NULL) { \GPBMetadata\Protos\YdbMonitoring::initOnce(); parent::__construct($data); } /** * Generated from protobuf field <code>.Ydb.Monitoring.LocationStorage storage = 1;</code> * @return \Ydb\Monitoring\LocationStorage|null */ public function getStorage() { return $this->storage; } public function hasStorage() { return isset($this->storage); } public function clearStorage() { unset($this->storage); } /** * Generated from protobuf field <code>.Ydb.Monitoring.LocationStorage storage = 1;</code> * @param \Ydb\Monitoring\LocationStorage $var * @return $this */ public function setStorage($var) { GPBUtil::checkMessage($var, \Ydb\Monitoring\LocationStorage::class); $this->storage = $var; return $this; } /** * Generated from protobuf field <code>.Ydb.Monitoring.LocationCompute compute = 2;</code> * @return \Ydb\Monitoring\LocationCompute|null */ public function getCompute() { return $this->compute; } public function hasCompute() { return isset($this->compute); } public function clearCompute() { unset($this->compute); } /** * Generated from protobuf field <code>.Ydb.Monitoring.LocationCompute compute = 2;</code> * @param \Ydb\Monitoring\LocationCompute $var * @return $this */ public function setCompute($var) { GPBUtil::checkMessage($var, \Ydb\Monitoring\LocationCompute::class); $this->compute = $var; return $this; } /** * Generated from protobuf field <code>.Ydb.Monitoring.LocationDatabase database = 3;</code> * @return \Ydb\Monitoring\LocationDatabase|null */ public function getDatabase() { return $this->database; } public function hasDatabase() { return isset($this->database); } public function clearDatabase() { unset($this->database); } /** * Generated from protobuf field <code>.Ydb.Monitoring.LocationDatabase database = 3;</code> * @param \Ydb\Monitoring\LocationDatabase $var * @return $this */ public function setDatabase($var) { GPBUtil::checkMessage($var, \Ydb\Monitoring\LocationDatabase::class); $this->database = $var; return $this; } }