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/common-protos/src/Rpc/Context/AttributeContext.php +17 -17 1.2.5 → 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/rpc/context/attribute_context.proto
5 -namespace Dudlewebs\WPMCS\Google\Rpc\Context;
5 +namespace Dudlewebs\WPMCS\GCP\Google\Rpc\Context;
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 message defines the standard attribute vocabulary for Google APIs.
12 12 * An attribute is a piece of metadata that describes an activity on a network
13 13 * service. For example, the size of an HTTP request, or the status code of
@@ -23,9 +23,9 @@
23 23 * a system.
24 24 *
25 25 * Generated from protobuf message <code>google.rpc.context.AttributeContext</code>
26 26 */
27 -class AttributeContext extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message
27 +class AttributeContext extends \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\Message
28 28 {
29 29 /**
30 30 * The origin of a network activity. In a multi hop network activity,
31 31 * the origin represents the sender of the first hop. For the first hop,
@@ -109,15 +109,15 @@
109 109 * If multiple resources are involved with an activity, this must be the
110 110 * primary one.
111 111 * @type \Google\Rpc\Context\AttributeContext\Api $api
112 112 * Represents an API operation that is involved to a network activity.
113 - * @type array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $extensions
113 + * @type \Google\Protobuf\Any[] $extensions
114 114 * Supports extensions for advanced use cases, such as logs and metrics.
115 115 * }
116 116 */
117 117 public function __construct($data = NULL)
118 118 {
119 - \Dudlewebs\WPMCS\GPBMetadata\Google\Rpc\Context\AttributeContext::initOnce();
119 + \Dudlewebs\WPMCS\GCP\GPBMetadata\Google\Rpc\Context\AttributeContext::initOnce();
120 120 parent::__construct($data);
121 121 }
122 122 /**
123 123 * The origin of a network activity. In a multi hop network activity,
@@ -149,9 +149,9 @@
149 149 * @return $this
150 150 */
151 151 public function setOrigin($var)
152 152 {
153 - GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Rpc\Context\AttributeContext\Peer::class);
153 + GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\GCP\Google\Rpc\Context\AttributeContext\Peer::class);
154 154 $this->origin = $var;
155 155 return $this;
156 156 }
157 157 /**
@@ -184,9 +184,9 @@
184 184 * @return $this
185 185 */
186 186 public function setSource($var)
187 187 {
188 - GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Rpc\Context\AttributeContext\Peer::class);
188 + GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\GCP\Google\Rpc\Context\AttributeContext\Peer::class);
189 189 $this->source = $var;
190 190 return $this;
191 191 }
192 192 /**
@@ -219,9 +219,9 @@
219 219 * @return $this
220 220 */
221 221 public function setDestination($var)
222 222 {
223 - GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Rpc\Context\AttributeContext\Peer::class);
223 + GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\GCP\Google\Rpc\Context\AttributeContext\Peer::class);
224 224 $this->destination = $var;
225 225 return $this;
226 226 }
227 227 /**
@@ -250,9 +250,9 @@
250 250 * @return $this
251 251 */
252 252 public function setRequest($var)
253 253 {
254 - GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Rpc\Context\AttributeContext\Request::class);
254 + GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\GCP\Google\Rpc\Context\AttributeContext\Request::class);
255 255 $this->request = $var;
256 256 return $this;
257 257 }
258 258 /**
@@ -281,9 +281,9 @@
281 281 * @return $this
282 282 */
283 283 public function setResponse($var)
284 284 {
285 - GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Rpc\Context\AttributeContext\Response::class);
285 + GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\GCP\Google\Rpc\Context\AttributeContext\Response::class);
286 286 $this->response = $var;
287 287 return $this;
288 288 }
289 289 /**
@@ -316,9 +316,9 @@
316 316 * @return $this
317 317 */
318 318 public function setResource($var)
319 319 {
320 - GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Rpc\Context\AttributeContext\Resource::class);
320 + GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\GCP\Google\Rpc\Context\AttributeContext\Resource::class);
321 321 $this->resource = $var;
322 322 return $this;
323 323 }
324 324 /**
@@ -347,9 +347,9 @@
347 347 * @return $this
348 348 */
349 349 public function setApi($var)
350 350 {
351 - GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Rpc\Context\AttributeContext\Api::class);
351 + GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\GCP\Google\Rpc\Context\AttributeContext\Api::class);
352 352 $this->api = $var;
353 353 return $this;
354 354 }
355 355 /**
@@ -355,9 +355,9 @@
355 355 /**
356 356 * Supports extensions for advanced use cases, such as logs and metrics.
357 357 *
358 358 * Generated from protobuf field <code>repeated .google.protobuf.Any extensions = 8;</code>
359 - * @return \Google\Protobuf\Internal\RepeatedField
359 + * @return RepeatedField<\Google\Protobuf\Any>
360 360 */
361 361 public function getExtensions()
362 362 {
363 363 return $this->extensions;
@@ -365,14 +365,14 @@
365 365 /**
366 366 * Supports extensions for advanced use cases, such as logs and metrics.
367 367 *
368 368 * Generated from protobuf field <code>repeated .google.protobuf.Any extensions = 8;</code>
369 - * @param array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $var
369 + * @param \Google\Protobuf\Any[] $var
370 370 * @return $this
371 371 */
372 372 public function setExtensions($var)
373 373 {
374 - $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Protobuf\Any::class);
374 + $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Any::class);
375 375 $this->extensions = $arr;
376 376 return $this;
377 377 }
378 378 }