rv.data.TestPatternRenderSettings.Output */ class Output extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field int32 x = 1; */ protected $x = 0; /** * Generated from protobuf field int32 y = 2; */ protected $y = 0; /** * Generated from protobuf field int32 width = 3; */ protected $width = 0; /** * Generated from protobuf field int32 height = 4; */ protected $height = 0; /** * Generated from protobuf field string name = 5; */ protected $name = ''; /** * Generated from protobuf field double frame_rate = 6; */ protected $frame_rate = 0.0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int $x * @type int $y * @type int $width * @type int $height * @type string $name * @type float $frame_rate * } */ public function __construct($data = NULL) { \GPBMetadata\TestPattern::initOnce(); parent::__construct($data); } /** * Generated from protobuf field int32 x = 1; * @return int */ public function getX() { return $this->x; } /** * Generated from protobuf field int32 x = 1; * @param int $var * @return $this */ public function setX($var) { GPBUtil::checkInt32($var); $this->x = $var; return $this; } /** * Generated from protobuf field int32 y = 2; * @return int */ public function getY() { return $this->y; } /** * Generated from protobuf field int32 y = 2; * @param int $var * @return $this */ public function setY($var) { GPBUtil::checkInt32($var); $this->y = $var; return $this; } /** * Generated from protobuf field int32 width = 3; * @return int */ public function getWidth() { return $this->width; } /** * Generated from protobuf field int32 width = 3; * @param int $var * @return $this */ public function setWidth($var) { GPBUtil::checkInt32($var); $this->width = $var; return $this; } /** * Generated from protobuf field int32 height = 4; * @return int */ public function getHeight() { return $this->height; } /** * Generated from protobuf field int32 height = 4; * @param int $var * @return $this */ public function setHeight($var) { GPBUtil::checkInt32($var); $this->height = $var; return $this; } /** * Generated from protobuf field string name = 5; * @return string */ public function getName() { return $this->name; } /** * Generated from protobuf field string name = 5; * @param string $var * @return $this */ public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; } /** * Generated from protobuf field double frame_rate = 6; * @return float */ public function getFrameRate() { return $this->frame_rate; } /** * Generated from protobuf field double frame_rate = 6; * @param float $var * @return $this */ public function setFrameRate($var) { GPBUtil::checkDouble($var); $this->frame_rate = $var; return $this; } }