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