rv.data.API_v1_Clear_Response
*/
class API_v1_Clear_Response extends \Google\Protobuf\Internal\Message
{
protected $Response;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Rv\Data\API_v1_Clear_Response\ClearLayer $clear_layer
* @type \Rv\Data\API_v1_Clear_Response\CreateGroup $create_group
* @type \Rv\Data\API_v1_Clear_Response\GetGroup $get_group
* @type \Rv\Data\API_v1_Clear_Response\PutGroup $put_group
* @type \Rv\Data\API_v1_Clear_Response\DeleteGroup $delete_group
* @type \Rv\Data\API_v1_Clear_Response\TriggerGroup $trigger_group
* @type \Rv\Data\API_v1_Clear_Response\GetGroups $get_groups
* @type \Rv\Data\API_v1_Clear_Response\GetGroupIcon $get_group_icon
* @type \Rv\Data\API_v1_Clear_Response\PutGroupIcon $put_group_icon
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\ProApiV1Clear::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field .rv.data.API_v1_Clear_Response.ClearLayer clear_layer = 1;
* @return \Rv\Data\API_v1_Clear_Response\ClearLayer|null
*/
public function getClearLayer()
{
return $this->readOneof(1);
}
public function hasClearLayer()
{
return $this->hasOneof(1);
}
/**
* Generated from protobuf field .rv.data.API_v1_Clear_Response.ClearLayer clear_layer = 1;
* @param \Rv\Data\API_v1_Clear_Response\ClearLayer $var
* @return $this
*/
public function setClearLayer($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Clear_Response\ClearLayer::class);
$this->writeOneof(1, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.API_v1_Clear_Response.CreateGroup create_group = 2;
* @return \Rv\Data\API_v1_Clear_Response\CreateGroup|null
*/
public function getCreateGroup()
{
return $this->readOneof(2);
}
public function hasCreateGroup()
{
return $this->hasOneof(2);
}
/**
* Generated from protobuf field .rv.data.API_v1_Clear_Response.CreateGroup create_group = 2;
* @param \Rv\Data\API_v1_Clear_Response\CreateGroup $var
* @return $this
*/
public function setCreateGroup($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Clear_Response\CreateGroup::class);
$this->writeOneof(2, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.API_v1_Clear_Response.GetGroup get_group = 3;
* @return \Rv\Data\API_v1_Clear_Response\GetGroup|null
*/
public function getGetGroup()
{
return $this->readOneof(3);
}
public function hasGetGroup()
{
return $this->hasOneof(3);
}
/**
* Generated from protobuf field .rv.data.API_v1_Clear_Response.GetGroup get_group = 3;
* @param \Rv\Data\API_v1_Clear_Response\GetGroup $var
* @return $this
*/
public function setGetGroup($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Clear_Response\GetGroup::class);
$this->writeOneof(3, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.API_v1_Clear_Response.PutGroup put_group = 4;
* @return \Rv\Data\API_v1_Clear_Response\PutGroup|null
*/
public function getPutGroup()
{
return $this->readOneof(4);
}
public function hasPutGroup()
{
return $this->hasOneof(4);
}
/**
* Generated from protobuf field .rv.data.API_v1_Clear_Response.PutGroup put_group = 4;
* @param \Rv\Data\API_v1_Clear_Response\PutGroup $var
* @return $this
*/
public function setPutGroup($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Clear_Response\PutGroup::class);
$this->writeOneof(4, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.API_v1_Clear_Response.DeleteGroup delete_group = 5;
* @return \Rv\Data\API_v1_Clear_Response\DeleteGroup|null
*/
public function getDeleteGroup()
{
return $this->readOneof(5);
}
public function hasDeleteGroup()
{
return $this->hasOneof(5);
}
/**
* Generated from protobuf field .rv.data.API_v1_Clear_Response.DeleteGroup delete_group = 5;
* @param \Rv\Data\API_v1_Clear_Response\DeleteGroup $var
* @return $this
*/
public function setDeleteGroup($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Clear_Response\DeleteGroup::class);
$this->writeOneof(5, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.API_v1_Clear_Response.TriggerGroup trigger_group = 6;
* @return \Rv\Data\API_v1_Clear_Response\TriggerGroup|null
*/
public function getTriggerGroup()
{
return $this->readOneof(6);
}
public function hasTriggerGroup()
{
return $this->hasOneof(6);
}
/**
* Generated from protobuf field .rv.data.API_v1_Clear_Response.TriggerGroup trigger_group = 6;
* @param \Rv\Data\API_v1_Clear_Response\TriggerGroup $var
* @return $this
*/
public function setTriggerGroup($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Clear_Response\TriggerGroup::class);
$this->writeOneof(6, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.API_v1_Clear_Response.GetGroups get_groups = 7;
* @return \Rv\Data\API_v1_Clear_Response\GetGroups|null
*/
public function getGetGroups()
{
return $this->readOneof(7);
}
public function hasGetGroups()
{
return $this->hasOneof(7);
}
/**
* Generated from protobuf field .rv.data.API_v1_Clear_Response.GetGroups get_groups = 7;
* @param \Rv\Data\API_v1_Clear_Response\GetGroups $var
* @return $this
*/
public function setGetGroups($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Clear_Response\GetGroups::class);
$this->writeOneof(7, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.API_v1_Clear_Response.GetGroupIcon get_group_icon = 8;
* @return \Rv\Data\API_v1_Clear_Response\GetGroupIcon|null
*/
public function getGetGroupIcon()
{
return $this->readOneof(8);
}
public function hasGetGroupIcon()
{
return $this->hasOneof(8);
}
/**
* Generated from protobuf field .rv.data.API_v1_Clear_Response.GetGroupIcon get_group_icon = 8;
* @param \Rv\Data\API_v1_Clear_Response\GetGroupIcon $var
* @return $this
*/
public function setGetGroupIcon($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Clear_Response\GetGroupIcon::class);
$this->writeOneof(8, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.API_v1_Clear_Response.PutGroupIcon put_group_icon = 9;
* @return \Rv\Data\API_v1_Clear_Response\PutGroupIcon|null
*/
public function getPutGroupIcon()
{
return $this->readOneof(9);
}
public function hasPutGroupIcon()
{
return $this->hasOneof(9);
}
/**
* Generated from protobuf field .rv.data.API_v1_Clear_Response.PutGroupIcon put_group_icon = 9;
* @param \Rv\Data\API_v1_Clear_Response\PutGroupIcon $var
* @return $this
*/
public function setPutGroupIcon($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Clear_Response\PutGroupIcon::class);
$this->writeOneof(9, $var);
return $this;
}
/**
* @return string
*/
public function getResponse()
{
return $this->whichOneof("Response");
}
}