rv.data.API_v1_Capture_Response.GetStatus
*/
class GetStatus extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field .rv.data.API_v1_CaptureStatus status = 1;
*/
protected $status = 0;
/**
* Generated from protobuf field string capture_time = 2;
*/
protected $capture_time = '';
/**
* Generated from protobuf field string status_text = 3;
*/
protected $status_text = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int $status
* @type string $capture_time
* @type string $status_text
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\ProApiV1Capture::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field .rv.data.API_v1_CaptureStatus status = 1;
* @return int
*/
public function getStatus()
{
return $this->status;
}
/**
* Generated from protobuf field .rv.data.API_v1_CaptureStatus status = 1;
* @param int $var
* @return $this
*/
public function setStatus($var)
{
GPBUtil::checkEnum($var, \Rv\Data\API_v1_CaptureStatus::class);
$this->status = $var;
return $this;
}
/**
* Generated from protobuf field string capture_time = 2;
* @return string
*/
public function getCaptureTime()
{
return $this->capture_time;
}
/**
* Generated from protobuf field string capture_time = 2;
* @param string $var
* @return $this
*/
public function setCaptureTime($var)
{
GPBUtil::checkString($var, True);
$this->capture_time = $var;
return $this;
}
/**
* Generated from protobuf field string status_text = 3;
* @return string
*/
public function getStatusText()
{
return $this->status_text;
}
/**
* Generated from protobuf field string status_text = 3;
* @param string $var
* @return $this
*/
public function setStatusText($var)
{
GPBUtil::checkString($var, True);
$this->status_text = $var;
return $this;
}
}