rv.data.Recording.Stream */ class Stream extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .rv.data.UUID id = 1; */ protected $id = null; /** * Generated from protobuf field .rv.data.Recording.Stream.Encoder encoder = 3; */ protected $encoder = null; /** * Generated from protobuf field repeated .rv.data.Recording.Stream.Destination destinations = 4; */ private $destinations; /** * Generated from protobuf field repeated .rv.data.DigitalAudio.Device.Map audio_map = 5; */ private $audio_map; /** * Generated from protobuf field bool isAudioCustomMapped = 6; */ protected $isAudioCustomMapped = false; protected $Source; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Rv\Data\UUID $id * @type \Rv\Data\Recording\Stream\Encoder $encoder * @type array<\Rv\Data\Recording\Stream\Destination>|\Google\Protobuf\Internal\RepeatedField $destinations * @type array<\Rv\Data\DigitalAudio\Device\Map>|\Google\Protobuf\Internal\RepeatedField $audio_map * @type bool $isAudioCustomMapped * @type \Rv\Data\Recording\Stream\OutputScreenSource $output_screen * } */ public function __construct($data = NULL) { \GPBMetadata\Recording::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .rv.data.UUID id = 1; * @return \Rv\Data\UUID|null */ public function getId() { return $this->id; } public function hasId() { return isset($this->id); } public function clearId() { unset($this->id); } /** * Generated from protobuf field .rv.data.UUID id = 1; * @param \Rv\Data\UUID $var * @return $this */ public function setId($var) { GPBUtil::checkMessage($var, \Rv\Data\UUID::class); $this->id = $var; return $this; } /** * Generated from protobuf field .rv.data.Recording.Stream.Encoder encoder = 3; * @return \Rv\Data\Recording\Stream\Encoder|null */ public function getEncoder() { return $this->encoder; } public function hasEncoder() { return isset($this->encoder); } public function clearEncoder() { unset($this->encoder); } /** * Generated from protobuf field .rv.data.Recording.Stream.Encoder encoder = 3; * @param \Rv\Data\Recording\Stream\Encoder $var * @return $this */ public function setEncoder($var) { GPBUtil::checkMessage($var, \Rv\Data\Recording\Stream\Encoder::class); $this->encoder = $var; return $this; } /** * Generated from protobuf field repeated .rv.data.Recording.Stream.Destination destinations = 4; * @return \Google\Protobuf\Internal\RepeatedField */ public function getDestinations() { return $this->destinations; } /** * Generated from protobuf field repeated .rv.data.Recording.Stream.Destination destinations = 4; * @param array<\Rv\Data\Recording\Stream\Destination>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setDestinations($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\Recording\Stream\Destination::class); $this->destinations = $arr; return $this; } /** * Generated from protobuf field repeated .rv.data.DigitalAudio.Device.Map audio_map = 5; * @return \Google\Protobuf\Internal\RepeatedField */ public function getAudioMap() { return $this->audio_map; } /** * Generated from protobuf field repeated .rv.data.DigitalAudio.Device.Map audio_map = 5; * @param array<\Rv\Data\DigitalAudio\Device\Map>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setAudioMap($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\DigitalAudio\Device\Map::class); $this->audio_map = $arr; return $this; } /** * Generated from protobuf field bool isAudioCustomMapped = 6; * @return bool */ public function getIsAudioCustomMapped() { return $this->isAudioCustomMapped; } /** * Generated from protobuf field bool isAudioCustomMapped = 6; * @param bool $var * @return $this */ public function setIsAudioCustomMapped($var) { GPBUtil::checkBool($var); $this->isAudioCustomMapped = $var; return $this; } /** * Generated from protobuf field .rv.data.Recording.Stream.OutputScreenSource output_screen = 2; * @return \Rv\Data\Recording\Stream\OutputScreenSource|null */ public function getOutputScreen() { return $this->readOneof(2); } public function hasOutputScreen() { return $this->hasOneof(2); } /** * Generated from protobuf field .rv.data.Recording.Stream.OutputScreenSource output_screen = 2; * @param \Rv\Data\Recording\Stream\OutputScreenSource $var * @return $this */ public function setOutputScreen($var) { GPBUtil::checkMessage($var, \Rv\Data\Recording\Stream\OutputScreenSource::class); $this->writeOneof(2, $var); return $this; } /** * @return string */ public function getSource() { return $this->whichOneof("Source"); } }