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/Endpoint.php +25 -38 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/endpoint.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 * `Endpoint` describes a network address of a service that serves a set of
12 12 * APIs. It is commonly known as a service endpoint. A service may expose
13 13 * any number of service endpoints, and all service endpoints share the same
@@ -29,9 +29,9 @@
29 29 * allow_cors: true
30 30 *
31 31 * Generated from protobuf message <code>google.api.Endpoint</code>
32 32 */
33 -class Endpoint extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message
33 +class Endpoint extends \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\Message
34 34 {
35 35 /**
36 36 * The canonical name of this endpoint.
37 37 *
@@ -38,16 +38,13 @@
38 38 * Generated from protobuf field <code>string name = 1;</code>
39 39 */
40 40 protected $name = '';
41 41 /**
42 - * Unimplemented. Dot not use.
43 - * DEPRECATED: This field is no longer supported. Instead of using aliases,
44 - * please specify multiple [google.api.Endpoint][google.api.Endpoint] for each
45 - * of the intended aliases.
46 - * Additional names that this endpoint will be hosted on.
42 + * Aliases for this endpoint, these will be served by the same UrlMap as the
43 + * parent endpoint, and will be provisioned in the GCP stack for the Regional
44 + * Endpoints.
47 45 *
48 - * Generated from protobuf field <code>repeated string aliases = 2 [deprecated = true];</code>
49 - * @deprecated
46 + * Generated from protobuf field <code>repeated string aliases = 2;</code>
50 47 */
51 48 private $aliases;
52 49 /**
53 50 * The specification of an Internet routable address of API frontend that will
@@ -77,14 +74,12 @@
77 74 * Optional. Data for populating the Message object.
78 75 *
79 76 * @type string $name
80 77 * The canonical name of this endpoint.
81 - * @type array<string>|\Google\Protobuf\Internal\RepeatedField $aliases
82 - * Unimplemented. Dot not use.
83 - * DEPRECATED: This field is no longer supported. Instead of using aliases,
84 - * please specify multiple [google.api.Endpoint][google.api.Endpoint] for each
85 - * of the intended aliases.
86 - * Additional names that this endpoint will be hosted on.
78 + * @type string[] $aliases
79 + * Aliases for this endpoint, these will be served by the same UrlMap as the
80 + * parent endpoint, and will be provisioned in the GCP stack for the Regional
81 + * Endpoints.
87 82 * @type string $target
88 83 * The specification of an Internet routable address of API frontend that will
89 84 * handle requests to this [API
90 85 * Endpoint](https://cloud.google.com/apis/design/glossary). It should be
@@ -100,9 +95,9 @@
100 95 * }
101 96 */
102 97 public function __construct($data = NULL)
103 98 {
104 - \Dudlewebs\WPMCS\GPBMetadata\Google\Api\Endpoint::initOnce();
99 + \Dudlewebs\WPMCS\GCP\GPBMetadata\Google\Api\Endpoint::initOnce();
105 100 parent::__construct($data);
106 101 }
107 102 /**
108 103 * The canonical name of this endpoint.
@@ -127,39 +122,31 @@
127 122 $this->name = $var;
128 123 return $this;
129 124 }
130 125 /**
131 - * Unimplemented. Dot not use.
132 - * DEPRECATED: This field is no longer supported. Instead of using aliases,
133 - * please specify multiple [google.api.Endpoint][google.api.Endpoint] for each
134 - * of the intended aliases.
135 - * Additional names that this endpoint will be hosted on.
126 + * Aliases for this endpoint, these will be served by the same UrlMap as the
127 + * parent endpoint, and will be provisioned in the GCP stack for the Regional
128 + * Endpoints.
136 129 *
137 - * Generated from protobuf field <code>repeated string aliases = 2 [deprecated = true];</code>
138 - * @return \Google\Protobuf\Internal\RepeatedField
139 - * @deprecated
130 + * Generated from protobuf field <code>repeated string aliases = 2;</code>
131 + * @return RepeatedField<string>
140 132 */
141 133 public function getAliases()
142 134 {
143 - @trigger_error('aliases is deprecated.', \E_USER_DEPRECATED);
144 135 return $this->aliases;
145 136 }
146 137 /**
147 - * Unimplemented. Dot not use.
148 - * DEPRECATED: This field is no longer supported. Instead of using aliases,
149 - * please specify multiple [google.api.Endpoint][google.api.Endpoint] for each
150 - * of the intended aliases.
151 - * Additional names that this endpoint will be hosted on.
138 + * Aliases for this endpoint, these will be served by the same UrlMap as the
139 + * parent endpoint, and will be provisioned in the GCP stack for the Regional
140 + * Endpoints.
152 141 *
153 - * Generated from protobuf field <code>repeated string aliases = 2 [deprecated = true];</code>
154 - * @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
142 + * Generated from protobuf field <code>repeated string aliases = 2;</code>
143 + * @param string[] $var
155 144 * @return $this
156 - * @deprecated
157 145 */
158 146 public function setAliases($var)
159 147 {
160 - @trigger_error('aliases is deprecated.', \E_USER_DEPRECATED);
161 - $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::STRING);
148 + $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::STRING);
162 149 $this->aliases = $arr;
163 150 return $this;
164 151 }
165 152 /**