rv.data.NetworkAPI.Action.API_TwoStepTrigger */ class API_TwoStepTrigger extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field uint64 id = 1; */ protected $id = 0; /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_TwoStepTrigger.Operation operation = 2; */ protected $operation = 0; /** * Generated from protobuf field uint64 render_time = 3; */ protected $render_time = 0; protected $TriggerData; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int|string $id * @type int $operation * @type int|string $render_time * @type \Rv\Data\NetworkAPI\Action\API_Trigger\Presentation $presentation * @type \Rv\Data\NetworkAPI\Action\API_Trigger\Media $media * @type \Rv\Data\NetworkAPI\Action\API_Trigger\VideoInput $video_input * @type \Rv\Data\NetworkAPI\Action\API_Trigger\Audio $audio * @type \Rv\Data\NetworkAPI\Action\API_Prop\TriggerProp $prop * @type \Rv\Data\NetworkAPI\Action\API_Message\TriggerMessage $message * } */ public function __construct($data = NULL) { \GPBMetadata\ProApi::initOnce(); parent::__construct($data); } /** * Generated from protobuf field uint64 id = 1; * @return int|string */ public function getId() { return $this->id; } /** * Generated from protobuf field uint64 id = 1; * @param int|string $var * @return $this */ public function setId($var) { GPBUtil::checkUint64($var); $this->id = $var; return $this; } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_TwoStepTrigger.Operation operation = 2; * @return int */ public function getOperation() { return $this->operation; } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_TwoStepTrigger.Operation operation = 2; * @param int $var * @return $this */ public function setOperation($var) { GPBUtil::checkEnum($var, \Rv\Data\NetworkAPI\Action\API_TwoStepTrigger\Operation::class); $this->operation = $var; return $this; } /** * Generated from protobuf field uint64 render_time = 3; * @return int|string */ public function getRenderTime() { return $this->render_time; } /** * Generated from protobuf field uint64 render_time = 3; * @param int|string $var * @return $this */ public function setRenderTime($var) { GPBUtil::checkUint64($var); $this->render_time = $var; return $this; } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Trigger.Presentation presentation = 4; * @return \Rv\Data\NetworkAPI\Action\API_Trigger\Presentation|null */ public function getPresentation() { return $this->readOneof(4); } public function hasPresentation() { return $this->hasOneof(4); } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Trigger.Presentation presentation = 4; * @param \Rv\Data\NetworkAPI\Action\API_Trigger\Presentation $var * @return $this */ public function setPresentation($var) { GPBUtil::checkMessage($var, \Rv\Data\NetworkAPI\Action\API_Trigger\Presentation::class); $this->writeOneof(4, $var); return $this; } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Trigger.Media media = 5; * @return \Rv\Data\NetworkAPI\Action\API_Trigger\Media|null */ public function getMedia() { return $this->readOneof(5); } public function hasMedia() { return $this->hasOneof(5); } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Trigger.Media media = 5; * @param \Rv\Data\NetworkAPI\Action\API_Trigger\Media $var * @return $this */ public function setMedia($var) { GPBUtil::checkMessage($var, \Rv\Data\NetworkAPI\Action\API_Trigger\Media::class); $this->writeOneof(5, $var); return $this; } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Trigger.VideoInput video_input = 6; * @return \Rv\Data\NetworkAPI\Action\API_Trigger\VideoInput|null */ public function getVideoInput() { return $this->readOneof(6); } public function hasVideoInput() { return $this->hasOneof(6); } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Trigger.VideoInput video_input = 6; * @param \Rv\Data\NetworkAPI\Action\API_Trigger\VideoInput $var * @return $this */ public function setVideoInput($var) { GPBUtil::checkMessage($var, \Rv\Data\NetworkAPI\Action\API_Trigger\VideoInput::class); $this->writeOneof(6, $var); return $this; } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Trigger.Audio audio = 7; * @return \Rv\Data\NetworkAPI\Action\API_Trigger\Audio|null */ public function getAudio() { return $this->readOneof(7); } public function hasAudio() { return $this->hasOneof(7); } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Trigger.Audio audio = 7; * @param \Rv\Data\NetworkAPI\Action\API_Trigger\Audio $var * @return $this */ public function setAudio($var) { GPBUtil::checkMessage($var, \Rv\Data\NetworkAPI\Action\API_Trigger\Audio::class); $this->writeOneof(7, $var); return $this; } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Prop.TriggerProp prop = 8; * @return \Rv\Data\NetworkAPI\Action\API_Prop\TriggerProp|null */ public function getProp() { return $this->readOneof(8); } public function hasProp() { return $this->hasOneof(8); } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Prop.TriggerProp prop = 8; * @param \Rv\Data\NetworkAPI\Action\API_Prop\TriggerProp $var * @return $this */ public function setProp($var) { GPBUtil::checkMessage($var, \Rv\Data\NetworkAPI\Action\API_Prop\TriggerProp::class); $this->writeOneof(8, $var); return $this; } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Message.TriggerMessage message = 9; * @return \Rv\Data\NetworkAPI\Action\API_Message\TriggerMessage|null */ public function getMessage() { return $this->readOneof(9); } public function hasMessage() { return $this->hasOneof(9); } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Message.TriggerMessage message = 9; * @param \Rv\Data\NetworkAPI\Action\API_Message\TriggerMessage $var * @return $this */ public function setMessage($var) { GPBUtil::checkMessage($var, \Rv\Data\NetworkAPI\Action\API_Message\TriggerMessage::class); $this->writeOneof(9, $var); return $this; } /** * @return string */ public function getTriggerData() { return $this->whichOneof("TriggerData"); } }