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/Api/ConfigChange.php +11 -11 1.2.11 → 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/api/config_change.proto
5 -namespace Dudlewebs\WPMCS\Google\Api;
5 +namespace Dudlewebs\WPMCS\GCP\Google\Api;
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 * Output generated from semantically comparing two versions of a service
12 12 * configuration.
13 13 * Includes detailed information about a field that have changed with
@@ -15,9 +15,9 @@
15 15 * backwards-incompatibility.
16 16 *
17 17 * Generated from protobuf message <code>google.api.ConfigChange</code>
18 18 */
19 -class ConfigChange extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message
19 +class ConfigChange extends \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\Message
20 20 {
21 21 /**
22 22 * Object hierarchy path to the change, with levels separated by a '.'
23 23 * character. For repeated fields, an applicable unique identifier field is
@@ -82,9 +82,9 @@
82 82 * Value of the changed object in the new Service configuration,
83 83 * in JSON format. This field will not be populated if ChangeType == REMOVED.
84 84 * @type int $change_type
85 85 * The type for this change, either ADDED, REMOVED, or MODIFIED.
86 - * @type array<\Google\Api\Advice>|\Google\Protobuf\Internal\RepeatedField $advices
86 + * @type \Google\Api\Advice[] $advices
87 87 * Collection of advice provided for this change, useful for determining the
88 88 * possible impact of this change.
89 89 * }
90 90 */
@@ -89,9 +89,9 @@
89 89 * }
90 90 */
91 91 public function __construct($data = NULL)
92 92 {
93 - \Dudlewebs\WPMCS\GPBMetadata\Google\Api\ConfigChange::initOnce();
93 + \Dudlewebs\WPMCS\GCP\GPBMetadata\Google\Api\ConfigChange::initOnce();
94 94 parent::__construct($data);
95 95 }
96 96 /**
97 97 * Object hierarchy path to the change, with levels separated by a '.'
@@ -200,9 +200,9 @@
200 200 * @return $this
201 201 */
202 202 public function setChangeType($var)
203 203 {
204 - GPBUtil::checkEnum($var, \Dudlewebs\WPMCS\Google\Api\ChangeType::class);
204 + GPBUtil::checkEnum($var, \Dudlewebs\WPMCS\GCP\Google\Api\ChangeType::class);
205 205 $this->change_type = $var;
206 206 return $this;
207 207 }
208 208 /**
@@ -209,9 +209,9 @@
209 209 * Collection of advice provided for this change, useful for determining the
210 210 * possible impact of this change.
211 211 *
212 212 * Generated from protobuf field <code>repeated .google.api.Advice advices = 5;</code>
213 - * @return \Google\Protobuf\Internal\RepeatedField
213 + * @return RepeatedField<\Google\Api\Advice>
214 214 */
215 215 public function getAdvices()
216 216 {
217 217 return $this->advices;
@@ -220,14 +220,14 @@
220 220 * Collection of advice provided for this change, useful for determining the
221 221 * possible impact of this change.
222 222 *
223 223 * Generated from protobuf field <code>repeated .google.api.Advice advices = 5;</code>
224 - * @param array<\Google\Api\Advice>|\Google\Protobuf\Internal\RepeatedField $var
224 + * @param \Google\Api\Advice[] $var
225 225 * @return $this
226 226 */
227 227 public function setAdvices($var)
228 228 {
229 - $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Api\Advice::class);
229 + $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\GCP\Google\Api\Advice::class);
230 230 $this->advices = $arr;
231 231 return $this;
232 232 }
233 233 }