PluginProbe
Media Cloud Sync / 1.2.6
Media Cloud Sync v1.2.6
1.4.2 1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 All 36 releases
media-cloud-sync / includes / sdk / google / google / common-protos / src / Rpc / RequestInfo.php

RequestInfo.php in Media Cloud Sync 1.2.6, at includes/sdk/google/google/common-protos/src/Rpc/RequestInfo.php

102 lines 3.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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