rv.data.API_v1_DiskCapture
*/
class API_v1_DiskCapture extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field string file_location = 1;
*/
protected $file_location = '';
/**
* Generated from protobuf field string codec = 2;
*/
protected $codec = '';
/**
* Generated from protobuf field .rv.data.API_v1_Size resolution = 3;
*/
protected $resolution = null;
/**
* Generated from protobuf field double frame_rate = 4;
*/
protected $frame_rate = 0.0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $file_location
* @type string $codec
* @type \Rv\Data\API_v1_Size $resolution
* @type float $frame_rate
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\ProApiV1Capture::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field string file_location = 1;
* @return string
*/
public function getFileLocation()
{
return $this->file_location;
}
/**
* Generated from protobuf field string file_location = 1;
* @param string $var
* @return $this
*/
public function setFileLocation($var)
{
GPBUtil::checkString($var, True);
$this->file_location = $var;
return $this;
}
/**
* Generated from protobuf field string codec = 2;
* @return string
*/
public function getCodec()
{
return $this->codec;
}
/**
* Generated from protobuf field string codec = 2;
* @param string $var
* @return $this
*/
public function setCodec($var)
{
GPBUtil::checkString($var, True);
$this->codec = $var;
return $this;
}
/**
* Generated from protobuf field .rv.data.API_v1_Size resolution = 3;
* @return \Rv\Data\API_v1_Size|null
*/
public function getResolution()
{
return $this->resolution;
}
public function hasResolution()
{
return isset($this->resolution);
}
public function clearResolution()
{
unset($this->resolution);
}
/**
* Generated from protobuf field .rv.data.API_v1_Size resolution = 3;
* @param \Rv\Data\API_v1_Size $var
* @return $this
*/
public function setResolution($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Size::class);
$this->resolution = $var;
return $this;
}
/**
* Generated from protobuf field double frame_rate = 4;
* @return float
*/
public function getFrameRate()
{
return $this->frame_rate;
}
/**
* Generated from protobuf field double frame_rate = 4;
* @param float $var
* @return $this
*/
public function setFrameRate($var)
{
GPBUtil::checkDouble($var);
$this->frame_rate = $var;
return $this;
}
}