PluginProbe ʕ •ᴥ•ʔ
ShareThis Dashboard for Google Analytics / trunk
ShareThis Dashboard for Google Analytics vtrunk
3.3.2 trunk 1.0.7 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.1 2.1.2 2.1.3 2.1.4 2.1.5 2.2.5 2.3.5 2.3.6 2.3.7 2.3.8 2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 3.0.0 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.3.0 3.3.1
googleanalytics / lib / analytics-admin / vendor / google / longrunning / src / LongRunning / OperationInfo.php
googleanalytics / lib / analytics-admin / vendor / google / longrunning / src / LongRunning Last commit date
CancelOperationRequest.php 3 years ago DeleteOperationRequest.php 3 years ago GetOperationRequest.php 3 years ago ListOperationsRequest.php 3 years ago ListOperationsResponse.php 3 years ago Operation.php 3 years ago OperationInfo.php 3 years ago OperationsGrpcClient.php 3 years ago WaitOperationRequest.php 3 years ago
OperationInfo.php
146 lines
1 <?php
2 # Generated by the protocol buffer compiler. DO NOT EDIT!
3 # source: google/longrunning/operations.proto
4
5 namespace Google\LongRunning;
6
7 use Google\Protobuf\Internal\GPBType;
8 use Google\Protobuf\Internal\RepeatedField;
9 use Google\Protobuf\Internal\GPBUtil;
10
11 /**
12 * A message representing the message types used by a long-running operation.
13 * Example:
14 * rpc LongRunningRecognize(LongRunningRecognizeRequest)
15 * returns (google.longrunning.Operation) {
16 * option (google.longrunning.operation_info) = {
17 * response_type: "LongRunningRecognizeResponse"
18 * metadata_type: "LongRunningRecognizeMetadata"
19 * };
20 * }
21 *
22 * Generated from protobuf message <code>google.longrunning.OperationInfo</code>
23 */
24 class OperationInfo extends \Google\Protobuf\Internal\Message
25 {
26 /**
27 * Required. The message name of the primary return type for this
28 * long-running operation.
29 * This type will be used to deserialize the LRO's response.
30 * If the response is in a different package from the rpc, a fully-qualified
31 * message name must be used (e.g. `google.protobuf.Struct`).
32 * Note: Altering this value constitutes a breaking change.
33 *
34 * Generated from protobuf field <code>string response_type = 1;</code>
35 */
36 private $response_type = '';
37 /**
38 * Required. The message name of the metadata type for this long-running
39 * operation.
40 * If the response is in a different package from the rpc, a fully-qualified
41 * message name must be used (e.g. `google.protobuf.Struct`).
42 * Note: Altering this value constitutes a breaking change.
43 *
44 * Generated from protobuf field <code>string metadata_type = 2;</code>
45 */
46 private $metadata_type = '';
47
48 /**
49 * Constructor.
50 *
51 * @param array $data {
52 * Optional. Data for populating the Message object.
53 *
54 * @type string $response_type
55 * Required. The message name of the primary return type for this
56 * long-running operation.
57 * This type will be used to deserialize the LRO's response.
58 * If the response is in a different package from the rpc, a fully-qualified
59 * message name must be used (e.g. `google.protobuf.Struct`).
60 * Note: Altering this value constitutes a breaking change.
61 * @type string $metadata_type
62 * Required. The message name of the metadata type for this long-running
63 * operation.
64 * If the response is in a different package from the rpc, a fully-qualified
65 * message name must be used (e.g. `google.protobuf.Struct`).
66 * Note: Altering this value constitutes a breaking change.
67 * }
68 */
69 public function __construct($data = NULL) {
70 \GPBMetadata\Google\Longrunning\Operations::initOnce();
71 parent::__construct($data);
72 }
73
74 /**
75 * Required. The message name of the primary return type for this
76 * long-running operation.
77 * This type will be used to deserialize the LRO's response.
78 * If the response is in a different package from the rpc, a fully-qualified
79 * message name must be used (e.g. `google.protobuf.Struct`).
80 * Note: Altering this value constitutes a breaking change.
81 *
82 * Generated from protobuf field <code>string response_type = 1;</code>
83 * @return string
84 */
85 public function getResponseType()
86 {
87 return $this->response_type;
88 }
89
90 /**
91 * Required. The message name of the primary return type for this
92 * long-running operation.
93 * This type will be used to deserialize the LRO's response.
94 * If the response is in a different package from the rpc, a fully-qualified
95 * message name must be used (e.g. `google.protobuf.Struct`).
96 * Note: Altering this value constitutes a breaking change.
97 *
98 * Generated from protobuf field <code>string response_type = 1;</code>
99 * @param string $var
100 * @return $this
101 */
102 public function setResponseType($var)
103 {
104 GPBUtil::checkString($var, True);
105 $this->response_type = $var;
106
107 return $this;
108 }
109
110 /**
111 * Required. The message name of the metadata type for this long-running
112 * operation.
113 * If the response is in a different package from the rpc, a fully-qualified
114 * message name must be used (e.g. `google.protobuf.Struct`).
115 * Note: Altering this value constitutes a breaking change.
116 *
117 * Generated from protobuf field <code>string metadata_type = 2;</code>
118 * @return string
119 */
120 public function getMetadataType()
121 {
122 return $this->metadata_type;
123 }
124
125 /**
126 * Required. The message name of the metadata type for this long-running
127 * operation.
128 * If the response is in a different package from the rpc, a fully-qualified
129 * message name must be used (e.g. `google.protobuf.Struct`).
130 * Note: Altering this value constitutes a breaking change.
131 *
132 * Generated from protobuf field <code>string metadata_type = 2;</code>
133 * @param string $var
134 * @return $this
135 */
136 public function setMetadataType($var)
137 {
138 GPBUtil::checkString($var, True);
139 $this->metadata_type = $var;
140
141 return $this;
142 }
143
144 }
145
146