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/Page.php +22 -22 1.2.6 → 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 * Represents a documentation page. A page can contain subpages to represent
12 12 * nested documentation set structure.
13 13 *
@@ -12,9 +12,9 @@
12 12 * nested documentation set structure.
13 13 *
14 14 * Generated from protobuf message <code>google.api.Page</code>
15 15 */
16 -class Page extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message
16 +class Page extends \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\Message
17 17 {
18 18 /**
19 19 * The name of the page. It will be used as an identity of the page to
20 20 * generate URI of the page, text of the link to this page in navigation,
@@ -34,11 +34,11 @@
34 34 * Generated from protobuf field <code>string name = 1;</code>
35 35 */
36 36 protected $name = '';
37 37 /**
38 - * The Markdown content of the page. You can use <code>&#40;== include {path}
39 - * ==&#41;</code> to include content from a Markdown file. The content can be
40 - * used to produce the documentation page such as HTML format page.
38 + * The Markdown content of the page. You can use ```(== include {path}
39 + * ==)``` to include content from a Markdown file. The content can be used
40 + * to produce the documentation page such as HTML format page.
41 41 *
42 42 * Generated from protobuf field <code>string content = 2;</code>
43 43 */
44 44 protected $content = '';
@@ -70,12 +70,12 @@
70 70 * </code></pre>
71 71 * You can reference `Java` page using Markdown reference link syntax:
72 72 * `[Java][Tutorial.Java]`.
73 73 * @type string $content
74 - * The Markdown content of the page. You can use <code>&#40;== include {path}
75 - * ==&#41;</code> to include content from a Markdown file. The content can be
76 - * used to produce the documentation page such as HTML format page.
77 - * @type array<\Google\Api\Page>|\Google\Protobuf\Internal\RepeatedField $subpages
74 + * The Markdown content of the page. You can use ```(== include {path}
75 + * ==)``` to include content from a Markdown file. The content can be used
76 + * to produce the documentation page such as HTML format page.
77 + * @type \Google\Api\Page[] $subpages
78 78 * Subpages of this page. The order of subpages specified here will be
79 79 * honored in the generated docset.
80 80 * }
81 81 */
@@ -80,9 +80,9 @@
80 80 * }
81 81 */
82 82 public function __construct($data = NULL)
83 83 {
84 - \Dudlewebs\WPMCS\GPBMetadata\Google\Api\Documentation::initOnce();
84 + \Dudlewebs\WPMCS\GCP\GPBMetadata\Google\Api\Documentation::initOnce();
85 85 parent::__construct($data);
86 86 }
87 87 /**
88 88 * The name of the page. It will be used as an identity of the page to
@@ -133,11 +133,11 @@
133 133 $this->name = $var;
134 134 return $this;
135 135 }
136 136 /**
137 - * The Markdown content of the page. You can use <code>&#40;== include {path}
138 - * ==&#41;</code> to include content from a Markdown file. The content can be
139 - * used to produce the documentation page such as HTML format page.
137 + * The Markdown content of the page. You can use ```(== include {path}
138 + * ==)``` to include content from a Markdown file. The content can be used
139 + * to produce the documentation page such as HTML format page.
140 140 *
141 141 * Generated from protobuf field <code>string content = 2;</code>
142 142 * @return string
143 143 */
@@ -145,11 +145,11 @@
145 145 {
146 146 return $this->content;
147 147 }
148 148 /**
149 - * The Markdown content of the page. You can use <code>&#40;== include {path}
150 - * ==&#41;</code> to include content from a Markdown file. The content can be
151 - * used to produce the documentation page such as HTML format page.
149 + * The Markdown content of the page. You can use ```(== include {path}
150 + * ==)``` to include content from a Markdown file. The content can be used
151 + * to produce the documentation page such as HTML format page.
152 152 *
153 153 * Generated from protobuf field <code>string content = 2;</code>
154 154 * @param string $var
155 155 * @return $this
@@ -164,9 +164,9 @@
164 164 * Subpages of this page. The order of subpages specified here will be
165 165 * honored in the generated docset.
166 166 *
167 167 * Generated from protobuf field <code>repeated .google.api.Page subpages = 3;</code>
168 - * @return \Google\Protobuf\Internal\RepeatedField
168 + * @return RepeatedField<\Google\Api\Page>
169 169 */
170 170 public function getSubpages()
171 171 {
172 172 return $this->subpages;
@@ -175,14 +175,14 @@
175 175 * Subpages of this page. The order of subpages specified here will be
176 176 * honored in the generated docset.
177 177 *
178 178 * Generated from protobuf field <code>repeated .google.api.Page subpages = 3;</code>
179 - * @param array<\Google\Api\Page>|\Google\Protobuf\Internal\RepeatedField $var
179 + * @param \Google\Api\Page[] $var
180 180 * @return $this
181 181 */
182 182 public function setSubpages($var)
183 183 {
184 - $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Api\Page::class);
184 + $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\GCP\Google\Api\Page::class);
185 185 $this->subpages = $arr;
186 186 return $this;
187 187 }
188 188 }