propresenter-php/php/generated/Rv/Analytics/TriggerMediaInformation/Transport.php
2026-03-01 16:12:17 +01:00

222 lines
5.6 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: analyticsTriggerMedia.proto
namespace Rv\Analytics\TriggerMediaInformation;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.analytics.TriggerMediaInformation.Transport</code>
*/
class Transport extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>.rv.analytics.TriggerMediaInformation.Transport.DurationRange source_duration_range = 1;</code>
*/
protected $source_duration_range = 0;
/**
* Generated from protobuf field <code>bool has_audio_ramp_in = 2;</code>
*/
protected $has_audio_ramp_in = false;
/**
* Generated from protobuf field <code>bool has_audio_ramp_out = 3;</code>
*/
protected $has_audio_ramp_out = false;
/**
* Generated from protobuf field <code>bool has_in_point = 4;</code>
*/
protected $has_in_point = false;
/**
* Generated from protobuf field <code>bool has_out_point = 5;</code>
*/
protected $has_out_point = false;
/**
* Generated from protobuf field <code>double play_rate = 6;</code>
*/
protected $play_rate = 0.0;
/**
* Generated from protobuf field <code>uint32 playback_marker_count = 7;</code>
*/
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 <code>.rv.analytics.TriggerMediaInformation.Transport.DurationRange source_duration_range = 1;</code>
* @return int
*/
public function getSourceDurationRange()
{
return $this->source_duration_range;
}
/**
* Generated from protobuf field <code>.rv.analytics.TriggerMediaInformation.Transport.DurationRange source_duration_range = 1;</code>
* @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 <code>bool has_audio_ramp_in = 2;</code>
* @return bool
*/
public function getHasAudioRampIn()
{
return $this->has_audio_ramp_in;
}
/**
* Generated from protobuf field <code>bool has_audio_ramp_in = 2;</code>
* @param bool $var
* @return $this
*/
public function setHasAudioRampIn($var)
{
GPBUtil::checkBool($var);
$this->has_audio_ramp_in = $var;
return $this;
}
/**
* Generated from protobuf field <code>bool has_audio_ramp_out = 3;</code>
* @return bool
*/
public function getHasAudioRampOut()
{
return $this->has_audio_ramp_out;
}
/**
* Generated from protobuf field <code>bool has_audio_ramp_out = 3;</code>
* @param bool $var
* @return $this
*/
public function setHasAudioRampOut($var)
{
GPBUtil::checkBool($var);
$this->has_audio_ramp_out = $var;
return $this;
}
/**
* Generated from protobuf field <code>bool has_in_point = 4;</code>
* @return bool
*/
public function getHasInPoint()
{
return $this->has_in_point;
}
/**
* Generated from protobuf field <code>bool has_in_point = 4;</code>
* @param bool $var
* @return $this
*/
public function setHasInPoint($var)
{
GPBUtil::checkBool($var);
$this->has_in_point = $var;
return $this;
}
/**
* Generated from protobuf field <code>bool has_out_point = 5;</code>
* @return bool
*/
public function getHasOutPoint()
{
return $this->has_out_point;
}
/**
* Generated from protobuf field <code>bool has_out_point = 5;</code>
* @param bool $var
* @return $this
*/
public function setHasOutPoint($var)
{
GPBUtil::checkBool($var);
$this->has_out_point = $var;
return $this;
}
/**
* Generated from protobuf field <code>double play_rate = 6;</code>
* @return float
*/
public function getPlayRate()
{
return $this->play_rate;
}
/**
* Generated from protobuf field <code>double play_rate = 6;</code>
* @param float $var
* @return $this
*/
public function setPlayRate($var)
{
GPBUtil::checkDouble($var);
$this->play_rate = $var;
return $this;
}
/**
* Generated from protobuf field <code>uint32 playback_marker_count = 7;</code>
* @return int
*/
public function getPlaybackMarkerCount()
{
return $this->playback_marker_count;
}
/**
* Generated from protobuf field <code>uint32 playback_marker_count = 7;</code>
* @param int $var
* @return $this
*/
public function setPlaybackMarkerCount($var)
{
GPBUtil::checkUint32($var);
$this->playback_marker_count = $var;
return $this;
}
}