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/Http.php +10 -10 1.0.1 → 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/http.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 the HTTP configuration for an API service. It contains a list of
12 12 * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method
13 13 * to one or more HTTP REST API methods.
@@ -13,9 +13,9 @@
13 13 * to one or more HTTP REST API methods.
14 14 *
15 15 * Generated from protobuf message <code>google.api.Http</code>
16 16 */
17 -class Http extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message
17 +class Http extends \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\Message
18 18 {
19 19 /**
20 20 * A list of HTTP configuration rules that apply to individual API methods.
21 21 * **NOTE:** All service configuration rules follow "last one wins" order.
@@ -38,9 +38,9 @@
38 38 *
39 39 * @param array $data {
40 40 * Optional. Data for populating the Message object.
41 41 *
42 - * @type array<\Google\Api\HttpRule>|\Google\Protobuf\Internal\RepeatedField $rules
42 + * @type \Google\Api\HttpRule[] $rules
43 43 * A list of HTTP configuration rules that apply to individual API methods.
44 44 * **NOTE:** All service configuration rules follow "last one wins" order.
45 45 * @type bool $fully_decode_reserved_expansion
46 46 * When set to true, URL path parameters will be fully URI-decoded except in
@@ -51,9 +51,9 @@
51 51 * }
52 52 */
53 53 public function __construct($data = NULL)
54 54 {
55 - \Dudlewebs\WPMCS\GPBMetadata\Google\Api\Http::initOnce();
55 + \Dudlewebs\WPMCS\GCP\GPBMetadata\Google\Api\Http::initOnce();
56 56 parent::__construct($data);
57 57 }
58 58 /**
59 59 * A list of HTTP configuration rules that apply to individual API methods.
@@ -59,9 +59,9 @@
59 59 * A list of HTTP configuration rules that apply to individual API methods.
60 60 * **NOTE:** All service configuration rules follow "last one wins" order.
61 61 *
62 62 * Generated from protobuf field <code>repeated .google.api.HttpRule rules = 1;</code>
63 - * @return \Google\Protobuf\Internal\RepeatedField
63 + * @return RepeatedField<\Google\Api\HttpRule>
64 64 */
65 65 public function getRules()
66 66 {
67 67 return $this->rules;
@@ -70,14 +70,14 @@
70 70 * A list of HTTP configuration rules that apply to individual API methods.
71 71 * **NOTE:** All service configuration rules follow "last one wins" order.
72 72 *
73 73 * Generated from protobuf field <code>repeated .google.api.HttpRule rules = 1;</code>
74 - * @param array<\Google\Api\HttpRule>|\Google\Protobuf\Internal\RepeatedField $var
74 + * @param \Google\Api\HttpRule[] $var
75 75 * @return $this
76 76 */
77 77 public function setRules($var)
78 78 {
79 - $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Api\HttpRule::class);
79 + $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\GCP\Google\Api\HttpRule::class);
80 80 $this->rules = $arr;
81 81 return $this;
82 82 }
83 83 /**