259 lines
6.4 KiB
PHP
259 lines
6.4 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: testPattern.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.TestPatternRenderSettings</code>
|
|
*/
|
|
class TestPatternRenderSettings extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.TestPatternDefinition pattern = 1;</code>
|
|
*/
|
|
protected $pattern = null;
|
|
/**
|
|
* Generated from protobuf field <code>string screen_name = 3;</code>
|
|
*/
|
|
protected $screen_name = '';
|
|
/**
|
|
* Generated from protobuf field <code>repeated .rv.data.TestPatternRenderSettings.Output outputs = 4;</code>
|
|
*/
|
|
private $outputs;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.LogoType logo_type = 5;</code>
|
|
*/
|
|
protected $logo_type = 0;
|
|
/**
|
|
* Generated from protobuf field <code>string logo_file = 6;</code>
|
|
*/
|
|
protected $logo_file = '';
|
|
/**
|
|
* Generated from protobuf field <code>int32 render_width = 7;</code>
|
|
*/
|
|
protected $render_width = 0;
|
|
/**
|
|
* Generated from protobuf field <code>int32 render_height = 8;</code>
|
|
*/
|
|
protected $render_height = 0;
|
|
/**
|
|
* Generated from protobuf field <code>bool enable_audio = 9;</code>
|
|
*/
|
|
protected $enable_audio = false;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Rv\Data\TestPatternDefinition $pattern
|
|
* @type string $screen_name
|
|
* @type array<\Rv\Data\TestPatternRenderSettings\Output>|\Google\Protobuf\Internal\RepeatedField $outputs
|
|
* @type int $logo_type
|
|
* @type string $logo_file
|
|
* @type int $render_width
|
|
* @type int $render_height
|
|
* @type bool $enable_audio
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\TestPattern::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.TestPatternDefinition pattern = 1;</code>
|
|
* @return \Rv\Data\TestPatternDefinition|null
|
|
*/
|
|
public function getPattern()
|
|
{
|
|
return $this->pattern;
|
|
}
|
|
|
|
public function hasPattern()
|
|
{
|
|
return isset($this->pattern);
|
|
}
|
|
|
|
public function clearPattern()
|
|
{
|
|
unset($this->pattern);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.TestPatternDefinition pattern = 1;</code>
|
|
* @param \Rv\Data\TestPatternDefinition $var
|
|
* @return $this
|
|
*/
|
|
public function setPattern($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\TestPatternDefinition::class);
|
|
$this->pattern = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string screen_name = 3;</code>
|
|
* @return string
|
|
*/
|
|
public function getScreenName()
|
|
{
|
|
return $this->screen_name;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string screen_name = 3;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setScreenName($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->screen_name = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>repeated .rv.data.TestPatternRenderSettings.Output outputs = 4;</code>
|
|
* @return \Google\Protobuf\Internal\RepeatedField
|
|
*/
|
|
public function getOutputs()
|
|
{
|
|
return $this->outputs;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>repeated .rv.data.TestPatternRenderSettings.Output outputs = 4;</code>
|
|
* @param array<\Rv\Data\TestPatternRenderSettings\Output>|\Google\Protobuf\Internal\RepeatedField $var
|
|
* @return $this
|
|
*/
|
|
public function setOutputs($var)
|
|
{
|
|
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\TestPatternRenderSettings\Output::class);
|
|
$this->outputs = $arr;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.LogoType logo_type = 5;</code>
|
|
* @return int
|
|
*/
|
|
public function getLogoType()
|
|
{
|
|
return $this->logo_type;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.LogoType logo_type = 5;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setLogoType($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Data\LogoType::class);
|
|
$this->logo_type = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string logo_file = 6;</code>
|
|
* @return string
|
|
*/
|
|
public function getLogoFile()
|
|
{
|
|
return $this->logo_file;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string logo_file = 6;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setLogoFile($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->logo_file = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 render_width = 7;</code>
|
|
* @return int
|
|
*/
|
|
public function getRenderWidth()
|
|
{
|
|
return $this->render_width;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 render_width = 7;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setRenderWidth($var)
|
|
{
|
|
GPBUtil::checkInt32($var);
|
|
$this->render_width = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 render_height = 8;</code>
|
|
* @return int
|
|
*/
|
|
public function getRenderHeight()
|
|
{
|
|
return $this->render_height;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 render_height = 8;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setRenderHeight($var)
|
|
{
|
|
GPBUtil::checkInt32($var);
|
|
$this->render_height = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool enable_audio = 9;</code>
|
|
* @return bool
|
|
*/
|
|
public function getEnableAudio()
|
|
{
|
|
return $this->enable_audio;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool enable_audio = 9;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setEnableAudio($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->enable_audio = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|