Ydb.Coordination.DescribeNodeResult */ class DescribeNodeResult extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .Ydb.Scheme.Entry self = 1; */ protected $self = null; /** * Generated from protobuf field .Ydb.Coordination.Config config = 2; */ protected $config = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Ydb\Scheme\Entry $self * @type \Ydb\Coordination\Config $config * } */ public function __construct($data = NULL) { \GPBMetadata\Protos\YdbCoordination::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .Ydb.Scheme.Entry self = 1; * @return \Ydb\Scheme\Entry|null */ public function getSelf() { return $this->self; } public function hasSelf() { return isset($this->self); } public function clearSelf() { unset($this->self); } /** * Generated from protobuf field .Ydb.Scheme.Entry self = 1; * @param \Ydb\Scheme\Entry $var * @return $this */ public function setSelf($var) { GPBUtil::checkMessage($var, \Ydb\Scheme\Entry::class); $this->self = $var; return $this; } /** * Generated from protobuf field .Ydb.Coordination.Config config = 2; * @return \Ydb\Coordination\Config|null */ public function getConfig() { return $this->config; } public function hasConfig() { return isset($this->config); } public function clearConfig() { unset($this->config); } /** * Generated from protobuf field .Ydb.Coordination.Config config = 2; * @param \Ydb\Coordination\Config $var * @return $this */ public function setConfig($var) { GPBUtil::checkMessage($var, \Ydb\Coordination\Config::class); $this->config = $var; return $this; } }