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/Documentation.php +15 -15 1.2.13 → 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/documentation.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 * `Documentation` provides the information for describing a service.
12 12 * Example:
13 13 * <pre><code>documentation:
@@ -18,9 +18,9 @@
18 18 * - name: Overview
19 19 * content: &#40;== include google/foo/overview.md ==&#41;
20 20 * - name: Tutorial
21 21 * content: &#40;== include google/foo/tutorial.md ==&#41;
22 - * subpages;
22 + * subpages:
23 23 * - name: Java
24 24 * content: &#40;== include google/foo/tutorial_java.md ==&#41;
25 25 * rules:
26 26 * - selector: google.calendar.Calendar.Get
@@ -60,9 +60,9 @@
60 60 * and is documented together with service config validation.
61 61 *
62 62 * Generated from protobuf message <code>google.api.Documentation</code>
63 63 */
64 -class Documentation extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message
64 +class Documentation extends \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\Message
65 65 {
66 66 /**
67 67 * A short description of what the service does. The summary must be plain
68 68 * text. It becomes the overview of the service displayed in Google Cloud
@@ -128,11 +128,11 @@
128 128 * A short description of what the service does. The summary must be plain
129 129 * text. It becomes the overview of the service displayed in Google Cloud
130 130 * Console.
131 131 * NOTE: This field is equivalent to the standard field `description`.
132 - * @type array<\Google\Api\Page>|\Google\Protobuf\Internal\RepeatedField $pages
132 + * @type \Google\Api\Page[] $pages
133 133 * The top level pages for the documentation set.
134 - * @type array<\Google\Api\DocumentationRule>|\Google\Protobuf\Internal\RepeatedField $rules
134 + * @type \Google\Api\DocumentationRule[] $rules
135 135 * A list of documentation rules that apply to individual API elements.
136 136 * **NOTE:** All service configuration rules follow "last one wins" order.
137 137 * @type string $documentation_root_url
138 138 * The URL to the root of documentation.
@@ -158,9 +158,9 @@
158 158 * }
159 159 */
160 160 public function __construct($data = NULL)
161 161 {
162 - \Dudlewebs\WPMCS\GPBMetadata\Google\Api\Documentation::initOnce();
162 + \Dudlewebs\WPMCS\GCP\GPBMetadata\Google\Api\Documentation::initOnce();
163 163 parent::__construct($data);
164 164 }
165 165 /**
166 166 * A short description of what the service does. The summary must be plain
@@ -194,9 +194,9 @@
194 194 /**
195 195 * The top level pages for the documentation set.
196 196 *
197 197 * Generated from protobuf field <code>repeated .google.api.Page pages = 5;</code>
198 - * @return \Google\Protobuf\Internal\RepeatedField
198 + * @return RepeatedField<\Google\Api\Page>
199 199 */
200 200 public function getPages()
201 201 {
202 202 return $this->pages;
@@ -204,14 +204,14 @@
204 204 /**
205 205 * The top level pages for the documentation set.
206 206 *
207 207 * Generated from protobuf field <code>repeated .google.api.Page pages = 5;</code>
208 - * @param array<\Google\Api\Page>|\Google\Protobuf\Internal\RepeatedField $var
208 + * @param \Google\Api\Page[] $var
209 209 * @return $this
210 210 */
211 211 public function setPages($var)
212 212 {
213 - $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Api\Page::class);
213 + $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\GCP\Google\Api\Page::class);
214 214 $this->pages = $arr;
215 215 return $this;
216 216 }
217 217 /**
@@ -218,9 +218,9 @@
218 218 * A list of documentation rules that apply to individual API elements.
219 219 * **NOTE:** All service configuration rules follow "last one wins" order.
220 220 *
221 221 * Generated from protobuf field <code>repeated .google.api.DocumentationRule rules = 3;</code>
222 - * @return \Google\Protobuf\Internal\RepeatedField
222 + * @return RepeatedField<\Google\Api\DocumentationRule>
223 223 */
224 224 public function getRules()
225 225 {
226 226 return $this->rules;
@@ -229,14 +229,14 @@
229 229 * A list of documentation rules that apply to individual API elements.
230 230 * **NOTE:** All service configuration rules follow "last one wins" order.
231 231 *
232 232 * Generated from protobuf field <code>repeated .google.api.DocumentationRule rules = 3;</code>
233 - * @param array<\Google\Api\DocumentationRule>|\Google\Protobuf\Internal\RepeatedField $var
233 + * @param \Google\Api\DocumentationRule[] $var
234 234 * @return $this
235 235 */
236 236 public function setRules($var)
237 237 {
238 - $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Api\DocumentationRule::class);
238 + $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\GCP\Google\Api\DocumentationRule::class);
239 239 $this->rules = $arr;
240 240 return $this;
241 241 }
242 242 /**