97 lines
2.3 KiB
PHP
97 lines
2.3 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: proCore.proto
|
|
|
|
namespace Rv\Data\CaptureActionRequest;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.data.CaptureActionRequest.Error</code>
|
|
*/
|
|
class Error extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>int32 error_code = 1;</code>
|
|
*/
|
|
protected $error_code = 0;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Action.CaptureType capture_action = 2;</code>
|
|
*/
|
|
protected $capture_action = null;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type int $error_code
|
|
* @type \Rv\Data\Action\CaptureType $capture_action
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\ProCore::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 error_code = 1;</code>
|
|
* @return int
|
|
*/
|
|
public function getErrorCode()
|
|
{
|
|
return $this->error_code;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 error_code = 1;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setErrorCode($var)
|
|
{
|
|
GPBUtil::checkInt32($var);
|
|
$this->error_code = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Action.CaptureType capture_action = 2;</code>
|
|
* @return \Rv\Data\Action\CaptureType|null
|
|
*/
|
|
public function getCaptureAction()
|
|
{
|
|
return $this->capture_action;
|
|
}
|
|
|
|
public function hasCaptureAction()
|
|
{
|
|
return isset($this->capture_action);
|
|
}
|
|
|
|
public function clearCaptureAction()
|
|
{
|
|
unset($this->capture_action);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Action.CaptureType capture_action = 2;</code>
|
|
* @param \Rv\Data\Action\CaptureType $var
|
|
* @return $this
|
|
*/
|
|
public function setCaptureAction($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Action\CaptureType::class);
|
|
$this->capture_action = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|