- 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
266 lines
7.3 KiB
PHP
266 lines
7.3 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: proApiV1Looks.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_Looks_Request</code>
|
|
*/
|
|
class API_v1_Looks_Request extends \Google\Protobuf\Internal\Message
|
|
{
|
|
protected $Request;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Rv\Data\API_v1_Looks_Request\Looks $looks
|
|
* @type \Rv\Data\API_v1_Looks_Request\CreateLook $create_look
|
|
* @type \Rv\Data\API_v1_Looks_Request\GetCurrentLook $get_current_look
|
|
* @type \Rv\Data\API_v1_Looks_Request\PutCurrentLook $put_current_look
|
|
* @type \Rv\Data\API_v1_Looks_Request\GetLook $get_look
|
|
* @type \Rv\Data\API_v1_Looks_Request\PutLook $put_look
|
|
* @type \Rv\Data\API_v1_Looks_Request\DeleteLook $delete_look
|
|
* @type \Rv\Data\API_v1_Looks_Request\TriggerLook $trigger_look
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\ProApiV1Looks::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Looks_Request.Looks looks = 1;</code>
|
|
* @return \Rv\Data\API_v1_Looks_Request\Looks|null
|
|
*/
|
|
public function getLooks()
|
|
{
|
|
return $this->readOneof(1);
|
|
}
|
|
|
|
public function hasLooks()
|
|
{
|
|
return $this->hasOneof(1);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Looks_Request.Looks looks = 1;</code>
|
|
* @param \Rv\Data\API_v1_Looks_Request\Looks $var
|
|
* @return $this
|
|
*/
|
|
public function setLooks($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Looks_Request\Looks::class);
|
|
$this->writeOneof(1, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Looks_Request.CreateLook create_look = 2;</code>
|
|
* @return \Rv\Data\API_v1_Looks_Request\CreateLook|null
|
|
*/
|
|
public function getCreateLook()
|
|
{
|
|
return $this->readOneof(2);
|
|
}
|
|
|
|
public function hasCreateLook()
|
|
{
|
|
return $this->hasOneof(2);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Looks_Request.CreateLook create_look = 2;</code>
|
|
* @param \Rv\Data\API_v1_Looks_Request\CreateLook $var
|
|
* @return $this
|
|
*/
|
|
public function setCreateLook($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Looks_Request\CreateLook::class);
|
|
$this->writeOneof(2, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Looks_Request.GetCurrentLook get_current_look = 3;</code>
|
|
* @return \Rv\Data\API_v1_Looks_Request\GetCurrentLook|null
|
|
*/
|
|
public function getGetCurrentLook()
|
|
{
|
|
return $this->readOneof(3);
|
|
}
|
|
|
|
public function hasGetCurrentLook()
|
|
{
|
|
return $this->hasOneof(3);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Looks_Request.GetCurrentLook get_current_look = 3;</code>
|
|
* @param \Rv\Data\API_v1_Looks_Request\GetCurrentLook $var
|
|
* @return $this
|
|
*/
|
|
public function setGetCurrentLook($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Looks_Request\GetCurrentLook::class);
|
|
$this->writeOneof(3, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Looks_Request.PutCurrentLook put_current_look = 4;</code>
|
|
* @return \Rv\Data\API_v1_Looks_Request\PutCurrentLook|null
|
|
*/
|
|
public function getPutCurrentLook()
|
|
{
|
|
return $this->readOneof(4);
|
|
}
|
|
|
|
public function hasPutCurrentLook()
|
|
{
|
|
return $this->hasOneof(4);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Looks_Request.PutCurrentLook put_current_look = 4;</code>
|
|
* @param \Rv\Data\API_v1_Looks_Request\PutCurrentLook $var
|
|
* @return $this
|
|
*/
|
|
public function setPutCurrentLook($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Looks_Request\PutCurrentLook::class);
|
|
$this->writeOneof(4, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Looks_Request.GetLook get_look = 5;</code>
|
|
* @return \Rv\Data\API_v1_Looks_Request\GetLook|null
|
|
*/
|
|
public function getGetLook()
|
|
{
|
|
return $this->readOneof(5);
|
|
}
|
|
|
|
public function hasGetLook()
|
|
{
|
|
return $this->hasOneof(5);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Looks_Request.GetLook get_look = 5;</code>
|
|
* @param \Rv\Data\API_v1_Looks_Request\GetLook $var
|
|
* @return $this
|
|
*/
|
|
public function setGetLook($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Looks_Request\GetLook::class);
|
|
$this->writeOneof(5, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Looks_Request.PutLook put_look = 6;</code>
|
|
* @return \Rv\Data\API_v1_Looks_Request\PutLook|null
|
|
*/
|
|
public function getPutLook()
|
|
{
|
|
return $this->readOneof(6);
|
|
}
|
|
|
|
public function hasPutLook()
|
|
{
|
|
return $this->hasOneof(6);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Looks_Request.PutLook put_look = 6;</code>
|
|
* @param \Rv\Data\API_v1_Looks_Request\PutLook $var
|
|
* @return $this
|
|
*/
|
|
public function setPutLook($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Looks_Request\PutLook::class);
|
|
$this->writeOneof(6, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Looks_Request.DeleteLook delete_look = 7;</code>
|
|
* @return \Rv\Data\API_v1_Looks_Request\DeleteLook|null
|
|
*/
|
|
public function getDeleteLook()
|
|
{
|
|
return $this->readOneof(7);
|
|
}
|
|
|
|
public function hasDeleteLook()
|
|
{
|
|
return $this->hasOneof(7);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Looks_Request.DeleteLook delete_look = 7;</code>
|
|
* @param \Rv\Data\API_v1_Looks_Request\DeleteLook $var
|
|
* @return $this
|
|
*/
|
|
public function setDeleteLook($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Looks_Request\DeleteLook::class);
|
|
$this->writeOneof(7, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Looks_Request.TriggerLook trigger_look = 8;</code>
|
|
* @return \Rv\Data\API_v1_Looks_Request\TriggerLook|null
|
|
*/
|
|
public function getTriggerLook()
|
|
{
|
|
return $this->readOneof(8);
|
|
}
|
|
|
|
public function hasTriggerLook()
|
|
{
|
|
return $this->hasOneof(8);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Looks_Request.TriggerLook trigger_look = 8;</code>
|
|
* @param \Rv\Data\API_v1_Looks_Request\TriggerLook $var
|
|
* @return $this
|
|
*/
|
|
public function setTriggerLook($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Looks_Request\TriggerLook::class);
|
|
$this->writeOneof(8, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getRequest()
|
|
{
|
|
return $this->whichOneof("Request");
|
|
}
|
|
|
|
}
|
|
|