rv.data.Media.VideoProperties */ class VideoProperties extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field double frame_rate = 1; */ protected $frame_rate = 0.0; /** * Generated from protobuf field .rv.data.Media.VideoProperties.FieldType field_type = 2; */ protected $field_type = 0; /** * Generated from protobuf field double thumbnail_position = 3; */ protected $thumbnail_position = 0.0; /** * Generated from protobuf field .rv.data.Media.VideoProperties.EndBehavior end_behavior = 4; */ protected $end_behavior = 0; /** * Generated from protobuf field bool soft_loop = 5; */ protected $soft_loop = false; /** * Generated from protobuf field double soft_loop_duration = 6; */ protected $soft_loop_duration = 0.0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type float $frame_rate * @type int $field_type * @type float $thumbnail_position * @type int $end_behavior * @type bool $soft_loop * @type float $soft_loop_duration * } */ public function __construct($data = NULL) { \GPBMetadata\GraphicsData::initOnce(); parent::__construct($data); } /** * Generated from protobuf field double frame_rate = 1; * @return float */ public function getFrameRate() { return $this->frame_rate; } /** * Generated from protobuf field double frame_rate = 1; * @param float $var * @return $this */ public function setFrameRate($var) { GPBUtil::checkDouble($var); $this->frame_rate = $var; return $this; } /** * Generated from protobuf field .rv.data.Media.VideoProperties.FieldType field_type = 2; * @return int */ public function getFieldType() { return $this->field_type; } /** * Generated from protobuf field .rv.data.Media.VideoProperties.FieldType field_type = 2; * @param int $var * @return $this */ public function setFieldType($var) { GPBUtil::checkEnum($var, \Rv\Data\Media\VideoProperties\FieldType::class); $this->field_type = $var; return $this; } /** * Generated from protobuf field double thumbnail_position = 3; * @return float */ public function getThumbnailPosition() { return $this->thumbnail_position; } /** * Generated from protobuf field double thumbnail_position = 3; * @param float $var * @return $this */ public function setThumbnailPosition($var) { GPBUtil::checkDouble($var); $this->thumbnail_position = $var; return $this; } /** * Generated from protobuf field .rv.data.Media.VideoProperties.EndBehavior end_behavior = 4; * @return int */ public function getEndBehavior() { return $this->end_behavior; } /** * Generated from protobuf field .rv.data.Media.VideoProperties.EndBehavior end_behavior = 4; * @param int $var * @return $this */ public function setEndBehavior($var) { GPBUtil::checkEnum($var, \Rv\Data\Media\VideoProperties\EndBehavior::class); $this->end_behavior = $var; return $this; } /** * Generated from protobuf field bool soft_loop = 5; * @return bool */ public function getSoftLoop() { return $this->soft_loop; } /** * Generated from protobuf field bool soft_loop = 5; * @param bool $var * @return $this */ public function setSoftLoop($var) { GPBUtil::checkBool($var); $this->soft_loop = $var; return $this; } /** * Generated from protobuf field double soft_loop_duration = 6; * @return float */ public function getSoftLoopDuration() { return $this->soft_loop_duration; } /** * Generated from protobuf field double soft_loop_duration = 6; * @param float $var * @return $this */ public function setSoftLoopDuration($var) { GPBUtil::checkDouble($var); $this->soft_loop_duration = $var; return $this; } }