propresenter-php/php/generated/Rv/Data/API_v1_RTMPCapture.php
2026-03-01 16:12:17 +01:00

168 lines
3.7 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: proApiV1Capture.proto
namespace Rv\Data;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.API_v1_RTMPCapture</code>
*/
class API_v1_RTMPCapture extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>string server = 1;</code>
*/
protected $server = '';
/**
* Generated from protobuf field <code>string key = 2;</code>
*/
protected $key = '';
/**
* Generated from protobuf field <code>string encoding = 3;</code>
*/
protected $encoding = '';
/**
* Generated from protobuf field <code>bool save_local = 4;</code>
*/
protected $save_local = false;
/**
* Generated from protobuf field <code>string file_location = 5;</code>
*/
protected $file_location = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $server
* @type string $key
* @type string $encoding
* @type bool $save_local
* @type string $file_location
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\ProApiV1Capture::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>string server = 1;</code>
* @return string
*/
public function getServer()
{
return $this->server;
}
/**
* Generated from protobuf field <code>string server = 1;</code>
* @param string $var
* @return $this
*/
public function setServer($var)
{
GPBUtil::checkString($var, True);
$this->server = $var;
return $this;
}
/**
* Generated from protobuf field <code>string key = 2;</code>
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* Generated from protobuf field <code>string key = 2;</code>
* @param string $var
* @return $this
*/
public function setKey($var)
{
GPBUtil::checkString($var, True);
$this->key = $var;
return $this;
}
/**
* Generated from protobuf field <code>string encoding = 3;</code>
* @return string
*/
public function getEncoding()
{
return $this->encoding;
}
/**
* Generated from protobuf field <code>string encoding = 3;</code>
* @param string $var
* @return $this
*/
public function setEncoding($var)
{
GPBUtil::checkString($var, True);
$this->encoding = $var;
return $this;
}
/**
* Generated from protobuf field <code>bool save_local = 4;</code>
* @return bool
*/
public function getSaveLocal()
{
return $this->save_local;
}
/**
* Generated from protobuf field <code>bool save_local = 4;</code>
* @param bool $var
* @return $this
*/
public function setSaveLocal($var)
{
GPBUtil::checkBool($var);
$this->save_local = $var;
return $this;
}
/**
* Generated from protobuf field <code>string file_location = 5;</code>
* @return string
*/
public function getFileLocation()
{
return $this->file_location;
}
/**
* Generated from protobuf field <code>string file_location = 5;</code>
* @param string $var
* @return $this
*/
public function setFileLocation($var)
{
GPBUtil::checkString($var, True);
$this->file_location = $var;
return $this;
}
}