PluginProbe
Media Cloud Sync / 1.4.2
Media Cloud Sync v1.4.2
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
← All changes | includes/sdk/google/google/longrunning/src/LongRunning/Operation.php +12 -12 1.0.1 → 1.4.2 View file →
@@ -1,13 +1,13 @@
1 1 <?php
2 2
3 3 # Generated by the protocol buffer compiler. DO NOT EDIT!
4 4 # source: google/longrunning/operations.proto
5 -namespace Dudlewebs\WPMCS\Google\LongRunning;
5 +namespace Dudlewebs\WPMCS\GCP\Google\LongRunning;
6 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;
7 +use Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType;
8 +use Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBUtil;
9 +use Dudlewebs\WPMCS\GCP\Google\Protobuf\RepeatedField;
10 10 /**
11 11 * This resource represents a long-running operation that is the result of a
12 12 * network API call.
13 13 *
@@ -12,9 +12,9 @@
12 12 * network API call.
13 13 *
14 14 * Generated from protobuf message <code>google.longrunning.Operation</code>
15 15 */
16 -class Operation extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message
16 +class Operation extends \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\Message
17 17 {
18 18 /**
19 19 * The server-assigned name, which is only unique within the same service that
20 20 * originally returns it. If you use the default HTTP mapping, the
@@ -62,9 +62,9 @@
62 62 * available.
63 63 * @type \Google\Rpc\Status $error
64 64 * The error result of the operation in case of failure or cancellation.
65 65 * @type \Google\Protobuf\Any $response
66 - * The normal response of the operation in case of success. If the original
66 + * The normal, successful response of the operation. If the original
67 67 * method returns no data on success, such as `Delete`, the response is
68 68 * `google.protobuf.Empty`. If the original method is standard
69 69 * `Get`/`Create`/`Update`, the response should be the resource. For other
70 70 * methods, the response should have the type `XxxResponse`, where `Xxx`
@@ -74,9 +74,9 @@
74 74 * }
75 75 */
76 76 public function __construct($data = NULL)
77 77 {
78 - \Dudlewebs\WPMCS\GPBMetadata\Google\Longrunning\Operations::initOnce();
78 + \Dudlewebs\WPMCS\GCP\GPBMetadata\Google\Longrunning\Operations::initOnce();
79 79 parent::__construct($data);
80 80 }
81 81 /**
82 82 * The server-assigned name, which is only unique within the same service that
@@ -137,9 +137,9 @@
137 137 * @return $this
138 138 */
139 139 public function setMetadata($var)
140 140 {
141 - GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Protobuf\Any::class);
141 + GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Any::class);
142 142 $this->metadata = $var;
143 143 return $this;
144 144 }
145 145 /**
@@ -191,14 +191,14 @@
191 191 * @return $this
192 192 */
193 193 public function setError($var)
194 194 {
195 - GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Rpc\Status::class);
195 + GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\GCP\Google\Rpc\Status::class);
196 196 $this->writeOneof(4, $var);
197 197 return $this;
198 198 }
199 199 /**
200 - * The normal response of the operation in case of success. If the original
200 + * The normal, successful response of the operation. If the original
201 201 * method returns no data on success, such as `Delete`, the response is
202 202 * `google.protobuf.Empty`. If the original method is standard
203 203 * `Get`/`Create`/`Update`, the response should be the resource. For other
204 204 * methods, the response should have the type `XxxResponse`, where `Xxx`
@@ -217,9 +217,9 @@
217 217 {
218 218 return $this->hasOneof(5);
219 219 }
220 220 /**
221 - * The normal response of the operation in case of success. If the original
221 + * The normal, successful response of the operation. If the original
222 222 * method returns no data on success, such as `Delete`, the response is
223 223 * `google.protobuf.Empty`. If the original method is standard
224 224 * `Get`/`Create`/`Update`, the response should be the resource. For other
225 225 * methods, the response should have the type `XxxResponse`, where `Xxx`
@@ -232,9 +232,9 @@
232 232 * @return $this
233 233 */
234 234 public function setResponse($var)
235 235 {
236 - GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Protobuf\Any::class);
236 + GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Any::class);
237 237 $this->writeOneof(5, $var);
238 238 return $this;
239 239 }
240 240 /**