propresenter-php/generated/Rv/Data/API_v1_Presentation_Request/TriggerMessage.php
Thorsten Bus 22ba4aff7d refactor: make repo Composer-compatible by moving php/ to root and ref/ to doc/reference_samples
- Move src/, tests/, bin/, generated/, proto/, composer.json, composer.lock, phpunit.xml from php/ to repo root
- Move ref/ to doc/reference_samples/ for better organization
- Remove vendor/ from git tracking (now properly gitignored)
- Update all test file paths (dirname adjustments and ref/ -> doc/reference_samples/)
- Update all documentation paths (AGENTS.md, doc/*.md)
- Remove php.bak/ directory
- All 252 tests pass
2026-03-30 13:26:29 +02:00

344 lines
9.3 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: proApiV1Presentation.proto
namespace Rv\Data\API_v1_Presentation_Request;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.API_v1_Presentation_Request.TriggerMessage</code>
*/
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 <code>.rv.data.API_v1_Presentation_Request.EmptyMessage focused = 1;</code>
* @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 <code>.rv.data.API_v1_Presentation_Request.EmptyMessage focused = 1;</code>
* @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 <code>.rv.data.API_v1_Presentation_Request.EmptyMessage active = 2;</code>
* @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 <code>.rv.data.API_v1_Presentation_Request.EmptyMessage active = 2;</code>
* @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 <code>.google.protobuf.StringValue uuid = 3;</code>
* @return \Google\Protobuf\StringValue|null
*/
public function getUuid()
{
return $this->readOneof(3);
}
public function hasUuid()
{
return $this->hasOneof(3);
}
/**
* Returns the unboxed value from <code>getUuid()</code>
* Generated from protobuf field <code>.google.protobuf.StringValue uuid = 3;</code>
* @return string|null
*/
public function getUuidUnwrapped()
{
return $this->readWrapperValue("uuid");
}
/**
* Generated from protobuf field <code>.google.protobuf.StringValue uuid = 3;</code>
* @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 <code>.google.protobuf.StringValue uuid = 3;</code>
* @param string|null $var
* @return $this
*/
public function setUuidUnwrapped($var)
{
$this->writeWrapperValue("uuid", $var);
return $this;}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Presentation_Request.EmptyMessage first = 4;</code>
* @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 <code>.rv.data.API_v1_Presentation_Request.EmptyMessage first = 4;</code>
* @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 <code>.rv.data.API_v1_Presentation_Request.EmptyMessage next = 5;</code>
* @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 <code>.rv.data.API_v1_Presentation_Request.EmptyMessage next = 5;</code>
* @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 <code>.rv.data.API_v1_Presentation_Request.EmptyMessage previous = 6;</code>
* @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 <code>.rv.data.API_v1_Presentation_Request.EmptyMessage previous = 6;</code>
* @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 <code>.google.protobuf.UInt32Value index = 7;</code>
* @return \Google\Protobuf\UInt32Value|null
*/
public function getIndex()
{
return $this->readOneof(7);
}
public function hasIndex()
{
return $this->hasOneof(7);
}
/**
* Returns the unboxed value from <code>getIndex()</code>
* Generated from protobuf field <code>.google.protobuf.UInt32Value index = 7;</code>
* @return int|null
*/
public function getIndexUnwrapped()
{
return $this->readWrapperValue("index");
}
/**
* Generated from protobuf field <code>.google.protobuf.UInt32Value index = 7;</code>
* @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 <code>.google.protobuf.UInt32Value index = 7;</code>
* @param int|null $var
* @return $this
*/
public function setIndexUnwrapped($var)
{
$this->writeWrapperValue("index", $var);
return $this;}
/**
* Generated from protobuf field <code>.google.protobuf.StringValue group = 8;</code>
* @return \Google\Protobuf\StringValue|null
*/
public function getGroup()
{
return $this->readOneof(8);
}
public function hasGroup()
{
return $this->hasOneof(8);
}
/**
* Returns the unboxed value from <code>getGroup()</code>
* Generated from protobuf field <code>.google.protobuf.StringValue group = 8;</code>
* @return string|null
*/
public function getGroupUnwrapped()
{
return $this->readWrapperValue("group");
}
/**
* Generated from protobuf field <code>.google.protobuf.StringValue group = 8;</code>
* @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 <code>.google.protobuf.StringValue group = 8;</code>
* @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");
}
}