openstatus.status_page.v1.CreateComponentGroupResponse
*/
class CreateComponentGroupResponse extends \Google\Protobuf\Internal\Message
{
/**
* The created component group.
*
* Generated from protobuf field .openstatus.status_page.v1.PageComponentGroup group = 1 [json_name = "group"];
*/
protected $group = null;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Openstatus\Status_page\V1\PageComponentGroup $group
* The created component group.
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Openstatus\StatusPage\V1\Service::initOnce();
parent::__construct($data);
}
/**
* The created component group.
*
* Generated from protobuf field .openstatus.status_page.v1.PageComponentGroup group = 1 [json_name = "group"];
* @return \Openstatus\Status_page\V1\PageComponentGroup|null
*/
public function getGroup()
{
return $this->group;
}
public function hasGroup()
{
return isset($this->group);
}
public function clearGroup()
{
unset($this->group);
}
/**
* The created component group.
*
* Generated from protobuf field .openstatus.status_page.v1.PageComponentGroup group = 1 [json_name = "group"];
* @param \Openstatus\Status_page\V1\PageComponentGroup $var
* @return $this
*/
public function setGroup(\Openstatus\Status_page\V1\PageComponentGroup|null $var)
{
$this->group = $var;
return $this;
}
}