- Move src/, tests/, bin/, generated/, proto/, composer.json, composer.lock, phpunit.xml from php/ to repo root - Move ref/ to doc/reference_samples/ for better organization - Remove vendor/ from git tracking (now properly gitignored) - Update all test file paths (dirname adjustments and ref/ -> doc/reference_samples/) - Update all documentation paths (AGENTS.md, doc/*.md) - Remove php.bak/ directory - All 252 tests pass
188 lines
5.3 KiB
PHP
188 lines
5.3 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.Audio</code>
|
|
*/
|
|
class Audio extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.TriggerMediaInformation.Audio.Behavior behavior = 1;</code>
|
|
*/
|
|
protected $behavior = 0;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.TriggerMediaInformation.Audio.PlaybackBehavior playback_behavior = 2;</code>
|
|
*/
|
|
protected $playback_behavior = 0;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.TriggerMediaInformation.Transition transition = 3;</code>
|
|
*/
|
|
protected $transition = null;
|
|
/**
|
|
* Generated from protobuf field <code>uint32 audio_channel_count = 4;</code>
|
|
*/
|
|
protected $audio_channel_count = 0;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.TriggerMediaInformation.Transport transport = 5;</code>
|
|
*/
|
|
protected $transport = null;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type int $behavior
|
|
* @type int $playback_behavior
|
|
* @type \Rv\Analytics\TriggerMediaInformation\Transition $transition
|
|
* @type int $audio_channel_count
|
|
* @type \Rv\Analytics\TriggerMediaInformation\Transport $transport
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\AnalyticsTriggerMedia::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.TriggerMediaInformation.Audio.Behavior behavior = 1;</code>
|
|
* @return int
|
|
*/
|
|
public function getBehavior()
|
|
{
|
|
return $this->behavior;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.TriggerMediaInformation.Audio.Behavior behavior = 1;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setBehavior($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Analytics\TriggerMediaInformation\Audio\Behavior::class);
|
|
$this->behavior = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.TriggerMediaInformation.Audio.PlaybackBehavior playback_behavior = 2;</code>
|
|
* @return int
|
|
*/
|
|
public function getPlaybackBehavior()
|
|
{
|
|
return $this->playback_behavior;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.TriggerMediaInformation.Audio.PlaybackBehavior playback_behavior = 2;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setPlaybackBehavior($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Analytics\TriggerMediaInformation\Audio\PlaybackBehavior::class);
|
|
$this->playback_behavior = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.TriggerMediaInformation.Transition transition = 3;</code>
|
|
* @return \Rv\Analytics\TriggerMediaInformation\Transition|null
|
|
*/
|
|
public function getTransition()
|
|
{
|
|
return $this->transition;
|
|
}
|
|
|
|
public function hasTransition()
|
|
{
|
|
return isset($this->transition);
|
|
}
|
|
|
|
public function clearTransition()
|
|
{
|
|
unset($this->transition);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.TriggerMediaInformation.Transition transition = 3;</code>
|
|
* @param \Rv\Analytics\TriggerMediaInformation\Transition $var
|
|
* @return $this
|
|
*/
|
|
public function setTransition($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Analytics\TriggerMediaInformation\Transition::class);
|
|
$this->transition = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>uint32 audio_channel_count = 4;</code>
|
|
* @return int
|
|
*/
|
|
public function getAudioChannelCount()
|
|
{
|
|
return $this->audio_channel_count;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>uint32 audio_channel_count = 4;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setAudioChannelCount($var)
|
|
{
|
|
GPBUtil::checkUint32($var);
|
|
$this->audio_channel_count = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.TriggerMediaInformation.Transport transport = 5;</code>
|
|
* @return \Rv\Analytics\TriggerMediaInformation\Transport|null
|
|
*/
|
|
public function getTransport()
|
|
{
|
|
return $this->transport;
|
|
}
|
|
|
|
public function hasTransport()
|
|
{
|
|
return isset($this->transport);
|
|
}
|
|
|
|
public function clearTransport()
|
|
{
|
|
unset($this->transport);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.TriggerMediaInformation.Transport transport = 5;</code>
|
|
* @param \Rv\Analytics\TriggerMediaInformation\Transport $var
|
|
* @return $this
|
|
*/
|
|
public function setTransport($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Analytics\TriggerMediaInformation\Transport::class);
|
|
$this->transport = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|