PluginProbe
Media Cloud Sync / 1.4.1
Media Cloud Sync v1.4.1
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/Control.php +10 -10 1.0.3 → 1.4.1 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/control.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 * Selects and configures the service controller used by the service.
12 12 * Example:
13 13 * control:
@@ -14,9 +14,9 @@
14 14 * environment: servicecontrol.googleapis.com
15 15 *
16 16 * Generated from protobuf message <code>google.api.Control</code>
17 17 */
18 -class Control extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message
18 +class Control extends \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\Message
19 19 {
20 20 /**
21 21 * The service controller environment to use. If empty, no control plane
22 22 * feature (like quota and billing) will be enabled. The recommended value for
@@ -40,15 +40,15 @@
40 40 * @type string $environment
41 41 * The service controller environment to use. If empty, no control plane
42 42 * feature (like quota and billing) will be enabled. The recommended value for
43 43 * most services is servicecontrol.googleapis.com
44 - * @type array<\Google\Api\MethodPolicy>|\Google\Protobuf\Internal\RepeatedField $method_policies
44 + * @type \Google\Api\MethodPolicy[] $method_policies
45 45 * Defines policies applying to the API methods of the service.
46 46 * }
47 47 */
48 48 public function __construct($data = NULL)
49 49 {
50 - \Dudlewebs\WPMCS\GPBMetadata\Google\Api\Control::initOnce();
50 + \Dudlewebs\WPMCS\GCP\GPBMetadata\Google\Api\Control::initOnce();
51 51 parent::__construct($data);
52 52 }
53 53 /**
54 54 * The service controller environment to use. If empty, no control plane
@@ -80,9 +80,9 @@
80 80 /**
81 81 * Defines policies applying to the API methods of the service.
82 82 *
83 83 * Generated from protobuf field <code>repeated .google.api.MethodPolicy method_policies = 4;</code>
84 - * @return \Google\Protobuf\Internal\RepeatedField
84 + * @return RepeatedField<\Google\Api\MethodPolicy>
85 85 */
86 86 public function getMethodPolicies()
87 87 {
88 88 return $this->method_policies;
@@ -90,14 +90,14 @@
90 90 /**
91 91 * Defines policies applying to the API methods of the service.
92 92 *
93 93 * Generated from protobuf field <code>repeated .google.api.MethodPolicy method_policies = 4;</code>
94 - * @param array<\Google\Api\MethodPolicy>|\Google\Protobuf\Internal\RepeatedField $var
94 + * @param \Google\Api\MethodPolicy[] $var
95 95 * @return $this
96 96 */
97 97 public function setMethodPolicies($var)
98 98 {
99 - $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Api\MethodPolicy::class);
99 + $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\GCP\Google\Api\MethodPolicy::class);
100 100 $this->method_policies = $arr;
101 101 return $this;
102 102 }
103 103 }