- 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
210 lines
5.9 KiB
PHP
210 lines
5.9 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.HandlerOut</code>
|
|
*/
|
|
class HandlerOut extends \Google\Protobuf\Internal\Message
|
|
{
|
|
protected $Response;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Rv\Data\ProLink\HandlerOut\GroupName $group_name
|
|
* @type \Rv\Data\ProLink\GroupDefinition $group_definition
|
|
* @type \Rv\Data\ProLink\HandlerOut\GroupJoinConfirmation $group_join_confirmation
|
|
* @type \Rv\Data\ProLink\HandlerOut\GroupJoinPassword $group_join_password
|
|
* @type \Rv\Data\ProLink\HandlerOut\ProPresenterInfo $propresenter_info
|
|
* @type \Rv\Data\ProApiNetworkConfiguration $configuration
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\ProApi::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.ProLink.HandlerOut.GroupName group_name = 1;</code>
|
|
* @return \Rv\Data\ProLink\HandlerOut\GroupName|null
|
|
*/
|
|
public function getGroupName()
|
|
{
|
|
return $this->readOneof(1);
|
|
}
|
|
|
|
public function hasGroupName()
|
|
{
|
|
return $this->hasOneof(1);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.ProLink.HandlerOut.GroupName group_name = 1;</code>
|
|
* @param \Rv\Data\ProLink\HandlerOut\GroupName $var
|
|
* @return $this
|
|
*/
|
|
public function setGroupName($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\ProLink\HandlerOut\GroupName::class);
|
|
$this->writeOneof(1, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.ProLink.GroupDefinition group_definition = 2;</code>
|
|
* @return \Rv\Data\ProLink\GroupDefinition|null
|
|
*/
|
|
public function getGroupDefinition()
|
|
{
|
|
return $this->readOneof(2);
|
|
}
|
|
|
|
public function hasGroupDefinition()
|
|
{
|
|
return $this->hasOneof(2);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.ProLink.GroupDefinition group_definition = 2;</code>
|
|
* @param \Rv\Data\ProLink\GroupDefinition $var
|
|
* @return $this
|
|
*/
|
|
public function setGroupDefinition($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\ProLink\GroupDefinition::class);
|
|
$this->writeOneof(2, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.ProLink.HandlerOut.GroupJoinConfirmation group_join_confirmation = 3;</code>
|
|
* @return \Rv\Data\ProLink\HandlerOut\GroupJoinConfirmation|null
|
|
*/
|
|
public function getGroupJoinConfirmation()
|
|
{
|
|
return $this->readOneof(3);
|
|
}
|
|
|
|
public function hasGroupJoinConfirmation()
|
|
{
|
|
return $this->hasOneof(3);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.ProLink.HandlerOut.GroupJoinConfirmation group_join_confirmation = 3;</code>
|
|
* @param \Rv\Data\ProLink\HandlerOut\GroupJoinConfirmation $var
|
|
* @return $this
|
|
*/
|
|
public function setGroupJoinConfirmation($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\ProLink\HandlerOut\GroupJoinConfirmation::class);
|
|
$this->writeOneof(3, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.ProLink.HandlerOut.GroupJoinPassword group_join_password = 4;</code>
|
|
* @return \Rv\Data\ProLink\HandlerOut\GroupJoinPassword|null
|
|
*/
|
|
public function getGroupJoinPassword()
|
|
{
|
|
return $this->readOneof(4);
|
|
}
|
|
|
|
public function hasGroupJoinPassword()
|
|
{
|
|
return $this->hasOneof(4);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.ProLink.HandlerOut.GroupJoinPassword group_join_password = 4;</code>
|
|
* @param \Rv\Data\ProLink\HandlerOut\GroupJoinPassword $var
|
|
* @return $this
|
|
*/
|
|
public function setGroupJoinPassword($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\ProLink\HandlerOut\GroupJoinPassword::class);
|
|
$this->writeOneof(4, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.ProLink.HandlerOut.ProPresenterInfo propresenter_info = 5;</code>
|
|
* @return \Rv\Data\ProLink\HandlerOut\ProPresenterInfo|null
|
|
*/
|
|
public function getPropresenterInfo()
|
|
{
|
|
return $this->readOneof(5);
|
|
}
|
|
|
|
public function hasPropresenterInfo()
|
|
{
|
|
return $this->hasOneof(5);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.ProLink.HandlerOut.ProPresenterInfo propresenter_info = 5;</code>
|
|
* @param \Rv\Data\ProLink\HandlerOut\ProPresenterInfo $var
|
|
* @return $this
|
|
*/
|
|
public function setPropresenterInfo($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\ProLink\HandlerOut\ProPresenterInfo::class);
|
|
$this->writeOneof(5, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.ProApiNetworkConfiguration configuration = 6;</code>
|
|
* @return \Rv\Data\ProApiNetworkConfiguration|null
|
|
*/
|
|
public function getConfiguration()
|
|
{
|
|
return $this->readOneof(6);
|
|
}
|
|
|
|
public function hasConfiguration()
|
|
{
|
|
return $this->hasOneof(6);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.ProApiNetworkConfiguration configuration = 6;</code>
|
|
* @param \Rv\Data\ProApiNetworkConfiguration $var
|
|
* @return $this
|
|
*/
|
|
public function setConfiguration($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\ProApiNetworkConfiguration::class);
|
|
$this->writeOneof(6, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getResponse()
|
|
{
|
|
return $this->whichOneof("Response");
|
|
}
|
|
|
|
}
|
|
|