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/MethodPolicy.php +10 -10 1.2.11 → 1.4.2 View file →
@@ -1,19 +1,19 @@
1 1 <?php
2 2
3 3 # Generated by the protocol buffer compiler. DO NOT EDIT!
4 4 # source: google/api/policy.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 * Defines policies applying to an RPC method.
12 12 *
13 13 * Generated from protobuf message <code>google.api.MethodPolicy</code>
14 14 */
15 -class MethodPolicy extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message
15 +class MethodPolicy extends \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\Message
16 16 {
17 17 /**
18 18 * Selects a method to which these policies should be enforced, for example,
19 19 * "google.pubsub.v1.Subscriber.CreateSubscription".
@@ -43,15 +43,15 @@
43 43 * Refer to [selector][google.api.DocumentationRule.selector] for syntax
44 44 * details.
45 45 * NOTE: This field must not be set in the proto annotation. It will be
46 46 * automatically filled by the service config compiler .
47 - * @type array<\Google\Api\FieldPolicy>|\Google\Protobuf\Internal\RepeatedField $request_policies
47 + * @type \Google\Api\FieldPolicy[] $request_policies
48 48 * Policies that are applicable to the request message.
49 49 * }
50 50 */
51 51 public function __construct($data = NULL)
52 52 {
53 - \Dudlewebs\WPMCS\GPBMetadata\Google\Api\Policy::initOnce();
53 + \Dudlewebs\WPMCS\GCP\GPBMetadata\Google\Api\Policy::initOnce();
54 54 parent::__construct($data);
55 55 }
56 56 /**
57 57 * Selects a method to which these policies should be enforced, for example,
@@ -89,9 +89,9 @@
89 89 /**
90 90 * Policies that are applicable to the request message.
91 91 *
92 92 * Generated from protobuf field <code>repeated .google.api.FieldPolicy request_policies = 2;</code>
93 - * @return \Google\Protobuf\Internal\RepeatedField
93 + * @return RepeatedField<\Google\Api\FieldPolicy>
94 94 */
95 95 public function getRequestPolicies()
96 96 {
97 97 return $this->request_policies;
@@ -99,14 +99,14 @@
99 99 /**
100 100 * Policies that are applicable to the request message.
101 101 *
102 102 * Generated from protobuf field <code>repeated .google.api.FieldPolicy request_policies = 2;</code>
103 - * @param array<\Google\Api\FieldPolicy>|\Google\Protobuf\Internal\RepeatedField $var
103 + * @param \Google\Api\FieldPolicy[] $var
104 104 * @return $this
105 105 */
106 106 public function setRequestPolicies($var)
107 107 {
108 - $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Api\FieldPolicy::class);
108 + $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\GCP\Google\Api\FieldPolicy::class);
109 109 $this->request_policies = $arr;
110 110 return $this;
111 111 }
112 112 }