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/Service.php +49 -49 1.2.3 → 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/service.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 * `Service` is the root object of Google API service configuration (service
12 12 * config). It describes the basic information about a logical service,
13 13 * such as the service name and the user-facing title, and delegates other
@@ -39,9 +39,9 @@
39 39 * provider_id: google_calendar_auth
40 40 *
41 41 * Generated from protobuf message <code>google.api.Service</code>
42 42 */
43 -class Service extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message
43 +class Service extends \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\Message
44 44 {
45 45 /**
46 46 * The service name, which is a DNS-like logical identifier for the
47 47 * service, such as `calendar.googleapis.com`. The service name
@@ -248,15 +248,15 @@
248 248 * A unique ID for a specific instance of this message, typically assigned
249 249 * by the client for tracking purpose. Must be no longer than 63 characters
250 250 * and only lower case letters, digits, '.', '_' and '-' are allowed. If
251 251 * empty, the server may choose to generate one instead.
252 - * @type array<\Google\Protobuf\Api>|\Google\Protobuf\Internal\RepeatedField $apis
252 + * @type \Google\Protobuf\Api[] $apis
253 253 * A list of API interfaces exported by this service. Only the `name` field
254 254 * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
255 255 * the configuration author, as the remaining fields will be derived from the
256 256 * IDL during the normalization process. It is an error to specify an API
257 257 * interface here which cannot be resolved against the associated IDL files.
258 - * @type array<\Google\Protobuf\Type>|\Google\Protobuf\Internal\RepeatedField $types
258 + * @type \Google\Protobuf\Type[] $types
259 259 * A list of all proto message types included in this API service.
260 260 * Types referenced directly or indirectly by the `apis` are automatically
261 261 * included. Messages which are not referenced but shall be included, such as
262 262 * types used by the `google.protobuf.Any` type, should be listed here by
@@ -262,9 +262,9 @@
262 262 * types used by the `google.protobuf.Any` type, should be listed here by
263 263 * name by the configuration author. Example:
264 264 * types:
265 265 * - name: google.protobuf.Int32
266 - * @type array<\Google\Protobuf\Enum>|\Google\Protobuf\Internal\RepeatedField $enums
266 + * @type \Google\Protobuf\Enum[] $enums
267 267 * A list of all enum types included in this API service. Enums referenced
268 268 * directly or indirectly by the `apis` are automatically included. Enums
269 269 * which are not referenced but shall be included should be listed here by
270 270 * name by the configuration author. Example:
@@ -283,19 +283,19 @@
283 283 * @type \Google\Api\Context $context
284 284 * Context configuration.
285 285 * @type \Google\Api\Usage $usage
286 286 * Configuration controlling usage of this service.
287 - * @type array<\Google\Api\Endpoint>|\Google\Protobuf\Internal\RepeatedField $endpoints
287 + * @type \Google\Api\Endpoint[] $endpoints
288 288 * Configuration for network endpoints. If this is empty, then an endpoint
289 289 * with the same name as the service is automatically generated to service all
290 290 * defined APIs.
291 291 * @type \Google\Api\Control $control
292 292 * Configuration for the service control plane.
293 - * @type array<\Google\Api\LogDescriptor>|\Google\Protobuf\Internal\RepeatedField $logs
293 + * @type \Google\Api\LogDescriptor[] $logs
294 294 * Defines the logs used by this service.
295 - * @type array<\Google\Api\MetricDescriptor>|\Google\Protobuf\Internal\RepeatedField $metrics
295 + * @type \Google\Api\MetricDescriptor[] $metrics
296 296 * Defines the metrics used by this service.
297 - * @type array<\Google\Api\MonitoredResourceDescriptor>|\Google\Protobuf\Internal\RepeatedField $monitored_resources
297 + * @type \Google\Api\MonitoredResourceDescriptor[] $monitored_resources
298 298 * Defines the monitored resources used by this service. This is required
299 299 * by the [Service.monitoring][google.api.Service.monitoring] and
300 300 * [Service.logging][google.api.Service.logging] configurations.
301 301 * @type \Google\Api\Billing $billing
@@ -319,9 +319,9 @@
319 319 * }
320 320 */
321 321 public function __construct($data = NULL)
322 322 {
323 - \Dudlewebs\WPMCS\GPBMetadata\Google\Api\Service::initOnce();
323 + \Dudlewebs\WPMCS\GCP\GPBMetadata\Google\Api\Service::initOnce();
324 324 parent::__construct($data);
325 325 }
326 326 /**
327 327 * The service name, which is a DNS-like logical identifier for the
@@ -436,9 +436,9 @@
436 436 * IDL during the normalization process. It is an error to specify an API
437 437 * interface here which cannot be resolved against the associated IDL files.
438 438 *
439 439 * Generated from protobuf field <code>repeated .google.protobuf.Api apis = 3;</code>
440 - * @return \Google\Protobuf\Internal\RepeatedField
440 + * @return RepeatedField<\Google\Protobuf\Api>
441 441 */
442 442 public function getApis()
443 443 {
444 444 return $this->apis;
@@ -450,14 +450,14 @@
450 450 * IDL during the normalization process. It is an error to specify an API
451 451 * interface here which cannot be resolved against the associated IDL files.
452 452 *
453 453 * Generated from protobuf field <code>repeated .google.protobuf.Api apis = 3;</code>
454 - * @param array<\Google\Protobuf\Api>|\Google\Protobuf\Internal\RepeatedField $var
454 + * @param \Google\Protobuf\Api[] $var
455 455 * @return $this
456 456 */
457 457 public function setApis($var)
458 458 {
459 - $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Protobuf\Api::class);
459 + $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Api::class);
460 460 $this->apis = $arr;
461 461 return $this;
462 462 }
463 463 /**
@@ -469,9 +469,9 @@
469 469 * types:
470 470 * - name: google.protobuf.Int32
471 471 *
472 472 * Generated from protobuf field <code>repeated .google.protobuf.Type types = 4;</code>
473 - * @return \Google\Protobuf\Internal\RepeatedField
473 + * @return RepeatedField<\Google\Protobuf\Type>
474 474 */
475 475 public function getTypes()
476 476 {
477 477 return $this->types;
@@ -485,14 +485,14 @@
485 485 * types:
486 486 * - name: google.protobuf.Int32
487 487 *
488 488 * Generated from protobuf field <code>repeated .google.protobuf.Type types = 4;</code>
489 - * @param array<\Google\Protobuf\Type>|\Google\Protobuf\Internal\RepeatedField $var
489 + * @param \Google\Protobuf\Type[] $var
490 490 * @return $this
491 491 */
492 492 public function setTypes($var)
493 493 {
494 - $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Protobuf\Type::class);
494 + $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Type::class);
495 495 $this->types = $arr;
496 496 return $this;
497 497 }
498 498 /**
@@ -503,9 +503,9 @@
503 503 * enums:
504 504 * - name: google.someapi.v1.SomeEnum
505 505 *
506 506 * Generated from protobuf field <code>repeated .google.protobuf.Enum enums = 5;</code>
507 - * @return \Google\Protobuf\Internal\RepeatedField
507 + * @return RepeatedField<\Google\Protobuf\Enum>
508 508 */
509 509 public function getEnums()
510 510 {
511 511 return $this->enums;
@@ -518,14 +518,14 @@
518 518 * enums:
519 519 * - name: google.someapi.v1.SomeEnum
520 520 *
521 521 * Generated from protobuf field <code>repeated .google.protobuf.Enum enums = 5;</code>
522 - * @param array<\Google\Protobuf\Enum>|\Google\Protobuf\Internal\RepeatedField $var
522 + * @param \Google\Protobuf\Enum[] $var
523 523 * @return $this
524 524 */
525 525 public function setEnums($var)
526 526 {
527 - $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Protobuf\Enum::class);
527 + $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Enum::class);
528 528 $this->enums = $arr;
529 529 return $this;
530 530 }
531 531 /**
@@ -554,9 +554,9 @@
554 554 * @return $this
555 555 */
556 556 public function setDocumentation($var)
557 557 {
558 - GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\Documentation::class);
558 + GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\GCP\Google\Api\Documentation::class);
559 559 $this->documentation = $var;
560 560 return $this;
561 561 }
562 562 /**
@@ -585,9 +585,9 @@
585 585 * @return $this
586 586 */
587 587 public function setBackend($var)
588 588 {
589 - GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\Backend::class);
589 + GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\GCP\Google\Api\Backend::class);
590 590 $this->backend = $var;
591 591 return $this;
592 592 }
593 593 /**
@@ -616,9 +616,9 @@
616 616 * @return $this
617 617 */
618 618 public function setHttp($var)
619 619 {
620 - GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\Http::class);
620 + GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\GCP\Google\Api\Http::class);
621 621 $this->http = $var;
622 622 return $this;
623 623 }
624 624 /**
@@ -647,9 +647,9 @@
647 647 * @return $this
648 648 */
649 649 public function setQuota($var)
650 650 {
651 - GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\Quota::class);
651 + GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\GCP\Google\Api\Quota::class);
652 652 $this->quota = $var;
653 653 return $this;
654 654 }
655 655 /**
@@ -678,9 +678,9 @@
678 678 * @return $this
679 679 */
680 680 public function setAuthentication($var)
681 681 {
682 - GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\Authentication::class);
682 + GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\GCP\Google\Api\Authentication::class);
683 683 $this->authentication = $var;
684 684 return $this;
685 685 }
686 686 /**
@@ -709,9 +709,9 @@
709 709 * @return $this
710 710 */
711 711 public function setContext($var)
712 712 {
713 - GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\Context::class);
713 + GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\GCP\Google\Api\Context::class);
714 714 $this->context = $var;
715 715 return $this;
716 716 }
717 717 /**
@@ -740,9 +740,9 @@
740 740 * @return $this
741 741 */
742 742 public function setUsage($var)
743 743 {
744 - GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\Usage::class);
744 + GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\GCP\Google\Api\Usage::class);
745 745 $this->usage = $var;
746 746 return $this;
747 747 }
748 748 /**
@@ -750,9 +750,9 @@
750 750 * with the same name as the service is automatically generated to service all
751 751 * defined APIs.
752 752 *
753 753 * Generated from protobuf field <code>repeated .google.api.Endpoint endpoints = 18;</code>
754 - * @return \Google\Protobuf\Internal\RepeatedField
754 + * @return RepeatedField<\Google\Api\Endpoint>
755 755 */
756 756 public function getEndpoints()
757 757 {
758 758 return $this->endpoints;
@@ -762,14 +762,14 @@
762 762 * with the same name as the service is automatically generated to service all
763 763 * defined APIs.
764 764 *
765 765 * Generated from protobuf field <code>repeated .google.api.Endpoint endpoints = 18;</code>
766 - * @param array<\Google\Api\Endpoint>|\Google\Protobuf\Internal\RepeatedField $var
766 + * @param \Google\Api\Endpoint[] $var
767 767 * @return $this
768 768 */
769 769 public function setEndpoints($var)
770 770 {
771 - $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Api\Endpoint::class);
771 + $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\GCP\Google\Api\Endpoint::class);
772 772 $this->endpoints = $arr;
773 773 return $this;
774 774 }
775 775 /**
@@ -798,9 +798,9 @@
798 798 * @return $this
799 799 */
800 800 public function setControl($var)
801 801 {
802 - GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\Control::class);
802 + GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\GCP\Google\Api\Control::class);
803 803 $this->control = $var;
804 804 return $this;
805 805 }
806 806 /**
@@ -806,9 +806,9 @@
806 806 /**
807 807 * Defines the logs used by this service.
808 808 *
809 809 * Generated from protobuf field <code>repeated .google.api.LogDescriptor logs = 23;</code>
810 - * @return \Google\Protobuf\Internal\RepeatedField
810 + * @return RepeatedField<\Google\Api\LogDescriptor>
811 811 */
812 812 public function getLogs()
813 813 {
814 814 return $this->logs;
@@ -816,14 +816,14 @@
816 816 /**
817 817 * Defines the logs used by this service.
818 818 *
819 819 * Generated from protobuf field <code>repeated .google.api.LogDescriptor logs = 23;</code>
820 - * @param array<\Google\Api\LogDescriptor>|\Google\Protobuf\Internal\RepeatedField $var
820 + * @param \Google\Api\LogDescriptor[] $var
821 821 * @return $this
822 822 */
823 823 public function setLogs($var)
824 824 {
825 - $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Api\LogDescriptor::class);
825 + $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\GCP\Google\Api\LogDescriptor::class);
826 826 $this->logs = $arr;
827 827 return $this;
828 828 }
829 829 /**
@@ -829,9 +829,9 @@
829 829 /**
830 830 * Defines the metrics used by this service.
831 831 *
832 832 * Generated from protobuf field <code>repeated .google.api.MetricDescriptor metrics = 24;</code>
833 - * @return \Google\Protobuf\Internal\RepeatedField
833 + * @return RepeatedField<\Google\Api\MetricDescriptor>
834 834 */
835 835 public function getMetrics()
836 836 {
837 837 return $this->metrics;
@@ -839,14 +839,14 @@
839 839 /**
840 840 * Defines the metrics used by this service.
841 841 *
842 842 * Generated from protobuf field <code>repeated .google.api.MetricDescriptor metrics = 24;</code>
843 - * @param array<\Google\Api\MetricDescriptor>|\Google\Protobuf\Internal\RepeatedField $var
843 + * @param \Google\Api\MetricDescriptor[] $var
844 844 * @return $this
845 845 */
846 846 public function setMetrics($var)
847 847 {
848 - $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Api\MetricDescriptor::class);
848 + $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\GCP\Google\Api\MetricDescriptor::class);
849 849 $this->metrics = $arr;
850 850 return $this;
851 851 }
852 852 /**
@@ -854,9 +854,9 @@
854 854 * by the [Service.monitoring][google.api.Service.monitoring] and
855 855 * [Service.logging][google.api.Service.logging] configurations.
856 856 *
857 857 * Generated from protobuf field <code>repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;</code>
858 - * @return \Google\Protobuf\Internal\RepeatedField
858 + * @return RepeatedField<\Google\Api\MonitoredResourceDescriptor>
859 859 */
860 860 public function getMonitoredResources()
861 861 {
862 862 return $this->monitored_resources;
@@ -866,14 +866,14 @@
866 866 * by the [Service.monitoring][google.api.Service.monitoring] and
867 867 * [Service.logging][google.api.Service.logging] configurations.
868 868 *
869 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
870 + * @param \Google\Api\MonitoredResourceDescriptor[] $var
871 871 * @return $this
872 872 */
873 873 public function setMonitoredResources($var)
874 874 {
875 - $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Api\MonitoredResourceDescriptor::class);
875 + $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\GCP\Google\Api\MonitoredResourceDescriptor::class);
876 876 $this->monitored_resources = $arr;
877 877 return $this;
878 878 }
879 879 /**
@@ -902,9 +902,9 @@
902 902 * @return $this
903 903 */
904 904 public function setBilling($var)
905 905 {
906 - GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\Billing::class);
906 + GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\GCP\Google\Api\Billing::class);
907 907 $this->billing = $var;
908 908 return $this;
909 909 }
910 910 /**
@@ -933,9 +933,9 @@
933 933 * @return $this
934 934 */
935 935 public function setLogging($var)
936 936 {
937 - GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\Logging::class);
937 + GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\GCP\Google\Api\Logging::class);
938 938 $this->logging = $var;
939 939 return $this;
940 940 }
941 941 /**
@@ -964,9 +964,9 @@
964 964 * @return $this
965 965 */
966 966 public function setMonitoring($var)
967 967 {
968 - GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\Monitoring::class);
968 + GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\GCP\Google\Api\Monitoring::class);
969 969 $this->monitoring = $var;
970 970 return $this;
971 971 }
972 972 /**
@@ -995,9 +995,9 @@
995 995 * @return $this
996 996 */
997 997 public function setSystemParameters($var)
998 998 {
999 - GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\SystemParameters::class);
999 + GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\GCP\Google\Api\SystemParameters::class);
1000 1000 $this->system_parameters = $var;
1001 1001 return $this;
1002 1002 }
1003 1003 /**
@@ -1026,9 +1026,9 @@
1026 1026 * @return $this
1027 1027 */
1028 1028 public function setSourceInfo($var)
1029 1029 {
1030 - GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\SourceInfo::class);
1030 + GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\GCP\Google\Api\SourceInfo::class);
1031 1031 $this->source_info = $var;
1032 1032 return $this;
1033 1033 }
1034 1034 /**
@@ -1061,9 +1061,9 @@
1061 1061 * @return $this
1062 1062 */
1063 1063 public function setPublishing($var)
1064 1064 {
1065 - GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\Publishing::class);
1065 + GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\GCP\Google\Api\Publishing::class);
1066 1066 $this->publishing = $var;
1067 1067 return $this;
1068 1068 }
1069 1069 /**
@@ -1109,9 +1109,9 @@
1109 1109 * @return $this
1110 1110 */
1111 1111 public function setConfigVersion($var)
1112 1112 {
1113 - GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Protobuf\UInt32Value::class);
1113 + GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\UInt32Value::class);
1114 1114 $this->config_version = $var;
1115 1115 return $this;
1116 1116 }
1117 1117 /**