rv.data.API_v1_Presentation_Request.TriggerMessage */ class TriggerMessage extends \Google\Protobuf\Internal\Message { protected $Presentation; protected $Cue; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Rv\Data\API_v1_Presentation_Request\EmptyMessage $focused * @type \Rv\Data\API_v1_Presentation_Request\EmptyMessage $active * @type \Google\Protobuf\StringValue $uuid * @type \Rv\Data\API_v1_Presentation_Request\EmptyMessage $first * @type \Rv\Data\API_v1_Presentation_Request\EmptyMessage $next * @type \Rv\Data\API_v1_Presentation_Request\EmptyMessage $previous * @type \Google\Protobuf\UInt32Value $index * @type \Google\Protobuf\StringValue $group * } */ public function __construct($data = NULL) { \GPBMetadata\ProApiV1Presentation::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .rv.data.API_v1_Presentation_Request.EmptyMessage focused = 1; * @return \Rv\Data\API_v1_Presentation_Request\EmptyMessage|null */ public function getFocused() { return $this->readOneof(1); } public function hasFocused() { return $this->hasOneof(1); } /** * Generated from protobuf field .rv.data.API_v1_Presentation_Request.EmptyMessage focused = 1; * @param \Rv\Data\API_v1_Presentation_Request\EmptyMessage $var * @return $this */ public function setFocused($var) { GPBUtil::checkMessage($var, \Rv\Data\API_v1_Presentation_Request\EmptyMessage::class); $this->writeOneof(1, $var); return $this; } /** * Generated from protobuf field .rv.data.API_v1_Presentation_Request.EmptyMessage active = 2; * @return \Rv\Data\API_v1_Presentation_Request\EmptyMessage|null */ public function getActive() { return $this->readOneof(2); } public function hasActive() { return $this->hasOneof(2); } /** * Generated from protobuf field .rv.data.API_v1_Presentation_Request.EmptyMessage active = 2; * @param \Rv\Data\API_v1_Presentation_Request\EmptyMessage $var * @return $this */ public function setActive($var) { GPBUtil::checkMessage($var, \Rv\Data\API_v1_Presentation_Request\EmptyMessage::class); $this->writeOneof(2, $var); return $this; } /** * Generated from protobuf field .google.protobuf.StringValue uuid = 3; * @return \Google\Protobuf\StringValue|null */ public function getUuid() { return $this->readOneof(3); } public function hasUuid() { return $this->hasOneof(3); } /** * Returns the unboxed value from getUuid() * Generated from protobuf field .google.protobuf.StringValue uuid = 3; * @return string|null */ public function getUuidUnwrapped() { return $this->readWrapperValue("uuid"); } /** * Generated from protobuf field .google.protobuf.StringValue uuid = 3; * @param \Google\Protobuf\StringValue $var * @return $this */ public function setUuid($var) { GPBUtil::checkMessage($var, \Google\Protobuf\StringValue::class); $this->writeOneof(3, $var); return $this; } /** * Sets the field by wrapping a primitive type in a Google\Protobuf\StringValue object. * Generated from protobuf field .google.protobuf.StringValue uuid = 3; * @param string|null $var * @return $this */ public function setUuidUnwrapped($var) { $this->writeWrapperValue("uuid", $var); return $this;} /** * Generated from protobuf field .rv.data.API_v1_Presentation_Request.EmptyMessage first = 4; * @return \Rv\Data\API_v1_Presentation_Request\EmptyMessage|null */ public function getFirst() { return $this->readOneof(4); } public function hasFirst() { return $this->hasOneof(4); } /** * Generated from protobuf field .rv.data.API_v1_Presentation_Request.EmptyMessage first = 4; * @param \Rv\Data\API_v1_Presentation_Request\EmptyMessage $var * @return $this */ public function setFirst($var) { GPBUtil::checkMessage($var, \Rv\Data\API_v1_Presentation_Request\EmptyMessage::class); $this->writeOneof(4, $var); return $this; } /** * Generated from protobuf field .rv.data.API_v1_Presentation_Request.EmptyMessage next = 5; * @return \Rv\Data\API_v1_Presentation_Request\EmptyMessage|null */ public function getNext() { return $this->readOneof(5); } public function hasNext() { return $this->hasOneof(5); } /** * Generated from protobuf field .rv.data.API_v1_Presentation_Request.EmptyMessage next = 5; * @param \Rv\Data\API_v1_Presentation_Request\EmptyMessage $var * @return $this */ public function setNext($var) { GPBUtil::checkMessage($var, \Rv\Data\API_v1_Presentation_Request\EmptyMessage::class); $this->writeOneof(5, $var); return $this; } /** * Generated from protobuf field .rv.data.API_v1_Presentation_Request.EmptyMessage previous = 6; * @return \Rv\Data\API_v1_Presentation_Request\EmptyMessage|null */ public function getPrevious() { return $this->readOneof(6); } public function hasPrevious() { return $this->hasOneof(6); } /** * Generated from protobuf field .rv.data.API_v1_Presentation_Request.EmptyMessage previous = 6; * @param \Rv\Data\API_v1_Presentation_Request\EmptyMessage $var * @return $this */ public function setPrevious($var) { GPBUtil::checkMessage($var, \Rv\Data\API_v1_Presentation_Request\EmptyMessage::class); $this->writeOneof(6, $var); return $this; } /** * Generated from protobuf field .google.protobuf.UInt32Value index = 7; * @return \Google\Protobuf\UInt32Value|null */ public function getIndex() { return $this->readOneof(7); } public function hasIndex() { return $this->hasOneof(7); } /** * Returns the unboxed value from getIndex() * Generated from protobuf field .google.protobuf.UInt32Value index = 7; * @return int|null */ public function getIndexUnwrapped() { return $this->readWrapperValue("index"); } /** * Generated from protobuf field .google.protobuf.UInt32Value index = 7; * @param \Google\Protobuf\UInt32Value $var * @return $this */ public function setIndex($var) { GPBUtil::checkMessage($var, \Google\Protobuf\UInt32Value::class); $this->writeOneof(7, $var); return $this; } /** * Sets the field by wrapping a primitive type in a Google\Protobuf\UInt32Value object. * Generated from protobuf field .google.protobuf.UInt32Value index = 7; * @param int|null $var * @return $this */ public function setIndexUnwrapped($var) { $this->writeWrapperValue("index", $var); return $this;} /** * Generated from protobuf field .google.protobuf.StringValue group = 8; * @return \Google\Protobuf\StringValue|null */ public function getGroup() { return $this->readOneof(8); } public function hasGroup() { return $this->hasOneof(8); } /** * Returns the unboxed value from getGroup() * Generated from protobuf field .google.protobuf.StringValue group = 8; * @return string|null */ public function getGroupUnwrapped() { return $this->readWrapperValue("group"); } /** * Generated from protobuf field .google.protobuf.StringValue group = 8; * @param \Google\Protobuf\StringValue $var * @return $this */ public function setGroup($var) { GPBUtil::checkMessage($var, \Google\Protobuf\StringValue::class); $this->writeOneof(8, $var); return $this; } /** * Sets the field by wrapping a primitive type in a Google\Protobuf\StringValue object. * Generated from protobuf field .google.protobuf.StringValue group = 8; * @param string|null $var * @return $this */ public function setGroupUnwrapped($var) { $this->writeWrapperValue("group", $var); return $this;} /** * @return string */ public function getPresentation() { return $this->whichOneof("Presentation"); } /** * @return string */ public function getCue() { return $this->whichOneof("Cue"); } }