propresenter7-php-lib/generated/Rv/Data/ProLink/ClientAction.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

154 lines
4.2 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: proApi.proto
namespace Rv\Data\ProLink;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.ProLink.ClientAction</code>
*/
class ClientAction extends \Google\Protobuf\Internal\Message
{
protected $ActionType;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Rv\Data\ProLink\ClientAction\AddConnection $add_connection
* @type \Rv\Data\ProLink\ClientAction\RemoveConnection $remove_connection
* @type \Rv\Data\ProLink\ClientAction\CancelAction $cancel_action
* @type \Rv\Data\ProLink\ClientAction\RenderTime $render_time
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\ProApi::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>.rv.data.ProLink.ClientAction.AddConnection add_connection = 1;</code>
* @return \Rv\Data\ProLink\ClientAction\AddConnection|null
*/
public function getAddConnection()
{
return $this->readOneof(1);
}
public function hasAddConnection()
{
return $this->hasOneof(1);
}
/**
* Generated from protobuf field <code>.rv.data.ProLink.ClientAction.AddConnection add_connection = 1;</code>
* @param \Rv\Data\ProLink\ClientAction\AddConnection $var
* @return $this
*/
public function setAddConnection($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ProLink\ClientAction\AddConnection::class);
$this->writeOneof(1, $var);
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.ProLink.ClientAction.RemoveConnection remove_connection = 2;</code>
* @return \Rv\Data\ProLink\ClientAction\RemoveConnection|null
*/
public function getRemoveConnection()
{
return $this->readOneof(2);
}
public function hasRemoveConnection()
{
return $this->hasOneof(2);
}
/**
* Generated from protobuf field <code>.rv.data.ProLink.ClientAction.RemoveConnection remove_connection = 2;</code>
* @param \Rv\Data\ProLink\ClientAction\RemoveConnection $var
* @return $this
*/
public function setRemoveConnection($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ProLink\ClientAction\RemoveConnection::class);
$this->writeOneof(2, $var);
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.ProLink.ClientAction.CancelAction cancel_action = 3;</code>
* @return \Rv\Data\ProLink\ClientAction\CancelAction|null
*/
public function getCancelAction()
{
return $this->readOneof(3);
}
public function hasCancelAction()
{
return $this->hasOneof(3);
}
/**
* Generated from protobuf field <code>.rv.data.ProLink.ClientAction.CancelAction cancel_action = 3;</code>
* @param \Rv\Data\ProLink\ClientAction\CancelAction $var
* @return $this
*/
public function setCancelAction($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ProLink\ClientAction\CancelAction::class);
$this->writeOneof(3, $var);
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.ProLink.ClientAction.RenderTime render_time = 4;</code>
* @return \Rv\Data\ProLink\ClientAction\RenderTime|null
*/
public function getRenderTime()
{
return $this->readOneof(4);
}
public function hasRenderTime()
{
return $this->hasOneof(4);
}
/**
* Generated from protobuf field <code>.rv.data.ProLink.ClientAction.RenderTime render_time = 4;</code>
* @param \Rv\Data\ProLink\ClientAction\RenderTime $var
* @return $this
*/
public function setRenderTime($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ProLink\ClientAction\RenderTime::class);
$this->writeOneof(4, $var);
return $this;
}
/**
* @return string
*/
public function getActionType()
{
return $this->whichOneof("ActionType");
}
}