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/SystemParameterRule.php +10 -10 1.2.12 → 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 * Define a system parameter rule mapping system parameter definitions to
12 12 * methods.
13 13 *
@@ -12,9 +12,9 @@
12 12 * methods.
13 13 *
14 14 * Generated from protobuf message <code>google.api.SystemParameterRule</code>
15 15 */
16 -class SystemParameterRule extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message
16 +class SystemParameterRule extends \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\Message
17 17 {
18 18 /**
19 19 * Selects the methods to which this rule applies. Use '*' to indicate all
20 20 * methods in all APIs.
@@ -44,9 +44,9 @@
44 44 * Selects the methods to which this rule applies. Use '*' to indicate all
45 45 * methods in all APIs.
46 46 * Refer to [selector][google.api.DocumentationRule.selector] for syntax
47 47 * details.
48 - * @type array<\Google\Api\SystemParameter>|\Google\Protobuf\Internal\RepeatedField $parameters
48 + * @type \Google\Api\SystemParameter[] $parameters
49 49 * Define parameters. Multiple names may be defined for a parameter.
50 50 * For a given method call, only one of them should be used. If multiple
51 51 * names are used the behavior is implementation-dependent.
52 52 * If none of the specified names are present the behavior is
@@ -54,9 +54,9 @@
54 54 * }
55 55 */
56 56 public function __construct($data = NULL)
57 57 {
58 - \Dudlewebs\WPMCS\GPBMetadata\Google\Api\SystemParameter::initOnce();
58 + \Dudlewebs\WPMCS\GCP\GPBMetadata\Google\Api\SystemParameter::initOnce();
59 59 parent::__construct($data);
60 60 }
61 61 /**
62 62 * Selects the methods to which this rule applies. Use '*' to indicate all
@@ -94,9 +94,9 @@
94 94 * If none of the specified names are present the behavior is
95 95 * parameter-dependent.
96 96 *
97 97 * Generated from protobuf field <code>repeated .google.api.SystemParameter parameters = 2;</code>
98 - * @return \Google\Protobuf\Internal\RepeatedField
98 + * @return RepeatedField<\Google\Api\SystemParameter>
99 99 */
100 100 public function getParameters()
101 101 {
102 102 return $this->parameters;
@@ -108,14 +108,14 @@
108 108 * If none of the specified names are present the behavior is
109 109 * parameter-dependent.
110 110 *
111 111 * Generated from protobuf field <code>repeated .google.api.SystemParameter parameters = 2;</code>
112 - * @param array<\Google\Api\SystemParameter>|\Google\Protobuf\Internal\RepeatedField $var
112 + * @param \Google\Api\SystemParameter[] $var
113 113 * @return $this
114 114 */
115 115 public function setParameters($var)
116 116 {
117 - $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Api\SystemParameter::class);
117 + $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\GCP\Google\Api\SystemParameter::class);
118 118 $this->parameters = $arr;
119 119 return $this;
120 120 }
121 121 }