rv.data.MediaMetadataRequestInfo */ class MediaMetadataRequestInfo extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field string file_path = 1; */ protected $file_path = ''; /** * Generated from protobuf field float time = 2; */ protected $time = 0.0; /** * Generated from protobuf field uint32 width = 3; */ protected $width = 0; /** * Generated from protobuf field uint32 height = 4; */ protected $height = 0; /** * Generated from protobuf field repeated .rv.data.Effect effects = 5; */ private $effects; /** * Generated from protobuf field .rv.data.Graphics.EdgeInsets crop_insets = 6; */ protected $crop_insets = null; /** * Generated from protobuf field .rv.data.Media.DrawingProperties.NativeRotationType native_rotation = 7; */ protected $native_rotation = 0; /** * Generated from protobuf field bool flipped_horizontally = 8; */ protected $flipped_horizontally = false; /** * Generated from protobuf field bool flipped_vertically = 9; */ protected $flipped_vertically = false; /** * Generated from protobuf field .rv.data.AlphaType alpha_type = 10; */ protected $alpha_type = 0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $file_path * @type float $time * @type int $width * @type int $height * @type array<\Rv\Data\Effect>|\Google\Protobuf\Internal\RepeatedField $effects * @type \Rv\Data\Graphics\EdgeInsets $crop_insets * @type int $native_rotation * @type bool $flipped_horizontally * @type bool $flipped_vertically * @type int $alpha_type * } */ public function __construct($data = NULL) { \GPBMetadata\ProCore::initOnce(); parent::__construct($data); } /** * Generated from protobuf field string file_path = 1; * @return string */ public function getFilePath() { return $this->file_path; } /** * Generated from protobuf field string file_path = 1; * @param string $var * @return $this */ public function setFilePath($var) { GPBUtil::checkString($var, True); $this->file_path = $var; return $this; } /** * Generated from protobuf field float time = 2; * @return float */ public function getTime() { return $this->time; } /** * Generated from protobuf field float time = 2; * @param float $var * @return $this */ public function setTime($var) { GPBUtil::checkFloat($var); $this->time = $var; return $this; } /** * Generated from protobuf field uint32 width = 3; * @return int */ public function getWidth() { return $this->width; } /** * Generated from protobuf field uint32 width = 3; * @param int $var * @return $this */ public function setWidth($var) { GPBUtil::checkUint32($var); $this->width = $var; return $this; } /** * Generated from protobuf field uint32 height = 4; * @return int */ public function getHeight() { return $this->height; } /** * Generated from protobuf field uint32 height = 4; * @param int $var * @return $this */ public function setHeight($var) { GPBUtil::checkUint32($var); $this->height = $var; return $this; } /** * Generated from protobuf field repeated .rv.data.Effect effects = 5; * @return \Google\Protobuf\Internal\RepeatedField */ public function getEffects() { return $this->effects; } /** * Generated from protobuf field repeated .rv.data.Effect effects = 5; * @param array<\Rv\Data\Effect>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setEffects($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\Effect::class); $this->effects = $arr; return $this; } /** * Generated from protobuf field .rv.data.Graphics.EdgeInsets crop_insets = 6; * @return \Rv\Data\Graphics\EdgeInsets|null */ public function getCropInsets() { return $this->crop_insets; } public function hasCropInsets() { return isset($this->crop_insets); } public function clearCropInsets() { unset($this->crop_insets); } /** * Generated from protobuf field .rv.data.Graphics.EdgeInsets crop_insets = 6; * @param \Rv\Data\Graphics\EdgeInsets $var * @return $this */ public function setCropInsets($var) { GPBUtil::checkMessage($var, \Rv\Data\Graphics\EdgeInsets::class); $this->crop_insets = $var; return $this; } /** * Generated from protobuf field .rv.data.Media.DrawingProperties.NativeRotationType native_rotation = 7; * @return int */ public function getNativeRotation() { return $this->native_rotation; } /** * Generated from protobuf field .rv.data.Media.DrawingProperties.NativeRotationType native_rotation = 7; * @param int $var * @return $this */ public function setNativeRotation($var) { GPBUtil::checkEnum($var, \Rv\Data\Media\DrawingProperties\NativeRotationType::class); $this->native_rotation = $var; return $this; } /** * Generated from protobuf field bool flipped_horizontally = 8; * @return bool */ public function getFlippedHorizontally() { return $this->flipped_horizontally; } /** * Generated from protobuf field bool flipped_horizontally = 8; * @param bool $var * @return $this */ public function setFlippedHorizontally($var) { GPBUtil::checkBool($var); $this->flipped_horizontally = $var; return $this; } /** * Generated from protobuf field bool flipped_vertically = 9; * @return bool */ public function getFlippedVertically() { return $this->flipped_vertically; } /** * Generated from protobuf field bool flipped_vertically = 9; * @param bool $var * @return $this */ public function setFlippedVertically($var) { GPBUtil::checkBool($var); $this->flipped_vertically = $var; return $this; } /** * Generated from protobuf field .rv.data.AlphaType alpha_type = 10; * @return int */ public function getAlphaType() { return $this->alpha_type; } /** * Generated from protobuf field .rv.data.AlphaType alpha_type = 10; * @param int $var * @return $this */ public function setAlphaType($var) { GPBUtil::checkEnum($var, \Rv\Data\AlphaType::class); $this->alpha_type = $var; return $this; } }