rv.analytics.TriggerMediaInformation.Transport */ class Transport extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .rv.analytics.TriggerMediaInformation.Transport.DurationRange source_duration_range = 1; */ protected $source_duration_range = 0; /** * Generated from protobuf field bool has_audio_ramp_in = 2; */ protected $has_audio_ramp_in = false; /** * Generated from protobuf field bool has_audio_ramp_out = 3; */ protected $has_audio_ramp_out = false; /** * Generated from protobuf field bool has_in_point = 4; */ protected $has_in_point = false; /** * Generated from protobuf field bool has_out_point = 5; */ protected $has_out_point = false; /** * Generated from protobuf field double play_rate = 6; */ protected $play_rate = 0.0; /** * Generated from protobuf field uint32 playback_marker_count = 7; */ protected $playback_marker_count = 0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int $source_duration_range * @type bool $has_audio_ramp_in * @type bool $has_audio_ramp_out * @type bool $has_in_point * @type bool $has_out_point * @type float $play_rate * @type int $playback_marker_count * } */ public function __construct($data = NULL) { \GPBMetadata\AnalyticsTriggerMedia::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .rv.analytics.TriggerMediaInformation.Transport.DurationRange source_duration_range = 1; * @return int */ public function getSourceDurationRange() { return $this->source_duration_range; } /** * Generated from protobuf field .rv.analytics.TriggerMediaInformation.Transport.DurationRange source_duration_range = 1; * @param int $var * @return $this */ public function setSourceDurationRange($var) { GPBUtil::checkEnum($var, \Rv\Analytics\TriggerMediaInformation\Transport\DurationRange::class); $this->source_duration_range = $var; return $this; } /** * Generated from protobuf field bool has_audio_ramp_in = 2; * @return bool */ public function getHasAudioRampIn() { return $this->has_audio_ramp_in; } /** * Generated from protobuf field bool has_audio_ramp_in = 2; * @param bool $var * @return $this */ public function setHasAudioRampIn($var) { GPBUtil::checkBool($var); $this->has_audio_ramp_in = $var; return $this; } /** * Generated from protobuf field bool has_audio_ramp_out = 3; * @return bool */ public function getHasAudioRampOut() { return $this->has_audio_ramp_out; } /** * Generated from protobuf field bool has_audio_ramp_out = 3; * @param bool $var * @return $this */ public function setHasAudioRampOut($var) { GPBUtil::checkBool($var); $this->has_audio_ramp_out = $var; return $this; } /** * Generated from protobuf field bool has_in_point = 4; * @return bool */ public function getHasInPoint() { return $this->has_in_point; } /** * Generated from protobuf field bool has_in_point = 4; * @param bool $var * @return $this */ public function setHasInPoint($var) { GPBUtil::checkBool($var); $this->has_in_point = $var; return $this; } /** * Generated from protobuf field bool has_out_point = 5; * @return bool */ public function getHasOutPoint() { return $this->has_out_point; } /** * Generated from protobuf field bool has_out_point = 5; * @param bool $var * @return $this */ public function setHasOutPoint($var) { GPBUtil::checkBool($var); $this->has_out_point = $var; return $this; } /** * Generated from protobuf field double play_rate = 6; * @return float */ public function getPlayRate() { return $this->play_rate; } /** * Generated from protobuf field double play_rate = 6; * @param float $var * @return $this */ public function setPlayRate($var) { GPBUtil::checkDouble($var); $this->play_rate = $var; return $this; } /** * Generated from protobuf field uint32 playback_marker_count = 7; * @return int */ public function getPlaybackMarkerCount() { return $this->playback_marker_count; } /** * Generated from protobuf field uint32 playback_marker_count = 7; * @param int $var * @return $this */ public function setPlaybackMarkerCount($var) { GPBUtil::checkUint32($var); $this->playback_marker_count = $var; return $this; } }