propresenter7-php-lib/generated/Rv/Data/API_v1_Presentation_Request/TriggerMessage.php
Thorsten Buss 4d10db4f17 Initial public release
PHP 8.4 library and CLI tools to read, modify, and generate ProPresenter 7
files: songs (.pro), playlists (.proplaylist), bundles (.probundle), themes,
and the global library files (Macros, Labels, Groups, ClearGroups, CCLI,
Messages, Timers, Stage, Workspace, Props, TestPatterns, Calendar,
KeyMappings, CommunicationDevices).

Built on the MIT-licensed ProPresenter7-Proto schema by greyshirtguy
(v7.16.2). Includes 18 CLI parsers, comprehensive API docs in doc/,
binary-format specs, and a synthetic 369-test PHPUnit suite covering
RTF extraction, translation slides, ZIP64 repair, round-trip fidelity,
and end-to-end generation.
2026-05-03 22:21:01 +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");
}
}