rv.data.API_v1_RTMPCapture
*/
class API_v1_RTMPCapture extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field string server = 1;
*/
protected $server = '';
/**
* Generated from protobuf field string key = 2;
*/
protected $key = '';
/**
* Generated from protobuf field string encoding = 3;
*/
protected $encoding = '';
/**
* Generated from protobuf field bool save_local = 4;
*/
protected $save_local = false;
/**
* Generated from protobuf field string file_location = 5;
*/
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 string server = 1;
* @return string
*/
public function getServer()
{
return $this->server;
}
/**
* Generated from protobuf field string server = 1;
* @param string $var
* @return $this
*/
public function setServer($var)
{
GPBUtil::checkString($var, True);
$this->server = $var;
return $this;
}
/**
* Generated from protobuf field string key = 2;
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* Generated from protobuf field string key = 2;
* @param string $var
* @return $this
*/
public function setKey($var)
{
GPBUtil::checkString($var, True);
$this->key = $var;
return $this;
}
/**
* Generated from protobuf field string encoding = 3;
* @return string
*/
public function getEncoding()
{
return $this->encoding;
}
/**
* Generated from protobuf field string encoding = 3;
* @param string $var
* @return $this
*/
public function setEncoding($var)
{
GPBUtil::checkString($var, True);
$this->encoding = $var;
return $this;
}
/**
* Generated from protobuf field bool save_local = 4;
* @return bool
*/
public function getSaveLocal()
{
return $this->save_local;
}
/**
* Generated from protobuf field bool save_local = 4;
* @param bool $var
* @return $this
*/
public function setSaveLocal($var)
{
GPBUtil::checkBool($var);
$this->save_local = $var;
return $this;
}
/**
* Generated from protobuf field string file_location = 5;
* @return string
*/
public function getFileLocation()
{
return $this->file_location;
}
/**
* Generated from protobuf field string file_location = 5;
* @param string $var
* @return $this
*/
public function setFileLocation($var)
{
GPBUtil::checkString($var, True);
$this->file_location = $var;
return $this;
}
}