rv.data.API_v1_Capture_Request.Encodings
*/
class Encodings extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field .rv.data.API_v1_CaptureDestination type = 1;
*/
protected $type = 0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int $type
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\ProApiV1Capture::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field .rv.data.API_v1_CaptureDestination type = 1;
* @return int
*/
public function getType()
{
return $this->type;
}
/**
* Generated from protobuf field .rv.data.API_v1_CaptureDestination type = 1;
* @param int $var
* @return $this
*/
public function setType($var)
{
GPBUtil::checkEnum($var, \Rv\Data\API_v1_CaptureDestination::class);
$this->type = $var;
return $this;
}
}