PluginProbe
Media Cloud Sync / 1.1.0
Media Cloud Sync v1.1.0
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
media-cloud-sync / includes / sdk / google / google / common-protos / src / Api / Publishing.php

Publishing.php in Media Cloud Sync 1.1.0, at includes/sdk/google/google/common-protos/src/Api/Publishing.php

383 lines 14.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 # Generated by the protocol buffer compiler. DO NOT EDIT!
4 # source: google/api/client.proto
5 namespace Dudlewebs\WPMCS\Google\Api;
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;
10 /**
11 * This message configures the settings for publishing [Google Cloud Client
12 * libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
13 * generated from the service config.
14 *
15 * Generated from protobuf message <code>google.api.Publishing</code>
16 */
17 class Publishing extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message
18 {
19 /**
20 * A list of API method settings, e.g. the behavior for methods that use the
21 * long-running operation pattern.
22 *
23 * Generated from protobuf field <code>repeated .google.api.MethodSettings method_settings = 2;</code>
24 */
25 private $method_settings;
26 /**
27 * Link to a *public* URI where users can report issues. Example:
28 * https://issuetracker.google.com/issues/new?component=190865&template=1161103
29 *
30 * Generated from protobuf field <code>string new_issue_uri = 101;</code>
31 */
32 protected $new_issue_uri = '';
33 /**
34 * Link to product home page. Example:
35 * https://cloud.google.com/asset-inventory/docs/overview
36 *
37 * Generated from protobuf field <code>string documentation_uri = 102;</code>
38 */
39 protected $documentation_uri = '';
40 /**
41 * Used as a tracking tag when collecting data about the APIs developer
42 * relations artifacts like docs, packages delivered to package managers,
43 * etc. Example: "speech".
44 *
45 * Generated from protobuf field <code>string api_short_name = 103;</code>
46 */
47 protected $api_short_name = '';
48 /**
49 * GitHub label to apply to issues and pull requests opened for this API.
50 *
51 * Generated from protobuf field <code>string github_label = 104;</code>
52 */
53 protected $github_label = '';
54 /**
55 * GitHub teams to be added to CODEOWNERS in the directory in GitHub
56 * containing source code for the client libraries for this API.
57 *
58 * Generated from protobuf field <code>repeated string codeowner_github_teams = 105;</code>
59 */
60 private $codeowner_github_teams;
61 /**
62 * A prefix used in sample code when demarking regions to be included in
63 * documentation.
64 *
65 * Generated from protobuf field <code>string doc_tag_prefix = 106;</code>
66 */
67 protected $doc_tag_prefix = '';
68 /**
69 * For whom the client library is being published.
70 *
71 * Generated from protobuf field <code>.google.api.ClientLibraryOrganization organization = 107;</code>
72 */
73 protected $organization = 0;
74 /**
75 * Client library settings. If the same version string appears multiple
76 * times in this list, then the last one wins. Settings from earlier
77 * settings with the same version string are discarded.
78 *
79 * Generated from protobuf field <code>repeated .google.api.ClientLibrarySettings library_settings = 109;</code>
80 */
81 private $library_settings;
82 /**
83 * Optional link to proto reference documentation. Example:
84 * https://cloud.google.com/pubsub/lite/docs/reference/rpc
85 *
86 * Generated from protobuf field <code>string proto_reference_documentation_uri = 110;</code>
87 */
88 protected $proto_reference_documentation_uri = '';
89 /**
90 * Constructor.
91 *
92 * @param array $data {
93 * Optional. Data for populating the Message object.
94 *
95 * @type array<\Google\Api\MethodSettings>|\Google\Protobuf\Internal\RepeatedField $method_settings
96 * A list of API method settings, e.g. the behavior for methods that use the
97 * long-running operation pattern.
98 * @type string $new_issue_uri
99 * Link to a *public* URI where users can report issues. Example:
100 * https://issuetracker.google.com/issues/new?component=190865&template=1161103
101 * @type string $documentation_uri
102 * Link to product home page. Example:
103 * https://cloud.google.com/asset-inventory/docs/overview
104 * @type string $api_short_name
105 * Used as a tracking tag when collecting data about the APIs developer
106 * relations artifacts like docs, packages delivered to package managers,
107 * etc. Example: "speech".
108 * @type string $github_label
109 * GitHub label to apply to issues and pull requests opened for this API.
110 * @type array<string>|\Google\Protobuf\Internal\RepeatedField $codeowner_github_teams
111 * GitHub teams to be added to CODEOWNERS in the directory in GitHub
112 * containing source code for the client libraries for this API.
113 * @type string $doc_tag_prefix
114 * A prefix used in sample code when demarking regions to be included in
115 * documentation.
116 * @type int $organization
117 * For whom the client library is being published.
118 * @type array<\Google\Api\ClientLibrarySettings>|\Google\Protobuf\Internal\RepeatedField $library_settings
119 * Client library settings. If the same version string appears multiple
120 * times in this list, then the last one wins. Settings from earlier
121 * settings with the same version string are discarded.
122 * @type string $proto_reference_documentation_uri
123 * Optional link to proto reference documentation. Example:
124 * https://cloud.google.com/pubsub/lite/docs/reference/rpc
125 * }
126 */
127 public function __construct($data = NULL)
128 {
129 \Dudlewebs\WPMCS\GPBMetadata\Google\Api\Client::initOnce();
130 parent::__construct($data);
131 }
132 /**
133 * A list of API method settings, e.g. the behavior for methods that use the
134 * long-running operation pattern.
135 *
136 * Generated from protobuf field <code>repeated .google.api.MethodSettings method_settings = 2;</code>
137 * @return \Google\Protobuf\Internal\RepeatedField
138 */
139 public function getMethodSettings()
140 {
141 return $this->method_settings;
142 }
143 /**
144 * A list of API method settings, e.g. the behavior for methods that use the
145 * long-running operation pattern.
146 *
147 * Generated from protobuf field <code>repeated .google.api.MethodSettings method_settings = 2;</code>
148 * @param array<\Google\Api\MethodSettings>|\Google\Protobuf\Internal\RepeatedField $var
149 * @return $this
150 */
151 public function setMethodSettings($var)
152 {
153 $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Api\MethodSettings::class);
154 $this->method_settings = $arr;
155 return $this;
156 }
157 /**
158 * Link to a *public* URI where users can report issues. Example:
159 * https://issuetracker.google.com/issues/new?component=190865&template=1161103
160 *
161 * Generated from protobuf field <code>string new_issue_uri = 101;</code>
162 * @return string
163 */
164 public function getNewIssueUri()
165 {
166 return $this->new_issue_uri;
167 }
168 /**
169 * Link to a *public* URI where users can report issues. Example:
170 * https://issuetracker.google.com/issues/new?component=190865&template=1161103
171 *
172 * Generated from protobuf field <code>string new_issue_uri = 101;</code>
173 * @param string $var
174 * @return $this
175 */
176 public function setNewIssueUri($var)
177 {
178 GPBUtil::checkString($var, True);
179 $this->new_issue_uri = $var;
180 return $this;
181 }
182 /**
183 * Link to product home page. Example:
184 * https://cloud.google.com/asset-inventory/docs/overview
185 *
186 * Generated from protobuf field <code>string documentation_uri = 102;</code>
187 * @return string
188 */
189 public function getDocumentationUri()
190 {
191 return $this->documentation_uri;
192 }
193 /**
194 * Link to product home page. Example:
195 * https://cloud.google.com/asset-inventory/docs/overview
196 *
197 * Generated from protobuf field <code>string documentation_uri = 102;</code>
198 * @param string $var
199 * @return $this
200 */
201 public function setDocumentationUri($var)
202 {
203 GPBUtil::checkString($var, True);
204 $this->documentation_uri = $var;
205 return $this;
206 }
207 /**
208 * Used as a tracking tag when collecting data about the APIs developer
209 * relations artifacts like docs, packages delivered to package managers,
210 * etc. Example: "speech".
211 *
212 * Generated from protobuf field <code>string api_short_name = 103;</code>
213 * @return string
214 */
215 public function getApiShortName()
216 {
217 return $this->api_short_name;
218 }
219 /**
220 * Used as a tracking tag when collecting data about the APIs developer
221 * relations artifacts like docs, packages delivered to package managers,
222 * etc. Example: "speech".
223 *
224 * Generated from protobuf field <code>string api_short_name = 103;</code>
225 * @param string $var
226 * @return $this
227 */
228 public function setApiShortName($var)
229 {
230 GPBUtil::checkString($var, True);
231 $this->api_short_name = $var;
232 return $this;
233 }
234 /**
235 * GitHub label to apply to issues and pull requests opened for this API.
236 *
237 * Generated from protobuf field <code>string github_label = 104;</code>
238 * @return string
239 */
240 public function getGithubLabel()
241 {
242 return $this->github_label;
243 }
244 /**
245 * GitHub label to apply to issues and pull requests opened for this API.
246 *
247 * Generated from protobuf field <code>string github_label = 104;</code>
248 * @param string $var
249 * @return $this
250 */
251 public function setGithubLabel($var)
252 {
253 GPBUtil::checkString($var, True);
254 $this->github_label = $var;
255 return $this;
256 }
257 /**
258 * GitHub teams to be added to CODEOWNERS in the directory in GitHub
259 * containing source code for the client libraries for this API.
260 *
261 * Generated from protobuf field <code>repeated string codeowner_github_teams = 105;</code>
262 * @return \Google\Protobuf\Internal\RepeatedField
263 */
264 public function getCodeownerGithubTeams()
265 {
266 return $this->codeowner_github_teams;
267 }
268 /**
269 * GitHub teams to be added to CODEOWNERS in the directory in GitHub
270 * containing source code for the client libraries for this API.
271 *
272 * Generated from protobuf field <code>repeated string codeowner_github_teams = 105;</code>
273 * @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
274 * @return $this
275 */
276 public function setCodeownerGithubTeams($var)
277 {
278 $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::STRING);
279 $this->codeowner_github_teams = $arr;
280 return $this;
281 }
282 /**
283 * A prefix used in sample code when demarking regions to be included in
284 * documentation.
285 *
286 * Generated from protobuf field <code>string doc_tag_prefix = 106;</code>
287 * @return string
288 */
289 public function getDocTagPrefix()
290 {
291 return $this->doc_tag_prefix;
292 }
293 /**
294 * A prefix used in sample code when demarking regions to be included in
295 * documentation.
296 *
297 * Generated from protobuf field <code>string doc_tag_prefix = 106;</code>
298 * @param string $var
299 * @return $this
300 */
301 public function setDocTagPrefix($var)
302 {
303 GPBUtil::checkString($var, True);
304 $this->doc_tag_prefix = $var;
305 return $this;
306 }
307 /**
308 * For whom the client library is being published.
309 *
310 * Generated from protobuf field <code>.google.api.ClientLibraryOrganization organization = 107;</code>
311 * @return int
312 */
313 public function getOrganization()
314 {
315 return $this->organization;
316 }
317 /**
318 * For whom the client library is being published.
319 *
320 * Generated from protobuf field <code>.google.api.ClientLibraryOrganization organization = 107;</code>
321 * @param int $var
322 * @return $this
323 */
324 public function setOrganization($var)
325 {
326 GPBUtil::checkEnum($var, \Dudlewebs\WPMCS\Google\Api\ClientLibraryOrganization::class);
327 $this->organization = $var;
328 return $this;
329 }
330 /**
331 * Client library settings. If the same version string appears multiple
332 * times in this list, then the last one wins. Settings from earlier
333 * settings with the same version string are discarded.
334 *
335 * Generated from protobuf field <code>repeated .google.api.ClientLibrarySettings library_settings = 109;</code>
336 * @return \Google\Protobuf\Internal\RepeatedField
337 */
338 public function getLibrarySettings()
339 {
340 return $this->library_settings;
341 }
342 /**
343 * Client library settings. If the same version string appears multiple
344 * times in this list, then the last one wins. Settings from earlier
345 * settings with the same version string are discarded.
346 *
347 * Generated from protobuf field <code>repeated .google.api.ClientLibrarySettings library_settings = 109;</code>
348 * @param array<\Google\Api\ClientLibrarySettings>|\Google\Protobuf\Internal\RepeatedField $var
349 * @return $this
350 */
351 public function setLibrarySettings($var)
352 {
353 $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Api\ClientLibrarySettings::class);
354 $this->library_settings = $arr;
355 return $this;
356 }
357 /**
358 * Optional link to proto reference documentation. Example:
359 * https://cloud.google.com/pubsub/lite/docs/reference/rpc
360 *
361 * Generated from protobuf field <code>string proto_reference_documentation_uri = 110;</code>
362 * @return string
363 */
364 public function getProtoReferenceDocumentationUri()
365 {
366 return $this->proto_reference_documentation_uri;
367 }
368 /**
369 * Optional link to proto reference documentation. Example:
370 * https://cloud.google.com/pubsub/lite/docs/reference/rpc
371 *
372 * Generated from protobuf field <code>string proto_reference_documentation_uri = 110;</code>
373 * @param string $var
374 * @return $this
375 */
376 public function setProtoReferenceDocumentationUri($var)
377 {
378 GPBUtil::checkString($var, True);
379 $this->proto_reference_documentation_uri = $var;
380 return $this;
381 }
382 }
383