rv.analytics.startup.Output
*/
class Output extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field .rv.analytics.startup.Output.ProScreenType proscreen_type = 1;
*/
protected $proscreen_type = 0;
/**
* Generated from protobuf field .rv.analytics.startup.Output.OutputType output_type = 2;
*/
protected $output_type = 0;
/**
* Generated from protobuf field bool color_correction_enabled = 3;
*/
protected $color_correction_enabled = false;
/**
* Generated from protobuf field bool corner_pin_enabled = 4;
*/
protected $corner_pin_enabled = false;
/**
* Generated from protobuf field .rv.analytics.startup.Output.Alignment alignment = 5;
*/
protected $alignment = 0;
/**
* Generated from protobuf field int32 width = 6;
*/
protected $width = 0;
/**
* Generated from protobuf field int32 height = 7;
*/
protected $height = 0;
/**
* Generated from protobuf field .rv.analytics.startup.Output.AlphaKeyMode alpha_key_mode = 8;
*/
protected $alpha_key_mode = 0;
/**
* Generated from protobuf field .rv.analytics.startup.Output.AlphaDevice alpha_device = 9;
*/
protected $alpha_device = 0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int $proscreen_type
* @type int $output_type
* @type bool $color_correction_enabled
* @type bool $corner_pin_enabled
* @type int $alignment
* @type int $width
* @type int $height
* @type int $alpha_key_mode
* @type int $alpha_device
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\AnalyticsStartup::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field .rv.analytics.startup.Output.ProScreenType proscreen_type = 1;
* @return int
*/
public function getProscreenType()
{
return $this->proscreen_type;
}
/**
* Generated from protobuf field .rv.analytics.startup.Output.ProScreenType proscreen_type = 1;
* @param int $var
* @return $this
*/
public function setProscreenType($var)
{
GPBUtil::checkEnum($var, \Rv\Analytics\Startup\Output\ProScreenType::class);
$this->proscreen_type = $var;
return $this;
}
/**
* Generated from protobuf field .rv.analytics.startup.Output.OutputType output_type = 2;
* @return int
*/
public function getOutputType()
{
return $this->output_type;
}
/**
* Generated from protobuf field .rv.analytics.startup.Output.OutputType output_type = 2;
* @param int $var
* @return $this
*/
public function setOutputType($var)
{
GPBUtil::checkEnum($var, \Rv\Analytics\Startup\Output\OutputType::class);
$this->output_type = $var;
return $this;
}
/**
* Generated from protobuf field bool color_correction_enabled = 3;
* @return bool
*/
public function getColorCorrectionEnabled()
{
return $this->color_correction_enabled;
}
/**
* Generated from protobuf field bool color_correction_enabled = 3;
* @param bool $var
* @return $this
*/
public function setColorCorrectionEnabled($var)
{
GPBUtil::checkBool($var);
$this->color_correction_enabled = $var;
return $this;
}
/**
* Generated from protobuf field bool corner_pin_enabled = 4;
* @return bool
*/
public function getCornerPinEnabled()
{
return $this->corner_pin_enabled;
}
/**
* Generated from protobuf field bool corner_pin_enabled = 4;
* @param bool $var
* @return $this
*/
public function setCornerPinEnabled($var)
{
GPBUtil::checkBool($var);
$this->corner_pin_enabled = $var;
return $this;
}
/**
* Generated from protobuf field .rv.analytics.startup.Output.Alignment alignment = 5;
* @return int
*/
public function getAlignment()
{
return $this->alignment;
}
/**
* Generated from protobuf field .rv.analytics.startup.Output.Alignment alignment = 5;
* @param int $var
* @return $this
*/
public function setAlignment($var)
{
GPBUtil::checkEnum($var, \Rv\Analytics\Startup\Output\Alignment::class);
$this->alignment = $var;
return $this;
}
/**
* Generated from protobuf field int32 width = 6;
* @return int
*/
public function getWidth()
{
return $this->width;
}
/**
* Generated from protobuf field int32 width = 6;
* @param int $var
* @return $this
*/
public function setWidth($var)
{
GPBUtil::checkInt32($var);
$this->width = $var;
return $this;
}
/**
* Generated from protobuf field int32 height = 7;
* @return int
*/
public function getHeight()
{
return $this->height;
}
/**
* Generated from protobuf field int32 height = 7;
* @param int $var
* @return $this
*/
public function setHeight($var)
{
GPBUtil::checkInt32($var);
$this->height = $var;
return $this;
}
/**
* Generated from protobuf field .rv.analytics.startup.Output.AlphaKeyMode alpha_key_mode = 8;
* @return int
*/
public function getAlphaKeyMode()
{
return $this->alpha_key_mode;
}
/**
* Generated from protobuf field .rv.analytics.startup.Output.AlphaKeyMode alpha_key_mode = 8;
* @param int $var
* @return $this
*/
public function setAlphaKeyMode($var)
{
GPBUtil::checkEnum($var, \Rv\Analytics\Startup\Output\AlphaKeyMode::class);
$this->alpha_key_mode = $var;
return $this;
}
/**
* Generated from protobuf field .rv.analytics.startup.Output.AlphaDevice alpha_device = 9;
* @return int
*/
public function getAlphaDevice()
{
return $this->alpha_device;
}
/**
* Generated from protobuf field .rv.analytics.startup.Output.AlphaDevice alpha_device = 9;
* @param int $var
* @return $this
*/
public function setAlphaDevice($var)
{
GPBUtil::checkEnum($var, \Rv\Analytics\Startup\Output\AlphaDevice::class);
$this->alpha_device = $var;
return $this;
}
}