propresenter-php/generated/Rv/Data/API_v1_Message_Response.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

238 lines
6.8 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: proApiV1Message.proto
namespace Rv\Data;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.API_v1_Message_Response</code>
*/
class API_v1_Message_Response extends \Google\Protobuf\Internal\Message
{
protected $Response;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Rv\Data\API_v1_Message_Response\Messages $messages
* @type \Rv\Data\API_v1_Message_Response\CreateMessage $create_message
* @type \Rv\Data\API_v1_Message_Response\GetMessage $get_message
* @type \Rv\Data\API_v1_Message_Response\PutMessage $put_message
* @type \Rv\Data\API_v1_Message_Response\DeleteMessage $delete_message
* @type \Rv\Data\API_v1_Message_Response\TriggerMessage $trigger_message
* @type \Rv\Data\API_v1_Message_Response\ClearMessage $clear_message
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\ProApiV1Message::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Message_Response.Messages messages = 1;</code>
* @return \Rv\Data\API_v1_Message_Response\Messages|null
*/
public function getMessages()
{
return $this->readOneof(1);
}
public function hasMessages()
{
return $this->hasOneof(1);
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Message_Response.Messages messages = 1;</code>
* @param \Rv\Data\API_v1_Message_Response\Messages $var
* @return $this
*/
public function setMessages($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Message_Response\Messages::class);
$this->writeOneof(1, $var);
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Message_Response.CreateMessage create_message = 2;</code>
* @return \Rv\Data\API_v1_Message_Response\CreateMessage|null
*/
public function getCreateMessage()
{
return $this->readOneof(2);
}
public function hasCreateMessage()
{
return $this->hasOneof(2);
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Message_Response.CreateMessage create_message = 2;</code>
* @param \Rv\Data\API_v1_Message_Response\CreateMessage $var
* @return $this
*/
public function setCreateMessage($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Message_Response\CreateMessage::class);
$this->writeOneof(2, $var);
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Message_Response.GetMessage get_message = 3;</code>
* @return \Rv\Data\API_v1_Message_Response\GetMessage|null
*/
public function getGetMessage()
{
return $this->readOneof(3);
}
public function hasGetMessage()
{
return $this->hasOneof(3);
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Message_Response.GetMessage get_message = 3;</code>
* @param \Rv\Data\API_v1_Message_Response\GetMessage $var
* @return $this
*/
public function setGetMessage($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Message_Response\GetMessage::class);
$this->writeOneof(3, $var);
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Message_Response.PutMessage put_message = 4;</code>
* @return \Rv\Data\API_v1_Message_Response\PutMessage|null
*/
public function getPutMessage()
{
return $this->readOneof(4);
}
public function hasPutMessage()
{
return $this->hasOneof(4);
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Message_Response.PutMessage put_message = 4;</code>
* @param \Rv\Data\API_v1_Message_Response\PutMessage $var
* @return $this
*/
public function setPutMessage($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Message_Response\PutMessage::class);
$this->writeOneof(4, $var);
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Message_Response.DeleteMessage delete_message = 5;</code>
* @return \Rv\Data\API_v1_Message_Response\DeleteMessage|null
*/
public function getDeleteMessage()
{
return $this->readOneof(5);
}
public function hasDeleteMessage()
{
return $this->hasOneof(5);
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Message_Response.DeleteMessage delete_message = 5;</code>
* @param \Rv\Data\API_v1_Message_Response\DeleteMessage $var
* @return $this
*/
public function setDeleteMessage($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Message_Response\DeleteMessage::class);
$this->writeOneof(5, $var);
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Message_Response.TriggerMessage trigger_message = 6;</code>
* @return \Rv\Data\API_v1_Message_Response\TriggerMessage|null
*/
public function getTriggerMessage()
{
return $this->readOneof(6);
}
public function hasTriggerMessage()
{
return $this->hasOneof(6);
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Message_Response.TriggerMessage trigger_message = 6;</code>
* @param \Rv\Data\API_v1_Message_Response\TriggerMessage $var
* @return $this
*/
public function setTriggerMessage($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Message_Response\TriggerMessage::class);
$this->writeOneof(6, $var);
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Message_Response.ClearMessage clear_message = 7;</code>
* @return \Rv\Data\API_v1_Message_Response\ClearMessage|null
*/
public function getClearMessage()
{
return $this->readOneof(7);
}
public function hasClearMessage()
{
return $this->hasOneof(7);
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Message_Response.ClearMessage clear_message = 7;</code>
* @param \Rv\Data\API_v1_Message_Response\ClearMessage $var
* @return $this
*/
public function setClearMessage($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Message_Response\ClearMessage::class);
$this->writeOneof(7, $var);
return $this;
}
/**
* @return string
*/
public function getResponse()
{
return $this->whichOneof("Response");
}
}