registration.core.ActiveCopy
*/
class ActiveCopy extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field string display_name = 1;
*/
protected $display_name = '';
/**
* Generated from protobuf field string hostname = 2;
*/
protected $hostname = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $display_name
* @type string $hostname
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Registration::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field string display_name = 1;
* @return string
*/
public function getDisplayName()
{
return $this->display_name;
}
/**
* Generated from protobuf field string display_name = 1;
* @param string $var
* @return $this
*/
public function setDisplayName($var)
{
GPBUtil::checkString($var, True);
$this->display_name = $var;
return $this;
}
/**
* Generated from protobuf field string hostname = 2;
* @return string
*/
public function getHostname()
{
return $this->hostname;
}
/**
* Generated from protobuf field string hostname = 2;
* @param string $var
* @return $this
*/
public function setHostname($var)
{
GPBUtil::checkString($var, True);
$this->hostname = $var;
return $this;
}
}