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/BadRequest.php +10 -10 1.0.3 → 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 violations in a client request. This error type focuses on the
12 12 * syntactic aspects of the request.
13 13 *
@@ -12,9 +12,9 @@
12 12 * syntactic aspects of the request.
13 13 *
14 14 * Generated from protobuf message <code>google.rpc.BadRequest</code>
15 15 */
16 -class BadRequest extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message
16 +class BadRequest extends \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\Message
17 17 {
18 18 /**
19 19 * Describes all violations in a client request.
20 20 *
@@ -26,15 +26,15 @@
26 26 *
27 27 * @param array $data {
28 28 * Optional. Data for populating the Message object.
29 29 *
30 - * @type array<\Google\Rpc\BadRequest\FieldViolation>|\Google\Protobuf\Internal\RepeatedField $field_violations
30 + * @type \Google\Rpc\BadRequest\FieldViolation[] $field_violations
31 31 * Describes all violations in a client request.
32 32 * }
33 33 */
34 34 public function __construct($data = NULL)
35 35 {
36 - \Dudlewebs\WPMCS\GPBMetadata\Google\Rpc\ErrorDetails::initOnce();
36 + \Dudlewebs\WPMCS\GCP\GPBMetadata\Google\Rpc\ErrorDetails::initOnce();
37 37 parent::__construct($data);
38 38 }
39 39 /**
40 40 * Describes all violations in a client request.
@@ -39,9 +39,9 @@
39 39 /**
40 40 * Describes all violations in a client request.
41 41 *
42 42 * Generated from protobuf field <code>repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;</code>
43 - * @return \Google\Protobuf\Internal\RepeatedField
43 + * @return RepeatedField<\Google\Rpc\BadRequest\FieldViolation>
44 44 */
45 45 public function getFieldViolations()
46 46 {
47 47 return $this->field_violations;
@@ -49,14 +49,14 @@
49 49 /**
50 50 * Describes all violations in a client request.
51 51 *
52 52 * Generated from protobuf field <code>repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;</code>
53 - * @param array<\Google\Rpc\BadRequest\FieldViolation>|\Google\Protobuf\Internal\RepeatedField $var
53 + * @param \Google\Rpc\BadRequest\FieldViolation[] $var
54 54 * @return $this
55 55 */
56 56 public function setFieldViolations($var)
57 57 {
58 - $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Rpc\BadRequest\FieldViolation::class);
58 + $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\GCP\Google\Rpc\BadRequest\FieldViolation::class);
59 59 $this->field_violations = $arr;
60 60 return $this;
61 61 }
62 62 }