rv.data.NetworkAPI.Action */ class Action extends \Google\Protobuf\Internal\Message { protected $Command; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Rv\Data\NetworkAPI\Action\API_Clear $clear * @type \Rv\Data\NetworkAPI\Action\API_Trigger $trigger * @type \Rv\Data\NetworkAPI\Action\API_Transport $transport * @type \Rv\Data\NetworkAPI\Action\API_Prop $prop * @type \Rv\Data\NetworkAPI\Action\API_Timer $timer * @type \Rv\Data\NetworkAPI\Action\API_Message $message_ * @type \Rv\Data\NetworkAPI\Action\API_Macro $macro * @type \Rv\Data\NetworkAPI\Action\API_Look $look * @type \Rv\Data\NetworkAPI\Action\API_Stage $stage * @type \Rv\Data\NetworkAPI\Action\API_Status $status * @type \Rv\Data\NetworkAPI\Action\API_StatusResponse $status_response * @type \Rv\Data\NetworkAPI\Action\API_TwoStepTrigger $two_step_trigger * @type \Rv\Data\NetworkAPI\Action\API_PrerollComplete $preroll_complete * } */ public function __construct($data = NULL) { \GPBMetadata\ProApi::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Clear clear = 1; * @return \Rv\Data\NetworkAPI\Action\API_Clear|null */ public function getClear() { return $this->readOneof(1); } public function hasClear() { return $this->hasOneof(1); } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Clear clear = 1; * @param \Rv\Data\NetworkAPI\Action\API_Clear $var * @return $this */ public function setClear($var) { GPBUtil::checkMessage($var, \Rv\Data\NetworkAPI\Action\API_Clear::class); $this->writeOneof(1, $var); return $this; } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Trigger trigger = 2; * @return \Rv\Data\NetworkAPI\Action\API_Trigger|null */ public function getTrigger() { return $this->readOneof(2); } public function hasTrigger() { return $this->hasOneof(2); } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Trigger trigger = 2; * @param \Rv\Data\NetworkAPI\Action\API_Trigger $var * @return $this */ public function setTrigger($var) { GPBUtil::checkMessage($var, \Rv\Data\NetworkAPI\Action\API_Trigger::class); $this->writeOneof(2, $var); return $this; } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Transport transport = 3; * @return \Rv\Data\NetworkAPI\Action\API_Transport|null */ public function getTransport() { return $this->readOneof(3); } public function hasTransport() { return $this->hasOneof(3); } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Transport transport = 3; * @param \Rv\Data\NetworkAPI\Action\API_Transport $var * @return $this */ public function setTransport($var) { GPBUtil::checkMessage($var, \Rv\Data\NetworkAPI\Action\API_Transport::class); $this->writeOneof(3, $var); return $this; } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Prop prop = 4; * @return \Rv\Data\NetworkAPI\Action\API_Prop|null */ public function getProp() { return $this->readOneof(4); } public function hasProp() { return $this->hasOneof(4); } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Prop prop = 4; * @param \Rv\Data\NetworkAPI\Action\API_Prop $var * @return $this */ public function setProp($var) { GPBUtil::checkMessage($var, \Rv\Data\NetworkAPI\Action\API_Prop::class); $this->writeOneof(4, $var); return $this; } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Timer timer = 5; * @return \Rv\Data\NetworkAPI\Action\API_Timer|null */ public function getTimer() { return $this->readOneof(5); } public function hasTimer() { return $this->hasOneof(5); } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Timer timer = 5; * @param \Rv\Data\NetworkAPI\Action\API_Timer $var * @return $this */ public function setTimer($var) { GPBUtil::checkMessage($var, \Rv\Data\NetworkAPI\Action\API_Timer::class); $this->writeOneof(5, $var); return $this; } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Message message_ = 6; * @return \Rv\Data\NetworkAPI\Action\API_Message|null */ public function getMessage() { return $this->readOneof(6); } public function hasMessage() { return $this->hasOneof(6); } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Message message_ = 6; * @param \Rv\Data\NetworkAPI\Action\API_Message $var * @return $this */ public function setMessage($var) { GPBUtil::checkMessage($var, \Rv\Data\NetworkAPI\Action\API_Message::class); $this->writeOneof(6, $var); return $this; } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Macro macro = 7; * @return \Rv\Data\NetworkAPI\Action\API_Macro|null */ public function getMacro() { return $this->readOneof(7); } public function hasMacro() { return $this->hasOneof(7); } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Macro macro = 7; * @param \Rv\Data\NetworkAPI\Action\API_Macro $var * @return $this */ public function setMacro($var) { GPBUtil::checkMessage($var, \Rv\Data\NetworkAPI\Action\API_Macro::class); $this->writeOneof(7, $var); return $this; } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Look look = 8; * @return \Rv\Data\NetworkAPI\Action\API_Look|null */ public function getLook() { return $this->readOneof(8); } public function hasLook() { return $this->hasOneof(8); } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Look look = 8; * @param \Rv\Data\NetworkAPI\Action\API_Look $var * @return $this */ public function setLook($var) { GPBUtil::checkMessage($var, \Rv\Data\NetworkAPI\Action\API_Look::class); $this->writeOneof(8, $var); return $this; } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Stage stage = 9; * @return \Rv\Data\NetworkAPI\Action\API_Stage|null */ public function getStage() { return $this->readOneof(9); } public function hasStage() { return $this->hasOneof(9); } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Stage stage = 9; * @param \Rv\Data\NetworkAPI\Action\API_Stage $var * @return $this */ public function setStage($var) { GPBUtil::checkMessage($var, \Rv\Data\NetworkAPI\Action\API_Stage::class); $this->writeOneof(9, $var); return $this; } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Status status = 10; * @return \Rv\Data\NetworkAPI\Action\API_Status|null */ public function getStatus() { return $this->readOneof(10); } public function hasStatus() { return $this->hasOneof(10); } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Status status = 10; * @param \Rv\Data\NetworkAPI\Action\API_Status $var * @return $this */ public function setStatus($var) { GPBUtil::checkMessage($var, \Rv\Data\NetworkAPI\Action\API_Status::class); $this->writeOneof(10, $var); return $this; } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_StatusResponse status_response = 11; * @return \Rv\Data\NetworkAPI\Action\API_StatusResponse|null */ public function getStatusResponse() { return $this->readOneof(11); } public function hasStatusResponse() { return $this->hasOneof(11); } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_StatusResponse status_response = 11; * @param \Rv\Data\NetworkAPI\Action\API_StatusResponse $var * @return $this */ public function setStatusResponse($var) { GPBUtil::checkMessage($var, \Rv\Data\NetworkAPI\Action\API_StatusResponse::class); $this->writeOneof(11, $var); return $this; } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_TwoStepTrigger two_step_trigger = 12; * @return \Rv\Data\NetworkAPI\Action\API_TwoStepTrigger|null */ public function getTwoStepTrigger() { return $this->readOneof(12); } public function hasTwoStepTrigger() { return $this->hasOneof(12); } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_TwoStepTrigger two_step_trigger = 12; * @param \Rv\Data\NetworkAPI\Action\API_TwoStepTrigger $var * @return $this */ public function setTwoStepTrigger($var) { GPBUtil::checkMessage($var, \Rv\Data\NetworkAPI\Action\API_TwoStepTrigger::class); $this->writeOneof(12, $var); return $this; } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_PrerollComplete preroll_complete = 13; * @return \Rv\Data\NetworkAPI\Action\API_PrerollComplete|null */ public function getPrerollComplete() { return $this->readOneof(13); } public function hasPrerollComplete() { return $this->hasOneof(13); } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_PrerollComplete preroll_complete = 13; * @param \Rv\Data\NetworkAPI\Action\API_PrerollComplete $var * @return $this */ public function setPrerollComplete($var) { GPBUtil::checkMessage($var, \Rv\Data\NetworkAPI\Action\API_PrerollComplete::class); $this->writeOneof(13, $var); return $this; } /** * @return string */ public function getCommand() { return $this->whichOneof("Command"); } }