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 / Service.php

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

1,133 lines 39.2 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/service.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 * `Service` is the root object of Google API service configuration (service
12 * config). It describes the basic information about a logical service,
13 * such as the service name and the user-facing title, and delegates other
14 * aspects to sub-sections. Each sub-section is either a proto message or a
15 * repeated proto message that configures a specific aspect, such as auth.
16 * For more information, see each proto message definition.
17 * Example:
18 * type: google.api.Service
19 * name: calendar.googleapis.com
20 * title: Google Calendar API
21 * apis:
22 * - name: google.calendar.v3.Calendar
23 * visibility:
24 * rules:
25 * - selector: "google.calendar.v3.*"
26 * restriction: PREVIEW
27 * backend:
28 * rules:
29 * - selector: "google.calendar.v3.*"
30 * address: calendar.example.com
31 * authentication:
32 * providers:
33 * - id: google_calendar_auth
34 * jwks_uri: https://www.googleapis.com/oauth2/v1/certs
35 * issuer: https://securetoken.google.com
36 * rules:
37 * - selector: "*"
38 * requirements:
39 * provider_id: google_calendar_auth
40 *
41 * Generated from protobuf message <code>google.api.Service</code>
42 */
43 class Service extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message
44 {
45 /**
46 * The service name, which is a DNS-like logical identifier for the
47 * service, such as `calendar.googleapis.com`. The service name
48 * typically goes through DNS verification to make sure the owner
49 * of the service also owns the DNS name.
50 *
51 * Generated from protobuf field <code>string name = 1;</code>
52 */
53 protected $name = '';
54 /**
55 * The product title for this service, it is the name displayed in Google
56 * Cloud Console.
57 *
58 * Generated from protobuf field <code>string title = 2;</code>
59 */
60 protected $title = '';
61 /**
62 * The Google project that owns this service.
63 *
64 * Generated from protobuf field <code>string producer_project_id = 22;</code>
65 */
66 protected $producer_project_id = '';
67 /**
68 * A unique ID for a specific instance of this message, typically assigned
69 * by the client for tracking purpose. Must be no longer than 63 characters
70 * and only lower case letters, digits, '.', '_' and '-' are allowed. If
71 * empty, the server may choose to generate one instead.
72 *
73 * Generated from protobuf field <code>string id = 33;</code>
74 */
75 protected $id = '';
76 /**
77 * A list of API interfaces exported by this service. Only the `name` field
78 * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
79 * the configuration author, as the remaining fields will be derived from the
80 * IDL during the normalization process. It is an error to specify an API
81 * interface here which cannot be resolved against the associated IDL files.
82 *
83 * Generated from protobuf field <code>repeated .google.protobuf.Api apis = 3;</code>
84 */
85 private $apis;
86 /**
87 * A list of all proto message types included in this API service.
88 * Types referenced directly or indirectly by the `apis` are automatically
89 * included. Messages which are not referenced but shall be included, such as
90 * types used by the `google.protobuf.Any` type, should be listed here by
91 * name by the configuration author. Example:
92 * types:
93 * - name: google.protobuf.Int32
94 *
95 * Generated from protobuf field <code>repeated .google.protobuf.Type types = 4;</code>
96 */
97 private $types;
98 /**
99 * A list of all enum types included in this API service. Enums referenced
100 * directly or indirectly by the `apis` are automatically included. Enums
101 * which are not referenced but shall be included should be listed here by
102 * name by the configuration author. Example:
103 * enums:
104 * - name: google.someapi.v1.SomeEnum
105 *
106 * Generated from protobuf field <code>repeated .google.protobuf.Enum enums = 5;</code>
107 */
108 private $enums;
109 /**
110 * Additional API documentation.
111 *
112 * Generated from protobuf field <code>.google.api.Documentation documentation = 6;</code>
113 */
114 protected $documentation = null;
115 /**
116 * API backend configuration.
117 *
118 * Generated from protobuf field <code>.google.api.Backend backend = 8;</code>
119 */
120 protected $backend = null;
121 /**
122 * HTTP configuration.
123 *
124 * Generated from protobuf field <code>.google.api.Http http = 9;</code>
125 */
126 protected $http = null;
127 /**
128 * Quota configuration.
129 *
130 * Generated from protobuf field <code>.google.api.Quota quota = 10;</code>
131 */
132 protected $quota = null;
133 /**
134 * Auth configuration.
135 *
136 * Generated from protobuf field <code>.google.api.Authentication authentication = 11;</code>
137 */
138 protected $authentication = null;
139 /**
140 * Context configuration.
141 *
142 * Generated from protobuf field <code>.google.api.Context context = 12;</code>
143 */
144 protected $context = null;
145 /**
146 * Configuration controlling usage of this service.
147 *
148 * Generated from protobuf field <code>.google.api.Usage usage = 15;</code>
149 */
150 protected $usage = null;
151 /**
152 * Configuration for network endpoints. If this is empty, then an endpoint
153 * with the same name as the service is automatically generated to service all
154 * defined APIs.
155 *
156 * Generated from protobuf field <code>repeated .google.api.Endpoint endpoints = 18;</code>
157 */
158 private $endpoints;
159 /**
160 * Configuration for the service control plane.
161 *
162 * Generated from protobuf field <code>.google.api.Control control = 21;</code>
163 */
164 protected $control = null;
165 /**
166 * Defines the logs used by this service.
167 *
168 * Generated from protobuf field <code>repeated .google.api.LogDescriptor logs = 23;</code>
169 */
170 private $logs;
171 /**
172 * Defines the metrics used by this service.
173 *
174 * Generated from protobuf field <code>repeated .google.api.MetricDescriptor metrics = 24;</code>
175 */
176 private $metrics;
177 /**
178 * Defines the monitored resources used by this service. This is required
179 * by the [Service.monitoring][google.api.Service.monitoring] and
180 * [Service.logging][google.api.Service.logging] configurations.
181 *
182 * Generated from protobuf field <code>repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;</code>
183 */
184 private $monitored_resources;
185 /**
186 * Billing configuration.
187 *
188 * Generated from protobuf field <code>.google.api.Billing billing = 26;</code>
189 */
190 protected $billing = null;
191 /**
192 * Logging configuration.
193 *
194 * Generated from protobuf field <code>.google.api.Logging logging = 27;</code>
195 */
196 protected $logging = null;
197 /**
198 * Monitoring configuration.
199 *
200 * Generated from protobuf field <code>.google.api.Monitoring monitoring = 28;</code>
201 */
202 protected $monitoring = null;
203 /**
204 * System parameter configuration.
205 *
206 * Generated from protobuf field <code>.google.api.SystemParameters system_parameters = 29;</code>
207 */
208 protected $system_parameters = null;
209 /**
210 * Output only. The source information for this configuration if available.
211 *
212 * Generated from protobuf field <code>.google.api.SourceInfo source_info = 37;</code>
213 */
214 protected $source_info = null;
215 /**
216 * Settings for [Google Cloud Client
217 * libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
218 * generated from APIs defined as protocol buffers.
219 *
220 * Generated from protobuf field <code>.google.api.Publishing publishing = 45;</code>
221 */
222 protected $publishing = null;
223 /**
224 * Obsolete. Do not use.
225 * This field has no semantic meaning. The service config compiler always
226 * sets this field to `3`.
227 *
228 * Generated from protobuf field <code>.google.protobuf.UInt32Value config_version = 20;</code>
229 */
230 protected $config_version = null;
231 /**
232 * Constructor.
233 *
234 * @param array $data {
235 * Optional. Data for populating the Message object.
236 *
237 * @type string $name
238 * The service name, which is a DNS-like logical identifier for the
239 * service, such as `calendar.googleapis.com`. The service name
240 * typically goes through DNS verification to make sure the owner
241 * of the service also owns the DNS name.
242 * @type string $title
243 * The product title for this service, it is the name displayed in Google
244 * Cloud Console.
245 * @type string $producer_project_id
246 * The Google project that owns this service.
247 * @type string $id
248 * A unique ID for a specific instance of this message, typically assigned
249 * by the client for tracking purpose. Must be no longer than 63 characters
250 * and only lower case letters, digits, '.', '_' and '-' are allowed. If
251 * empty, the server may choose to generate one instead.
252 * @type array<\Google\Protobuf\Api>|\Google\Protobuf\Internal\RepeatedField $apis
253 * A list of API interfaces exported by this service. Only the `name` field
254 * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
255 * the configuration author, as the remaining fields will be derived from the
256 * IDL during the normalization process. It is an error to specify an API
257 * interface here which cannot be resolved against the associated IDL files.
258 * @type array<\Google\Protobuf\Type>|\Google\Protobuf\Internal\RepeatedField $types
259 * A list of all proto message types included in this API service.
260 * Types referenced directly or indirectly by the `apis` are automatically
261 * included. Messages which are not referenced but shall be included, such as
262 * types used by the `google.protobuf.Any` type, should be listed here by
263 * name by the configuration author. Example:
264 * types:
265 * - name: google.protobuf.Int32
266 * @type array<\Google\Protobuf\Enum>|\Google\Protobuf\Internal\RepeatedField $enums
267 * A list of all enum types included in this API service. Enums referenced
268 * directly or indirectly by the `apis` are automatically included. Enums
269 * which are not referenced but shall be included should be listed here by
270 * name by the configuration author. Example:
271 * enums:
272 * - name: google.someapi.v1.SomeEnum
273 * @type \Google\Api\Documentation $documentation
274 * Additional API documentation.
275 * @type \Google\Api\Backend $backend
276 * API backend configuration.
277 * @type \Google\Api\Http $http
278 * HTTP configuration.
279 * @type \Google\Api\Quota $quota
280 * Quota configuration.
281 * @type \Google\Api\Authentication $authentication
282 * Auth configuration.
283 * @type \Google\Api\Context $context
284 * Context configuration.
285 * @type \Google\Api\Usage $usage
286 * Configuration controlling usage of this service.
287 * @type array<\Google\Api\Endpoint>|\Google\Protobuf\Internal\RepeatedField $endpoints
288 * Configuration for network endpoints. If this is empty, then an endpoint
289 * with the same name as the service is automatically generated to service all
290 * defined APIs.
291 * @type \Google\Api\Control $control
292 * Configuration for the service control plane.
293 * @type array<\Google\Api\LogDescriptor>|\Google\Protobuf\Internal\RepeatedField $logs
294 * Defines the logs used by this service.
295 * @type array<\Google\Api\MetricDescriptor>|\Google\Protobuf\Internal\RepeatedField $metrics
296 * Defines the metrics used by this service.
297 * @type array<\Google\Api\MonitoredResourceDescriptor>|\Google\Protobuf\Internal\RepeatedField $monitored_resources
298 * Defines the monitored resources used by this service. This is required
299 * by the [Service.monitoring][google.api.Service.monitoring] and
300 * [Service.logging][google.api.Service.logging] configurations.
301 * @type \Google\Api\Billing $billing
302 * Billing configuration.
303 * @type \Google\Api\Logging $logging
304 * Logging configuration.
305 * @type \Google\Api\Monitoring $monitoring
306 * Monitoring configuration.
307 * @type \Google\Api\SystemParameters $system_parameters
308 * System parameter configuration.
309 * @type \Google\Api\SourceInfo $source_info
310 * Output only. The source information for this configuration if available.
311 * @type \Google\Api\Publishing $publishing
312 * Settings for [Google Cloud Client
313 * libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
314 * generated from APIs defined as protocol buffers.
315 * @type \Google\Protobuf\UInt32Value $config_version
316 * Obsolete. Do not use.
317 * This field has no semantic meaning. The service config compiler always
318 * sets this field to `3`.
319 * }
320 */
321 public function __construct($data = NULL)
322 {
323 \Dudlewebs\WPMCS\GPBMetadata\Google\Api\Service::initOnce();
324 parent::__construct($data);
325 }
326 /**
327 * The service name, which is a DNS-like logical identifier for the
328 * service, such as `calendar.googleapis.com`. The service name
329 * typically goes through DNS verification to make sure the owner
330 * of the service also owns the DNS name.
331 *
332 * Generated from protobuf field <code>string name = 1;</code>
333 * @return string
334 */
335 public function getName()
336 {
337 return $this->name;
338 }
339 /**
340 * The service name, which is a DNS-like logical identifier for the
341 * service, such as `calendar.googleapis.com`. The service name
342 * typically goes through DNS verification to make sure the owner
343 * of the service also owns the DNS name.
344 *
345 * Generated from protobuf field <code>string name = 1;</code>
346 * @param string $var
347 * @return $this
348 */
349 public function setName($var)
350 {
351 GPBUtil::checkString($var, True);
352 $this->name = $var;
353 return $this;
354 }
355 /**
356 * The product title for this service, it is the name displayed in Google
357 * Cloud Console.
358 *
359 * Generated from protobuf field <code>string title = 2;</code>
360 * @return string
361 */
362 public function getTitle()
363 {
364 return $this->title;
365 }
366 /**
367 * The product title for this service, it is the name displayed in Google
368 * Cloud Console.
369 *
370 * Generated from protobuf field <code>string title = 2;</code>
371 * @param string $var
372 * @return $this
373 */
374 public function setTitle($var)
375 {
376 GPBUtil::checkString($var, True);
377 $this->title = $var;
378 return $this;
379 }
380 /**
381 * The Google project that owns this service.
382 *
383 * Generated from protobuf field <code>string producer_project_id = 22;</code>
384 * @return string
385 */
386 public function getProducerProjectId()
387 {
388 return $this->producer_project_id;
389 }
390 /**
391 * The Google project that owns this service.
392 *
393 * Generated from protobuf field <code>string producer_project_id = 22;</code>
394 * @param string $var
395 * @return $this
396 */
397 public function setProducerProjectId($var)
398 {
399 GPBUtil::checkString($var, True);
400 $this->producer_project_id = $var;
401 return $this;
402 }
403 /**
404 * A unique ID for a specific instance of this message, typically assigned
405 * by the client for tracking purpose. Must be no longer than 63 characters
406 * and only lower case letters, digits, '.', '_' and '-' are allowed. If
407 * empty, the server may choose to generate one instead.
408 *
409 * Generated from protobuf field <code>string id = 33;</code>
410 * @return string
411 */
412 public function getId()
413 {
414 return $this->id;
415 }
416 /**
417 * A unique ID for a specific instance of this message, typically assigned
418 * by the client for tracking purpose. Must be no longer than 63 characters
419 * and only lower case letters, digits, '.', '_' and '-' are allowed. If
420 * empty, the server may choose to generate one instead.
421 *
422 * Generated from protobuf field <code>string id = 33;</code>
423 * @param string $var
424 * @return $this
425 */
426 public function setId($var)
427 {
428 GPBUtil::checkString($var, True);
429 $this->id = $var;
430 return $this;
431 }
432 /**
433 * A list of API interfaces exported by this service. Only the `name` field
434 * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
435 * the configuration author, as the remaining fields will be derived from the
436 * IDL during the normalization process. It is an error to specify an API
437 * interface here which cannot be resolved against the associated IDL files.
438 *
439 * Generated from protobuf field <code>repeated .google.protobuf.Api apis = 3;</code>
440 * @return \Google\Protobuf\Internal\RepeatedField
441 */
442 public function getApis()
443 {
444 return $this->apis;
445 }
446 /**
447 * A list of API interfaces exported by this service. Only the `name` field
448 * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
449 * the configuration author, as the remaining fields will be derived from the
450 * IDL during the normalization process. It is an error to specify an API
451 * interface here which cannot be resolved against the associated IDL files.
452 *
453 * Generated from protobuf field <code>repeated .google.protobuf.Api apis = 3;</code>
454 * @param array<\Google\Protobuf\Api>|\Google\Protobuf\Internal\RepeatedField $var
455 * @return $this
456 */
457 public function setApis($var)
458 {
459 $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Protobuf\Api::class);
460 $this->apis = $arr;
461 return $this;
462 }
463 /**
464 * A list of all proto message types included in this API service.
465 * Types referenced directly or indirectly by the `apis` are automatically
466 * included. Messages which are not referenced but shall be included, such as
467 * types used by the `google.protobuf.Any` type, should be listed here by
468 * name by the configuration author. Example:
469 * types:
470 * - name: google.protobuf.Int32
471 *
472 * Generated from protobuf field <code>repeated .google.protobuf.Type types = 4;</code>
473 * @return \Google\Protobuf\Internal\RepeatedField
474 */
475 public function getTypes()
476 {
477 return $this->types;
478 }
479 /**
480 * A list of all proto message types included in this API service.
481 * Types referenced directly or indirectly by the `apis` are automatically
482 * included. Messages which are not referenced but shall be included, such as
483 * types used by the `google.protobuf.Any` type, should be listed here by
484 * name by the configuration author. Example:
485 * types:
486 * - name: google.protobuf.Int32
487 *
488 * Generated from protobuf field <code>repeated .google.protobuf.Type types = 4;</code>
489 * @param array<\Google\Protobuf\Type>|\Google\Protobuf\Internal\RepeatedField $var
490 * @return $this
491 */
492 public function setTypes($var)
493 {
494 $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Protobuf\Type::class);
495 $this->types = $arr;
496 return $this;
497 }
498 /**
499 * A list of all enum types included in this API service. Enums referenced
500 * directly or indirectly by the `apis` are automatically included. Enums
501 * which are not referenced but shall be included should be listed here by
502 * name by the configuration author. Example:
503 * enums:
504 * - name: google.someapi.v1.SomeEnum
505 *
506 * Generated from protobuf field <code>repeated .google.protobuf.Enum enums = 5;</code>
507 * @return \Google\Protobuf\Internal\RepeatedField
508 */
509 public function getEnums()
510 {
511 return $this->enums;
512 }
513 /**
514 * A list of all enum types included in this API service. Enums referenced
515 * directly or indirectly by the `apis` are automatically included. Enums
516 * which are not referenced but shall be included should be listed here by
517 * name by the configuration author. Example:
518 * enums:
519 * - name: google.someapi.v1.SomeEnum
520 *
521 * Generated from protobuf field <code>repeated .google.protobuf.Enum enums = 5;</code>
522 * @param array<\Google\Protobuf\Enum>|\Google\Protobuf\Internal\RepeatedField $var
523 * @return $this
524 */
525 public function setEnums($var)
526 {
527 $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Protobuf\Enum::class);
528 $this->enums = $arr;
529 return $this;
530 }
531 /**
532 * Additional API documentation.
533 *
534 * Generated from protobuf field <code>.google.api.Documentation documentation = 6;</code>
535 * @return \Google\Api\Documentation|null
536 */
537 public function getDocumentation()
538 {
539 return $this->documentation;
540 }
541 public function hasDocumentation()
542 {
543 return isset($this->documentation);
544 }
545 public function clearDocumentation()
546 {
547 unset($this->documentation);
548 }
549 /**
550 * Additional API documentation.
551 *
552 * Generated from protobuf field <code>.google.api.Documentation documentation = 6;</code>
553 * @param \Google\Api\Documentation $var
554 * @return $this
555 */
556 public function setDocumentation($var)
557 {
558 GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\Documentation::class);
559 $this->documentation = $var;
560 return $this;
561 }
562 /**
563 * API backend configuration.
564 *
565 * Generated from protobuf field <code>.google.api.Backend backend = 8;</code>
566 * @return \Google\Api\Backend|null
567 */
568 public function getBackend()
569 {
570 return $this->backend;
571 }
572 public function hasBackend()
573 {
574 return isset($this->backend);
575 }
576 public function clearBackend()
577 {
578 unset($this->backend);
579 }
580 /**
581 * API backend configuration.
582 *
583 * Generated from protobuf field <code>.google.api.Backend backend = 8;</code>
584 * @param \Google\Api\Backend $var
585 * @return $this
586 */
587 public function setBackend($var)
588 {
589 GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\Backend::class);
590 $this->backend = $var;
591 return $this;
592 }
593 /**
594 * HTTP configuration.
595 *
596 * Generated from protobuf field <code>.google.api.Http http = 9;</code>
597 * @return \Google\Api\Http|null
598 */
599 public function getHttp()
600 {
601 return $this->http;
602 }
603 public function hasHttp()
604 {
605 return isset($this->http);
606 }
607 public function clearHttp()
608 {
609 unset($this->http);
610 }
611 /**
612 * HTTP configuration.
613 *
614 * Generated from protobuf field <code>.google.api.Http http = 9;</code>
615 * @param \Google\Api\Http $var
616 * @return $this
617 */
618 public function setHttp($var)
619 {
620 GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\Http::class);
621 $this->http = $var;
622 return $this;
623 }
624 /**
625 * Quota configuration.
626 *
627 * Generated from protobuf field <code>.google.api.Quota quota = 10;</code>
628 * @return \Google\Api\Quota|null
629 */
630 public function getQuota()
631 {
632 return $this->quota;
633 }
634 public function hasQuota()
635 {
636 return isset($this->quota);
637 }
638 public function clearQuota()
639 {
640 unset($this->quota);
641 }
642 /**
643 * Quota configuration.
644 *
645 * Generated from protobuf field <code>.google.api.Quota quota = 10;</code>
646 * @param \Google\Api\Quota $var
647 * @return $this
648 */
649 public function setQuota($var)
650 {
651 GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\Quota::class);
652 $this->quota = $var;
653 return $this;
654 }
655 /**
656 * Auth configuration.
657 *
658 * Generated from protobuf field <code>.google.api.Authentication authentication = 11;</code>
659 * @return \Google\Api\Authentication|null
660 */
661 public function getAuthentication()
662 {
663 return $this->authentication;
664 }
665 public function hasAuthentication()
666 {
667 return isset($this->authentication);
668 }
669 public function clearAuthentication()
670 {
671 unset($this->authentication);
672 }
673 /**
674 * Auth configuration.
675 *
676 * Generated from protobuf field <code>.google.api.Authentication authentication = 11;</code>
677 * @param \Google\Api\Authentication $var
678 * @return $this
679 */
680 public function setAuthentication($var)
681 {
682 GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\Authentication::class);
683 $this->authentication = $var;
684 return $this;
685 }
686 /**
687 * Context configuration.
688 *
689 * Generated from protobuf field <code>.google.api.Context context = 12;</code>
690 * @return \Google\Api\Context|null
691 */
692 public function getContext()
693 {
694 return $this->context;
695 }
696 public function hasContext()
697 {
698 return isset($this->context);
699 }
700 public function clearContext()
701 {
702 unset($this->context);
703 }
704 /**
705 * Context configuration.
706 *
707 * Generated from protobuf field <code>.google.api.Context context = 12;</code>
708 * @param \Google\Api\Context $var
709 * @return $this
710 */
711 public function setContext($var)
712 {
713 GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\Context::class);
714 $this->context = $var;
715 return $this;
716 }
717 /**
718 * Configuration controlling usage of this service.
719 *
720 * Generated from protobuf field <code>.google.api.Usage usage = 15;</code>
721 * @return \Google\Api\Usage|null
722 */
723 public function getUsage()
724 {
725 return $this->usage;
726 }
727 public function hasUsage()
728 {
729 return isset($this->usage);
730 }
731 public function clearUsage()
732 {
733 unset($this->usage);
734 }
735 /**
736 * Configuration controlling usage of this service.
737 *
738 * Generated from protobuf field <code>.google.api.Usage usage = 15;</code>
739 * @param \Google\Api\Usage $var
740 * @return $this
741 */
742 public function setUsage($var)
743 {
744 GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\Usage::class);
745 $this->usage = $var;
746 return $this;
747 }
748 /**
749 * Configuration for network endpoints. If this is empty, then an endpoint
750 * with the same name as the service is automatically generated to service all
751 * defined APIs.
752 *
753 * Generated from protobuf field <code>repeated .google.api.Endpoint endpoints = 18;</code>
754 * @return \Google\Protobuf\Internal\RepeatedField
755 */
756 public function getEndpoints()
757 {
758 return $this->endpoints;
759 }
760 /**
761 * Configuration for network endpoints. If this is empty, then an endpoint
762 * with the same name as the service is automatically generated to service all
763 * defined APIs.
764 *
765 * Generated from protobuf field <code>repeated .google.api.Endpoint endpoints = 18;</code>
766 * @param array<\Google\Api\Endpoint>|\Google\Protobuf\Internal\RepeatedField $var
767 * @return $this
768 */
769 public function setEndpoints($var)
770 {
771 $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Api\Endpoint::class);
772 $this->endpoints = $arr;
773 return $this;
774 }
775 /**
776 * Configuration for the service control plane.
777 *
778 * Generated from protobuf field <code>.google.api.Control control = 21;</code>
779 * @return \Google\Api\Control|null
780 */
781 public function getControl()
782 {
783 return $this->control;
784 }
785 public function hasControl()
786 {
787 return isset($this->control);
788 }
789 public function clearControl()
790 {
791 unset($this->control);
792 }
793 /**
794 * Configuration for the service control plane.
795 *
796 * Generated from protobuf field <code>.google.api.Control control = 21;</code>
797 * @param \Google\Api\Control $var
798 * @return $this
799 */
800 public function setControl($var)
801 {
802 GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\Control::class);
803 $this->control = $var;
804 return $this;
805 }
806 /**
807 * Defines the logs used by this service.
808 *
809 * Generated from protobuf field <code>repeated .google.api.LogDescriptor logs = 23;</code>
810 * @return \Google\Protobuf\Internal\RepeatedField
811 */
812 public function getLogs()
813 {
814 return $this->logs;
815 }
816 /**
817 * Defines the logs used by this service.
818 *
819 * Generated from protobuf field <code>repeated .google.api.LogDescriptor logs = 23;</code>
820 * @param array<\Google\Api\LogDescriptor>|\Google\Protobuf\Internal\RepeatedField $var
821 * @return $this
822 */
823 public function setLogs($var)
824 {
825 $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Api\LogDescriptor::class);
826 $this->logs = $arr;
827 return $this;
828 }
829 /**
830 * Defines the metrics used by this service.
831 *
832 * Generated from protobuf field <code>repeated .google.api.MetricDescriptor metrics = 24;</code>
833 * @return \Google\Protobuf\Internal\RepeatedField
834 */
835 public function getMetrics()
836 {
837 return $this->metrics;
838 }
839 /**
840 * Defines the metrics used by this service.
841 *
842 * Generated from protobuf field <code>repeated .google.api.MetricDescriptor metrics = 24;</code>
843 * @param array<\Google\Api\MetricDescriptor>|\Google\Protobuf\Internal\RepeatedField $var
844 * @return $this
845 */
846 public function setMetrics($var)
847 {
848 $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Api\MetricDescriptor::class);
849 $this->metrics = $arr;
850 return $this;
851 }
852 /**
853 * Defines the monitored resources used by this service. This is required
854 * by the [Service.monitoring][google.api.Service.monitoring] and
855 * [Service.logging][google.api.Service.logging] configurations.
856 *
857 * Generated from protobuf field <code>repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;</code>
858 * @return \Google\Protobuf\Internal\RepeatedField
859 */
860 public function getMonitoredResources()
861 {
862 return $this->monitored_resources;
863 }
864 /**
865 * Defines the monitored resources used by this service. This is required
866 * by the [Service.monitoring][google.api.Service.monitoring] and
867 * [Service.logging][google.api.Service.logging] configurations.
868 *
869 * Generated from protobuf field <code>repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;</code>
870 * @param array<\Google\Api\MonitoredResourceDescriptor>|\Google\Protobuf\Internal\RepeatedField $var
871 * @return $this
872 */
873 public function setMonitoredResources($var)
874 {
875 $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Api\MonitoredResourceDescriptor::class);
876 $this->monitored_resources = $arr;
877 return $this;
878 }
879 /**
880 * Billing configuration.
881 *
882 * Generated from protobuf field <code>.google.api.Billing billing = 26;</code>
883 * @return \Google\Api\Billing|null
884 */
885 public function getBilling()
886 {
887 return $this->billing;
888 }
889 public function hasBilling()
890 {
891 return isset($this->billing);
892 }
893 public function clearBilling()
894 {
895 unset($this->billing);
896 }
897 /**
898 * Billing configuration.
899 *
900 * Generated from protobuf field <code>.google.api.Billing billing = 26;</code>
901 * @param \Google\Api\Billing $var
902 * @return $this
903 */
904 public function setBilling($var)
905 {
906 GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\Billing::class);
907 $this->billing = $var;
908 return $this;
909 }
910 /**
911 * Logging configuration.
912 *
913 * Generated from protobuf field <code>.google.api.Logging logging = 27;</code>
914 * @return \Google\Api\Logging|null
915 */
916 public function getLogging()
917 {
918 return $this->logging;
919 }
920 public function hasLogging()
921 {
922 return isset($this->logging);
923 }
924 public function clearLogging()
925 {
926 unset($this->logging);
927 }
928 /**
929 * Logging configuration.
930 *
931 * Generated from protobuf field <code>.google.api.Logging logging = 27;</code>
932 * @param \Google\Api\Logging $var
933 * @return $this
934 */
935 public function setLogging($var)
936 {
937 GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\Logging::class);
938 $this->logging = $var;
939 return $this;
940 }
941 /**
942 * Monitoring configuration.
943 *
944 * Generated from protobuf field <code>.google.api.Monitoring monitoring = 28;</code>
945 * @return \Google\Api\Monitoring|null
946 */
947 public function getMonitoring()
948 {
949 return $this->monitoring;
950 }
951 public function hasMonitoring()
952 {
953 return isset($this->monitoring);
954 }
955 public function clearMonitoring()
956 {
957 unset($this->monitoring);
958 }
959 /**
960 * Monitoring configuration.
961 *
962 * Generated from protobuf field <code>.google.api.Monitoring monitoring = 28;</code>
963 * @param \Google\Api\Monitoring $var
964 * @return $this
965 */
966 public function setMonitoring($var)
967 {
968 GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\Monitoring::class);
969 $this->monitoring = $var;
970 return $this;
971 }
972 /**
973 * System parameter configuration.
974 *
975 * Generated from protobuf field <code>.google.api.SystemParameters system_parameters = 29;</code>
976 * @return \Google\Api\SystemParameters|null
977 */
978 public function getSystemParameters()
979 {
980 return $this->system_parameters;
981 }
982 public function hasSystemParameters()
983 {
984 return isset($this->system_parameters);
985 }
986 public function clearSystemParameters()
987 {
988 unset($this->system_parameters);
989 }
990 /**
991 * System parameter configuration.
992 *
993 * Generated from protobuf field <code>.google.api.SystemParameters system_parameters = 29;</code>
994 * @param \Google\Api\SystemParameters $var
995 * @return $this
996 */
997 public function setSystemParameters($var)
998 {
999 GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\SystemParameters::class);
1000 $this->system_parameters = $var;
1001 return $this;
1002 }
1003 /**
1004 * Output only. The source information for this configuration if available.
1005 *
1006 * Generated from protobuf field <code>.google.api.SourceInfo source_info = 37;</code>
1007 * @return \Google\Api\SourceInfo|null
1008 */
1009 public function getSourceInfo()
1010 {
1011 return $this->source_info;
1012 }
1013 public function hasSourceInfo()
1014 {
1015 return isset($this->source_info);
1016 }
1017 public function clearSourceInfo()
1018 {
1019 unset($this->source_info);
1020 }
1021 /**
1022 * Output only. The source information for this configuration if available.
1023 *
1024 * Generated from protobuf field <code>.google.api.SourceInfo source_info = 37;</code>
1025 * @param \Google\Api\SourceInfo $var
1026 * @return $this
1027 */
1028 public function setSourceInfo($var)
1029 {
1030 GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\SourceInfo::class);
1031 $this->source_info = $var;
1032 return $this;
1033 }
1034 /**
1035 * Settings for [Google Cloud Client
1036 * libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
1037 * generated from APIs defined as protocol buffers.
1038 *
1039 * Generated from protobuf field <code>.google.api.Publishing publishing = 45;</code>
1040 * @return \Google\Api\Publishing|null
1041 */
1042 public function getPublishing()
1043 {
1044 return $this->publishing;
1045 }
1046 public function hasPublishing()
1047 {
1048 return isset($this->publishing);
1049 }
1050 public function clearPublishing()
1051 {
1052 unset($this->publishing);
1053 }
1054 /**
1055 * Settings for [Google Cloud Client
1056 * libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
1057 * generated from APIs defined as protocol buffers.
1058 *
1059 * Generated from protobuf field <code>.google.api.Publishing publishing = 45;</code>
1060 * @param \Google\Api\Publishing $var
1061 * @return $this
1062 */
1063 public function setPublishing($var)
1064 {
1065 GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\Publishing::class);
1066 $this->publishing = $var;
1067 return $this;
1068 }
1069 /**
1070 * Obsolete. Do not use.
1071 * This field has no semantic meaning. The service config compiler always
1072 * sets this field to `3`.
1073 *
1074 * Generated from protobuf field <code>.google.protobuf.UInt32Value config_version = 20;</code>
1075 * @return \Google\Protobuf\UInt32Value|null
1076 */
1077 public function getConfigVersion()
1078 {
1079 return $this->config_version;
1080 }
1081 public function hasConfigVersion()
1082 {
1083 return isset($this->config_version);
1084 }
1085 public function clearConfigVersion()
1086 {
1087 unset($this->config_version);
1088 }
1089 /**
1090 * Returns the unboxed value from <code>getConfigVersion()</code>
1091 * Obsolete. Do not use.
1092 * This field has no semantic meaning. The service config compiler always
1093 * sets this field to `3`.
1094 *
1095 * Generated from protobuf field <code>.google.protobuf.UInt32Value config_version = 20;</code>
1096 * @return int|null
1097 */
1098 public function getConfigVersionUnwrapped()
1099 {
1100 return $this->readWrapperValue("config_version");
1101 }
1102 /**
1103 * Obsolete. Do not use.
1104 * This field has no semantic meaning. The service config compiler always
1105 * sets this field to `3`.
1106 *
1107 * Generated from protobuf field <code>.google.protobuf.UInt32Value config_version = 20;</code>
1108 * @param \Google\Protobuf\UInt32Value $var
1109 * @return $this
1110 */
1111 public function setConfigVersion($var)
1112 {
1113 GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Protobuf\UInt32Value::class);
1114 $this->config_version = $var;
1115 return $this;
1116 }
1117 /**
1118 * Sets the field by wrapping a primitive type in a Google\Protobuf\UInt32Value object.
1119 * Obsolete. Do not use.
1120 * This field has no semantic meaning. The service config compiler always
1121 * sets this field to `3`.
1122 *
1123 * Generated from protobuf field <code>.google.protobuf.UInt32Value config_version = 20;</code>
1124 * @param int|null $var
1125 * @return $this
1126 */
1127 public function setConfigVersionUnwrapped($var)
1128 {
1129 $this->writeWrapperValue("config_version", $var);
1130 return $this;
1131 }
1132 }
1133