- 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
97 lines
2.8 KiB
PHP
97 lines
2.8 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\API_Message;
|
|
|
|
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_Message.TriggerMessage</code>
|
|
*/
|
|
class TriggerMessage extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.NetworkAPI.IndexOrNameIdentifier identifier = 1;</code>
|
|
*/
|
|
protected $identifier = null;
|
|
/**
|
|
* Generated from protobuf field <code>repeated .rv.data.Message.TokenValue token_values = 2;</code>
|
|
*/
|
|
private $token_values;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Rv\Data\NetworkAPI\IndexOrNameIdentifier $identifier
|
|
* @type array<\Rv\Data\Message\TokenValue>|\Google\Protobuf\Internal\RepeatedField $token_values
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\ProApi::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.NetworkAPI.IndexOrNameIdentifier identifier = 1;</code>
|
|
* @return \Rv\Data\NetworkAPI\IndexOrNameIdentifier|null
|
|
*/
|
|
public function getIdentifier()
|
|
{
|
|
return $this->identifier;
|
|
}
|
|
|
|
public function hasIdentifier()
|
|
{
|
|
return isset($this->identifier);
|
|
}
|
|
|
|
public function clearIdentifier()
|
|
{
|
|
unset($this->identifier);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.NetworkAPI.IndexOrNameIdentifier identifier = 1;</code>
|
|
* @param \Rv\Data\NetworkAPI\IndexOrNameIdentifier $var
|
|
* @return $this
|
|
*/
|
|
public function setIdentifier($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\NetworkAPI\IndexOrNameIdentifier::class);
|
|
$this->identifier = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>repeated .rv.data.Message.TokenValue token_values = 2;</code>
|
|
* @return \Google\Protobuf\Internal\RepeatedField
|
|
*/
|
|
public function getTokenValues()
|
|
{
|
|
return $this->token_values;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>repeated .rv.data.Message.TokenValue token_values = 2;</code>
|
|
* @param array<\Rv\Data\Message\TokenValue>|\Google\Protobuf\Internal\RepeatedField $var
|
|
* @return $this
|
|
*/
|
|
public function setTokenValues($var)
|
|
{
|
|
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\Message\TokenValue::class);
|
|
$this->token_values = $arr;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|