| 1 |
<?php |
| 2 |
|
| 3 |
# Generated by the protocol buffer compiler. DO NOT EDIT! |
| 4 |
# source: google/rpc/error_details.proto |
| 5 |
namespace Dudlewebs\WPMCS\Google\Rpc; |
| 6 |
|
| 7 |
use Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType; |
| 8 |
use Dudlewebs\WPMCS\Google\Protobuf\Internal\RepeatedField; |
| 9 |
use Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBUtil; |
| 10 |
/** |
| 11 |
* Contains metadata about the request that clients can attach when filing a bug |
| 12 |
* or providing other forms of feedback. |
| 13 |
* |
| 14 |
* Generated from protobuf message <code>google.rpc.RequestInfo</code> |
| 15 |
*/ |
| 16 |
class RequestInfo extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message |
| 17 |
{ |
| 18 |
/** |
| 19 |
* An opaque string that should only be interpreted by the service generating |
| 20 |
* it. For example, it can be used to identify requests in the service's logs. |
| 21 |
* |
| 22 |
* Generated from protobuf field <code>string request_id = 1;</code> |
| 23 |
*/ |
| 24 |
protected $request_id = ''; |
| 25 |
/** |
| 26 |
* Any data that was used to serve this request. For example, an encrypted |
| 27 |
* stack trace that can be sent back to the service provider for debugging. |
| 28 |
* |
| 29 |
* Generated from protobuf field <code>string serving_data = 2;</code> |
| 30 |
*/ |
| 31 |
protected $serving_data = ''; |
| 32 |
/** |
| 33 |
* Constructor. |
| 34 |
* |
| 35 |
* @param array $data { |
| 36 |
* Optional. Data for populating the Message object. |
| 37 |
* |
| 38 |
* @type string $request_id |
| 39 |
* An opaque string that should only be interpreted by the service generating |
| 40 |
* it. For example, it can be used to identify requests in the service's logs. |
| 41 |
* @type string $serving_data |
| 42 |
* Any data that was used to serve this request. For example, an encrypted |
| 43 |
* stack trace that can be sent back to the service provider for debugging. |
| 44 |
* } |
| 45 |
*/ |
| 46 |
public function __construct($data = NULL) |
| 47 |
{ |
| 48 |
\Dudlewebs\WPMCS\GPBMetadata\Google\Rpc\ErrorDetails::initOnce(); |
| 49 |
parent::__construct($data); |
| 50 |
} |
| 51 |
/** |
| 52 |
* An opaque string that should only be interpreted by the service generating |
| 53 |
* it. For example, it can be used to identify requests in the service's logs. |
| 54 |
* |
| 55 |
* Generated from protobuf field <code>string request_id = 1;</code> |
| 56 |
* @return string |
| 57 |
*/ |
| 58 |
public function getRequestId() |
| 59 |
{ |
| 60 |
return $this->request_id; |
| 61 |
} |
| 62 |
/** |
| 63 |
* An opaque string that should only be interpreted by the service generating |
| 64 |
* it. For example, it can be used to identify requests in the service's logs. |
| 65 |
* |
| 66 |
* Generated from protobuf field <code>string request_id = 1;</code> |
| 67 |
* @param string $var |
| 68 |
* @return $this |
| 69 |
*/ |
| 70 |
public function setRequestId($var) |
| 71 |
{ |
| 72 |
GPBUtil::checkString($var, True); |
| 73 |
$this->request_id = $var; |
| 74 |
return $this; |
| 75 |
} |
| 76 |
/** |
| 77 |
* Any data that was used to serve this request. For example, an encrypted |
| 78 |
* stack trace that can be sent back to the service provider for debugging. |
| 79 |
* |
| 80 |
* Generated from protobuf field <code>string serving_data = 2;</code> |
| 81 |
* @return string |
| 82 |
*/ |
| 83 |
public function getServingData() |
| 84 |
{ |
| 85 |
return $this->serving_data; |
| 86 |
} |
| 87 |
/** |
| 88 |
* Any data that was used to serve this request. For example, an encrypted |
| 89 |
* stack trace that can be sent back to the service provider for debugging. |
| 90 |
* |
| 91 |
* Generated from protobuf field <code>string serving_data = 2;</code> |
| 92 |
* @param string $var |
| 93 |
* @return $this |
| 94 |
*/ |
| 95 |
public function setServingData($var) |
| 96 |
{ |
| 97 |
GPBUtil::checkString($var, True); |
| 98 |
$this->serving_data = $var; |
| 99 |
return $this; |
| 100 |
} |
| 101 |
} |
| 102 |
|