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/QuotaFailure.php +10 -10 1.2.6 → 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 how a quota check failed.
12 12 * For example if a daily limit was exceeded for the calling project,
13 13 * a service could respond with a QuotaFailure detail containing the project
@@ -19,9 +19,9 @@
19 19 * quota failure.
20 20 *
21 21 * Generated from protobuf message <code>google.rpc.QuotaFailure</code>
22 22 */
23 -class QuotaFailure extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message
23 +class QuotaFailure extends \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\Message
24 24 {
25 25 /**
26 26 * Describes all quota violations.
27 27 *
@@ -33,15 +33,15 @@
33 33 *
34 34 * @param array $data {
35 35 * Optional. Data for populating the Message object.
36 36 *
37 - * @type array<\Google\Rpc\QuotaFailure\Violation>|\Google\Protobuf\Internal\RepeatedField $violations
37 + * @type \Google\Rpc\QuotaFailure\Violation[] $violations
38 38 * Describes all quota violations.
39 39 * }
40 40 */
41 41 public function __construct($data = NULL)
42 42 {
43 - \Dudlewebs\WPMCS\GPBMetadata\Google\Rpc\ErrorDetails::initOnce();
43 + \Dudlewebs\WPMCS\GCP\GPBMetadata\Google\Rpc\ErrorDetails::initOnce();
44 44 parent::__construct($data);
45 45 }
46 46 /**
47 47 * Describes all quota violations.
@@ -46,9 +46,9 @@
46 46 /**
47 47 * Describes all quota violations.
48 48 *
49 49 * Generated from protobuf field <code>repeated .google.rpc.QuotaFailure.Violation violations = 1;</code>
50 - * @return \Google\Protobuf\Internal\RepeatedField
50 + * @return RepeatedField<\Google\Rpc\QuotaFailure\Violation>
51 51 */
52 52 public function getViolations()
53 53 {
54 54 return $this->violations;
@@ -56,14 +56,14 @@
56 56 /**
57 57 * Describes all quota violations.
58 58 *
59 59 * Generated from protobuf field <code>repeated .google.rpc.QuotaFailure.Violation violations = 1;</code>
60 - * @param array<\Google\Rpc\QuotaFailure\Violation>|\Google\Protobuf\Internal\RepeatedField $var
60 + * @param \Google\Rpc\QuotaFailure\Violation[] $var
61 61 * @return $this
62 62 */
63 63 public function setViolations($var)
64 64 {
65 - $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Rpc\QuotaFailure\Violation::class);
65 + $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\GCP\Google\Rpc\QuotaFailure\Violation::class);
66 66 $this->violations = $arr;
67 67 return $this;
68 68 }
69 69 }