rv.data.RecordRequest */ class RecordRequest extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .rv.data.Recording.Stream stream = 1; */ protected $stream = null; /** * Generated from protobuf field .rv.data.URL working_directory = 2; */ protected $working_directory = null; /** * Generated from protobuf field .rv.data.RecordRequest.Resi resi = 3; */ protected $resi = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Rv\Data\Recording\Stream $stream * @type \Rv\Data\URL $working_directory * @type \Rv\Data\RecordRequest\Resi $resi * } */ public function __construct($data = NULL) { \GPBMetadata\ProCore::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .rv.data.Recording.Stream stream = 1; * @return \Rv\Data\Recording\Stream|null */ public function getStream() { return $this->stream; } public function hasStream() { return isset($this->stream); } public function clearStream() { unset($this->stream); } /** * Generated from protobuf field .rv.data.Recording.Stream stream = 1; * @param \Rv\Data\Recording\Stream $var * @return $this */ public function setStream($var) { GPBUtil::checkMessage($var, \Rv\Data\Recording\Stream::class); $this->stream = $var; return $this; } /** * Generated from protobuf field .rv.data.URL working_directory = 2; * @return \Rv\Data\URL|null */ public function getWorkingDirectory() { return $this->working_directory; } public function hasWorkingDirectory() { return isset($this->working_directory); } public function clearWorkingDirectory() { unset($this->working_directory); } /** * Generated from protobuf field .rv.data.URL working_directory = 2; * @param \Rv\Data\URL $var * @return $this */ public function setWorkingDirectory($var) { GPBUtil::checkMessage($var, \Rv\Data\URL::class); $this->working_directory = $var; return $this; } /** * Generated from protobuf field .rv.data.RecordRequest.Resi resi = 3; * @return \Rv\Data\RecordRequest\Resi|null */ public function getResi() { return $this->resi; } public function hasResi() { return isset($this->resi); } public function clearResi() { unset($this->resi); } /** * Generated from protobuf field .rv.data.RecordRequest.Resi resi = 3; * @param \Rv\Data\RecordRequest\Resi $var * @return $this */ public function setResi($var) { GPBUtil::checkMessage($var, \Rv\Data\RecordRequest\Resi::class); $this->resi = $var; return $this; } }