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/SystemParameters.php +10 -10 1.2.2 → 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/system_parameter.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 * ### System parameter configuration
12 12 * A system parameter is a special kind of parameter defined by the API
13 13 * system, not by an individual API. It is typically mapped to an HTTP header
@@ -15,9 +15,9 @@
15 15 * change the names of the system parameters.
16 16 *
17 17 * Generated from protobuf message <code>google.api.SystemParameters</code>
18 18 */
19 -class SystemParameters extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message
19 +class SystemParameters extends \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\Message
20 20 {
21 21 /**
22 22 * Define system parameters.
23 23 * The parameters defined here will override the default parameters
@@ -50,9 +50,9 @@
50 50 *
51 51 * @param array $data {
52 52 * Optional. Data for populating the Message object.
53 53 *
54 - * @type array<\Google\Api\SystemParameterRule>|\Google\Protobuf\Internal\RepeatedField $rules
54 + * @type \Google\Api\SystemParameterRule[] $rules
55 55 * Define system parameters.
56 56 * The parameters defined here will override the default parameters
57 57 * implemented by the system. If this field is missing from the service
58 58 * config, default system parameters will be used. Default system parameters
@@ -77,9 +77,9 @@
77 77 * }
78 78 */
79 79 public function __construct($data = NULL)
80 80 {
81 - \Dudlewebs\WPMCS\GPBMetadata\Google\Api\SystemParameter::initOnce();
81 + \Dudlewebs\WPMCS\GCP\GPBMetadata\Google\Api\SystemParameter::initOnce();
82 82 parent::__construct($data);
83 83 }
84 84 /**
85 85 * Define system parameters.
@@ -105,9 +105,9 @@
105 105 * http_header: Api-Key2
106 106 * **NOTE:** All service configuration rules follow "last one wins" order.
107 107 *
108 108 * Generated from protobuf field <code>repeated .google.api.SystemParameterRule rules = 1;</code>
109 - * @return \Google\Protobuf\Internal\RepeatedField
109 + * @return RepeatedField<\Google\Api\SystemParameterRule>
110 110 */
111 111 public function getRules()
112 112 {
113 113 return $this->rules;
@@ -136,14 +136,14 @@
136 136 * http_header: Api-Key2
137 137 * **NOTE:** All service configuration rules follow "last one wins" order.
138 138 *
139 139 * Generated from protobuf field <code>repeated .google.api.SystemParameterRule rules = 1;</code>
140 - * @param array<\Google\Api\SystemParameterRule>|\Google\Protobuf\Internal\RepeatedField $var
140 + * @param \Google\Api\SystemParameterRule[] $var
141 141 * @return $this
142 142 */
143 143 public function setRules($var)
144 144 {
145 - $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Api\SystemParameterRule::class);
145 + $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\GCP\Google\Api\SystemParameterRule::class);
146 146 $this->rules = $arr;
147 147 return $this;
148 148 }
149 149 }