210 lines
5.6 KiB
PHP
210 lines
5.6 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: proApiV1Prop.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_Prop_Response</code>
|
|
*/
|
|
class API_v1_Prop_Response extends \Google\Protobuf\Internal\Message
|
|
{
|
|
protected $Response;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Rv\Data\API_v1_Prop_Response\Props $props
|
|
* @type \Rv\Data\API_v1_Prop_Response\GetProp $get_prop
|
|
* @type \Rv\Data\API_v1_Prop_Response\DeleteProp $delete_prop
|
|
* @type \Rv\Data\API_v1_Prop_Response\TriggerProp $trigger_prop
|
|
* @type \Rv\Data\API_v1_Prop_Response\ClearProp $clear_prop
|
|
* @type \Rv\Data\API_v1_Prop_Response\GetThumbnail $get_thumbnail
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\ProApiV1Prop::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Prop_Response.Props props = 1;</code>
|
|
* @return \Rv\Data\API_v1_Prop_Response\Props|null
|
|
*/
|
|
public function getProps()
|
|
{
|
|
return $this->readOneof(1);
|
|
}
|
|
|
|
public function hasProps()
|
|
{
|
|
return $this->hasOneof(1);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Prop_Response.Props props = 1;</code>
|
|
* @param \Rv\Data\API_v1_Prop_Response\Props $var
|
|
* @return $this
|
|
*/
|
|
public function setProps($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Prop_Response\Props::class);
|
|
$this->writeOneof(1, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Prop_Response.GetProp get_prop = 2;</code>
|
|
* @return \Rv\Data\API_v1_Prop_Response\GetProp|null
|
|
*/
|
|
public function getGetProp()
|
|
{
|
|
return $this->readOneof(2);
|
|
}
|
|
|
|
public function hasGetProp()
|
|
{
|
|
return $this->hasOneof(2);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Prop_Response.GetProp get_prop = 2;</code>
|
|
* @param \Rv\Data\API_v1_Prop_Response\GetProp $var
|
|
* @return $this
|
|
*/
|
|
public function setGetProp($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Prop_Response\GetProp::class);
|
|
$this->writeOneof(2, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Prop_Response.DeleteProp delete_prop = 3;</code>
|
|
* @return \Rv\Data\API_v1_Prop_Response\DeleteProp|null
|
|
*/
|
|
public function getDeleteProp()
|
|
{
|
|
return $this->readOneof(3);
|
|
}
|
|
|
|
public function hasDeleteProp()
|
|
{
|
|
return $this->hasOneof(3);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Prop_Response.DeleteProp delete_prop = 3;</code>
|
|
* @param \Rv\Data\API_v1_Prop_Response\DeleteProp $var
|
|
* @return $this
|
|
*/
|
|
public function setDeleteProp($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Prop_Response\DeleteProp::class);
|
|
$this->writeOneof(3, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Prop_Response.TriggerProp trigger_prop = 4;</code>
|
|
* @return \Rv\Data\API_v1_Prop_Response\TriggerProp|null
|
|
*/
|
|
public function getTriggerProp()
|
|
{
|
|
return $this->readOneof(4);
|
|
}
|
|
|
|
public function hasTriggerProp()
|
|
{
|
|
return $this->hasOneof(4);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Prop_Response.TriggerProp trigger_prop = 4;</code>
|
|
* @param \Rv\Data\API_v1_Prop_Response\TriggerProp $var
|
|
* @return $this
|
|
*/
|
|
public function setTriggerProp($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Prop_Response\TriggerProp::class);
|
|
$this->writeOneof(4, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Prop_Response.ClearProp clear_prop = 5;</code>
|
|
* @return \Rv\Data\API_v1_Prop_Response\ClearProp|null
|
|
*/
|
|
public function getClearProp()
|
|
{
|
|
return $this->readOneof(5);
|
|
}
|
|
|
|
public function hasClearProp()
|
|
{
|
|
return $this->hasOneof(5);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Prop_Response.ClearProp clear_prop = 5;</code>
|
|
* @param \Rv\Data\API_v1_Prop_Response\ClearProp $var
|
|
* @return $this
|
|
*/
|
|
public function setClearProp($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Prop_Response\ClearProp::class);
|
|
$this->writeOneof(5, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Prop_Response.GetThumbnail get_thumbnail = 6;</code>
|
|
* @return \Rv\Data\API_v1_Prop_Response\GetThumbnail|null
|
|
*/
|
|
public function getGetThumbnail()
|
|
{
|
|
return $this->readOneof(6);
|
|
}
|
|
|
|
public function hasGetThumbnail()
|
|
{
|
|
return $this->hasOneof(6);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Prop_Response.GetThumbnail get_thumbnail = 6;</code>
|
|
* @param \Rv\Data\API_v1_Prop_Response\GetThumbnail $var
|
|
* @return $this
|
|
*/
|
|
public function setGetThumbnail($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Prop_Response\GetThumbnail::class);
|
|
$this->writeOneof(6, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getResponse()
|
|
{
|
|
return $this->whichOneof("Response");
|
|
}
|
|
|
|
}
|
|
|