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/PreconditionFailure.php +10 -10 1.2.13 → 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/error_details.proto
5 -namespace Dudlewebs\WPMCS\Google\Rpc;
5 +namespace Dudlewebs\WPMCS\GCP\Google\Rpc;
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 * Describes what preconditions have failed.
12 12 * For example, if an RPC failed because it required the Terms of Service to be
13 13 * acknowledged, it could list the terms of service violation in the
@@ -14,9 +14,9 @@
14 14 * PreconditionFailure message.
15 15 *
16 16 * Generated from protobuf message <code>google.rpc.PreconditionFailure</code>
17 17 */
18 -class PreconditionFailure extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message
18 +class PreconditionFailure extends \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\Message
19 19 {
20 20 /**
21 21 * Describes all precondition violations.
22 22 *
@@ -28,15 +28,15 @@
28 28 *
29 29 * @param array $data {
30 30 * Optional. Data for populating the Message object.
31 31 *
32 - * @type array<\Google\Rpc\PreconditionFailure\Violation>|\Google\Protobuf\Internal\RepeatedField $violations
32 + * @type \Google\Rpc\PreconditionFailure\Violation[] $violations
33 33 * Describes all precondition violations.
34 34 * }
35 35 */
36 36 public function __construct($data = NULL)
37 37 {
38 - \Dudlewebs\WPMCS\GPBMetadata\Google\Rpc\ErrorDetails::initOnce();
38 + \Dudlewebs\WPMCS\GCP\GPBMetadata\Google\Rpc\ErrorDetails::initOnce();
39 39 parent::__construct($data);
40 40 }
41 41 /**
42 42 * Describes all precondition violations.
@@ -41,9 +41,9 @@
41 41 /**
42 42 * Describes all precondition violations.
43 43 *
44 44 * Generated from protobuf field <code>repeated .google.rpc.PreconditionFailure.Violation violations = 1;</code>
45 - * @return \Google\Protobuf\Internal\RepeatedField
45 + * @return RepeatedField<\Google\Rpc\PreconditionFailure\Violation>
46 46 */
47 47 public function getViolations()
48 48 {
49 49 return $this->violations;
@@ -51,14 +51,14 @@
51 51 /**
52 52 * Describes all precondition violations.
53 53 *
54 54 * Generated from protobuf field <code>repeated .google.rpc.PreconditionFailure.Violation violations = 1;</code>
55 - * @param array<\Google\Rpc\PreconditionFailure\Violation>|\Google\Protobuf\Internal\RepeatedField $var
55 + * @param \Google\Rpc\PreconditionFailure\Violation[] $var
56 56 * @return $this
57 57 */
58 58 public function setViolations($var)
59 59 {
60 - $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Rpc\PreconditionFailure\Violation::class);
60 + $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\GCP\Google\Rpc\PreconditionFailure\Violation::class);
61 61 $this->violations = $arr;
62 62 return $this;
63 63 }
64 64 }