propresenter-php/generated/Rv/Data/NetworkAPI/Action/API_TwoStepTrigger.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

291 lines
7.9 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: proApi.proto
namespace Rv\Data\NetworkAPI\Action;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.NetworkAPI.Action.API_TwoStepTrigger</code>
*/
class API_TwoStepTrigger extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>uint64 id = 1;</code>
*/
protected $id = 0;
/**
* Generated from protobuf field <code>.rv.data.NetworkAPI.Action.API_TwoStepTrigger.Operation operation = 2;</code>
*/
protected $operation = 0;
/**
* Generated from protobuf field <code>uint64 render_time = 3;</code>
*/
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 <code>uint64 id = 1;</code>
* @return int|string
*/
public function getId()
{
return $this->id;
}
/**
* Generated from protobuf field <code>uint64 id = 1;</code>
* @param int|string $var
* @return $this
*/
public function setId($var)
{
GPBUtil::checkUint64($var);
$this->id = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.NetworkAPI.Action.API_TwoStepTrigger.Operation operation = 2;</code>
* @return int
*/
public function getOperation()
{
return $this->operation;
}
/**
* Generated from protobuf field <code>.rv.data.NetworkAPI.Action.API_TwoStepTrigger.Operation operation = 2;</code>
* @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 <code>uint64 render_time = 3;</code>
* @return int|string
*/
public function getRenderTime()
{
return $this->render_time;
}
/**
* Generated from protobuf field <code>uint64 render_time = 3;</code>
* @param int|string $var
* @return $this
*/
public function setRenderTime($var)
{
GPBUtil::checkUint64($var);
$this->render_time = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.NetworkAPI.Action.API_Trigger.Presentation presentation = 4;</code>
* @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 <code>.rv.data.NetworkAPI.Action.API_Trigger.Presentation presentation = 4;</code>
* @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 <code>.rv.data.NetworkAPI.Action.API_Trigger.Media media = 5;</code>
* @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 <code>.rv.data.NetworkAPI.Action.API_Trigger.Media media = 5;</code>
* @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 <code>.rv.data.NetworkAPI.Action.API_Trigger.VideoInput video_input = 6;</code>
* @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 <code>.rv.data.NetworkAPI.Action.API_Trigger.VideoInput video_input = 6;</code>
* @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 <code>.rv.data.NetworkAPI.Action.API_Trigger.Audio audio = 7;</code>
* @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 <code>.rv.data.NetworkAPI.Action.API_Trigger.Audio audio = 7;</code>
* @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 <code>.rv.data.NetworkAPI.Action.API_Prop.TriggerProp prop = 8;</code>
* @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 <code>.rv.data.NetworkAPI.Action.API_Prop.TriggerProp prop = 8;</code>
* @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 <code>.rv.data.NetworkAPI.Action.API_Message.TriggerMessage message = 9;</code>
* @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 <code>.rv.data.NetworkAPI.Action.API_Message.TriggerMessage message = 9;</code>
* @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");
}
}