feat: add S3-compatible storage provider (MinIO, Ceph, R2, etc.)
Adds a new 'S3-Compatible Storage' provider that works with any
S3-API-compatible object storage service, including MinIO, Ceph,
Cloudflare R2, Backblaze B2, and others.
Changes:
- New provider class: classes/providers/storage/s3-compatible-provider.php
- Provider key: s3compatible
- Reads user-configured endpoint URL from settings
- Uses path-style URL access (required by most S3-compatible services)
- Supports credentials via AS3CF_S3COMPAT_ACCESS_KEY_ID /
AS3CF_S3COMPAT_SECRET_ACCESS_KEY wp-config.php constants
- Disables AWS-specific features (Block Public Access, Object Ownership)
- New provider SVG icons (s3compatible.svg, -link.svg, -round.svg)
- Registered provider in main plugin class with endpoint setting support
- Updated StorageProviderSubPage to show endpoint URL input for S3-compatible
- Built pro settings bundle with rollup (Svelte 4.2.19)
- Added package.json and updated rollup.config.mjs for pro-only builds
This commit is contained in:
87
vendor/Gcp/google/common-protos/CHANGELOG.md
vendored
Normal file
87
vendor/Gcp/google/common-protos/CHANGELOG.md
vendored
Normal file
@@ -0,0 +1,87 @@
|
||||
# Changelog
|
||||
|
||||
## [4.5.0](https://github.com/googleapis/common-protos-php/compare/v4.4.0...v4.5.0) (2023-11-29)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* Add auto_populated_fields to google.api.MethodSettings ([#74](https://github.com/googleapis/common-protos-php/issues/74)) ([d739417](https://github.com/googleapis/common-protos-php/commit/d7394176eb95f0e92af4e93746dba8f515ba9bc2))
|
||||
|
||||
## [4.4.0](https://github.com/googleapis/common-protos-php/compare/v4.3.0...v4.4.0) (2023-10-02)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* Public google.api.FieldInfo type and extension ([#71](https://github.com/googleapis/common-protos-php/issues/71)) ([4002074](https://github.com/googleapis/common-protos-php/commit/40020744c65e7561dec08e1cd2994afcc51ec771))
|
||||
|
||||
## [4.3.0](https://github.com/googleapis/common-protos-php/compare/v4.2.0...v4.3.0) (2023-08-22)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* Add new FieldBehavior value IDENTIFIER ([#67](https://github.com/googleapis/common-protos-php/issues/67)) ([6c6c21f](https://github.com/googleapis/common-protos-php/commit/6c6c21fc4a2f4711aeddad11082ed17acaf4733c))
|
||||
|
||||
## [4.2.0](https://github.com/googleapis/common-protos-php/compare/v4.1.0...v4.2.0) (2023-07-25)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* Add a proto message to describe the `resource_type` and `resource_permission` for an API method ([#64](https://github.com/googleapis/common-protos-php/issues/64)) ([8a0ff5f](https://github.com/googleapis/common-protos-php/commit/8a0ff5f9ffcf3683fc4718e85e97f45a001a1925))
|
||||
|
||||
## [4.1.0](https://github.com/googleapis/common-protos-php/compare/v4.0.0...v4.1.0) (2023-05-06)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* Add ConfigServiceV2.CreateBucketAsync method for creating Log Buckets asynchronously ([b18d554](https://github.com/googleapis/common-protos-php/commit/b18d55421cbe1e55d62b5d149e56be23db8c4286))
|
||||
* Add ConfigServiceV2.CreateLink method for creating linked datasets for Log Analytics Buckets ([b18d554](https://github.com/googleapis/common-protos-php/commit/b18d55421cbe1e55d62b5d149e56be23db8c4286))
|
||||
* Add ConfigServiceV2.DeleteLink method for deleting linked datasets ([b18d554](https://github.com/googleapis/common-protos-php/commit/b18d55421cbe1e55d62b5d149e56be23db8c4286))
|
||||
* Add ConfigServiceV2.GetLink methods for describing linked datasets ([b18d554](https://github.com/googleapis/common-protos-php/commit/b18d55421cbe1e55d62b5d149e56be23db8c4286))
|
||||
* Add ConfigServiceV2.ListLinks method for listing linked datasets ([b18d554](https://github.com/googleapis/common-protos-php/commit/b18d55421cbe1e55d62b5d149e56be23db8c4286))
|
||||
* Add ConfigServiceV2.UpdateBucketAsync method for creating Log Buckets asynchronously ([b18d554](https://github.com/googleapis/common-protos-php/commit/b18d55421cbe1e55d62b5d149e56be23db8c4286))
|
||||
* Add LogBucket.analytics_enabled field that specifies whether Log Bucket's Analytics features are enabled ([b18d554](https://github.com/googleapis/common-protos-php/commit/b18d55421cbe1e55d62b5d149e56be23db8c4286))
|
||||
* Add LogBucket.index_configs field that contains a list of Log Bucket's indexed fields and related configuration data ([b18d554](https://github.com/googleapis/common-protos-php/commit/b18d55421cbe1e55d62b5d149e56be23db8c4286))
|
||||
* Log Analytics features of the Cloud Logging API ([#60](https://github.com/googleapis/common-protos-php/issues/60)) ([b18d554](https://github.com/googleapis/common-protos-php/commit/b18d55421cbe1e55d62b5d149e56be23db8c4286))
|
||||
|
||||
## [4.0.0](https://github.com/googleapis/common-protos-php/compare/v3.2.0...v4.0.0) (2023-05-01)
|
||||
|
||||
|
||||
### ⚠ BREAKING CHANGES
|
||||
|
||||
* remove files unknown to owlbot ([#59](https://github.com/googleapis/common-protos-php/issues/59))
|
||||
* add owlbot automated updates ([#54](https://github.com/googleapis/common-protos-php/issues/54))
|
||||
|
||||
### Features
|
||||
|
||||
* Add owlbot automated updates ([#54](https://github.com/googleapis/common-protos-php/issues/54)) ([6d9134d](https://github.com/googleapis/common-protos-php/commit/6d9134d2f927e9c4aa3165e823477e25ef8ff38f))
|
||||
* Regenerate all common protos from new owlbot config ([#58](https://github.com/googleapis/common-protos-php/issues/58)) ([5dac653](https://github.com/googleapis/common-protos-php/commit/5dac653bdd60c4dbaec45e73e0ec487e5aeac9b1))
|
||||
|
||||
|
||||
### Miscellaneous Chores
|
||||
|
||||
* Remove files unknown to owlbot ([#59](https://github.com/googleapis/common-protos-php/issues/59)) ([f541342](https://github.com/googleapis/common-protos-php/commit/f54134263a142e278c56f5e03e5a3d8c6f72aac3))
|
||||
|
||||
## [3.2.0](https://github.com/googleapis/common-protos-php/compare/v3.1.0...v3.2.0) (2023-01-12)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* Refresh types ([#49](https://github.com/googleapis/common-protos-php/issues/49)) ([bd71fc0](https://github.com/googleapis/common-protos-php/commit/bd71fc05cbca1ccd94b71a42c227f0d69c688f07))
|
||||
|
||||
## [3.1.0](https://github.com/googleapis/common-protos-php/compare/v3.0.0...v3.1.0) (2022-10-05)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* Make autoloader more efficient ([#45](https://github.com/googleapis/common-protos-php/issues/45)) ([cdff58a](https://github.com/googleapis/common-protos-php/commit/cdff58a3ff6c42e461f18f14c0bbd8e171456924))
|
||||
|
||||
## [3.0.0](https://github.com/googleapis/common-protos-php/compare/2.1.0...v3.0.0) (2022-07-29)
|
||||
|
||||
|
||||
### ⚠ BREAKING CHANGES
|
||||
|
||||
* remove longrunning classes from common protos (#41)
|
||||
|
||||
### Miscellaneous Chores
|
||||
|
||||
* remove longrunning classes from common protos ([#41](https://github.com/googleapis/common-protos-php/issues/41)) ([e88dd1d](https://github.com/googleapis/common-protos-php/commit/e88dd1d5dfef93358dc0bd7f3d62d09bbfd750b6))
|
||||
43
vendor/Gcp/google/common-protos/CODE_OF_CONDUCT.md
vendored
Normal file
43
vendor/Gcp/google/common-protos/CODE_OF_CONDUCT.md
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
# Contributor Code of Conduct
|
||||
|
||||
As contributors and maintainers of this project,
|
||||
and in the interest of fostering an open and welcoming community,
|
||||
we pledge to respect all people who contribute through reporting issues,
|
||||
posting feature requests, updating documentation,
|
||||
submitting pull requests or patches, and other activities.
|
||||
|
||||
We are committed to making participation in this project
|
||||
a harassment-free experience for everyone,
|
||||
regardless of level of experience, gender, gender identity and expression,
|
||||
sexual orientation, disability, personal appearance,
|
||||
body size, race, ethnicity, age, religion, or nationality.
|
||||
|
||||
Examples of unacceptable behavior by participants include:
|
||||
|
||||
* The use of sexualized language or imagery
|
||||
* Personal attacks
|
||||
* Trolling or insulting/derogatory comments
|
||||
* Public or private harassment
|
||||
* Publishing other's private information,
|
||||
such as physical or electronic
|
||||
addresses, without explicit permission
|
||||
* Other unethical or unprofessional conduct.
|
||||
|
||||
Project maintainers have the right and responsibility to remove, edit, or reject
|
||||
comments, commits, code, wiki edits, issues, and other contributions
|
||||
that are not aligned to this Code of Conduct.
|
||||
By adopting this Code of Conduct,
|
||||
project maintainers commit themselves to fairly and consistently
|
||||
applying these principles to every aspect of managing this project.
|
||||
Project maintainers who do not follow or enforce the Code of Conduct
|
||||
may be permanently removed from the project team.
|
||||
|
||||
This code of conduct applies both within project spaces and in public spaces
|
||||
when an individual is representing the project or its community.
|
||||
|
||||
Instances of abusive, harassing, or otherwise unacceptable behavior
|
||||
may be reported by opening an issue
|
||||
or contacting one or more of the project maintainers.
|
||||
|
||||
This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.2.0,
|
||||
available at [http://contributor-covenant.org/version/1/2/0/](http://contributor-covenant.org/version/1/2/0/)
|
||||
201
vendor/Gcp/google/common-protos/LICENSE
vendored
Normal file
201
vendor/Gcp/google/common-protos/LICENSE
vendored
Normal file
@@ -0,0 +1,201 @@
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
7
vendor/Gcp/google/common-protos/SECURITY.md
vendored
Normal file
7
vendor/Gcp/google/common-protos/SECURITY.md
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
# Security Policy
|
||||
|
||||
To report a security issue, please use [g.co/vulnz](https://g.co/vulnz).
|
||||
|
||||
The Google Security Team will respond within 5 working days of your report on g.co/vulnz.
|
||||
|
||||
We use g.co/vulnz for our intake, and do coordination and disclosure here using GitHub Security Advisory to privately discuss and fix the issue.
|
||||
24
vendor/Gcp/google/common-protos/metadata/Api/Annotations.php
vendored
Normal file
24
vendor/Gcp/google/common-protos/metadata/Api/Annotations.php
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/annotations.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api;
|
||||
|
||||
class Annotations
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Http::initOnce();
|
||||
$pool->internalAddGeneratedFile('
|
||||
Ä
|
||||
google/api/annotations.proto
|
||||
google.api google/protobuf/descriptor.protoBn
|
||||
com.google.apiBAnnotationsProtoPZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations¢GAPIbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
}
|
||||
BIN
vendor/Gcp/google/common-protos/metadata/Api/Auth.php
vendored
Normal file
BIN
vendor/Gcp/google/common-protos/metadata/Api/Auth.php
vendored
Normal file
Binary file not shown.
BIN
vendor/Gcp/google/common-protos/metadata/Api/Backend.php
vendored
Normal file
BIN
vendor/Gcp/google/common-protos/metadata/Api/Backend.php
vendored
Normal file
Binary file not shown.
28
vendor/Gcp/google/common-protos/metadata/Api/Billing.php
vendored
Normal file
28
vendor/Gcp/google/common-protos/metadata/Api/Billing.php
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/billing.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api;
|
||||
|
||||
class Billing
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
$pool->internalAddGeneratedFile('
|
||||
´
|
||||
google/api/billing.proto
|
||||
google.api"“
|
||||
BillingE
|
||||
consumer_destinations (2&.google.api.Billing.BillingDestinationA
|
||||
BillingDestination
|
||||
monitored_resource (
|
||||
metrics ( Bn
|
||||
com.google.apiBBillingProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig¢GAPIbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
}
|
||||
BIN
vendor/Gcp/google/common-protos/metadata/Api/Client.php
vendored
Normal file
BIN
vendor/Gcp/google/common-protos/metadata/Api/Client.php
vendored
Normal file
Binary file not shown.
BIN
vendor/Gcp/google/common-protos/metadata/Api/ConfigChange.php
vendored
Normal file
BIN
vendor/Gcp/google/common-protos/metadata/Api/ConfigChange.php
vendored
Normal file
Binary file not shown.
BIN
vendor/Gcp/google/common-protos/metadata/Api/Consumer.php
vendored
Normal file
BIN
vendor/Gcp/google/common-protos/metadata/Api/Consumer.php
vendored
Normal file
Binary file not shown.
31
vendor/Gcp/google/common-protos/metadata/Api/Context.php
vendored
Normal file
31
vendor/Gcp/google/common-protos/metadata/Api/Context.php
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/context.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api;
|
||||
|
||||
class Context
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
$pool->internalAddGeneratedFile('
|
||||
á
|
||||
google/api/context.proto
|
||||
google.api"1
|
||||
Context&
|
||||
rules (2.google.api.ContextRule"<22>
|
||||
ContextRule
|
||||
selector (
|
||||
requested (
|
||||
provided ( "
|
||||
allowed_request_extensions ( #
|
||||
allowed_response_extensions ( Bn
|
||||
com.google.apiBContextProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig¢GAPIbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
}
|
||||
27
vendor/Gcp/google/common-protos/metadata/Api/Control.php
vendored
Normal file
27
vendor/Gcp/google/common-protos/metadata/Api/Control.php
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/control.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api;
|
||||
|
||||
class Control
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Policy::initOnce();
|
||||
$pool->internalAddGeneratedFile('
|
||||
ñ
|
||||
google/api/control.proto
|
||||
google.api"Q
|
||||
Control
|
||||
environment ( 1
|
||||
method_policies (2.google.api.MethodPolicyBn
|
||||
com.google.apiBControlProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig¢GAPIbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
}
|
||||
BIN
vendor/Gcp/google/common-protos/metadata/Api/Distribution.php
vendored
Normal file
BIN
vendor/Gcp/google/common-protos/metadata/Api/Distribution.php
vendored
Normal file
Binary file not shown.
38
vendor/Gcp/google/common-protos/metadata/Api/Documentation.php
vendored
Normal file
38
vendor/Gcp/google/common-protos/metadata/Api/Documentation.php
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/documentation.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api;
|
||||
|
||||
class Documentation
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
$pool->internalAddGeneratedFile('
|
||||
<EFBFBD>
|
||||
google/api/documentation.proto
|
||||
google.api"»
|
||||
|
||||
Documentation
|
||||
summary (
|
||||
pages (2.google.api.Page,
|
||||
rules (2.google.api.DocumentationRule
|
||||
documentation_root_url (
|
||||
service_root_url (
|
||||
overview ( "[
|
||||
DocumentationRule
|
||||
selector (
|
||||
description (
|
||||
deprecation_description ( "I
|
||||
Page
|
||||
name (
|
||||
content ( "
|
||||
subpages (2.google.api.PageBt
|
||||
com.google.apiBDocumentationProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig¢GAPIbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
29
vendor/Gcp/google/common-protos/metadata/Api/Endpoint.php
vendored
Normal file
29
vendor/Gcp/google/common-protos/metadata/Api/Endpoint.php
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/endpoint.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api;
|
||||
|
||||
class Endpoint
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
$pool->internalAddGeneratedFile('
|
||||
ó
|
||||
google/api/endpoint.proto
|
||||
google.api"Q
|
||||
Endpoint
|
||||
name (
|
||||
aliases ( B
|
||||
targete (
|
||||
|
||||
allow_cors (Bo
|
||||
com.google.apiB
|
||||
EndpointProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig¢GAPIbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
BIN
vendor/Gcp/google/common-protos/metadata/Api/ErrorReason.php
vendored
Normal file
BIN
vendor/Gcp/google/common-protos/metadata/Api/ErrorReason.php
vendored
Normal file
Binary file not shown.
BIN
vendor/Gcp/google/common-protos/metadata/Api/FieldBehavior.php
vendored
Normal file
BIN
vendor/Gcp/google/common-protos/metadata/Api/FieldBehavior.php
vendored
Normal file
Binary file not shown.
BIN
vendor/Gcp/google/common-protos/metadata/Api/FieldInfo.php
vendored
Normal file
BIN
vendor/Gcp/google/common-protos/metadata/Api/FieldInfo.php
vendored
Normal file
Binary file not shown.
BIN
vendor/Gcp/google/common-protos/metadata/Api/Http.php
vendored
Normal file
BIN
vendor/Gcp/google/common-protos/metadata/Api/Http.php
vendored
Normal file
Binary file not shown.
29
vendor/Gcp/google/common-protos/metadata/Api/Httpbody.php
vendored
Normal file
29
vendor/Gcp/google/common-protos/metadata/Api/Httpbody.php
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/httpbody.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api;
|
||||
|
||||
class Httpbody
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Protobuf\Any::initOnce();
|
||||
$pool->internalAddGeneratedFile('
|
||||
ó
|
||||
google/api/httpbody.proto
|
||||
google.api"X
|
||||
HttpBody
|
||||
content_type (
|
||||
data ((
|
||||
|
||||
extensions (2.google.protobuf.AnyBh
|
||||
com.google.apiB
|
||||
HttpBodyProtoPZ;google.golang.org/genproto/googleapis/api/httpbody;httpbodyø¢GAPIbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
BIN
vendor/Gcp/google/common-protos/metadata/Api/Label.php
vendored
Normal file
BIN
vendor/Gcp/google/common-protos/metadata/Api/Label.php
vendored
Normal file
Binary file not shown.
BIN
vendor/Gcp/google/common-protos/metadata/Api/LaunchStage.php
vendored
Normal file
BIN
vendor/Gcp/google/common-protos/metadata/Api/LaunchStage.php
vendored
Normal file
Binary file not shown.
29
vendor/Gcp/google/common-protos/metadata/Api/Log.php
vendored
Normal file
29
vendor/Gcp/google/common-protos/metadata/Api/Log.php
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/log.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api;
|
||||
|
||||
class Log
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Label::initOnce();
|
||||
$pool->internalAddGeneratedFile('
|
||||
<EFBFBD>
|
||||
google/api/log.proto
|
||||
google.api"u
|
||||
|
||||
LogDescriptor
|
||||
name ( +
|
||||
labels (2.google.api.LabelDescriptor
|
||||
description (
|
||||
display_name ( Bj
|
||||
com.google.apiBLogProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig¢GAPIbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
29
vendor/Gcp/google/common-protos/metadata/Api/Logging.php
vendored
Normal file
29
vendor/Gcp/google/common-protos/metadata/Api/Logging.php
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/logging.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api;
|
||||
|
||||
class Logging
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
$pool->internalAddGeneratedFile('
|
||||
ø
|
||||
google/api/logging.proto
|
||||
google.api"×
|
||||
LoggingE
|
||||
producer_destinations (2&.google.api.Logging.LoggingDestinationE
|
||||
consumer_destinations (2&.google.api.Logging.LoggingDestination>
|
||||
LoggingDestination
|
||||
monitored_resource (
|
||||
logs ( Bn
|
||||
com.google.apiBLoggingProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig¢GAPIbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
}
|
||||
BIN
vendor/Gcp/google/common-protos/metadata/Api/Metric.php
vendored
Normal file
BIN
vendor/Gcp/google/common-protos/metadata/Api/Metric.php
vendored
Normal file
Binary file not shown.
45
vendor/Gcp/google/common-protos/metadata/Api/MonitoredResource.php
vendored
Normal file
45
vendor/Gcp/google/common-protos/metadata/Api/MonitoredResource.php
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/monitored_resource.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api;
|
||||
|
||||
class MonitoredResource
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Label::initOnce();
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\LaunchStage::initOnce();
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Protobuf\Struct::initOnce();
|
||||
$pool->internalAddGeneratedFile('
|
||||
<EFBFBD>
|
||||
#google/api/monitored_resource.proto
|
||||
google.apigoogle/api/launch_stage.protogoogle/protobuf/struct.proto"À
|
||||
MonitoredResourceDescriptor
|
||||
name (
|
||||
type (
|
||||
display_name (
|
||||
description ( +
|
||||
labels (2.google.api.LabelDescriptor-
|
||||
launch_stage (2.google.api.LaunchStage"‹
|
||||
MonitoredResource
|
||||
type ( 9
|
||||
labels (2).google.api.MonitoredResource.LabelsEntry-
|
||||
LabelsEntry
|
||||
key (
|
||||
value ( :8"Ê
|
||||
MonitoredResourceMetadata.
|
||||
|
||||
system_labels (2.google.protobuf.StructJ
|
||||
user_labels (25.google.api.MonitoredResourceMetadata.UserLabelsEntry1
|
||||
UserLabelsEntry
|
||||
key (
|
||||
value ( :8By
|
||||
com.google.apiBMonitoredResourceProtoPZCgoogle.golang.org/genproto/googleapis/api/monitoredres;monitoredresø¢GAPIbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
30
vendor/Gcp/google/common-protos/metadata/Api/Monitoring.php
vendored
Normal file
30
vendor/Gcp/google/common-protos/metadata/Api/Monitoring.php
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/monitoring.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api;
|
||||
|
||||
class Monitoring
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
$pool->internalAddGeneratedFile('
|
||||
“
|
||||
google/api/monitoring.proto
|
||||
google.api"ì
|
||||
|
||||
MonitoringK
|
||||
producer_destinations (2,.google.api.Monitoring.MonitoringDestinationK
|
||||
consumer_destinations (2,.google.api.Monitoring.MonitoringDestinationD
|
||||
MonitoringDestination
|
||||
monitored_resource (
|
||||
metrics ( Bq
|
||||
com.google.apiBMonitoringProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig¢GAPIbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
}
|
||||
30
vendor/Gcp/google/common-protos/metadata/Api/Policy.php
vendored
Normal file
30
vendor/Gcp/google/common-protos/metadata/Api/Policy.php
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/policy.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api;
|
||||
|
||||
class Policy
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
$pool->internalAddGeneratedFile('
|
||||
ë
|
||||
google/api/policy.proto
|
||||
google.api google/protobuf/descriptor.proto"S
|
||||
FieldPolicy
|
||||
selector (
|
||||
resource_permission (
|
||||
|
||||
resource_type ( "S
|
||||
MethodPolicy
|
||||
selector ( 1
|
||||
request_policies (2.google.api.FieldPolicyBp
|
||||
com.google.apiBPolicyProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfigø¢GAPIbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
50
vendor/Gcp/google/common-protos/metadata/Api/Quota.php
vendored
Normal file
50
vendor/Gcp/google/common-protos/metadata/Api/Quota.php
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/quota.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api;
|
||||
|
||||
class Quota
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
$pool->internalAddGeneratedFile('
|
||||
¥
|
||||
google/api/quota.proto
|
||||
google.api"]
|
||||
Quota&
|
||||
limits (2.google.api.QuotaLimit,
|
||||
metric_rules (2.google.api.MetricRule"‘
|
||||
|
||||
MetricRule
|
||||
selector ( =
|
||||
metric_costs (2\'.google.api.MetricRule.MetricCostsEntry2
|
||||
MetricCostsEntry
|
||||
key (
|
||||
value (:8"•
|
||||
|
||||
QuotaLimit
|
||||
name (
|
||||
description (
|
||||
|
||||
default_limit (
|
||||
max_limit (
|
||||
free_tier (
|
||||
duration (
|
||||
metric (
|
||||
unit ( 2
|
||||
values
|
||||
(2".google.api.QuotaLimit.ValuesEntry
|
||||
display_name ( -
|
||||
ValuesEntry
|
||||
key (
|
||||
value (:8Bl
|
||||
com.google.apiB
|
||||
QuotaProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig¢GAPIbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
BIN
vendor/Gcp/google/common-protos/metadata/Api/Resource.php
vendored
Normal file
BIN
vendor/Gcp/google/common-protos/metadata/Api/Resource.php
vendored
Normal file
Binary file not shown.
28
vendor/Gcp/google/common-protos/metadata/Api/Routing.php
vendored
Normal file
28
vendor/Gcp/google/common-protos/metadata/Api/Routing.php
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/routing.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api;
|
||||
|
||||
class Routing
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
$pool->internalAddGeneratedFile('
|
||||
¿
|
||||
google/api/routing.proto
|
||||
google.api google/protobuf/descriptor.proto"G
|
||||
RoutingRule8
|
||||
routing_parameters (2.google.api.RoutingParameter"8
|
||||
RoutingParameter
|
||||
field (
|
||||
|
||||
path_template ( Bj
|
||||
com.google.apiBRoutingProtoPZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations¢GAPIbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
75
vendor/Gcp/google/common-protos/metadata/Api/Service.php
vendored
Normal file
75
vendor/Gcp/google/common-protos/metadata/Api/Service.php
vendored
Normal file
@@ -0,0 +1,75 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/service.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api;
|
||||
|
||||
class Service
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Auth::initOnce();
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Backend::initOnce();
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Billing::initOnce();
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Client::initOnce();
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Context::initOnce();
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Control::initOnce();
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Documentation::initOnce();
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Endpoint::initOnce();
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Http::initOnce();
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Log::initOnce();
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Logging::initOnce();
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Metric::initOnce();
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\MonitoredResource::initOnce();
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Monitoring::initOnce();
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Quota::initOnce();
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\SourceInfo::initOnce();
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\SystemParameter::initOnce();
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Usage::initOnce();
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Protobuf\Api::initOnce();
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Protobuf\Type::initOnce();
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Protobuf\Wrappers::initOnce();
|
||||
$pool->internalAddGeneratedFile('
|
||||
É
|
||||
google/api/service.proto
|
||||
google.apigoogle/api/backend.protogoogle/api/billing.protogoogle/api/client.protogoogle/api/context.protogoogle/api/control.protogoogle/api/documentation.protogoogle/api/endpoint.protogoogle/api/http.protogoogle/api/log.protogoogle/api/logging.protogoogle/api/metric.proto#google/api/monitored_resource.protogoogle/api/monitoring.protogoogle/api/quota.protogoogle/api/source_info.proto!google/api/system_parameter.protogoogle/api/usage.protogoogle/protobuf/api.protogoogle/protobuf/type.protogoogle/protobuf/wrappers.proto"‚
|
||||
Service
|
||||
name (
|
||||
title (
|
||||
producer_project_id (
|
||||
|
||||
id! ( "
|
||||
apis (2.google.protobuf.Api$
|
||||
types (2.google.protobuf.Type$
|
||||
enums (2.google.protobuf.Enum0
|
||||
|
||||
documentation (2.google.api.Documentation$
|
||||
backend (2.google.api.Backend
|
||||
http (2.google.api.Http
|
||||
quota
|
||||
(2.google.api.Quota2
|
||||
authentication (2.google.api.Authentication$
|
||||
context (2.google.api.Context
|
||||
usage (2.google.api.Usage\'
|
||||
endpoints (2.google.api.Endpoint$
|
||||
control (2.google.api.Control\'
|
||||
logs (2.google.api.LogDescriptor-
|
||||
metrics (2.google.api.MetricDescriptorD
|
||||
monitored_resources (2\'.google.api.MonitoredResourceDescriptor$
|
||||
billing (2.google.api.Billing$
|
||||
logging (2.google.api.Logging*
|
||||
|
||||
monitoring (2.google.api.Monitoring7
|
||||
system_parameters (2.google.api.SystemParameters+
|
||||
source_info% (2.google.api.SourceInfo*
|
||||
|
||||
publishing- (2.google.api.Publishing4
|
||||
config_version (2.google.protobuf.UInt32ValueBn
|
||||
com.google.apiBServiceProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig¢GAPIbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
27
vendor/Gcp/google/common-protos/metadata/Api/SourceInfo.php
vendored
Normal file
27
vendor/Gcp/google/common-protos/metadata/Api/SourceInfo.php
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/source_info.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api;
|
||||
|
||||
class SourceInfo
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Protobuf\Any::initOnce();
|
||||
$pool->internalAddGeneratedFile('
|
||||
ß
|
||||
google/api/source_info.proto
|
||||
google.api"8
|
||||
|
||||
SourceInfo*
|
||||
source_files (2.google.protobuf.AnyBq
|
||||
com.google.apiBSourceInfoProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig¢GAPIbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
}
|
||||
33
vendor/Gcp/google/common-protos/metadata/Api/SystemParameter.php
vendored
Normal file
33
vendor/Gcp/google/common-protos/metadata/Api/SystemParameter.php
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/system_parameter.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api;
|
||||
|
||||
class SystemParameter
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
$pool->internalAddGeneratedFile('
|
||||
|
||||
!google/api/system_parameter.proto
|
||||
google.api"B
|
||||
SystemParameters.
|
||||
rules (2.google.api.SystemParameterRule"X
|
||||
SystemParameterRule
|
||||
selector ( /
|
||||
|
||||
parameters (2.google.api.SystemParameter"Q
|
||||
SystemParameter
|
||||
name (
|
||||
http_header (
|
||||
url_query_parameter ( Bv
|
||||
com.google.apiBSystemParameterProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig¢GAPIbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
}
|
||||
32
vendor/Gcp/google/common-protos/metadata/Api/Usage.php
vendored
Normal file
32
vendor/Gcp/google/common-protos/metadata/Api/Usage.php
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/usage.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api;
|
||||
|
||||
class Usage
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
$pool->internalAddGeneratedFile('
|
||||
å
|
||||
google/api/usage.proto
|
||||
google.api"j
|
||||
Usage
|
||||
requirements ( $
|
||||
rules (2.google.api.UsageRule%
|
||||
producer_notification_channel ( "]
|
||||
UsageRule
|
||||
selector (
|
||||
allow_unregistered_calls (
|
||||
skip_service_control (Bl
|
||||
com.google.apiB
|
||||
UsageProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig¢GAPIbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
}
|
||||
29
vendor/Gcp/google/common-protos/metadata/Api/Visibility.php
vendored
Normal file
29
vendor/Gcp/google/common-protos/metadata/Api/Visibility.php
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/visibility.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api;
|
||||
|
||||
class Visibility
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
$pool->internalAddGeneratedFile('
|
||||
µ
|
||||
google/api/visibility.proto
|
||||
google.api google/protobuf/descriptor.proto"7
|
||||
|
||||
Visibility)
|
||||
rules (2.google.api.VisibilityRule"7
|
||||
VisibilityRule
|
||||
selector (
|
||||
restriction ( Bn
|
||||
com.google.apiBVisibilityProtoPZ?google.golang.org/genproto/googleapis/api/visibility;visibilityø¢GAPIbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
}
|
||||
BIN
vendor/Gcp/google/common-protos/metadata/Cloud/ExtendedOperations.php
vendored
Normal file
BIN
vendor/Gcp/google/common-protos/metadata/Cloud/ExtendedOperations.php
vendored
Normal file
Binary file not shown.
48
vendor/Gcp/google/common-protos/metadata/Cloud/Location/Locations.php
vendored
Normal file
48
vendor/Gcp/google/common-protos/metadata/Cloud/Location/Locations.php
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/cloud/location/locations.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Cloud\Location;
|
||||
|
||||
class Locations
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Annotations::initOnce();
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Protobuf\Any::initOnce();
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Client::initOnce();
|
||||
$pool->internalAddGeneratedFile('
|
||||
Ó
|
||||
%google/cloud/location/locations.protogoogle.cloud.locationgoogle/protobuf/any.protogoogle/api/client.proto"[
|
||||
ListLocationsRequest
|
||||
name (
|
||||
filter (
|
||||
page_size (
|
||||
|
||||
page_token ( "d
|
||||
ListLocationsResponse2
|
||||
locations (2.google.cloud.location.Location
|
||||
next_page_token ( ""
|
||||
GetLocationRequest
|
||||
name ( "×
|
||||
Location
|
||||
name (
|
||||
location_id (
|
||||
display_name ( ;
|
||||
labels (2+.google.cloud.location.Location.LabelsEntry&
|
||||
metadata (2.google.protobuf.Any-
|
||||
LabelsEntry
|
||||
key (
|
||||
value ( :82¤
|
||||
Locations«
|
||||
|
||||
ListLocations+.google.cloud.location.ListLocationsRequest,.google.cloud.location.ListLocationsResponse"?‚Óä“9/v1/{name=locations}Z!/v1/{name=projects/*}/locationsž
|
||||
GetLocation).google.cloud.location.GetLocationRequest.google.cloud.location.Location"C‚Óä“=/v1/{name=locations/*}Z#!/v1/{name=projects/*/locations/*}HÊAcloud.googleapis.comÒA.https://www.googleapis.com/auth/cloud-platformBo
|
||||
com.google.cloud.locationBLocationsProtoPZ=google.golang.org/genproto/googleapis/cloud/location;locationøbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
48
vendor/Gcp/google/common-protos/metadata/Iam/V1/IamPolicy.php
vendored
Normal file
48
vendor/Gcp/google/common-protos/metadata/Iam/V1/IamPolicy.php
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/iam/v1/iam_policy.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Iam\V1;
|
||||
|
||||
class IamPolicy
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Annotations::initOnce();
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Client::initOnce();
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\FieldBehavior::initOnce();
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Resource::initOnce();
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Iam\V1\Options::initOnce();
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Iam\V1\Policy::initOnce();
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Protobuf\FieldMask::initOnce();
|
||||
$pool->internalAddGeneratedFile('
|
||||
ž
|
||||
google/iam/v1/iam_policy.proto
|
||||
google.iam.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.protogoogle/iam/v1/options.protogoogle/iam/v1/policy.proto google/protobuf/field_mask.proto"<22>
|
||||
SetIamPolicyRequest
|
||||
resource ( B àAúA
|
||||
**
|
||||
policy (2.google.iam.v1.PolicyBàA/
|
||||
update_mask (2.google.protobuf.FieldMask"d
|
||||
GetIamPolicyRequest
|
||||
resource ( B àAúA
|
||||
*0
|
||||
options (2.google.iam.v1.GetPolicyOptions"R
|
||||
TestIamPermissionsRequest
|
||||
resource ( B àAúA
|
||||
*
|
||||
permissions ( BàA"1
|
||||
TestIamPermissionsResponse
|
||||
permissions ( 2´
|
||||
IAMPolicyt
|
||||
SetIamPolicy".google.iam.v1.SetIamPolicyRequest.google.iam.v1.Policy")‚Óä“#"/v1/{resource=**}:setIamPolicy:*t
|
||||
GetIamPolicy".google.iam.v1.GetIamPolicyRequest.google.iam.v1.Policy")‚Óä“#"/v1/{resource=**}:getIamPolicy:*š
|
||||
TestIamPermissions(.google.iam.v1.TestIamPermissionsRequest).google.iam.v1.TestIamPermissionsResponse"/‚Óä“)"$/v1/{resource=**}:testIamPermissions:*ÊAiam-meta-api.googleapis.comB
|
||||
com.google.iam.v1BIamPolicyProtoPZ)cloud.google.com/go/iam/apiv1/iampb;iampbøªGoogle.Cloud.Iam.V1ÊGoogle\\Cloud\\Iam\\V1bproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
25
vendor/Gcp/google/common-protos/metadata/Iam/V1/Logging/AuditData.php
vendored
Normal file
25
vendor/Gcp/google/common-protos/metadata/Iam/V1/Logging/AuditData.php
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/iam/v1/logging/audit_data.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Iam\V1\Logging;
|
||||
|
||||
class AuditData
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Iam\V1\Policy::initOnce();
|
||||
$pool->internalAddGeneratedFile('
|
||||
<EFBFBD>
|
||||
&google/iam/v1/logging/audit_data.protogoogle.iam.v1.logging"=
|
||||
AuditData0
|
||||
policy_delta (2.google.iam.v1.PolicyDeltaB†
|
||||
com.google.iam.v1.loggingBAuditDataProtoPZ9cloud.google.com/go/iam/apiv1/logging/loggingpb;loggingpbªGoogle.Cloud.Iam.V1.Loggingbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
}
|
||||
24
vendor/Gcp/google/common-protos/metadata/Iam/V1/Options.php
vendored
Normal file
24
vendor/Gcp/google/common-protos/metadata/Iam/V1/Options.php
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/iam/v1/options.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Iam\V1;
|
||||
|
||||
class Options
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
$pool->internalAddGeneratedFile('
|
||||
é
|
||||
google/iam/v1/options.proto
|
||||
google.iam.v1"4
|
||||
GetPolicyOptions
|
||||
requested_policy_version (B}
|
||||
com.google.iam.v1BOptionsProtoPZ)cloud.google.com/go/iam/apiv1/iampb;iampbøªGoogle.Cloud.Iam.V1ÊGoogle\\Cloud\\Iam\\V1bproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
BIN
vendor/Gcp/google/common-protos/metadata/Iam/V1/Policy.php
vendored
Normal file
BIN
vendor/Gcp/google/common-protos/metadata/Iam/V1/Policy.php
vendored
Normal file
Binary file not shown.
41
vendor/Gcp/google/common-protos/metadata/Logging/Type/HttpRequest.php
vendored
Normal file
41
vendor/Gcp/google/common-protos/metadata/Logging/Type/HttpRequest.php
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/logging/type/http_request.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Logging\Type;
|
||||
|
||||
class HttpRequest
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Protobuf\Duration::initOnce();
|
||||
$pool->internalAddGeneratedFile('
|
||||
ø
|
||||
&google/logging/type/http_request.protogoogle.logging.type"ï
|
||||
HttpRequest
|
||||
request_method (
|
||||
request_url (
|
||||
request_size (
|
||||
status (
|
||||
|
||||
response_size (
|
||||
|
||||
user_agent (
|
||||
remote_ip (
|
||||
server_ip
|
||||
(
|
||||
referer ( *
|
||||
latency (2.google.protobuf.Duration
|
||||
cache_lookup (
|
||||
cache_hit (*
|
||||
"cache_validated_with_origin_server
|
||||
(
|
||||
cache_fill_bytes (
|
||||
protocol ( B¾
|
||||
com.google.logging.typeBHttpRequestProtoPZ8google.golang.org/genproto/googleapis/logging/type;ltypeªGoogle.Cloud.Logging.TypeÊGoogle\\Cloud\\Logging\\TypeêGoogle::Cloud::Logging::Typebproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
BIN
vendor/Gcp/google/common-protos/metadata/Logging/Type/LogSeverity.php
vendored
Normal file
BIN
vendor/Gcp/google/common-protos/metadata/Logging/Type/LogSeverity.php
vendored
Normal file
Binary file not shown.
BIN
vendor/Gcp/google/common-protos/metadata/Rpc/Code.php
vendored
Normal file
BIN
vendor/Gcp/google/common-protos/metadata/Rpc/Code.php
vendored
Normal file
Binary file not shown.
104
vendor/Gcp/google/common-protos/metadata/Rpc/Context/AttributeContext.php
vendored
Normal file
104
vendor/Gcp/google/common-protos/metadata/Rpc/Context/AttributeContext.php
vendored
Normal file
@@ -0,0 +1,104 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/rpc/context/attribute_context.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Rpc\Context;
|
||||
|
||||
class AttributeContext
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Protobuf\Any::initOnce();
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Protobuf\Duration::initOnce();
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Protobuf\Struct::initOnce();
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Protobuf\Timestamp::initOnce();
|
||||
$pool->internalAddGeneratedFile('
|
||||
»
|
||||
*google/rpc/context/attribute_context.protogoogle.rpc.contextgoogle/protobuf/duration.protogoogle/protobuf/struct.protogoogle/protobuf/timestamp.proto"ƒ
|
||||
AttributeContext9
|
||||
origin (2).google.rpc.context.AttributeContext.Peer9
|
||||
source (2).google.rpc.context.AttributeContext.Peer>
|
||||
destination (2).google.rpc.context.AttributeContext.Peer=
|
||||
request (2,.google.rpc.context.AttributeContext.Request?
|
||||
response (2-.google.rpc.context.AttributeContext.Response?
|
||||
resource (2-.google.rpc.context.AttributeContext.Resource5
|
||||
api (2(.google.rpc.context.AttributeContext.Api(
|
||||
|
||||
extensions (2.google.protobuf.Any¾
|
||||
Peer
|
||||
|
||||
ip (
|
||||
port (E
|
||||
labels (25.google.rpc.context.AttributeContext.Peer.LabelsEntry
|
||||
principal (
|
||||
region_code ( -
|
||||
LabelsEntry
|
||||
key (
|
||||
value ( :8L
|
||||
Api
|
||||
service (
|
||||
operation (
|
||||
protocol (
|
||||
version (
|
||||
Auth
|
||||
principal (
|
||||
audiences (
|
||||
presenter ( \'
|
||||
claims (2.google.protobuf.Struct
|
||||
|
||||
access_levels ( ï
|
||||
Request
|
||||
|
||||
id (
|
||||
method ( J
|
||||
headers (29.google.rpc.context.AttributeContext.Request.HeadersEntry
|
||||
path (
|
||||
host (
|
||||
scheme (
|
||||
query ( (
|
||||
time (2.google.protobuf.Timestamp
|
||||
size
|
||||
(
|
||||
protocol (
|
||||
reason ( 7
|
||||
auth
|
||||
(2).google.rpc.context.AttributeContext.Auth.
|
||||
HeadersEntry
|
||||
key (
|
||||
value ( :8<1A>
|
||||
Response
|
||||
code (
|
||||
size (K
|
||||
headers (2:.google.rpc.context.AttributeContext.Response.HeadersEntry(
|
||||
time (2.google.protobuf.Timestamp2
|
||||
backend_latency (2.google.protobuf.Duration.
|
||||
HeadersEntry
|
||||
key (
|
||||
value ( :8<1A>
|
||||
Resource
|
||||
service (
|
||||
name (
|
||||
type ( I
|
||||
labels (29.google.rpc.context.AttributeContext.Resource.LabelsEntry
|
||||
uid ( S
|
||||
annotations (2>.google.rpc.context.AttributeContext.Resource.AnnotationsEntry
|
||||
display_name ( /
|
||||
create_time (2.google.protobuf.Timestamp/
|
||||
update_time (2.google.protobuf.Timestamp/
|
||||
delete_time
|
||||
(2.google.protobuf.Timestamp
|
||||
etag (
|
||||
location ( -
|
||||
LabelsEntry
|
||||
key (
|
||||
value ( :82
|
||||
AnnotationsEntry
|
||||
key (
|
||||
value ( :8B‹
|
||||
com.google.rpc.contextBAttributeContextProtoPZUgoogle.golang.org/genproto/googleapis/rpc/context/attribute_context;attribute_contextøbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
29
vendor/Gcp/google/common-protos/metadata/Rpc/Context/AuditContext.php
vendored
Normal file
29
vendor/Gcp/google/common-protos/metadata/Rpc/Context/AuditContext.php
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/rpc/context/audit_context.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Rpc\Context;
|
||||
|
||||
class AuditContext
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Protobuf\Struct::initOnce();
|
||||
$pool->internalAddGeneratedFile('
|
||||
û
|
||||
&google/rpc/context/audit_context.protogoogle.rpc.context"Ç
|
||||
AuditContext
|
||||
audit_log (1
|
||||
scrubbed_request (2.google.protobuf.Struct2
|
||||
scrubbed_response (2.google.protobuf.Struct$
|
||||
scrubbed_response_item_count (
|
||||
target_resource ( Bk
|
||||
com.google.rpc.contextBAuditContextProtoPZ9google.golang.org/genproto/googleapis/rpc/context;contextøbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
}
|
||||
72
vendor/Gcp/google/common-protos/metadata/Rpc/ErrorDetails.php
vendored
Normal file
72
vendor/Gcp/google/common-protos/metadata/Rpc/ErrorDetails.php
vendored
Normal file
@@ -0,0 +1,72 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/rpc/error_details.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Rpc;
|
||||
|
||||
class ErrorDetails
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Protobuf\Duration::initOnce();
|
||||
$pool->internalAddGeneratedFile('
|
||||
ê
|
||||
google/rpc/error_details.proto
|
||||
google.rpc"“
|
||||
ErrorInfo
|
||||
reason (
|
||||
domain ( 5
|
||||
metadata (2#.google.rpc.ErrorInfo.MetadataEntry/
|
||||
|
||||
MetadataEntry
|
||||
key (
|
||||
value ( :8";
|
||||
RetryInfo.
|
||||
retry_delay (2.google.protobuf.Duration"2
|
||||
DebugInfo
|
||||
|
||||
stack_entries (
|
||||
detail ( "y
|
||||
QuotaFailure6
|
||||
|
||||
violations (2".google.rpc.QuotaFailure.Violation1
|
||||
Violation
|
||||
subject (
|
||||
description ( "•
|
||||
PreconditionFailure=
|
||||
|
||||
violations (2).google.rpc.PreconditionFailure.Violation?
|
||||
Violation
|
||||
type (
|
||||
subject (
|
||||
description ( "ƒ
|
||||
|
||||
BadRequest?
|
||||
field_violations (2%.google.rpc.BadRequest.FieldViolation4
|
||||
FieldViolation
|
||||
field (
|
||||
description ( "7
|
||||
RequestInfo
|
||||
|
||||
request_id (
|
||||
serving_data ( "`
|
||||
ResourceInfo
|
||||
|
||||
resource_type (
|
||||
|
||||
resource_name (
|
||||
owner (
|
||||
description ( "V
|
||||
Help$
|
||||
links (2.google.rpc.Help.Link(
|
||||
Link
|
||||
description (
|
||||
url ( "3
|
||||
LocalizedMessage
|
||||
locale (
|
||||
message ( Bl
|
||||
28
vendor/Gcp/google/common-protos/metadata/Rpc/Status.php
vendored
Normal file
28
vendor/Gcp/google/common-protos/metadata/Rpc/Status.php
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/rpc/status.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Rpc;
|
||||
|
||||
class Status
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Protobuf\Any::initOnce();
|
||||
$pool->internalAddGeneratedFile('
|
||||
ŕ
|
||||
google/rpc/status.proto
|
||||
google.rpc"N
|
||||
Status
|
||||
code (
|
||||
message ( %
|
||||
details (2.google.protobuf.AnyBa
|
||||
com.google.rpcBStatusProtoPZ7google.golang.org/genproto/googleapis/rpc/status;statusř˘RPCbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
}
|
||||
BIN
vendor/Gcp/google/common-protos/metadata/Type/CalendarPeriod.php
vendored
Normal file
BIN
vendor/Gcp/google/common-protos/metadata/Type/CalendarPeriod.php
vendored
Normal file
Binary file not shown.
29
vendor/Gcp/google/common-protos/metadata/Type/Color.php
vendored
Normal file
29
vendor/Gcp/google/common-protos/metadata/Type/Color.php
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/type/color.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Type;
|
||||
|
||||
class Color
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Protobuf\Wrappers::initOnce();
|
||||
$pool->internalAddGeneratedFile('
|
||||
ï
|
||||
google/type/color.protogoogle.type"]
|
||||
Color
|
||||
red (
|
||||
green (
|
||||
blue (*
|
||||
alpha (2.google.protobuf.FloatValueB`
|
||||
com.google.typeB
|
||||
ColorProtoPZ6google.golang.org/genproto/googleapis/type/color;colorø¢GTPbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
}
|
||||
26
vendor/Gcp/google/common-protos/metadata/Type/Date.php
vendored
Normal file
26
vendor/Gcp/google/common-protos/metadata/Type/Date.php
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/type/date.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Type;
|
||||
|
||||
class Date
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
$pool->internalAddGeneratedFile('
|
||||
¾
|
||||
google/type/date.protogoogle.type"0
|
||||
Date
|
||||
year (
|
||||
month (
|
||||
day (B]
|
||||
com.google.typeB DateProtoPZ4google.golang.org/genproto/googleapis/type/date;dateø¢GTPbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
}
|
||||
BIN
vendor/Gcp/google/common-protos/metadata/Type/Datetime.php
vendored
Normal file
BIN
vendor/Gcp/google/common-protos/metadata/Type/Datetime.php
vendored
Normal file
Binary file not shown.
BIN
vendor/Gcp/google/common-protos/metadata/Type/Dayofweek.php
vendored
Normal file
BIN
vendor/Gcp/google/common-protos/metadata/Type/Dayofweek.php
vendored
Normal file
Binary file not shown.
24
vendor/Gcp/google/common-protos/metadata/Type/Decimal.php
vendored
Normal file
24
vendor/Gcp/google/common-protos/metadata/Type/Decimal.php
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/type/decimal.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Type;
|
||||
|
||||
class Decimal
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
$pool->internalAddGeneratedFile('
|
||||
²
|
||||
google/type/decimal.protogoogle.type"
|
||||
Decimal
|
||||
value ( Bf
|
||||
com.google.typeBDecimalProtoPZ:google.golang.org/genproto/googleapis/type/decimal;decimalø¢GTPbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
}
|
||||
28
vendor/Gcp/google/common-protos/metadata/Type/Expr.php
vendored
Normal file
28
vendor/Gcp/google/common-protos/metadata/Type/Expr.php
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/type/expr.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Type;
|
||||
|
||||
class Expr
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
$pool->internalAddGeneratedFile('
|
||||
Û
|
||||
google/type/expr.protogoogle.type"P
|
||||
Expr
|
||||
|
||||
expression (
|
||||
title (
|
||||
description (
|
||||
location ( BZ
|
||||
com.google.typeB ExprProtoPZ4google.golang.org/genproto/googleapis/type/expr;expr¢GTPbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
}
|
||||
25
vendor/Gcp/google/common-protos/metadata/Type/Fraction.php
vendored
Normal file
25
vendor/Gcp/google/common-protos/metadata/Type/Fraction.php
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/type/fraction.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Type;
|
||||
|
||||
class Fraction
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
$pool->internalAddGeneratedFile('
|
||||
Í
|
||||
google/type/fraction.protogoogle.type"2
|
||||
Fraction
|
||||
numerator (
|
||||
denominator (Bf
|
||||
com.google.typeB
|
||||
FractionProtoPZ<google.golang.org/genproto/googleapis/type/fraction;fraction¢GTPbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
27
vendor/Gcp/google/common-protos/metadata/Type/Interval.php
vendored
Normal file
27
vendor/Gcp/google/common-protos/metadata/Type/Interval.php
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/type/interval.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Type;
|
||||
|
||||
class Interval
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Protobuf\Timestamp::initOnce();
|
||||
$pool->internalAddGeneratedFile('
|
||||
†
|
||||
google/type/interval.protogoogle.type"h
|
||||
Interval.
|
||||
|
||||
start_time (2.google.protobuf.Timestamp,
|
||||
end_time (2.google.protobuf.TimestampBi
|
||||
com.google.typeB
|
||||
IntervalProtoPZ<google.golang.org/genproto/googleapis/type/interval;intervalø¢GTPbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
25
vendor/Gcp/google/common-protos/metadata/Type/Latlng.php
vendored
Normal file
25
vendor/Gcp/google/common-protos/metadata/Type/Latlng.php
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/type/latlng.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Type;
|
||||
|
||||
class Latlng
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
$pool->internalAddGeneratedFile('
|
||||
Ã
|
||||
google/type/latlng.protogoogle.type"-
|
||||
LatLng
|
||||
latitude (
|
||||
longitude (Bc
|
||||
com.google.typeBLatLngProtoPZ8google.golang.org/genproto/googleapis/type/latlng;latlngø¢GTPbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
}
|
||||
25
vendor/Gcp/google/common-protos/metadata/Type/LocalizedText.php
vendored
Normal file
25
vendor/Gcp/google/common-protos/metadata/Type/LocalizedText.php
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/type/localized_text.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Type;
|
||||
|
||||
class LocalizedText
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
$pool->internalAddGeneratedFile('
|
||||
é
|
||||
google/type/localized_text.protogoogle.type"4
|
||||
|
||||
LocalizedText
|
||||
text (
|
||||
|
||||
language_code ( Bz
|
||||
com.google.typeBLocalizedTextProtoPZHgoogle.golang.org/genproto/googleapis/type/localized_text;localized_textø¢GTPbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
27
vendor/Gcp/google/common-protos/metadata/Type/Money.php
vendored
Normal file
27
vendor/Gcp/google/common-protos/metadata/Type/Money.php
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/type/money.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Type;
|
||||
|
||||
class Money
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
$pool->internalAddGeneratedFile('
|
||||
Î
|
||||
google/type/money.protogoogle.type"<
|
||||
Money
|
||||
|
||||
currency_code (
|
||||
units (
|
||||
nanos (B`
|
||||
com.google.typeB
|
||||
MoneyProtoPZ6google.golang.org/genproto/googleapis/type/money;moneyø¢GTPbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
BIN
vendor/Gcp/google/common-protos/metadata/Type/Month.php
vendored
Normal file
BIN
vendor/Gcp/google/common-protos/metadata/Type/Month.php
vendored
Normal file
Binary file not shown.
BIN
vendor/Gcp/google/common-protos/metadata/Type/PhoneNumber.php
vendored
Normal file
BIN
vendor/Gcp/google/common-protos/metadata/Type/PhoneNumber.php
vendored
Normal file
Binary file not shown.
36
vendor/Gcp/google/common-protos/metadata/Type/PostalAddress.php
vendored
Normal file
36
vendor/Gcp/google/common-protos/metadata/Type/PostalAddress.php
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/type/postal_address.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Type;
|
||||
|
||||
class PostalAddress
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
$pool->internalAddGeneratedFile('
|
||||
±
|
||||
google/type/postal_address.protogoogle.type"ý
|
||||
|
||||
PostalAddress
|
||||
revision (
|
||||
region_code (
|
||||
|
||||
language_code (
|
||||
postal_code (
|
||||
sorting_code (
|
||||
administrative_area (
|
||||
locality (
|
||||
sublocality (
|
||||
|
||||
address_lines (
|
||||
|
||||
recipients
|
||||
(
|
||||
organization ( Bx
|
||||
com.google.typeBPostalAddressProtoPZFgoogle.golang.org/genproto/googleapis/type/postaladdress;postaladdressø¢GTPbproto3', \true);
|
||||
28
vendor/Gcp/google/common-protos/metadata/Type/Quaternion.php
vendored
Normal file
28
vendor/Gcp/google/common-protos/metadata/Type/Quaternion.php
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/type/quaternion.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Type;
|
||||
|
||||
class Quaternion
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
$pool->internalAddGeneratedFile('
|
||||
Þ
|
||||
google/type/quaternion.protogoogle.type"8
|
||||
|
||||
Quaternion
|
||||
x (
|
||||
y (
|
||||
z (
|
||||
w (Bo
|
||||
com.google.typeBQuaternionProtoPZ@google.golang.org/genproto/googleapis/type/quaternion;quaternionø¢GTPbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
}
|
||||
27
vendor/Gcp/google/common-protos/metadata/Type/Timeofday.php
vendored
Normal file
27
vendor/Gcp/google/common-protos/metadata/Type/Timeofday.php
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/type/timeofday.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Type;
|
||||
|
||||
class Timeofday
|
||||
{
|
||||
public static $is_initialized = \false;
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
if (static::$is_initialized == \true) {
|
||||
return;
|
||||
}
|
||||
$pool->internalAddGeneratedFile('
|
||||
í
|
||||
google/type/timeofday.protogoogle.type"K
|
||||
TimeOfDay
|
||||
hours (
|
||||
minutes (
|
||||
seconds (
|
||||
nanos (Bl
|
||||
com.google.typeBTimeOfDayProtoPZ>google.golang.org/genproto/googleapis/type/timeofday;timeofdayø¢GTPbproto3', \true);
|
||||
static::$is_initialized = \true;
|
||||
}
|
||||
}
|
||||
80
vendor/Gcp/google/common-protos/owlbot.py
vendored
Normal file
80
vendor/Gcp/google/common-protos/owlbot.py
vendored
Normal file
@@ -0,0 +1,80 @@
|
||||
# Copyright 2022 Google LLC
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""This script is used to synthesize generated parts of this library."""
|
||||
|
||||
import logging
|
||||
from pathlib import Path
|
||||
import shutil
|
||||
import subprocess
|
||||
|
||||
import os
|
||||
import synthtool as s
|
||||
from synthtool.languages import php
|
||||
from synthtool import _tracked_paths
|
||||
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
|
||||
# (dirname, version)
|
||||
protos = [
|
||||
("api", "api"),
|
||||
("extendedoperations", "cloud"),
|
||||
("location", "cloud"),
|
||||
("logging", "google"), # for the metadata
|
||||
("logging", "cloud"),
|
||||
("iam", "google"), # for the metadata
|
||||
("iam", "cloud"),
|
||||
("iamlogging", "iam"),
|
||||
("rpc", "rpc"),
|
||||
("type", "type"),
|
||||
]
|
||||
|
||||
dest = Path().resolve()
|
||||
for proto in protos:
|
||||
src = Path(f"{php.STAGING_DIR}/{proto[0]}").resolve()
|
||||
|
||||
# Added so that we can pass copy_excludes in the owlbot_main() call
|
||||
_tracked_paths.add(src)
|
||||
|
||||
# use owlbot_copy_version instead of owlbot_main and set "version_string"
|
||||
# manually because common protos do not have a version
|
||||
php.owlbot_copy_version(
|
||||
src=src,
|
||||
dest=dest,
|
||||
version_string=proto[1],
|
||||
copy_excludes=[
|
||||
src / "**/[A-Z]*_*.php"
|
||||
],
|
||||
)
|
||||
|
||||
# move metadata to more specific directories (owlbot isnt smart enough to do this)
|
||||
s.move("metadata/Google/Iam/V1", "metadata/Iam/V1")
|
||||
s.move("metadata/Google/Logging/Type", "metadata/Logging/Type")
|
||||
|
||||
# remove owl-bot-staging dir
|
||||
if os.path.exists(php.STAGING_DIR):
|
||||
shutil.rmtree(Path(php.STAGING_DIR))
|
||||
|
||||
# remove the metadata/Google files that we copied
|
||||
if os.path.exists("metadata/Google"):
|
||||
shutil.rmtree(Path("metadata/Google"))
|
||||
|
||||
s.replace(
|
||||
"src/**/*.php",
|
||||
r"^// Adding a class alias for backwards compatibility with the previous class name.$"
|
||||
+ "\n"
|
||||
+ r"^class_alias\(.*\);$"
|
||||
+ "\n",
|
||||
'')
|
||||
|
||||
7
vendor/Gcp/google/common-protos/renovate.json
vendored
Normal file
7
vendor/Gcp/google/common-protos/renovate.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"extends": [
|
||||
"config:base",
|
||||
":preserveSemverRanges",
|
||||
":disableDependencyDashboard"
|
||||
]
|
||||
}
|
||||
66
vendor/Gcp/google/common-protos/src/Api/Advice.php
vendored
Normal file
66
vendor/Gcp/google/common-protos/src/Api/Advice.php
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/config_change.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\Google\Api;
|
||||
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\RepeatedField;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBUtil;
|
||||
/**
|
||||
* Generated advice about this change, used for providing more
|
||||
* information about how a change will affect the existing service.
|
||||
*
|
||||
* Generated from protobuf message <code>google.api.Advice</code>
|
||||
*/
|
||||
class Advice extends \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Useful description for why this advice was applied and what actions should
|
||||
* be taken to mitigate any implied risks.
|
||||
*
|
||||
* Generated from protobuf field <code>string description = 2;</code>
|
||||
*/
|
||||
protected $description = '';
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $description
|
||||
* Useful description for why this advice was applied and what actions should
|
||||
* be taken to mitigate any implied risks.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL)
|
||||
{
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\ConfigChange::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
/**
|
||||
* Useful description for why this advice was applied and what actions should
|
||||
* be taken to mitigate any implied risks.
|
||||
*
|
||||
* Generated from protobuf field <code>string description = 2;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getDescription()
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
/**
|
||||
* Useful description for why this advice was applied and what actions should
|
||||
* be taken to mitigate any implied risks.
|
||||
*
|
||||
* Generated from protobuf field <code>string description = 2;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDescription($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->description = $var;
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
398
vendor/Gcp/google/common-protos/src/Api/AuthProvider.php
vendored
Normal file
398
vendor/Gcp/google/common-protos/src/Api/AuthProvider.php
vendored
Normal file
@@ -0,0 +1,398 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/auth.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\Google\Api;
|
||||
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\RepeatedField;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBUtil;
|
||||
/**
|
||||
* Configuration for an authentication provider, including support for
|
||||
* [JSON Web Token
|
||||
* (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
|
||||
*
|
||||
* Generated from protobuf message <code>google.api.AuthProvider</code>
|
||||
*/
|
||||
class AuthProvider extends \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* The unique identifier of the auth provider. It will be referred to by
|
||||
* `AuthRequirement.provider_id`.
|
||||
* Example: "bookstore_auth".
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
*/
|
||||
protected $id = '';
|
||||
/**
|
||||
* Identifies the principal that issued the JWT. See
|
||||
* https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1
|
||||
* Usually a URL or an email address.
|
||||
* Example: https://securetoken.google.com
|
||||
* Example: 1234567-compute@developer.gserviceaccount.com
|
||||
*
|
||||
* Generated from protobuf field <code>string issuer = 2;</code>
|
||||
*/
|
||||
protected $issuer = '';
|
||||
/**
|
||||
* URL of the provider's public key set to validate signature of the JWT. See
|
||||
* [OpenID
|
||||
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).
|
||||
* Optional if the key set document:
|
||||
* - can be retrieved from
|
||||
* [OpenID
|
||||
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html)
|
||||
* of the issuer.
|
||||
* - can be inferred from the email domain of the issuer (e.g. a Google
|
||||
* service account).
|
||||
* Example: https://www.googleapis.com/oauth2/v1/certs
|
||||
*
|
||||
* Generated from protobuf field <code>string jwks_uri = 3;</code>
|
||||
*/
|
||||
protected $jwks_uri = '';
|
||||
/**
|
||||
* The list of JWT
|
||||
* [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
|
||||
* that are allowed to access. A JWT containing any of these audiences will
|
||||
* be accepted. When this setting is absent, JWTs with audiences:
|
||||
* - "https://[service.name]/[google.protobuf.Api.name]"
|
||||
* - "https://[service.name]/"
|
||||
* will be accepted.
|
||||
* For example, if no audiences are in the setting, LibraryService API will
|
||||
* accept JWTs with the following audiences:
|
||||
* -
|
||||
* https://library-example.googleapis.com/google.example.library.v1.LibraryService
|
||||
* - https://library-example.googleapis.com/
|
||||
* Example:
|
||||
* audiences: bookstore_android.apps.googleusercontent.com,
|
||||
* bookstore_web.apps.googleusercontent.com
|
||||
*
|
||||
* Generated from protobuf field <code>string audiences = 4;</code>
|
||||
*/
|
||||
protected $audiences = '';
|
||||
/**
|
||||
* Redirect URL if JWT token is required but not present or is expired.
|
||||
* Implement authorizationUrl of securityDefinitions in OpenAPI spec.
|
||||
*
|
||||
* Generated from protobuf field <code>string authorization_url = 5;</code>
|
||||
*/
|
||||
protected $authorization_url = '';
|
||||
/**
|
||||
* Defines the locations to extract the JWT. For now it is only used by the
|
||||
* Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations]
|
||||
* (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations)
|
||||
* JWT locations can be one of HTTP headers, URL query parameters or
|
||||
* cookies. The rule is that the first match wins.
|
||||
* If not specified, default to use following 3 locations:
|
||||
* 1) Authorization: Bearer
|
||||
* 2) x-goog-iap-jwt-assertion
|
||||
* 3) access_token query parameter
|
||||
* Default locations can be specified as followings:
|
||||
* jwt_locations:
|
||||
* - header: Authorization
|
||||
* value_prefix: "Bearer "
|
||||
* - header: x-goog-iap-jwt-assertion
|
||||
* - query: access_token
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.JwtLocation jwt_locations = 6;</code>
|
||||
*/
|
||||
private $jwt_locations;
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $id
|
||||
* The unique identifier of the auth provider. It will be referred to by
|
||||
* `AuthRequirement.provider_id`.
|
||||
* Example: "bookstore_auth".
|
||||
* @type string $issuer
|
||||
* Identifies the principal that issued the JWT. See
|
||||
* https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1
|
||||
* Usually a URL or an email address.
|
||||
* Example: https://securetoken.google.com
|
||||
* Example: 1234567-compute@developer.gserviceaccount.com
|
||||
* @type string $jwks_uri
|
||||
* URL of the provider's public key set to validate signature of the JWT. See
|
||||
* [OpenID
|
||||
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).
|
||||
* Optional if the key set document:
|
||||
* - can be retrieved from
|
||||
* [OpenID
|
||||
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html)
|
||||
* of the issuer.
|
||||
* - can be inferred from the email domain of the issuer (e.g. a Google
|
||||
* service account).
|
||||
* Example: https://www.googleapis.com/oauth2/v1/certs
|
||||
* @type string $audiences
|
||||
* The list of JWT
|
||||
* [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
|
||||
* that are allowed to access. A JWT containing any of these audiences will
|
||||
* be accepted. When this setting is absent, JWTs with audiences:
|
||||
* - "https://[service.name]/[google.protobuf.Api.name]"
|
||||
* - "https://[service.name]/"
|
||||
* will be accepted.
|
||||
* For example, if no audiences are in the setting, LibraryService API will
|
||||
* accept JWTs with the following audiences:
|
||||
* -
|
||||
* https://library-example.googleapis.com/google.example.library.v1.LibraryService
|
||||
* - https://library-example.googleapis.com/
|
||||
* Example:
|
||||
* audiences: bookstore_android.apps.googleusercontent.com,
|
||||
* bookstore_web.apps.googleusercontent.com
|
||||
* @type string $authorization_url
|
||||
* Redirect URL if JWT token is required but not present or is expired.
|
||||
* Implement authorizationUrl of securityDefinitions in OpenAPI spec.
|
||||
* @type array<\Google\Api\JwtLocation>|\Google\Protobuf\Internal\RepeatedField $jwt_locations
|
||||
* Defines the locations to extract the JWT. For now it is only used by the
|
||||
* Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations]
|
||||
* (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations)
|
||||
* JWT locations can be one of HTTP headers, URL query parameters or
|
||||
* cookies. The rule is that the first match wins.
|
||||
* If not specified, default to use following 3 locations:
|
||||
* 1) Authorization: Bearer
|
||||
* 2) x-goog-iap-jwt-assertion
|
||||
* 3) access_token query parameter
|
||||
* Default locations can be specified as followings:
|
||||
* jwt_locations:
|
||||
* - header: Authorization
|
||||
* value_prefix: "Bearer "
|
||||
* - header: x-goog-iap-jwt-assertion
|
||||
* - query: access_token
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL)
|
||||
{
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Auth::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
/**
|
||||
* The unique identifier of the auth provider. It will be referred to by
|
||||
* `AuthRequirement.provider_id`.
|
||||
* Example: "bookstore_auth".
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
/**
|
||||
* The unique identifier of the auth provider. It will be referred to by
|
||||
* `AuthRequirement.provider_id`.
|
||||
* Example: "bookstore_auth".
|
||||
*
|
||||
* Generated from protobuf field <code>string id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->id = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Identifies the principal that issued the JWT. See
|
||||
* https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1
|
||||
* Usually a URL or an email address.
|
||||
* Example: https://securetoken.google.com
|
||||
* Example: 1234567-compute@developer.gserviceaccount.com
|
||||
*
|
||||
* Generated from protobuf field <code>string issuer = 2;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getIssuer()
|
||||
{
|
||||
return $this->issuer;
|
||||
}
|
||||
/**
|
||||
* Identifies the principal that issued the JWT. See
|
||||
* https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1
|
||||
* Usually a URL or an email address.
|
||||
* Example: https://securetoken.google.com
|
||||
* Example: 1234567-compute@developer.gserviceaccount.com
|
||||
*
|
||||
* Generated from protobuf field <code>string issuer = 2;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setIssuer($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->issuer = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* URL of the provider's public key set to validate signature of the JWT. See
|
||||
* [OpenID
|
||||
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).
|
||||
* Optional if the key set document:
|
||||
* - can be retrieved from
|
||||
* [OpenID
|
||||
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html)
|
||||
* of the issuer.
|
||||
* - can be inferred from the email domain of the issuer (e.g. a Google
|
||||
* service account).
|
||||
* Example: https://www.googleapis.com/oauth2/v1/certs
|
||||
*
|
||||
* Generated from protobuf field <code>string jwks_uri = 3;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getJwksUri()
|
||||
{
|
||||
return $this->jwks_uri;
|
||||
}
|
||||
/**
|
||||
* URL of the provider's public key set to validate signature of the JWT. See
|
||||
* [OpenID
|
||||
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).
|
||||
* Optional if the key set document:
|
||||
* - can be retrieved from
|
||||
* [OpenID
|
||||
* Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html)
|
||||
* of the issuer.
|
||||
* - can be inferred from the email domain of the issuer (e.g. a Google
|
||||
* service account).
|
||||
* Example: https://www.googleapis.com/oauth2/v1/certs
|
||||
*
|
||||
* Generated from protobuf field <code>string jwks_uri = 3;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setJwksUri($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->jwks_uri = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* The list of JWT
|
||||
* [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
|
||||
* that are allowed to access. A JWT containing any of these audiences will
|
||||
* be accepted. When this setting is absent, JWTs with audiences:
|
||||
* - "https://[service.name]/[google.protobuf.Api.name]"
|
||||
* - "https://[service.name]/"
|
||||
* will be accepted.
|
||||
* For example, if no audiences are in the setting, LibraryService API will
|
||||
* accept JWTs with the following audiences:
|
||||
* -
|
||||
* https://library-example.googleapis.com/google.example.library.v1.LibraryService
|
||||
* - https://library-example.googleapis.com/
|
||||
* Example:
|
||||
* audiences: bookstore_android.apps.googleusercontent.com,
|
||||
* bookstore_web.apps.googleusercontent.com
|
||||
*
|
||||
* Generated from protobuf field <code>string audiences = 4;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getAudiences()
|
||||
{
|
||||
return $this->audiences;
|
||||
}
|
||||
/**
|
||||
* The list of JWT
|
||||
* [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
|
||||
* that are allowed to access. A JWT containing any of these audiences will
|
||||
* be accepted. When this setting is absent, JWTs with audiences:
|
||||
* - "https://[service.name]/[google.protobuf.Api.name]"
|
||||
* - "https://[service.name]/"
|
||||
* will be accepted.
|
||||
* For example, if no audiences are in the setting, LibraryService API will
|
||||
* accept JWTs with the following audiences:
|
||||
* -
|
||||
* https://library-example.googleapis.com/google.example.library.v1.LibraryService
|
||||
* - https://library-example.googleapis.com/
|
||||
* Example:
|
||||
* audiences: bookstore_android.apps.googleusercontent.com,
|
||||
* bookstore_web.apps.googleusercontent.com
|
||||
*
|
||||
* Generated from protobuf field <code>string audiences = 4;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setAudiences($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->audiences = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Redirect URL if JWT token is required but not present or is expired.
|
||||
* Implement authorizationUrl of securityDefinitions in OpenAPI spec.
|
||||
*
|
||||
* Generated from protobuf field <code>string authorization_url = 5;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getAuthorizationUrl()
|
||||
{
|
||||
return $this->authorization_url;
|
||||
}
|
||||
/**
|
||||
* Redirect URL if JWT token is required but not present or is expired.
|
||||
* Implement authorizationUrl of securityDefinitions in OpenAPI spec.
|
||||
*
|
||||
* Generated from protobuf field <code>string authorization_url = 5;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setAuthorizationUrl($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->authorization_url = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Defines the locations to extract the JWT. For now it is only used by the
|
||||
* Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations]
|
||||
* (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations)
|
||||
* JWT locations can be one of HTTP headers, URL query parameters or
|
||||
* cookies. The rule is that the first match wins.
|
||||
* If not specified, default to use following 3 locations:
|
||||
* 1) Authorization: Bearer
|
||||
* 2) x-goog-iap-jwt-assertion
|
||||
* 3) access_token query parameter
|
||||
* Default locations can be specified as followings:
|
||||
* jwt_locations:
|
||||
* - header: Authorization
|
||||
* value_prefix: "Bearer "
|
||||
* - header: x-goog-iap-jwt-assertion
|
||||
* - query: access_token
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.JwtLocation jwt_locations = 6;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
*/
|
||||
public function getJwtLocations()
|
||||
{
|
||||
return $this->jwt_locations;
|
||||
}
|
||||
/**
|
||||
* Defines the locations to extract the JWT. For now it is only used by the
|
||||
* Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations]
|
||||
* (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations)
|
||||
* JWT locations can be one of HTTP headers, URL query parameters or
|
||||
* cookies. The rule is that the first match wins.
|
||||
* If not specified, default to use following 3 locations:
|
||||
* 1) Authorization: Bearer
|
||||
* 2) x-goog-iap-jwt-assertion
|
||||
* 3) access_token query parameter
|
||||
* Default locations can be specified as followings:
|
||||
* jwt_locations:
|
||||
* - header: Authorization
|
||||
* value_prefix: "Bearer "
|
||||
* - header: x-goog-iap-jwt-assertion
|
||||
* - query: access_token
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.JwtLocation jwt_locations = 6;</code>
|
||||
* @param array<\Google\Api\JwtLocation>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setJwtLocations($var)
|
||||
{
|
||||
$arr = GPBUtil::checkRepeatedField($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType::MESSAGE, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\JwtLocation::class);
|
||||
$this->jwt_locations = $arr;
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
150
vendor/Gcp/google/common-protos/src/Api/AuthRequirement.php
vendored
Normal file
150
vendor/Gcp/google/common-protos/src/Api/AuthRequirement.php
vendored
Normal file
@@ -0,0 +1,150 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/auth.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\Google\Api;
|
||||
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\RepeatedField;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBUtil;
|
||||
/**
|
||||
* User-defined authentication requirements, including support for
|
||||
* [JSON Web Token
|
||||
* (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
|
||||
*
|
||||
* Generated from protobuf message <code>google.api.AuthRequirement</code>
|
||||
*/
|
||||
class AuthRequirement extends \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* [id][google.api.AuthProvider.id] from authentication provider.
|
||||
* Example:
|
||||
* provider_id: bookstore_auth
|
||||
*
|
||||
* Generated from protobuf field <code>string provider_id = 1;</code>
|
||||
*/
|
||||
protected $provider_id = '';
|
||||
/**
|
||||
* NOTE: This will be deprecated soon, once AuthProvider.audiences is
|
||||
* implemented and accepted in all the runtime components.
|
||||
* The list of JWT
|
||||
* [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
|
||||
* that are allowed to access. A JWT containing any of these audiences will
|
||||
* be accepted. When this setting is absent, only JWTs with audience
|
||||
* "https://[Service_name][google.api.Service.name]/[API_name][google.protobuf.Api.name]"
|
||||
* will be accepted. For example, if no audiences are in the setting,
|
||||
* LibraryService API will only accept JWTs with the following audience
|
||||
* "https://library-example.googleapis.com/google.example.library.v1.LibraryService".
|
||||
* Example:
|
||||
* audiences: bookstore_android.apps.googleusercontent.com,
|
||||
* bookstore_web.apps.googleusercontent.com
|
||||
*
|
||||
* Generated from protobuf field <code>string audiences = 2;</code>
|
||||
*/
|
||||
protected $audiences = '';
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $provider_id
|
||||
* [id][google.api.AuthProvider.id] from authentication provider.
|
||||
* Example:
|
||||
* provider_id: bookstore_auth
|
||||
* @type string $audiences
|
||||
* NOTE: This will be deprecated soon, once AuthProvider.audiences is
|
||||
* implemented and accepted in all the runtime components.
|
||||
* The list of JWT
|
||||
* [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
|
||||
* that are allowed to access. A JWT containing any of these audiences will
|
||||
* be accepted. When this setting is absent, only JWTs with audience
|
||||
* "https://[Service_name][google.api.Service.name]/[API_name][google.protobuf.Api.name]"
|
||||
* will be accepted. For example, if no audiences are in the setting,
|
||||
* LibraryService API will only accept JWTs with the following audience
|
||||
* "https://library-example.googleapis.com/google.example.library.v1.LibraryService".
|
||||
* Example:
|
||||
* audiences: bookstore_android.apps.googleusercontent.com,
|
||||
* bookstore_web.apps.googleusercontent.com
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL)
|
||||
{
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Auth::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
/**
|
||||
* [id][google.api.AuthProvider.id] from authentication provider.
|
||||
* Example:
|
||||
* provider_id: bookstore_auth
|
||||
*
|
||||
* Generated from protobuf field <code>string provider_id = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getProviderId()
|
||||
{
|
||||
return $this->provider_id;
|
||||
}
|
||||
/**
|
||||
* [id][google.api.AuthProvider.id] from authentication provider.
|
||||
* Example:
|
||||
* provider_id: bookstore_auth
|
||||
*
|
||||
* Generated from protobuf field <code>string provider_id = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setProviderId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->provider_id = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* NOTE: This will be deprecated soon, once AuthProvider.audiences is
|
||||
* implemented and accepted in all the runtime components.
|
||||
* The list of JWT
|
||||
* [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
|
||||
* that are allowed to access. A JWT containing any of these audiences will
|
||||
* be accepted. When this setting is absent, only JWTs with audience
|
||||
* "https://[Service_name][google.api.Service.name]/[API_name][google.protobuf.Api.name]"
|
||||
* will be accepted. For example, if no audiences are in the setting,
|
||||
* LibraryService API will only accept JWTs with the following audience
|
||||
* "https://library-example.googleapis.com/google.example.library.v1.LibraryService".
|
||||
* Example:
|
||||
* audiences: bookstore_android.apps.googleusercontent.com,
|
||||
* bookstore_web.apps.googleusercontent.com
|
||||
*
|
||||
* Generated from protobuf field <code>string audiences = 2;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getAudiences()
|
||||
{
|
||||
return $this->audiences;
|
||||
}
|
||||
/**
|
||||
* NOTE: This will be deprecated soon, once AuthProvider.audiences is
|
||||
* implemented and accepted in all the runtime components.
|
||||
* The list of JWT
|
||||
* [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
|
||||
* that are allowed to access. A JWT containing any of these audiences will
|
||||
* be accepted. When this setting is absent, only JWTs with audience
|
||||
* "https://[Service_name][google.api.Service.name]/[API_name][google.protobuf.Api.name]"
|
||||
* will be accepted. For example, if no audiences are in the setting,
|
||||
* LibraryService API will only accept JWTs with the following audience
|
||||
* "https://library-example.googleapis.com/google.example.library.v1.LibraryService".
|
||||
* Example:
|
||||
* audiences: bookstore_android.apps.googleusercontent.com,
|
||||
* bookstore_web.apps.googleusercontent.com
|
||||
*
|
||||
* Generated from protobuf field <code>string audiences = 2;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setAudiences($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->audiences = $var;
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
111
vendor/Gcp/google/common-protos/src/Api/Authentication.php
vendored
Normal file
111
vendor/Gcp/google/common-protos/src/Api/Authentication.php
vendored
Normal file
@@ -0,0 +1,111 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/auth.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\Google\Api;
|
||||
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\RepeatedField;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBUtil;
|
||||
/**
|
||||
* `Authentication` defines the authentication configuration for API methods
|
||||
* provided by an API service.
|
||||
* Example:
|
||||
* name: calendar.googleapis.com
|
||||
* authentication:
|
||||
* providers:
|
||||
* - id: google_calendar_auth
|
||||
* jwks_uri: https://www.googleapis.com/oauth2/v1/certs
|
||||
* issuer: https://securetoken.google.com
|
||||
* rules:
|
||||
* - selector: "*"
|
||||
* requirements:
|
||||
* provider_id: google_calendar_auth
|
||||
* - selector: google.calendar.Delegate
|
||||
* oauth:
|
||||
* canonical_scopes: https://www.googleapis.com/auth/calendar.read
|
||||
*
|
||||
* Generated from protobuf message <code>google.api.Authentication</code>
|
||||
*/
|
||||
class Authentication extends \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* A list of authentication rules that apply to individual API methods.
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.AuthenticationRule rules = 3;</code>
|
||||
*/
|
||||
private $rules;
|
||||
/**
|
||||
* Defines a set of authentication providers that a service supports.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.AuthProvider providers = 4;</code>
|
||||
*/
|
||||
private $providers;
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type array<\Google\Api\AuthenticationRule>|\Google\Protobuf\Internal\RepeatedField $rules
|
||||
* A list of authentication rules that apply to individual API methods.
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
* @type array<\Google\Api\AuthProvider>|\Google\Protobuf\Internal\RepeatedField $providers
|
||||
* Defines a set of authentication providers that a service supports.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL)
|
||||
{
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Auth::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
/**
|
||||
* A list of authentication rules that apply to individual API methods.
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.AuthenticationRule rules = 3;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
*/
|
||||
public function getRules()
|
||||
{
|
||||
return $this->rules;
|
||||
}
|
||||
/**
|
||||
* A list of authentication rules that apply to individual API methods.
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.AuthenticationRule rules = 3;</code>
|
||||
* @param array<\Google\Api\AuthenticationRule>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setRules($var)
|
||||
{
|
||||
$arr = GPBUtil::checkRepeatedField($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType::MESSAGE, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\AuthenticationRule::class);
|
||||
$this->rules = $arr;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Defines a set of authentication providers that a service supports.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.AuthProvider providers = 4;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
*/
|
||||
public function getProviders()
|
||||
{
|
||||
return $this->providers;
|
||||
}
|
||||
/**
|
||||
* Defines a set of authentication providers that a service supports.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.AuthProvider providers = 4;</code>
|
||||
* @param array<\Google\Api\AuthProvider>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setProviders($var)
|
||||
{
|
||||
$arr = GPBUtil::checkRepeatedField($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType::MESSAGE, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\AuthProvider::class);
|
||||
$this->providers = $arr;
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
180
vendor/Gcp/google/common-protos/src/Api/AuthenticationRule.php
vendored
Normal file
180
vendor/Gcp/google/common-protos/src/Api/AuthenticationRule.php
vendored
Normal file
@@ -0,0 +1,180 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/auth.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\Google\Api;
|
||||
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\RepeatedField;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBUtil;
|
||||
/**
|
||||
* Authentication rules for the service.
|
||||
* By default, if a method has any authentication requirements, every request
|
||||
* must include a valid credential matching one of the requirements.
|
||||
* It's an error to include more than one kind of credential in a single
|
||||
* request.
|
||||
* If a method doesn't have any auth requirements, request credentials will be
|
||||
* ignored.
|
||||
*
|
||||
* Generated from protobuf message <code>google.api.AuthenticationRule</code>
|
||||
*/
|
||||
class AuthenticationRule extends \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Selects the methods to which this rule applies.
|
||||
* Refer to [selector][google.api.DocumentationRule.selector] for syntax
|
||||
* details.
|
||||
*
|
||||
* Generated from protobuf field <code>string selector = 1;</code>
|
||||
*/
|
||||
protected $selector = '';
|
||||
/**
|
||||
* The requirements for OAuth credentials.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.OAuthRequirements oauth = 2;</code>
|
||||
*/
|
||||
protected $oauth = null;
|
||||
/**
|
||||
* If true, the service accepts API keys without any other credential.
|
||||
* This flag only applies to HTTP and gRPC requests.
|
||||
*
|
||||
* Generated from protobuf field <code>bool allow_without_credential = 5;</code>
|
||||
*/
|
||||
protected $allow_without_credential = \false;
|
||||
/**
|
||||
* Requirements for additional authentication providers.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.AuthRequirement requirements = 7;</code>
|
||||
*/
|
||||
private $requirements;
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $selector
|
||||
* Selects the methods to which this rule applies.
|
||||
* Refer to [selector][google.api.DocumentationRule.selector] for syntax
|
||||
* details.
|
||||
* @type \Google\Api\OAuthRequirements $oauth
|
||||
* The requirements for OAuth credentials.
|
||||
* @type bool $allow_without_credential
|
||||
* If true, the service accepts API keys without any other credential.
|
||||
* This flag only applies to HTTP and gRPC requests.
|
||||
* @type array<\Google\Api\AuthRequirement>|\Google\Protobuf\Internal\RepeatedField $requirements
|
||||
* Requirements for additional authentication providers.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL)
|
||||
{
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Auth::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
/**
|
||||
* Selects the methods to which this rule applies.
|
||||
* Refer to [selector][google.api.DocumentationRule.selector] for syntax
|
||||
* details.
|
||||
*
|
||||
* Generated from protobuf field <code>string selector = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getSelector()
|
||||
{
|
||||
return $this->selector;
|
||||
}
|
||||
/**
|
||||
* Selects the methods to which this rule applies.
|
||||
* Refer to [selector][google.api.DocumentationRule.selector] for syntax
|
||||
* details.
|
||||
*
|
||||
* Generated from protobuf field <code>string selector = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setSelector($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->selector = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* The requirements for OAuth credentials.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.OAuthRequirements oauth = 2;</code>
|
||||
* @return \Google\Api\OAuthRequirements|null
|
||||
*/
|
||||
public function getOauth()
|
||||
{
|
||||
return $this->oauth;
|
||||
}
|
||||
public function hasOauth()
|
||||
{
|
||||
return isset($this->oauth);
|
||||
}
|
||||
public function clearOauth()
|
||||
{
|
||||
unset($this->oauth);
|
||||
}
|
||||
/**
|
||||
* The requirements for OAuth credentials.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.OAuthRequirements oauth = 2;</code>
|
||||
* @param \Google\Api\OAuthRequirements $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setOauth($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\OAuthRequirements::class);
|
||||
$this->oauth = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* If true, the service accepts API keys without any other credential.
|
||||
* This flag only applies to HTTP and gRPC requests.
|
||||
*
|
||||
* Generated from protobuf field <code>bool allow_without_credential = 5;</code>
|
||||
* @return bool
|
||||
*/
|
||||
public function getAllowWithoutCredential()
|
||||
{
|
||||
return $this->allow_without_credential;
|
||||
}
|
||||
/**
|
||||
* If true, the service accepts API keys without any other credential.
|
||||
* This flag only applies to HTTP and gRPC requests.
|
||||
*
|
||||
* Generated from protobuf field <code>bool allow_without_credential = 5;</code>
|
||||
* @param bool $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setAllowWithoutCredential($var)
|
||||
{
|
||||
GPBUtil::checkBool($var);
|
||||
$this->allow_without_credential = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Requirements for additional authentication providers.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.AuthRequirement requirements = 7;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
*/
|
||||
public function getRequirements()
|
||||
{
|
||||
return $this->requirements;
|
||||
}
|
||||
/**
|
||||
* Requirements for additional authentication providers.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.AuthRequirement requirements = 7;</code>
|
||||
* @param array<\Google\Api\AuthRequirement>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setRequirements($var)
|
||||
{
|
||||
$arr = GPBUtil::checkRepeatedField($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType::MESSAGE, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\AuthRequirement::class);
|
||||
$this->requirements = $arr;
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
65
vendor/Gcp/google/common-protos/src/Api/Backend.php
vendored
Normal file
65
vendor/Gcp/google/common-protos/src/Api/Backend.php
vendored
Normal file
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/backend.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\Google\Api;
|
||||
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\RepeatedField;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBUtil;
|
||||
/**
|
||||
* `Backend` defines the backend configuration for a service.
|
||||
*
|
||||
* Generated from protobuf message <code>google.api.Backend</code>
|
||||
*/
|
||||
class Backend extends \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* A list of API backend rules that apply to individual API methods.
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.BackendRule rules = 1;</code>
|
||||
*/
|
||||
private $rules;
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type array<\Google\Api\BackendRule>|\Google\Protobuf\Internal\RepeatedField $rules
|
||||
* A list of API backend rules that apply to individual API methods.
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL)
|
||||
{
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Backend::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
/**
|
||||
* A list of API backend rules that apply to individual API methods.
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.BackendRule rules = 1;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
*/
|
||||
public function getRules()
|
||||
{
|
||||
return $this->rules;
|
||||
}
|
||||
/**
|
||||
* A list of API backend rules that apply to individual API methods.
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.BackendRule rules = 1;</code>
|
||||
* @param array<\Google\Api\BackendRule>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setRules($var)
|
||||
{
|
||||
$arr = GPBUtil::checkRepeatedField($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType::MESSAGE, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\BackendRule::class);
|
||||
$this->rules = $arr;
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
489
vendor/Gcp/google/common-protos/src/Api/BackendRule.php
vendored
Normal file
489
vendor/Gcp/google/common-protos/src/Api/BackendRule.php
vendored
Normal file
@@ -0,0 +1,489 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/backend.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\Google\Api;
|
||||
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\RepeatedField;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBUtil;
|
||||
/**
|
||||
* A backend rule provides configuration for an individual API element.
|
||||
*
|
||||
* Generated from protobuf message <code>google.api.BackendRule</code>
|
||||
*/
|
||||
class BackendRule extends \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Selects the methods to which this rule applies.
|
||||
* Refer to [selector][google.api.DocumentationRule.selector] for syntax
|
||||
* details.
|
||||
*
|
||||
* Generated from protobuf field <code>string selector = 1;</code>
|
||||
*/
|
||||
protected $selector = '';
|
||||
/**
|
||||
* The address of the API backend.
|
||||
* The scheme is used to determine the backend protocol and security.
|
||||
* The following schemes are accepted:
|
||||
* SCHEME PROTOCOL SECURITY
|
||||
* http:// HTTP None
|
||||
* https:// HTTP TLS
|
||||
* grpc:// gRPC None
|
||||
* grpcs:// gRPC TLS
|
||||
* It is recommended to explicitly include a scheme. Leaving out the scheme
|
||||
* may cause constrasting behaviors across platforms.
|
||||
* If the port is unspecified, the default is:
|
||||
* - 80 for schemes without TLS
|
||||
* - 443 for schemes with TLS
|
||||
* For HTTP backends, use [protocol][google.api.BackendRule.protocol]
|
||||
* to specify the protocol version.
|
||||
*
|
||||
* Generated from protobuf field <code>string address = 2;</code>
|
||||
*/
|
||||
protected $address = '';
|
||||
/**
|
||||
* The number of seconds to wait for a response from a request. The default
|
||||
* varies based on the request protocol and deployment environment.
|
||||
*
|
||||
* Generated from protobuf field <code>double deadline = 3;</code>
|
||||
*/
|
||||
protected $deadline = 0.0;
|
||||
/**
|
||||
* Deprecated, do not use.
|
||||
*
|
||||
* Generated from protobuf field <code>double min_deadline = 4 [deprecated = true];</code>
|
||||
* @deprecated
|
||||
*/
|
||||
protected $min_deadline = 0.0;
|
||||
/**
|
||||
* The number of seconds to wait for the completion of a long running
|
||||
* operation. The default is no deadline.
|
||||
*
|
||||
* Generated from protobuf field <code>double operation_deadline = 5;</code>
|
||||
*/
|
||||
protected $operation_deadline = 0.0;
|
||||
/**
|
||||
* Generated from protobuf field <code>.google.api.BackendRule.PathTranslation path_translation = 6;</code>
|
||||
*/
|
||||
protected $path_translation = 0;
|
||||
/**
|
||||
* The protocol used for sending a request to the backend.
|
||||
* The supported values are "http/1.1" and "h2".
|
||||
* The default value is inferred from the scheme in the
|
||||
* [address][google.api.BackendRule.address] field:
|
||||
* SCHEME PROTOCOL
|
||||
* http:// http/1.1
|
||||
* https:// http/1.1
|
||||
* grpc:// h2
|
||||
* grpcs:// h2
|
||||
* For secure HTTP backends (https://) that support HTTP/2, set this field
|
||||
* to "h2" for improved performance.
|
||||
* Configuring this field to non-default values is only supported for secure
|
||||
* HTTP backends. This field will be ignored for all other backends.
|
||||
* See
|
||||
* https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids
|
||||
* for more details on the supported values.
|
||||
*
|
||||
* Generated from protobuf field <code>string protocol = 9;</code>
|
||||
*/
|
||||
protected $protocol = '';
|
||||
/**
|
||||
* The map between request protocol and the backend address.
|
||||
*
|
||||
* Generated from protobuf field <code>map<string, .google.api.BackendRule> overrides_by_request_protocol = 10;</code>
|
||||
*/
|
||||
private $overrides_by_request_protocol;
|
||||
protected $authentication;
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $selector
|
||||
* Selects the methods to which this rule applies.
|
||||
* Refer to [selector][google.api.DocumentationRule.selector] for syntax
|
||||
* details.
|
||||
* @type string $address
|
||||
* The address of the API backend.
|
||||
* The scheme is used to determine the backend protocol and security.
|
||||
* The following schemes are accepted:
|
||||
* SCHEME PROTOCOL SECURITY
|
||||
* http:// HTTP None
|
||||
* https:// HTTP TLS
|
||||
* grpc:// gRPC None
|
||||
* grpcs:// gRPC TLS
|
||||
* It is recommended to explicitly include a scheme. Leaving out the scheme
|
||||
* may cause constrasting behaviors across platforms.
|
||||
* If the port is unspecified, the default is:
|
||||
* - 80 for schemes without TLS
|
||||
* - 443 for schemes with TLS
|
||||
* For HTTP backends, use [protocol][google.api.BackendRule.protocol]
|
||||
* to specify the protocol version.
|
||||
* @type float $deadline
|
||||
* The number of seconds to wait for a response from a request. The default
|
||||
* varies based on the request protocol and deployment environment.
|
||||
* @type float $min_deadline
|
||||
* Deprecated, do not use.
|
||||
* @type float $operation_deadline
|
||||
* The number of seconds to wait for the completion of a long running
|
||||
* operation. The default is no deadline.
|
||||
* @type int $path_translation
|
||||
* @type string $jwt_audience
|
||||
* The JWT audience is used when generating a JWT ID token for the backend.
|
||||
* This ID token will be added in the HTTP "authorization" header, and sent
|
||||
* to the backend.
|
||||
* @type bool $disable_auth
|
||||
* When disable_auth is true, a JWT ID token won't be generated and the
|
||||
* original "Authorization" HTTP header will be preserved. If the header is
|
||||
* used to carry the original token and is expected by the backend, this
|
||||
* field must be set to true to preserve the header.
|
||||
* @type string $protocol
|
||||
* The protocol used for sending a request to the backend.
|
||||
* The supported values are "http/1.1" and "h2".
|
||||
* The default value is inferred from the scheme in the
|
||||
* [address][google.api.BackendRule.address] field:
|
||||
* SCHEME PROTOCOL
|
||||
* http:// http/1.1
|
||||
* https:// http/1.1
|
||||
* grpc:// h2
|
||||
* grpcs:// h2
|
||||
* For secure HTTP backends (https://) that support HTTP/2, set this field
|
||||
* to "h2" for improved performance.
|
||||
* Configuring this field to non-default values is only supported for secure
|
||||
* HTTP backends. This field will be ignored for all other backends.
|
||||
* See
|
||||
* https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids
|
||||
* for more details on the supported values.
|
||||
* @type array|\Google\Protobuf\Internal\MapField $overrides_by_request_protocol
|
||||
* The map between request protocol and the backend address.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL)
|
||||
{
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Backend::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
/**
|
||||
* Selects the methods to which this rule applies.
|
||||
* Refer to [selector][google.api.DocumentationRule.selector] for syntax
|
||||
* details.
|
||||
*
|
||||
* Generated from protobuf field <code>string selector = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getSelector()
|
||||
{
|
||||
return $this->selector;
|
||||
}
|
||||
/**
|
||||
* Selects the methods to which this rule applies.
|
||||
* Refer to [selector][google.api.DocumentationRule.selector] for syntax
|
||||
* details.
|
||||
*
|
||||
* Generated from protobuf field <code>string selector = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setSelector($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->selector = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* The address of the API backend.
|
||||
* The scheme is used to determine the backend protocol and security.
|
||||
* The following schemes are accepted:
|
||||
* SCHEME PROTOCOL SECURITY
|
||||
* http:// HTTP None
|
||||
* https:// HTTP TLS
|
||||
* grpc:// gRPC None
|
||||
* grpcs:// gRPC TLS
|
||||
* It is recommended to explicitly include a scheme. Leaving out the scheme
|
||||
* may cause constrasting behaviors across platforms.
|
||||
* If the port is unspecified, the default is:
|
||||
* - 80 for schemes without TLS
|
||||
* - 443 for schemes with TLS
|
||||
* For HTTP backends, use [protocol][google.api.BackendRule.protocol]
|
||||
* to specify the protocol version.
|
||||
*
|
||||
* Generated from protobuf field <code>string address = 2;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getAddress()
|
||||
{
|
||||
return $this->address;
|
||||
}
|
||||
/**
|
||||
* The address of the API backend.
|
||||
* The scheme is used to determine the backend protocol and security.
|
||||
* The following schemes are accepted:
|
||||
* SCHEME PROTOCOL SECURITY
|
||||
* http:// HTTP None
|
||||
* https:// HTTP TLS
|
||||
* grpc:// gRPC None
|
||||
* grpcs:// gRPC TLS
|
||||
* It is recommended to explicitly include a scheme. Leaving out the scheme
|
||||
* may cause constrasting behaviors across platforms.
|
||||
* If the port is unspecified, the default is:
|
||||
* - 80 for schemes without TLS
|
||||
* - 443 for schemes with TLS
|
||||
* For HTTP backends, use [protocol][google.api.BackendRule.protocol]
|
||||
* to specify the protocol version.
|
||||
*
|
||||
* Generated from protobuf field <code>string address = 2;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setAddress($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->address = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* The number of seconds to wait for a response from a request. The default
|
||||
* varies based on the request protocol and deployment environment.
|
||||
*
|
||||
* Generated from protobuf field <code>double deadline = 3;</code>
|
||||
* @return float
|
||||
*/
|
||||
public function getDeadline()
|
||||
{
|
||||
return $this->deadline;
|
||||
}
|
||||
/**
|
||||
* The number of seconds to wait for a response from a request. The default
|
||||
* varies based on the request protocol and deployment environment.
|
||||
*
|
||||
* Generated from protobuf field <code>double deadline = 3;</code>
|
||||
* @param float $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDeadline($var)
|
||||
{
|
||||
GPBUtil::checkDouble($var);
|
||||
$this->deadline = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Deprecated, do not use.
|
||||
*
|
||||
* Generated from protobuf field <code>double min_deadline = 4 [deprecated = true];</code>
|
||||
* @return float
|
||||
* @deprecated
|
||||
*/
|
||||
public function getMinDeadline()
|
||||
{
|
||||
@\trigger_error('min_deadline is deprecated.', \E_USER_DEPRECATED);
|
||||
return $this->min_deadline;
|
||||
}
|
||||
/**
|
||||
* Deprecated, do not use.
|
||||
*
|
||||
* Generated from protobuf field <code>double min_deadline = 4 [deprecated = true];</code>
|
||||
* @param float $var
|
||||
* @return $this
|
||||
* @deprecated
|
||||
*/
|
||||
public function setMinDeadline($var)
|
||||
{
|
||||
@\trigger_error('min_deadline is deprecated.', \E_USER_DEPRECATED);
|
||||
GPBUtil::checkDouble($var);
|
||||
$this->min_deadline = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* The number of seconds to wait for the completion of a long running
|
||||
* operation. The default is no deadline.
|
||||
*
|
||||
* Generated from protobuf field <code>double operation_deadline = 5;</code>
|
||||
* @return float
|
||||
*/
|
||||
public function getOperationDeadline()
|
||||
{
|
||||
return $this->operation_deadline;
|
||||
}
|
||||
/**
|
||||
* The number of seconds to wait for the completion of a long running
|
||||
* operation. The default is no deadline.
|
||||
*
|
||||
* Generated from protobuf field <code>double operation_deadline = 5;</code>
|
||||
* @param float $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setOperationDeadline($var)
|
||||
{
|
||||
GPBUtil::checkDouble($var);
|
||||
$this->operation_deadline = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Generated from protobuf field <code>.google.api.BackendRule.PathTranslation path_translation = 6;</code>
|
||||
* @return int
|
||||
*/
|
||||
public function getPathTranslation()
|
||||
{
|
||||
return $this->path_translation;
|
||||
}
|
||||
/**
|
||||
* Generated from protobuf field <code>.google.api.BackendRule.PathTranslation path_translation = 6;</code>
|
||||
* @param int $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setPathTranslation($var)
|
||||
{
|
||||
GPBUtil::checkEnum($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\BackendRule\PathTranslation::class);
|
||||
$this->path_translation = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* The JWT audience is used when generating a JWT ID token for the backend.
|
||||
* This ID token will be added in the HTTP "authorization" header, and sent
|
||||
* to the backend.
|
||||
*
|
||||
* Generated from protobuf field <code>string jwt_audience = 7;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getJwtAudience()
|
||||
{
|
||||
return $this->readOneof(7);
|
||||
}
|
||||
public function hasJwtAudience()
|
||||
{
|
||||
return $this->hasOneof(7);
|
||||
}
|
||||
/**
|
||||
* The JWT audience is used when generating a JWT ID token for the backend.
|
||||
* This ID token will be added in the HTTP "authorization" header, and sent
|
||||
* to the backend.
|
||||
*
|
||||
* Generated from protobuf field <code>string jwt_audience = 7;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setJwtAudience($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->writeOneof(7, $var);
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* When disable_auth is true, a JWT ID token won't be generated and the
|
||||
* original "Authorization" HTTP header will be preserved. If the header is
|
||||
* used to carry the original token and is expected by the backend, this
|
||||
* field must be set to true to preserve the header.
|
||||
*
|
||||
* Generated from protobuf field <code>bool disable_auth = 8;</code>
|
||||
* @return bool
|
||||
*/
|
||||
public function getDisableAuth()
|
||||
{
|
||||
return $this->readOneof(8);
|
||||
}
|
||||
public function hasDisableAuth()
|
||||
{
|
||||
return $this->hasOneof(8);
|
||||
}
|
||||
/**
|
||||
* When disable_auth is true, a JWT ID token won't be generated and the
|
||||
* original "Authorization" HTTP header will be preserved. If the header is
|
||||
* used to carry the original token and is expected by the backend, this
|
||||
* field must be set to true to preserve the header.
|
||||
*
|
||||
* Generated from protobuf field <code>bool disable_auth = 8;</code>
|
||||
* @param bool $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDisableAuth($var)
|
||||
{
|
||||
GPBUtil::checkBool($var);
|
||||
$this->writeOneof(8, $var);
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* The protocol used for sending a request to the backend.
|
||||
* The supported values are "http/1.1" and "h2".
|
||||
* The default value is inferred from the scheme in the
|
||||
* [address][google.api.BackendRule.address] field:
|
||||
* SCHEME PROTOCOL
|
||||
* http:// http/1.1
|
||||
* https:// http/1.1
|
||||
* grpc:// h2
|
||||
* grpcs:// h2
|
||||
* For secure HTTP backends (https://) that support HTTP/2, set this field
|
||||
* to "h2" for improved performance.
|
||||
* Configuring this field to non-default values is only supported for secure
|
||||
* HTTP backends. This field will be ignored for all other backends.
|
||||
* See
|
||||
* https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids
|
||||
* for more details on the supported values.
|
||||
*
|
||||
* Generated from protobuf field <code>string protocol = 9;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getProtocol()
|
||||
{
|
||||
return $this->protocol;
|
||||
}
|
||||
/**
|
||||
* The protocol used for sending a request to the backend.
|
||||
* The supported values are "http/1.1" and "h2".
|
||||
* The default value is inferred from the scheme in the
|
||||
* [address][google.api.BackendRule.address] field:
|
||||
* SCHEME PROTOCOL
|
||||
* http:// http/1.1
|
||||
* https:// http/1.1
|
||||
* grpc:// h2
|
||||
* grpcs:// h2
|
||||
* For secure HTTP backends (https://) that support HTTP/2, set this field
|
||||
* to "h2" for improved performance.
|
||||
* Configuring this field to non-default values is only supported for secure
|
||||
* HTTP backends. This field will be ignored for all other backends.
|
||||
* See
|
||||
* https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids
|
||||
* for more details on the supported values.
|
||||
*
|
||||
* Generated from protobuf field <code>string protocol = 9;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setProtocol($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->protocol = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* The map between request protocol and the backend address.
|
||||
*
|
||||
* Generated from protobuf field <code>map<string, .google.api.BackendRule> overrides_by_request_protocol = 10;</code>
|
||||
* @return \Google\Protobuf\Internal\MapField
|
||||
*/
|
||||
public function getOverridesByRequestProtocol()
|
||||
{
|
||||
return $this->overrides_by_request_protocol;
|
||||
}
|
||||
/**
|
||||
* The map between request protocol and the backend address.
|
||||
*
|
||||
* Generated from protobuf field <code>map<string, .google.api.BackendRule> overrides_by_request_protocol = 10;</code>
|
||||
* @param array|\Google\Protobuf\Internal\MapField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setOverridesByRequestProtocol($var)
|
||||
{
|
||||
$arr = GPBUtil::checkMapField($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType::STRING, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType::MESSAGE, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\BackendRule::class);
|
||||
$this->overrides_by_request_protocol = $arr;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getAuthentication()
|
||||
{
|
||||
return $this->whichOneof("authentication");
|
||||
}
|
||||
}
|
||||
80
vendor/Gcp/google/common-protos/src/Api/BackendRule/PathTranslation.php
vendored
Normal file
80
vendor/Gcp/google/common-protos/src/Api/BackendRule/PathTranslation.php
vendored
Normal file
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/backend.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\BackendRule;
|
||||
|
||||
use UnexpectedValueException;
|
||||
/**
|
||||
* Path Translation specifies how to combine the backend address with the
|
||||
* request path in order to produce the appropriate forwarding URL for the
|
||||
* request.
|
||||
* Path Translation is applicable only to HTTP-based backends. Backends which
|
||||
* do not accept requests over HTTP/HTTPS should leave `path_translation`
|
||||
* unspecified.
|
||||
*
|
||||
* Protobuf type <code>google.api.BackendRule.PathTranslation</code>
|
||||
*/
|
||||
class PathTranslation
|
||||
{
|
||||
/**
|
||||
* Generated from protobuf enum <code>PATH_TRANSLATION_UNSPECIFIED = 0;</code>
|
||||
*/
|
||||
const PATH_TRANSLATION_UNSPECIFIED = 0;
|
||||
/**
|
||||
* Use the backend address as-is, with no modification to the path. If the
|
||||
* URL pattern contains variables, the variable names and values will be
|
||||
* appended to the query string. If a query string parameter and a URL
|
||||
* pattern variable have the same name, this may result in duplicate keys in
|
||||
* the query string.
|
||||
* # Examples
|
||||
* Given the following operation config:
|
||||
* Method path: /api/company/{cid}/user/{uid}
|
||||
* Backend address: https://example.cloudfunctions.net/getUser
|
||||
* Requests to the following request paths will call the backend at the
|
||||
* translated path:
|
||||
* Request path: /api/company/widgetworks/user/johndoe
|
||||
* Translated:
|
||||
* https://example.cloudfunctions.net/getUser?cid=widgetworks&uid=johndoe
|
||||
* Request path: /api/company/widgetworks/user/johndoe?timezone=EST
|
||||
* Translated:
|
||||
* https://example.cloudfunctions.net/getUser?timezone=EST&cid=widgetworks&uid=johndoe
|
||||
*
|
||||
* Generated from protobuf enum <code>CONSTANT_ADDRESS = 1;</code>
|
||||
*/
|
||||
const CONSTANT_ADDRESS = 1;
|
||||
/**
|
||||
* The request path will be appended to the backend address.
|
||||
* # Examples
|
||||
* Given the following operation config:
|
||||
* Method path: /api/company/{cid}/user/{uid}
|
||||
* Backend address: https://example.appspot.com
|
||||
* Requests to the following request paths will call the backend at the
|
||||
* translated path:
|
||||
* Request path: /api/company/widgetworks/user/johndoe
|
||||
* Translated:
|
||||
* https://example.appspot.com/api/company/widgetworks/user/johndoe
|
||||
* Request path: /api/company/widgetworks/user/johndoe?timezone=EST
|
||||
* Translated:
|
||||
* https://example.appspot.com/api/company/widgetworks/user/johndoe?timezone=EST
|
||||
*
|
||||
* Generated from protobuf enum <code>APPEND_PATH_TO_ADDRESS = 2;</code>
|
||||
*/
|
||||
const APPEND_PATH_TO_ADDRESS = 2;
|
||||
private static $valueToName = [self::PATH_TRANSLATION_UNSPECIFIED => 'PATH_TRANSLATION_UNSPECIFIED', self::CONSTANT_ADDRESS => 'CONSTANT_ADDRESS', self::APPEND_PATH_TO_ADDRESS => 'APPEND_PATH_TO_ADDRESS'];
|
||||
public static function name($value)
|
||||
{
|
||||
if (!isset(self::$valueToName[$value])) {
|
||||
throw new UnexpectedValueException(\sprintf('Enum %s has no name defined for value %s', __CLASS__, $value));
|
||||
}
|
||||
return self::$valueToName[$value];
|
||||
}
|
||||
public static function value($name)
|
||||
{
|
||||
$const = __CLASS__ . '::' . \strtoupper($name);
|
||||
if (!\defined($const)) {
|
||||
throw new UnexpectedValueException(\sprintf('Enum %s has no value defined for name %s', __CLASS__, $name));
|
||||
}
|
||||
return \constant($const);
|
||||
}
|
||||
}
|
||||
101
vendor/Gcp/google/common-protos/src/Api/Billing.php
vendored
Normal file
101
vendor/Gcp/google/common-protos/src/Api/Billing.php
vendored
Normal file
@@ -0,0 +1,101 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/billing.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\Google\Api;
|
||||
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\RepeatedField;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBUtil;
|
||||
/**
|
||||
* Billing related configuration of the service.
|
||||
* The following example shows how to configure monitored resources and metrics
|
||||
* for billing, `consumer_destinations` is the only supported destination and
|
||||
* the monitored resources need at least one label key
|
||||
* `cloud.googleapis.com/location` to indicate the location of the billing
|
||||
* usage, using different monitored resources between monitoring and billing is
|
||||
* recommended so they can be evolved independently:
|
||||
* monitored_resources:
|
||||
* - type: library.googleapis.com/billing_branch
|
||||
* labels:
|
||||
* - key: cloud.googleapis.com/location
|
||||
* description: |
|
||||
* Predefined label to support billing location restriction.
|
||||
* - key: city
|
||||
* description: |
|
||||
* Custom label to define the city where the library branch is located
|
||||
* in.
|
||||
* - key: name
|
||||
* description: Custom label to define the name of the library branch.
|
||||
* metrics:
|
||||
* - name: library.googleapis.com/book/borrowed_count
|
||||
* metric_kind: DELTA
|
||||
* value_type: INT64
|
||||
* unit: "1"
|
||||
* billing:
|
||||
* consumer_destinations:
|
||||
* - monitored_resource: library.googleapis.com/billing_branch
|
||||
* metrics:
|
||||
* - library.googleapis.com/book/borrowed_count
|
||||
*
|
||||
* Generated from protobuf message <code>google.api.Billing</code>
|
||||
*/
|
||||
class Billing extends \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Billing configurations for sending metrics to the consumer project.
|
||||
* There can be multiple consumer destinations per service, each one must have
|
||||
* a different monitored resource type. A metric can be used in at most
|
||||
* one consumer destination.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Billing.BillingDestination consumer_destinations = 8;</code>
|
||||
*/
|
||||
private $consumer_destinations;
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type array<\Google\Api\Billing\BillingDestination>|\Google\Protobuf\Internal\RepeatedField $consumer_destinations
|
||||
* Billing configurations for sending metrics to the consumer project.
|
||||
* There can be multiple consumer destinations per service, each one must have
|
||||
* a different monitored resource type. A metric can be used in at most
|
||||
* one consumer destination.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL)
|
||||
{
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Billing::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
/**
|
||||
* Billing configurations for sending metrics to the consumer project.
|
||||
* There can be multiple consumer destinations per service, each one must have
|
||||
* a different monitored resource type. A metric can be used in at most
|
||||
* one consumer destination.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Billing.BillingDestination consumer_destinations = 8;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
*/
|
||||
public function getConsumerDestinations()
|
||||
{
|
||||
return $this->consumer_destinations;
|
||||
}
|
||||
/**
|
||||
* Billing configurations for sending metrics to the consumer project.
|
||||
* There can be multiple consumer destinations per service, each one must have
|
||||
* a different monitored resource type. A metric can be used in at most
|
||||
* one consumer destination.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Billing.BillingDestination consumer_destinations = 8;</code>
|
||||
* @param array<\Google\Api\Billing\BillingDestination>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setConsumerDestinations($var)
|
||||
{
|
||||
$arr = GPBUtil::checkRepeatedField($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType::MESSAGE, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\Billing\BillingDestination::class);
|
||||
$this->consumer_destinations = $arr;
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
109
vendor/Gcp/google/common-protos/src/Api/Billing/BillingDestination.php
vendored
Normal file
109
vendor/Gcp/google/common-protos/src/Api/Billing/BillingDestination.php
vendored
Normal file
@@ -0,0 +1,109 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/billing.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\Billing;
|
||||
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\RepeatedField;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBUtil;
|
||||
/**
|
||||
* Configuration of a specific billing destination (Currently only support
|
||||
* bill against consumer project).
|
||||
*
|
||||
* Generated from protobuf message <code>google.api.Billing.BillingDestination</code>
|
||||
*/
|
||||
class BillingDestination extends \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* The monitored resource type. The type must be defined in
|
||||
* [Service.monitored_resources][google.api.Service.monitored_resources]
|
||||
* section.
|
||||
*
|
||||
* Generated from protobuf field <code>string monitored_resource = 1;</code>
|
||||
*/
|
||||
protected $monitored_resource = '';
|
||||
/**
|
||||
* Names of the metrics to report to this billing destination.
|
||||
* Each name must be defined in
|
||||
* [Service.metrics][google.api.Service.metrics] section.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string metrics = 2;</code>
|
||||
*/
|
||||
private $metrics;
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $monitored_resource
|
||||
* The monitored resource type. The type must be defined in
|
||||
* [Service.monitored_resources][google.api.Service.monitored_resources]
|
||||
* section.
|
||||
* @type array<string>|\Google\Protobuf\Internal\RepeatedField $metrics
|
||||
* Names of the metrics to report to this billing destination.
|
||||
* Each name must be defined in
|
||||
* [Service.metrics][google.api.Service.metrics] section.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL)
|
||||
{
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Billing::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
/**
|
||||
* The monitored resource type. The type must be defined in
|
||||
* [Service.monitored_resources][google.api.Service.monitored_resources]
|
||||
* section.
|
||||
*
|
||||
* Generated from protobuf field <code>string monitored_resource = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getMonitoredResource()
|
||||
{
|
||||
return $this->monitored_resource;
|
||||
}
|
||||
/**
|
||||
* The monitored resource type. The type must be defined in
|
||||
* [Service.monitored_resources][google.api.Service.monitored_resources]
|
||||
* section.
|
||||
*
|
||||
* Generated from protobuf field <code>string monitored_resource = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setMonitoredResource($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->monitored_resource = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Names of the metrics to report to this billing destination.
|
||||
* Each name must be defined in
|
||||
* [Service.metrics][google.api.Service.metrics] section.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string metrics = 2;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
*/
|
||||
public function getMetrics()
|
||||
{
|
||||
return $this->metrics;
|
||||
}
|
||||
/**
|
||||
* Names of the metrics to report to this billing destination.
|
||||
* Each name must be defined in
|
||||
* [Service.metrics][google.api.Service.metrics] section.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string metrics = 2;</code>
|
||||
* @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setMetrics($var)
|
||||
{
|
||||
$arr = GPBUtil::checkRepeatedField($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType::STRING);
|
||||
$this->metrics = $arr;
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
59
vendor/Gcp/google/common-protos/src/Api/ChangeType.php
vendored
Normal file
59
vendor/Gcp/google/common-protos/src/Api/ChangeType.php
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/config_change.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\Google\Api;
|
||||
|
||||
use UnexpectedValueException;
|
||||
/**
|
||||
* Classifies set of possible modifications to an object in the service
|
||||
* configuration.
|
||||
*
|
||||
* Protobuf type <code>google.api.ChangeType</code>
|
||||
*/
|
||||
class ChangeType
|
||||
{
|
||||
/**
|
||||
* No value was provided.
|
||||
*
|
||||
* Generated from protobuf enum <code>CHANGE_TYPE_UNSPECIFIED = 0;</code>
|
||||
*/
|
||||
const CHANGE_TYPE_UNSPECIFIED = 0;
|
||||
/**
|
||||
* The changed object exists in the 'new' service configuration, but not
|
||||
* in the 'old' service configuration.
|
||||
*
|
||||
* Generated from protobuf enum <code>ADDED = 1;</code>
|
||||
*/
|
||||
const ADDED = 1;
|
||||
/**
|
||||
* The changed object exists in the 'old' service configuration, but not
|
||||
* in the 'new' service configuration.
|
||||
*
|
||||
* Generated from protobuf enum <code>REMOVED = 2;</code>
|
||||
*/
|
||||
const REMOVED = 2;
|
||||
/**
|
||||
* The changed object exists in both service configurations, but its value
|
||||
* is different.
|
||||
*
|
||||
* Generated from protobuf enum <code>MODIFIED = 3;</code>
|
||||
*/
|
||||
const MODIFIED = 3;
|
||||
private static $valueToName = [self::CHANGE_TYPE_UNSPECIFIED => 'CHANGE_TYPE_UNSPECIFIED', self::ADDED => 'ADDED', self::REMOVED => 'REMOVED', self::MODIFIED => 'MODIFIED'];
|
||||
public static function name($value)
|
||||
{
|
||||
if (!isset(self::$valueToName[$value])) {
|
||||
throw new UnexpectedValueException(\sprintf('Enum %s has no name defined for value %s', __CLASS__, $value));
|
||||
}
|
||||
return self::$valueToName[$value];
|
||||
}
|
||||
public static function value($name)
|
||||
{
|
||||
$const = __CLASS__ . '::' . \strtoupper($name);
|
||||
if (!\defined($const)) {
|
||||
throw new UnexpectedValueException(\sprintf('Enum %s has no value defined for name %s', __CLASS__, $name));
|
||||
}
|
||||
return \constant($const);
|
||||
}
|
||||
}
|
||||
51
vendor/Gcp/google/common-protos/src/Api/ClientLibraryDestination.php
vendored
Normal file
51
vendor/Gcp/google/common-protos/src/Api/ClientLibraryDestination.php
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/client.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\Google\Api;
|
||||
|
||||
use UnexpectedValueException;
|
||||
/**
|
||||
* To where should client libraries be published?
|
||||
*
|
||||
* Protobuf type <code>google.api.ClientLibraryDestination</code>
|
||||
*/
|
||||
class ClientLibraryDestination
|
||||
{
|
||||
/**
|
||||
* Client libraries will neither be generated nor published to package
|
||||
* managers.
|
||||
*
|
||||
* Generated from protobuf enum <code>CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = 0;</code>
|
||||
*/
|
||||
const CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = 0;
|
||||
/**
|
||||
* Generate the client library in a repo under github.com/googleapis,
|
||||
* but don't publish it to package managers.
|
||||
*
|
||||
* Generated from protobuf enum <code>GITHUB = 10;</code>
|
||||
*/
|
||||
const GITHUB = 10;
|
||||
/**
|
||||
* Publish the library to package managers like nuget.org and npmjs.com.
|
||||
*
|
||||
* Generated from protobuf enum <code>PACKAGE_MANAGER = 20;</code>
|
||||
*/
|
||||
const PACKAGE_MANAGER = 20;
|
||||
private static $valueToName = [self::CLIENT_LIBRARY_DESTINATION_UNSPECIFIED => 'CLIENT_LIBRARY_DESTINATION_UNSPECIFIED', self::GITHUB => 'GITHUB', self::PACKAGE_MANAGER => 'PACKAGE_MANAGER'];
|
||||
public static function name($value)
|
||||
{
|
||||
if (!isset(self::$valueToName[$value])) {
|
||||
throw new UnexpectedValueException(\sprintf('Enum %s has no name defined for value %s', __CLASS__, $value));
|
||||
}
|
||||
return self::$valueToName[$value];
|
||||
}
|
||||
public static function value($name)
|
||||
{
|
||||
$const = __CLASS__ . '::' . \strtoupper($name);
|
||||
if (!\defined($const)) {
|
||||
throw new UnexpectedValueException(\sprintf('Enum %s has no value defined for name %s', __CLASS__, $name));
|
||||
}
|
||||
return \constant($const);
|
||||
}
|
||||
}
|
||||
80
vendor/Gcp/google/common-protos/src/Api/ClientLibraryOrganization.php
vendored
Normal file
80
vendor/Gcp/google/common-protos/src/Api/ClientLibraryOrganization.php
vendored
Normal file
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/client.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\Google\Api;
|
||||
|
||||
use UnexpectedValueException;
|
||||
/**
|
||||
* The organization for which the client libraries are being published.
|
||||
* Affects the url where generated docs are published, etc.
|
||||
*
|
||||
* Protobuf type <code>google.api.ClientLibraryOrganization</code>
|
||||
*/
|
||||
class ClientLibraryOrganization
|
||||
{
|
||||
/**
|
||||
* Not useful.
|
||||
*
|
||||
* Generated from protobuf enum <code>CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED = 0;</code>
|
||||
*/
|
||||
const CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED = 0;
|
||||
/**
|
||||
* Google Cloud Platform Org.
|
||||
*
|
||||
* Generated from protobuf enum <code>CLOUD = 1;</code>
|
||||
*/
|
||||
const CLOUD = 1;
|
||||
/**
|
||||
* Ads (Advertising) Org.
|
||||
*
|
||||
* Generated from protobuf enum <code>ADS = 2;</code>
|
||||
*/
|
||||
const ADS = 2;
|
||||
/**
|
||||
* Photos Org.
|
||||
*
|
||||
* Generated from protobuf enum <code>PHOTOS = 3;</code>
|
||||
*/
|
||||
const PHOTOS = 3;
|
||||
/**
|
||||
* Street View Org.
|
||||
*
|
||||
* Generated from protobuf enum <code>STREET_VIEW = 4;</code>
|
||||
*/
|
||||
const STREET_VIEW = 4;
|
||||
/**
|
||||
* Shopping Org.
|
||||
*
|
||||
* Generated from protobuf enum <code>SHOPPING = 5;</code>
|
||||
*/
|
||||
const SHOPPING = 5;
|
||||
/**
|
||||
* Geo Org.
|
||||
*
|
||||
* Generated from protobuf enum <code>GEO = 6;</code>
|
||||
*/
|
||||
const GEO = 6;
|
||||
/**
|
||||
* Generative AI - https://developers.generativeai.google
|
||||
*
|
||||
* Generated from protobuf enum <code>GENERATIVE_AI = 7;</code>
|
||||
*/
|
||||
const GENERATIVE_AI = 7;
|
||||
private static $valueToName = [self::CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED => 'CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED', self::CLOUD => 'CLOUD', self::ADS => 'ADS', self::PHOTOS => 'PHOTOS', self::STREET_VIEW => 'STREET_VIEW', self::SHOPPING => 'SHOPPING', self::GEO => 'GEO', self::GENERATIVE_AI => 'GENERATIVE_AI'];
|
||||
public static function name($value)
|
||||
{
|
||||
if (!isset(self::$valueToName[$value])) {
|
||||
throw new UnexpectedValueException(\sprintf('Enum %s has no name defined for value %s', __CLASS__, $value));
|
||||
}
|
||||
return self::$valueToName[$value];
|
||||
}
|
||||
public static function value($name)
|
||||
{
|
||||
$const = __CLASS__ . '::' . \strtoupper($name);
|
||||
if (!\defined($const)) {
|
||||
throw new UnexpectedValueException(\sprintf('Enum %s has no value defined for name %s', __CLASS__, $name));
|
||||
}
|
||||
return \constant($const);
|
||||
}
|
||||
}
|
||||
447
vendor/Gcp/google/common-protos/src/Api/ClientLibrarySettings.php
vendored
Normal file
447
vendor/Gcp/google/common-protos/src/Api/ClientLibrarySettings.php
vendored
Normal file
@@ -0,0 +1,447 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/client.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\Google\Api;
|
||||
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\RepeatedField;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBUtil;
|
||||
/**
|
||||
* Details about how and where to publish client libraries.
|
||||
*
|
||||
* Generated from protobuf message <code>google.api.ClientLibrarySettings</code>
|
||||
*/
|
||||
class ClientLibrarySettings extends \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Version of the API to apply these settings to. This is the full protobuf
|
||||
* package for the API, ending in the version element.
|
||||
* Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
|
||||
*
|
||||
* Generated from protobuf field <code>string version = 1;</code>
|
||||
*/
|
||||
protected $version = '';
|
||||
/**
|
||||
* Launch stage of this version of the API.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.LaunchStage launch_stage = 2;</code>
|
||||
*/
|
||||
protected $launch_stage = 0;
|
||||
/**
|
||||
* When using transport=rest, the client request will encode enums as
|
||||
* numbers rather than strings.
|
||||
*
|
||||
* Generated from protobuf field <code>bool rest_numeric_enums = 3;</code>
|
||||
*/
|
||||
protected $rest_numeric_enums = \false;
|
||||
/**
|
||||
* Settings for legacy Java features, supported in the Service YAML.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.JavaSettings java_settings = 21;</code>
|
||||
*/
|
||||
protected $java_settings = null;
|
||||
/**
|
||||
* Settings for C++ client libraries.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.CppSettings cpp_settings = 22;</code>
|
||||
*/
|
||||
protected $cpp_settings = null;
|
||||
/**
|
||||
* Settings for PHP client libraries.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.PhpSettings php_settings = 23;</code>
|
||||
*/
|
||||
protected $php_settings = null;
|
||||
/**
|
||||
* Settings for Python client libraries.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.PythonSettings python_settings = 24;</code>
|
||||
*/
|
||||
protected $python_settings = null;
|
||||
/**
|
||||
* Settings for Node client libraries.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.NodeSettings node_settings = 25;</code>
|
||||
*/
|
||||
protected $node_settings = null;
|
||||
/**
|
||||
* Settings for .NET client libraries.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.DotnetSettings dotnet_settings = 26;</code>
|
||||
*/
|
||||
protected $dotnet_settings = null;
|
||||
/**
|
||||
* Settings for Ruby client libraries.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.RubySettings ruby_settings = 27;</code>
|
||||
*/
|
||||
protected $ruby_settings = null;
|
||||
/**
|
||||
* Settings for Go client libraries.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.GoSettings go_settings = 28;</code>
|
||||
*/
|
||||
protected $go_settings = null;
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $version
|
||||
* Version of the API to apply these settings to. This is the full protobuf
|
||||
* package for the API, ending in the version element.
|
||||
* Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
|
||||
* @type int $launch_stage
|
||||
* Launch stage of this version of the API.
|
||||
* @type bool $rest_numeric_enums
|
||||
* When using transport=rest, the client request will encode enums as
|
||||
* numbers rather than strings.
|
||||
* @type \Google\Api\JavaSettings $java_settings
|
||||
* Settings for legacy Java features, supported in the Service YAML.
|
||||
* @type \Google\Api\CppSettings $cpp_settings
|
||||
* Settings for C++ client libraries.
|
||||
* @type \Google\Api\PhpSettings $php_settings
|
||||
* Settings for PHP client libraries.
|
||||
* @type \Google\Api\PythonSettings $python_settings
|
||||
* Settings for Python client libraries.
|
||||
* @type \Google\Api\NodeSettings $node_settings
|
||||
* Settings for Node client libraries.
|
||||
* @type \Google\Api\DotnetSettings $dotnet_settings
|
||||
* Settings for .NET client libraries.
|
||||
* @type \Google\Api\RubySettings $ruby_settings
|
||||
* Settings for Ruby client libraries.
|
||||
* @type \Google\Api\GoSettings $go_settings
|
||||
* Settings for Go client libraries.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL)
|
||||
{
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Client::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
/**
|
||||
* Version of the API to apply these settings to. This is the full protobuf
|
||||
* package for the API, ending in the version element.
|
||||
* Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
|
||||
*
|
||||
* Generated from protobuf field <code>string version = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getVersion()
|
||||
{
|
||||
return $this->version;
|
||||
}
|
||||
/**
|
||||
* Version of the API to apply these settings to. This is the full protobuf
|
||||
* package for the API, ending in the version element.
|
||||
* Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
|
||||
*
|
||||
* Generated from protobuf field <code>string version = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setVersion($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->version = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Launch stage of this version of the API.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.LaunchStage launch_stage = 2;</code>
|
||||
* @return int
|
||||
*/
|
||||
public function getLaunchStage()
|
||||
{
|
||||
return $this->launch_stage;
|
||||
}
|
||||
/**
|
||||
* Launch stage of this version of the API.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.LaunchStage launch_stage = 2;</code>
|
||||
* @param int $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setLaunchStage($var)
|
||||
{
|
||||
GPBUtil::checkEnum($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\LaunchStage::class);
|
||||
$this->launch_stage = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* When using transport=rest, the client request will encode enums as
|
||||
* numbers rather than strings.
|
||||
*
|
||||
* Generated from protobuf field <code>bool rest_numeric_enums = 3;</code>
|
||||
* @return bool
|
||||
*/
|
||||
public function getRestNumericEnums()
|
||||
{
|
||||
return $this->rest_numeric_enums;
|
||||
}
|
||||
/**
|
||||
* When using transport=rest, the client request will encode enums as
|
||||
* numbers rather than strings.
|
||||
*
|
||||
* Generated from protobuf field <code>bool rest_numeric_enums = 3;</code>
|
||||
* @param bool $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setRestNumericEnums($var)
|
||||
{
|
||||
GPBUtil::checkBool($var);
|
||||
$this->rest_numeric_enums = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Settings for legacy Java features, supported in the Service YAML.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.JavaSettings java_settings = 21;</code>
|
||||
* @return \Google\Api\JavaSettings|null
|
||||
*/
|
||||
public function getJavaSettings()
|
||||
{
|
||||
return $this->java_settings;
|
||||
}
|
||||
public function hasJavaSettings()
|
||||
{
|
||||
return isset($this->java_settings);
|
||||
}
|
||||
public function clearJavaSettings()
|
||||
{
|
||||
unset($this->java_settings);
|
||||
}
|
||||
/**
|
||||
* Settings for legacy Java features, supported in the Service YAML.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.JavaSettings java_settings = 21;</code>
|
||||
* @param \Google\Api\JavaSettings $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setJavaSettings($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\JavaSettings::class);
|
||||
$this->java_settings = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Settings for C++ client libraries.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.CppSettings cpp_settings = 22;</code>
|
||||
* @return \Google\Api\CppSettings|null
|
||||
*/
|
||||
public function getCppSettings()
|
||||
{
|
||||
return $this->cpp_settings;
|
||||
}
|
||||
public function hasCppSettings()
|
||||
{
|
||||
return isset($this->cpp_settings);
|
||||
}
|
||||
public function clearCppSettings()
|
||||
{
|
||||
unset($this->cpp_settings);
|
||||
}
|
||||
/**
|
||||
* Settings for C++ client libraries.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.CppSettings cpp_settings = 22;</code>
|
||||
* @param \Google\Api\CppSettings $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setCppSettings($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\CppSettings::class);
|
||||
$this->cpp_settings = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Settings for PHP client libraries.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.PhpSettings php_settings = 23;</code>
|
||||
* @return \Google\Api\PhpSettings|null
|
||||
*/
|
||||
public function getPhpSettings()
|
||||
{
|
||||
return $this->php_settings;
|
||||
}
|
||||
public function hasPhpSettings()
|
||||
{
|
||||
return isset($this->php_settings);
|
||||
}
|
||||
public function clearPhpSettings()
|
||||
{
|
||||
unset($this->php_settings);
|
||||
}
|
||||
/**
|
||||
* Settings for PHP client libraries.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.PhpSettings php_settings = 23;</code>
|
||||
* @param \Google\Api\PhpSettings $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setPhpSettings($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\PhpSettings::class);
|
||||
$this->php_settings = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Settings for Python client libraries.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.PythonSettings python_settings = 24;</code>
|
||||
* @return \Google\Api\PythonSettings|null
|
||||
*/
|
||||
public function getPythonSettings()
|
||||
{
|
||||
return $this->python_settings;
|
||||
}
|
||||
public function hasPythonSettings()
|
||||
{
|
||||
return isset($this->python_settings);
|
||||
}
|
||||
public function clearPythonSettings()
|
||||
{
|
||||
unset($this->python_settings);
|
||||
}
|
||||
/**
|
||||
* Settings for Python client libraries.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.PythonSettings python_settings = 24;</code>
|
||||
* @param \Google\Api\PythonSettings $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setPythonSettings($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\PythonSettings::class);
|
||||
$this->python_settings = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Settings for Node client libraries.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.NodeSettings node_settings = 25;</code>
|
||||
* @return \Google\Api\NodeSettings|null
|
||||
*/
|
||||
public function getNodeSettings()
|
||||
{
|
||||
return $this->node_settings;
|
||||
}
|
||||
public function hasNodeSettings()
|
||||
{
|
||||
return isset($this->node_settings);
|
||||
}
|
||||
public function clearNodeSettings()
|
||||
{
|
||||
unset($this->node_settings);
|
||||
}
|
||||
/**
|
||||
* Settings for Node client libraries.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.NodeSettings node_settings = 25;</code>
|
||||
* @param \Google\Api\NodeSettings $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setNodeSettings($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\NodeSettings::class);
|
||||
$this->node_settings = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Settings for .NET client libraries.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.DotnetSettings dotnet_settings = 26;</code>
|
||||
* @return \Google\Api\DotnetSettings|null
|
||||
*/
|
||||
public function getDotnetSettings()
|
||||
{
|
||||
return $this->dotnet_settings;
|
||||
}
|
||||
public function hasDotnetSettings()
|
||||
{
|
||||
return isset($this->dotnet_settings);
|
||||
}
|
||||
public function clearDotnetSettings()
|
||||
{
|
||||
unset($this->dotnet_settings);
|
||||
}
|
||||
/**
|
||||
* Settings for .NET client libraries.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.DotnetSettings dotnet_settings = 26;</code>
|
||||
* @param \Google\Api\DotnetSettings $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDotnetSettings($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\DotnetSettings::class);
|
||||
$this->dotnet_settings = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Settings for Ruby client libraries.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.RubySettings ruby_settings = 27;</code>
|
||||
* @return \Google\Api\RubySettings|null
|
||||
*/
|
||||
public function getRubySettings()
|
||||
{
|
||||
return $this->ruby_settings;
|
||||
}
|
||||
public function hasRubySettings()
|
||||
{
|
||||
return isset($this->ruby_settings);
|
||||
}
|
||||
public function clearRubySettings()
|
||||
{
|
||||
unset($this->ruby_settings);
|
||||
}
|
||||
/**
|
||||
* Settings for Ruby client libraries.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.RubySettings ruby_settings = 27;</code>
|
||||
* @param \Google\Api\RubySettings $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setRubySettings($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\RubySettings::class);
|
||||
$this->ruby_settings = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Settings for Go client libraries.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.GoSettings go_settings = 28;</code>
|
||||
* @return \Google\Api\GoSettings|null
|
||||
*/
|
||||
public function getGoSettings()
|
||||
{
|
||||
return $this->go_settings;
|
||||
}
|
||||
public function hasGoSettings()
|
||||
{
|
||||
return isset($this->go_settings);
|
||||
}
|
||||
public function clearGoSettings()
|
||||
{
|
||||
unset($this->go_settings);
|
||||
}
|
||||
/**
|
||||
* Settings for Go client libraries.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.GoSettings go_settings = 28;</code>
|
||||
* @param \Google\Api\GoSettings $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setGoSettings($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\GoSettings::class);
|
||||
$this->go_settings = $var;
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
101
vendor/Gcp/google/common-protos/src/Api/CommonLanguageSettings.php
vendored
Normal file
101
vendor/Gcp/google/common-protos/src/Api/CommonLanguageSettings.php
vendored
Normal file
@@ -0,0 +1,101 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/client.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\Google\Api;
|
||||
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\RepeatedField;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBUtil;
|
||||
/**
|
||||
* Required information for every language.
|
||||
*
|
||||
* Generated from protobuf message <code>google.api.CommonLanguageSettings</code>
|
||||
*/
|
||||
class CommonLanguageSettings extends \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Link to automatically generated reference documentation. Example:
|
||||
* https://cloud.google.com/nodejs/docs/reference/asset/latest
|
||||
*
|
||||
* Generated from protobuf field <code>string reference_docs_uri = 1 [deprecated = true];</code>
|
||||
* @deprecated
|
||||
*/
|
||||
protected $reference_docs_uri = '';
|
||||
/**
|
||||
* The destination where API teams want this client library to be published.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.ClientLibraryDestination destinations = 2;</code>
|
||||
*/
|
||||
private $destinations;
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $reference_docs_uri
|
||||
* Link to automatically generated reference documentation. Example:
|
||||
* https://cloud.google.com/nodejs/docs/reference/asset/latest
|
||||
* @type array<int>|\Google\Protobuf\Internal\RepeatedField $destinations
|
||||
* The destination where API teams want this client library to be published.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL)
|
||||
{
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Client::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
/**
|
||||
* Link to automatically generated reference documentation. Example:
|
||||
* https://cloud.google.com/nodejs/docs/reference/asset/latest
|
||||
*
|
||||
* Generated from protobuf field <code>string reference_docs_uri = 1 [deprecated = true];</code>
|
||||
* @return string
|
||||
* @deprecated
|
||||
*/
|
||||
public function getReferenceDocsUri()
|
||||
{
|
||||
@\trigger_error('reference_docs_uri is deprecated.', \E_USER_DEPRECATED);
|
||||
return $this->reference_docs_uri;
|
||||
}
|
||||
/**
|
||||
* Link to automatically generated reference documentation. Example:
|
||||
* https://cloud.google.com/nodejs/docs/reference/asset/latest
|
||||
*
|
||||
* Generated from protobuf field <code>string reference_docs_uri = 1 [deprecated = true];</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
* @deprecated
|
||||
*/
|
||||
public function setReferenceDocsUri($var)
|
||||
{
|
||||
@\trigger_error('reference_docs_uri is deprecated.', \E_USER_DEPRECATED);
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->reference_docs_uri = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* The destination where API teams want this client library to be published.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.ClientLibraryDestination destinations = 2;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
*/
|
||||
public function getDestinations()
|
||||
{
|
||||
return $this->destinations;
|
||||
}
|
||||
/**
|
||||
* The destination where API teams want this client library to be published.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.ClientLibraryDestination destinations = 2;</code>
|
||||
* @param array<int>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDestinations($var)
|
||||
{
|
||||
$arr = GPBUtil::checkRepeatedField($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType::ENUM, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\ClientLibraryDestination::class);
|
||||
$this->destinations = $arr;
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
233
vendor/Gcp/google/common-protos/src/Api/ConfigChange.php
vendored
Normal file
233
vendor/Gcp/google/common-protos/src/Api/ConfigChange.php
vendored
Normal file
@@ -0,0 +1,233 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/config_change.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\Google\Api;
|
||||
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\RepeatedField;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBUtil;
|
||||
/**
|
||||
* Output generated from semantically comparing two versions of a service
|
||||
* configuration.
|
||||
* Includes detailed information about a field that have changed with
|
||||
* applicable advice about potential consequences for the change, such as
|
||||
* backwards-incompatibility.
|
||||
*
|
||||
* Generated from protobuf message <code>google.api.ConfigChange</code>
|
||||
*/
|
||||
class ConfigChange extends \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Object hierarchy path to the change, with levels separated by a '.'
|
||||
* character. For repeated fields, an applicable unique identifier field is
|
||||
* used for the index (usually selector, name, or id). For maps, the term
|
||||
* 'key' is used. If the field has no unique identifier, the numeric index
|
||||
* is used.
|
||||
* Examples:
|
||||
* - visibility.rules[selector=="google.LibraryService.ListBooks"].restriction
|
||||
* - quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value
|
||||
* - logging.producer_destinations[0]
|
||||
*
|
||||
* Generated from protobuf field <code>string element = 1;</code>
|
||||
*/
|
||||
protected $element = '';
|
||||
/**
|
||||
* Value of the changed object in the old Service configuration,
|
||||
* in JSON format. This field will not be populated if ChangeType == ADDED.
|
||||
*
|
||||
* Generated from protobuf field <code>string old_value = 2;</code>
|
||||
*/
|
||||
protected $old_value = '';
|
||||
/**
|
||||
* Value of the changed object in the new Service configuration,
|
||||
* in JSON format. This field will not be populated if ChangeType == REMOVED.
|
||||
*
|
||||
* Generated from protobuf field <code>string new_value = 3;</code>
|
||||
*/
|
||||
protected $new_value = '';
|
||||
/**
|
||||
* The type for this change, either ADDED, REMOVED, or MODIFIED.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.ChangeType change_type = 4;</code>
|
||||
*/
|
||||
protected $change_type = 0;
|
||||
/**
|
||||
* Collection of advice provided for this change, useful for determining the
|
||||
* possible impact of this change.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Advice advices = 5;</code>
|
||||
*/
|
||||
private $advices;
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $element
|
||||
* Object hierarchy path to the change, with levels separated by a '.'
|
||||
* character. For repeated fields, an applicable unique identifier field is
|
||||
* used for the index (usually selector, name, or id). For maps, the term
|
||||
* 'key' is used. If the field has no unique identifier, the numeric index
|
||||
* is used.
|
||||
* Examples:
|
||||
* - visibility.rules[selector=="google.LibraryService.ListBooks"].restriction
|
||||
* - quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value
|
||||
* - logging.producer_destinations[0]
|
||||
* @type string $old_value
|
||||
* Value of the changed object in the old Service configuration,
|
||||
* in JSON format. This field will not be populated if ChangeType == ADDED.
|
||||
* @type string $new_value
|
||||
* Value of the changed object in the new Service configuration,
|
||||
* in JSON format. This field will not be populated if ChangeType == REMOVED.
|
||||
* @type int $change_type
|
||||
* The type for this change, either ADDED, REMOVED, or MODIFIED.
|
||||
* @type array<\Google\Api\Advice>|\Google\Protobuf\Internal\RepeatedField $advices
|
||||
* Collection of advice provided for this change, useful for determining the
|
||||
* possible impact of this change.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL)
|
||||
{
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\ConfigChange::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
/**
|
||||
* Object hierarchy path to the change, with levels separated by a '.'
|
||||
* character. For repeated fields, an applicable unique identifier field is
|
||||
* used for the index (usually selector, name, or id). For maps, the term
|
||||
* 'key' is used. If the field has no unique identifier, the numeric index
|
||||
* is used.
|
||||
* Examples:
|
||||
* - visibility.rules[selector=="google.LibraryService.ListBooks"].restriction
|
||||
* - quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value
|
||||
* - logging.producer_destinations[0]
|
||||
*
|
||||
* Generated from protobuf field <code>string element = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getElement()
|
||||
{
|
||||
return $this->element;
|
||||
}
|
||||
/**
|
||||
* Object hierarchy path to the change, with levels separated by a '.'
|
||||
* character. For repeated fields, an applicable unique identifier field is
|
||||
* used for the index (usually selector, name, or id). For maps, the term
|
||||
* 'key' is used. If the field has no unique identifier, the numeric index
|
||||
* is used.
|
||||
* Examples:
|
||||
* - visibility.rules[selector=="google.LibraryService.ListBooks"].restriction
|
||||
* - quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value
|
||||
* - logging.producer_destinations[0]
|
||||
*
|
||||
* Generated from protobuf field <code>string element = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setElement($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->element = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Value of the changed object in the old Service configuration,
|
||||
* in JSON format. This field will not be populated if ChangeType == ADDED.
|
||||
*
|
||||
* Generated from protobuf field <code>string old_value = 2;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getOldValue()
|
||||
{
|
||||
return $this->old_value;
|
||||
}
|
||||
/**
|
||||
* Value of the changed object in the old Service configuration,
|
||||
* in JSON format. This field will not be populated if ChangeType == ADDED.
|
||||
*
|
||||
* Generated from protobuf field <code>string old_value = 2;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setOldValue($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->old_value = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Value of the changed object in the new Service configuration,
|
||||
* in JSON format. This field will not be populated if ChangeType == REMOVED.
|
||||
*
|
||||
* Generated from protobuf field <code>string new_value = 3;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getNewValue()
|
||||
{
|
||||
return $this->new_value;
|
||||
}
|
||||
/**
|
||||
* Value of the changed object in the new Service configuration,
|
||||
* in JSON format. This field will not be populated if ChangeType == REMOVED.
|
||||
*
|
||||
* Generated from protobuf field <code>string new_value = 3;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setNewValue($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->new_value = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* The type for this change, either ADDED, REMOVED, or MODIFIED.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.ChangeType change_type = 4;</code>
|
||||
* @return int
|
||||
*/
|
||||
public function getChangeType()
|
||||
{
|
||||
return $this->change_type;
|
||||
}
|
||||
/**
|
||||
* The type for this change, either ADDED, REMOVED, or MODIFIED.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.ChangeType change_type = 4;</code>
|
||||
* @param int $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setChangeType($var)
|
||||
{
|
||||
GPBUtil::checkEnum($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\ChangeType::class);
|
||||
$this->change_type = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Collection of advice provided for this change, useful for determining the
|
||||
* possible impact of this change.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Advice advices = 5;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
*/
|
||||
public function getAdvices()
|
||||
{
|
||||
return $this->advices;
|
||||
}
|
||||
/**
|
||||
* Collection of advice provided for this change, useful for determining the
|
||||
* possible impact of this change.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Advice advices = 5;</code>
|
||||
* @param array<\Google\Api\Advice>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setAdvices($var)
|
||||
{
|
||||
$arr = GPBUtil::checkRepeatedField($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType::MESSAGE, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\Advice::class);
|
||||
$this->advices = $arr;
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
92
vendor/Gcp/google/common-protos/src/Api/Context.php
vendored
Normal file
92
vendor/Gcp/google/common-protos/src/Api/Context.php
vendored
Normal file
@@ -0,0 +1,92 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/context.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\Google\Api;
|
||||
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\RepeatedField;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBUtil;
|
||||
/**
|
||||
* `Context` defines which contexts an API requests.
|
||||
* Example:
|
||||
* context:
|
||||
* rules:
|
||||
* - selector: "*"
|
||||
* requested:
|
||||
* - google.rpc.context.ProjectContext
|
||||
* - google.rpc.context.OriginContext
|
||||
* The above specifies that all methods in the API request
|
||||
* `google.rpc.context.ProjectContext` and
|
||||
* `google.rpc.context.OriginContext`.
|
||||
* Available context types are defined in package
|
||||
* `google.rpc.context`.
|
||||
* This also provides mechanism to allowlist any protobuf message extension that
|
||||
* can be sent in grpc metadata using “x-goog-ext-<extension_id>-bin” and
|
||||
* “x-goog-ext-<extension_id>-jspb” format. For example, list any service
|
||||
* specific protobuf types that can appear in grpc metadata as follows in your
|
||||
* yaml file:
|
||||
* Example:
|
||||
* context:
|
||||
* rules:
|
||||
* - selector: "google.example.library.v1.LibraryService.CreateBook"
|
||||
* allowed_request_extensions:
|
||||
* - google.foo.v1.NewExtension
|
||||
* allowed_response_extensions:
|
||||
* - google.foo.v1.NewExtension
|
||||
* You can also specify extension ID instead of fully qualified extension name
|
||||
* here.
|
||||
*
|
||||
* Generated from protobuf message <code>google.api.Context</code>
|
||||
*/
|
||||
class Context extends \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* A list of RPC context rules that apply to individual API methods.
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.ContextRule rules = 1;</code>
|
||||
*/
|
||||
private $rules;
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type array<\Google\Api\ContextRule>|\Google\Protobuf\Internal\RepeatedField $rules
|
||||
* A list of RPC context rules that apply to individual API methods.
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL)
|
||||
{
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Context::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
/**
|
||||
* A list of RPC context rules that apply to individual API methods.
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.ContextRule rules = 1;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
*/
|
||||
public function getRules()
|
||||
{
|
||||
return $this->rules;
|
||||
}
|
||||
/**
|
||||
* A list of RPC context rules that apply to individual API methods.
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.ContextRule rules = 1;</code>
|
||||
* @param array<\Google\Api\ContextRule>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setRules($var)
|
||||
{
|
||||
$arr = GPBUtil::checkRepeatedField($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType::MESSAGE, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\ContextRule::class);
|
||||
$this->rules = $arr;
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
202
vendor/Gcp/google/common-protos/src/Api/ContextRule.php
vendored
Normal file
202
vendor/Gcp/google/common-protos/src/Api/ContextRule.php
vendored
Normal file
@@ -0,0 +1,202 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/context.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\Google\Api;
|
||||
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\RepeatedField;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBUtil;
|
||||
/**
|
||||
* A context rule provides information about the context for an individual API
|
||||
* element.
|
||||
*
|
||||
* Generated from protobuf message <code>google.api.ContextRule</code>
|
||||
*/
|
||||
class ContextRule extends \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Selects the methods to which this rule applies.
|
||||
* Refer to [selector][google.api.DocumentationRule.selector] for syntax
|
||||
* details.
|
||||
*
|
||||
* Generated from protobuf field <code>string selector = 1;</code>
|
||||
*/
|
||||
protected $selector = '';
|
||||
/**
|
||||
* A list of full type names of requested contexts.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string requested = 2;</code>
|
||||
*/
|
||||
private $requested;
|
||||
/**
|
||||
* A list of full type names of provided contexts.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string provided = 3;</code>
|
||||
*/
|
||||
private $provided;
|
||||
/**
|
||||
* A list of full type names or extension IDs of extensions allowed in grpc
|
||||
* side channel from client to backend.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string allowed_request_extensions = 4;</code>
|
||||
*/
|
||||
private $allowed_request_extensions;
|
||||
/**
|
||||
* A list of full type names or extension IDs of extensions allowed in grpc
|
||||
* side channel from backend to client.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string allowed_response_extensions = 5;</code>
|
||||
*/
|
||||
private $allowed_response_extensions;
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $selector
|
||||
* Selects the methods to which this rule applies.
|
||||
* Refer to [selector][google.api.DocumentationRule.selector] for syntax
|
||||
* details.
|
||||
* @type array<string>|\Google\Protobuf\Internal\RepeatedField $requested
|
||||
* A list of full type names of requested contexts.
|
||||
* @type array<string>|\Google\Protobuf\Internal\RepeatedField $provided
|
||||
* A list of full type names of provided contexts.
|
||||
* @type array<string>|\Google\Protobuf\Internal\RepeatedField $allowed_request_extensions
|
||||
* A list of full type names or extension IDs of extensions allowed in grpc
|
||||
* side channel from client to backend.
|
||||
* @type array<string>|\Google\Protobuf\Internal\RepeatedField $allowed_response_extensions
|
||||
* A list of full type names or extension IDs of extensions allowed in grpc
|
||||
* side channel from backend to client.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL)
|
||||
{
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Context::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
/**
|
||||
* Selects the methods to which this rule applies.
|
||||
* Refer to [selector][google.api.DocumentationRule.selector] for syntax
|
||||
* details.
|
||||
*
|
||||
* Generated from protobuf field <code>string selector = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getSelector()
|
||||
{
|
||||
return $this->selector;
|
||||
}
|
||||
/**
|
||||
* Selects the methods to which this rule applies.
|
||||
* Refer to [selector][google.api.DocumentationRule.selector] for syntax
|
||||
* details.
|
||||
*
|
||||
* Generated from protobuf field <code>string selector = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setSelector($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->selector = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* A list of full type names of requested contexts.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string requested = 2;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
*/
|
||||
public function getRequested()
|
||||
{
|
||||
return $this->requested;
|
||||
}
|
||||
/**
|
||||
* A list of full type names of requested contexts.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string requested = 2;</code>
|
||||
* @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setRequested($var)
|
||||
{
|
||||
$arr = GPBUtil::checkRepeatedField($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType::STRING);
|
||||
$this->requested = $arr;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* A list of full type names of provided contexts.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string provided = 3;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
*/
|
||||
public function getProvided()
|
||||
{
|
||||
return $this->provided;
|
||||
}
|
||||
/**
|
||||
* A list of full type names of provided contexts.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string provided = 3;</code>
|
||||
* @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setProvided($var)
|
||||
{
|
||||
$arr = GPBUtil::checkRepeatedField($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType::STRING);
|
||||
$this->provided = $arr;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* A list of full type names or extension IDs of extensions allowed in grpc
|
||||
* side channel from client to backend.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string allowed_request_extensions = 4;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
*/
|
||||
public function getAllowedRequestExtensions()
|
||||
{
|
||||
return $this->allowed_request_extensions;
|
||||
}
|
||||
/**
|
||||
* A list of full type names or extension IDs of extensions allowed in grpc
|
||||
* side channel from client to backend.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string allowed_request_extensions = 4;</code>
|
||||
* @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setAllowedRequestExtensions($var)
|
||||
{
|
||||
$arr = GPBUtil::checkRepeatedField($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType::STRING);
|
||||
$this->allowed_request_extensions = $arr;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* A list of full type names or extension IDs of extensions allowed in grpc
|
||||
* side channel from backend to client.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string allowed_response_extensions = 5;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
*/
|
||||
public function getAllowedResponseExtensions()
|
||||
{
|
||||
return $this->allowed_response_extensions;
|
||||
}
|
||||
/**
|
||||
* A list of full type names or extension IDs of extensions allowed in grpc
|
||||
* side channel from backend to client.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string allowed_response_extensions = 5;</code>
|
||||
* @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setAllowedResponseExtensions($var)
|
||||
{
|
||||
$arr = GPBUtil::checkRepeatedField($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType::STRING);
|
||||
$this->allowed_response_extensions = $arr;
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
103
vendor/Gcp/google/common-protos/src/Api/Control.php
vendored
Normal file
103
vendor/Gcp/google/common-protos/src/Api/Control.php
vendored
Normal file
@@ -0,0 +1,103 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/control.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\Google\Api;
|
||||
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\RepeatedField;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBUtil;
|
||||
/**
|
||||
* Selects and configures the service controller used by the service.
|
||||
* Example:
|
||||
* control:
|
||||
* environment: servicecontrol.googleapis.com
|
||||
*
|
||||
* Generated from protobuf message <code>google.api.Control</code>
|
||||
*/
|
||||
class Control extends \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* The service controller environment to use. If empty, no control plane
|
||||
* feature (like quota and billing) will be enabled. The recommended value for
|
||||
* most services is servicecontrol.googleapis.com
|
||||
*
|
||||
* Generated from protobuf field <code>string environment = 1;</code>
|
||||
*/
|
||||
protected $environment = '';
|
||||
/**
|
||||
* Defines policies applying to the API methods of the service.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.MethodPolicy method_policies = 4;</code>
|
||||
*/
|
||||
private $method_policies;
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $environment
|
||||
* The service controller environment to use. If empty, no control plane
|
||||
* feature (like quota and billing) will be enabled. The recommended value for
|
||||
* most services is servicecontrol.googleapis.com
|
||||
* @type array<\Google\Api\MethodPolicy>|\Google\Protobuf\Internal\RepeatedField $method_policies
|
||||
* Defines policies applying to the API methods of the service.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL)
|
||||
{
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Control::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
/**
|
||||
* The service controller environment to use. If empty, no control plane
|
||||
* feature (like quota and billing) will be enabled. The recommended value for
|
||||
* most services is servicecontrol.googleapis.com
|
||||
*
|
||||
* Generated from protobuf field <code>string environment = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getEnvironment()
|
||||
{
|
||||
return $this->environment;
|
||||
}
|
||||
/**
|
||||
* The service controller environment to use. If empty, no control plane
|
||||
* feature (like quota and billing) will be enabled. The recommended value for
|
||||
* most services is servicecontrol.googleapis.com
|
||||
*
|
||||
* Generated from protobuf field <code>string environment = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setEnvironment($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->environment = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Defines policies applying to the API methods of the service.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.MethodPolicy method_policies = 4;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
*/
|
||||
public function getMethodPolicies()
|
||||
{
|
||||
return $this->method_policies;
|
||||
}
|
||||
/**
|
||||
* Defines policies applying to the API methods of the service.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.MethodPolicy method_policies = 4;</code>
|
||||
* @param array<\Google\Api\MethodPolicy>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setMethodPolicies($var)
|
||||
{
|
||||
$arr = GPBUtil::checkRepeatedField($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType::MESSAGE, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\MethodPolicy::class);
|
||||
$this->method_policies = $arr;
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
69
vendor/Gcp/google/common-protos/src/Api/CppSettings.php
vendored
Normal file
69
vendor/Gcp/google/common-protos/src/Api/CppSettings.php
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/client.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\Google\Api;
|
||||
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\RepeatedField;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBUtil;
|
||||
/**
|
||||
* Settings for C++ client libraries.
|
||||
*
|
||||
* Generated from protobuf message <code>google.api.CppSettings</code>
|
||||
*/
|
||||
class CppSettings extends \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Some settings.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.CommonLanguageSettings common = 1;</code>
|
||||
*/
|
||||
protected $common = null;
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type \Google\Api\CommonLanguageSettings $common
|
||||
* Some settings.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL)
|
||||
{
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Client::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
/**
|
||||
* Some settings.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.CommonLanguageSettings common = 1;</code>
|
||||
* @return \Google\Api\CommonLanguageSettings|null
|
||||
*/
|
||||
public function getCommon()
|
||||
{
|
||||
return $this->common;
|
||||
}
|
||||
public function hasCommon()
|
||||
{
|
||||
return isset($this->common);
|
||||
}
|
||||
public function clearCommon()
|
||||
{
|
||||
unset($this->common);
|
||||
}
|
||||
/**
|
||||
* Some settings.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.CommonLanguageSettings common = 1;</code>
|
||||
* @param \Google\Api\CommonLanguageSettings $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setCommon($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\CommonLanguageSettings::class);
|
||||
$this->common = $var;
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
92
vendor/Gcp/google/common-protos/src/Api/CustomHttpPattern.php
vendored
Normal file
92
vendor/Gcp/google/common-protos/src/Api/CustomHttpPattern.php
vendored
Normal file
@@ -0,0 +1,92 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/http.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\Google\Api;
|
||||
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\RepeatedField;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBUtil;
|
||||
/**
|
||||
* A custom pattern is used for defining custom HTTP verb.
|
||||
*
|
||||
* Generated from protobuf message <code>google.api.CustomHttpPattern</code>
|
||||
*/
|
||||
class CustomHttpPattern extends \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* The name of this custom HTTP verb.
|
||||
*
|
||||
* Generated from protobuf field <code>string kind = 1;</code>
|
||||
*/
|
||||
protected $kind = '';
|
||||
/**
|
||||
* The path matched by this custom verb.
|
||||
*
|
||||
* Generated from protobuf field <code>string path = 2;</code>
|
||||
*/
|
||||
protected $path = '';
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $kind
|
||||
* The name of this custom HTTP verb.
|
||||
* @type string $path
|
||||
* The path matched by this custom verb.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL)
|
||||
{
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Http::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
/**
|
||||
* The name of this custom HTTP verb.
|
||||
*
|
||||
* Generated from protobuf field <code>string kind = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* The name of this custom HTTP verb.
|
||||
*
|
||||
* Generated from protobuf field <code>string kind = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setKind($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->kind = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* The path matched by this custom verb.
|
||||
*
|
||||
* Generated from protobuf field <code>string path = 2;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getPath()
|
||||
{
|
||||
return $this->path;
|
||||
}
|
||||
/**
|
||||
* The path matched by this custom verb.
|
||||
*
|
||||
* Generated from protobuf field <code>string path = 2;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setPath($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->path = $var;
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
362
vendor/Gcp/google/common-protos/src/Api/Distribution.php
vendored
Normal file
362
vendor/Gcp/google/common-protos/src/Api/Distribution.php
vendored
Normal file
@@ -0,0 +1,362 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/distribution.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\Google\Api;
|
||||
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\RepeatedField;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBUtil;
|
||||
/**
|
||||
* `Distribution` contains summary statistics for a population of values. It
|
||||
* optionally contains a histogram representing the distribution of those values
|
||||
* across a set of buckets.
|
||||
* The summary statistics are the count, mean, sum of the squared deviation from
|
||||
* the mean, the minimum, and the maximum of the set of population of values.
|
||||
* The histogram is based on a sequence of buckets and gives a count of values
|
||||
* that fall into each bucket. The boundaries of the buckets are given either
|
||||
* explicitly or by formulas for buckets of fixed or exponentially increasing
|
||||
* widths.
|
||||
* Although it is not forbidden, it is generally a bad idea to include
|
||||
* non-finite values (infinities or NaNs) in the population of values, as this
|
||||
* will render the `mean` and `sum_of_squared_deviation` fields meaningless.
|
||||
*
|
||||
* Generated from protobuf message <code>google.api.Distribution</code>
|
||||
*/
|
||||
class Distribution extends \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* The number of values in the population. Must be non-negative. This value
|
||||
* must equal the sum of the values in `bucket_counts` if a histogram is
|
||||
* provided.
|
||||
*
|
||||
* Generated from protobuf field <code>int64 count = 1;</code>
|
||||
*/
|
||||
protected $count = 0;
|
||||
/**
|
||||
* The arithmetic mean of the values in the population. If `count` is zero
|
||||
* then this field must be zero.
|
||||
*
|
||||
* Generated from protobuf field <code>double mean = 2;</code>
|
||||
*/
|
||||
protected $mean = 0.0;
|
||||
/**
|
||||
* The sum of squared deviations from the mean of the values in the
|
||||
* population. For values x_i this is:
|
||||
* Sum[i=1..n]((x_i - mean)^2)
|
||||
* Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition
|
||||
* describes Welford's method for accumulating this sum in one pass.
|
||||
* If `count` is zero then this field must be zero.
|
||||
*
|
||||
* Generated from protobuf field <code>double sum_of_squared_deviation = 3;</code>
|
||||
*/
|
||||
protected $sum_of_squared_deviation = 0.0;
|
||||
/**
|
||||
* If specified, contains the range of the population values. The field
|
||||
* must not be present if the `count` is zero.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.Distribution.Range range = 4;</code>
|
||||
*/
|
||||
protected $range = null;
|
||||
/**
|
||||
* Defines the histogram bucket boundaries. If the distribution does not
|
||||
* contain a histogram, then omit this field.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.Distribution.BucketOptions bucket_options = 6;</code>
|
||||
*/
|
||||
protected $bucket_options = null;
|
||||
/**
|
||||
* The number of values in each bucket of the histogram, as described in
|
||||
* `bucket_options`. If the distribution does not have a histogram, then omit
|
||||
* this field. If there is a histogram, then the sum of the values in
|
||||
* `bucket_counts` must equal the value in the `count` field of the
|
||||
* distribution.
|
||||
* If present, `bucket_counts` should contain N values, where N is the number
|
||||
* of buckets specified in `bucket_options`. If you supply fewer than N
|
||||
* values, the remaining values are assumed to be 0.
|
||||
* The order of the values in `bucket_counts` follows the bucket numbering
|
||||
* schemes described for the three bucket types. The first value must be the
|
||||
* count for the underflow bucket (number 0). The next N-2 values are the
|
||||
* counts for the finite buckets (number 1 through N-2). The N'th value in
|
||||
* `bucket_counts` is the count for the overflow bucket (number N-1).
|
||||
*
|
||||
* Generated from protobuf field <code>repeated int64 bucket_counts = 7;</code>
|
||||
*/
|
||||
private $bucket_counts;
|
||||
/**
|
||||
* Must be in increasing order of `value` field.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Distribution.Exemplar exemplars = 10;</code>
|
||||
*/
|
||||
private $exemplars;
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type int|string $count
|
||||
* The number of values in the population. Must be non-negative. This value
|
||||
* must equal the sum of the values in `bucket_counts` if a histogram is
|
||||
* provided.
|
||||
* @type float $mean
|
||||
* The arithmetic mean of the values in the population. If `count` is zero
|
||||
* then this field must be zero.
|
||||
* @type float $sum_of_squared_deviation
|
||||
* The sum of squared deviations from the mean of the values in the
|
||||
* population. For values x_i this is:
|
||||
* Sum[i=1..n]((x_i - mean)^2)
|
||||
* Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition
|
||||
* describes Welford's method for accumulating this sum in one pass.
|
||||
* If `count` is zero then this field must be zero.
|
||||
* @type \Google\Api\Distribution\Range $range
|
||||
* If specified, contains the range of the population values. The field
|
||||
* must not be present if the `count` is zero.
|
||||
* @type \Google\Api\Distribution\BucketOptions $bucket_options
|
||||
* Defines the histogram bucket boundaries. If the distribution does not
|
||||
* contain a histogram, then omit this field.
|
||||
* @type array<int>|array<string>|\Google\Protobuf\Internal\RepeatedField $bucket_counts
|
||||
* The number of values in each bucket of the histogram, as described in
|
||||
* `bucket_options`. If the distribution does not have a histogram, then omit
|
||||
* this field. If there is a histogram, then the sum of the values in
|
||||
* `bucket_counts` must equal the value in the `count` field of the
|
||||
* distribution.
|
||||
* If present, `bucket_counts` should contain N values, where N is the number
|
||||
* of buckets specified in `bucket_options`. If you supply fewer than N
|
||||
* values, the remaining values are assumed to be 0.
|
||||
* The order of the values in `bucket_counts` follows the bucket numbering
|
||||
* schemes described for the three bucket types. The first value must be the
|
||||
* count for the underflow bucket (number 0). The next N-2 values are the
|
||||
* counts for the finite buckets (number 1 through N-2). The N'th value in
|
||||
* `bucket_counts` is the count for the overflow bucket (number N-1).
|
||||
* @type array<\Google\Api\Distribution\Exemplar>|\Google\Protobuf\Internal\RepeatedField $exemplars
|
||||
* Must be in increasing order of `value` field.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL)
|
||||
{
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Distribution::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
/**
|
||||
* The number of values in the population. Must be non-negative. This value
|
||||
* must equal the sum of the values in `bucket_counts` if a histogram is
|
||||
* provided.
|
||||
*
|
||||
* Generated from protobuf field <code>int64 count = 1;</code>
|
||||
* @return int|string
|
||||
*/
|
||||
public function getCount()
|
||||
{
|
||||
return $this->count;
|
||||
}
|
||||
/**
|
||||
* The number of values in the population. Must be non-negative. This value
|
||||
* must equal the sum of the values in `bucket_counts` if a histogram is
|
||||
* provided.
|
||||
*
|
||||
* Generated from protobuf field <code>int64 count = 1;</code>
|
||||
* @param int|string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setCount($var)
|
||||
{
|
||||
GPBUtil::checkInt64($var);
|
||||
$this->count = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* The arithmetic mean of the values in the population. If `count` is zero
|
||||
* then this field must be zero.
|
||||
*
|
||||
* Generated from protobuf field <code>double mean = 2;</code>
|
||||
* @return float
|
||||
*/
|
||||
public function getMean()
|
||||
{
|
||||
return $this->mean;
|
||||
}
|
||||
/**
|
||||
* The arithmetic mean of the values in the population. If `count` is zero
|
||||
* then this field must be zero.
|
||||
*
|
||||
* Generated from protobuf field <code>double mean = 2;</code>
|
||||
* @param float $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setMean($var)
|
||||
{
|
||||
GPBUtil::checkDouble($var);
|
||||
$this->mean = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* The sum of squared deviations from the mean of the values in the
|
||||
* population. For values x_i this is:
|
||||
* Sum[i=1..n]((x_i - mean)^2)
|
||||
* Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition
|
||||
* describes Welford's method for accumulating this sum in one pass.
|
||||
* If `count` is zero then this field must be zero.
|
||||
*
|
||||
* Generated from protobuf field <code>double sum_of_squared_deviation = 3;</code>
|
||||
* @return float
|
||||
*/
|
||||
public function getSumOfSquaredDeviation()
|
||||
{
|
||||
return $this->sum_of_squared_deviation;
|
||||
}
|
||||
/**
|
||||
* The sum of squared deviations from the mean of the values in the
|
||||
* population. For values x_i this is:
|
||||
* Sum[i=1..n]((x_i - mean)^2)
|
||||
* Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition
|
||||
* describes Welford's method for accumulating this sum in one pass.
|
||||
* If `count` is zero then this field must be zero.
|
||||
*
|
||||
* Generated from protobuf field <code>double sum_of_squared_deviation = 3;</code>
|
||||
* @param float $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setSumOfSquaredDeviation($var)
|
||||
{
|
||||
GPBUtil::checkDouble($var);
|
||||
$this->sum_of_squared_deviation = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* If specified, contains the range of the population values. The field
|
||||
* must not be present if the `count` is zero.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.Distribution.Range range = 4;</code>
|
||||
* @return \Google\Api\Distribution\Range|null
|
||||
*/
|
||||
public function getRange()
|
||||
{
|
||||
return $this->range;
|
||||
}
|
||||
public function hasRange()
|
||||
{
|
||||
return isset($this->range);
|
||||
}
|
||||
public function clearRange()
|
||||
{
|
||||
unset($this->range);
|
||||
}
|
||||
/**
|
||||
* If specified, contains the range of the population values. The field
|
||||
* must not be present if the `count` is zero.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.Distribution.Range range = 4;</code>
|
||||
* @param \Google\Api\Distribution\Range $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setRange($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\Distribution\Range::class);
|
||||
$this->range = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Defines the histogram bucket boundaries. If the distribution does not
|
||||
* contain a histogram, then omit this field.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.Distribution.BucketOptions bucket_options = 6;</code>
|
||||
* @return \Google\Api\Distribution\BucketOptions|null
|
||||
*/
|
||||
public function getBucketOptions()
|
||||
{
|
||||
return $this->bucket_options;
|
||||
}
|
||||
public function hasBucketOptions()
|
||||
{
|
||||
return isset($this->bucket_options);
|
||||
}
|
||||
public function clearBucketOptions()
|
||||
{
|
||||
unset($this->bucket_options);
|
||||
}
|
||||
/**
|
||||
* Defines the histogram bucket boundaries. If the distribution does not
|
||||
* contain a histogram, then omit this field.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.Distribution.BucketOptions bucket_options = 6;</code>
|
||||
* @param \Google\Api\Distribution\BucketOptions $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setBucketOptions($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\Distribution\BucketOptions::class);
|
||||
$this->bucket_options = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* The number of values in each bucket of the histogram, as described in
|
||||
* `bucket_options`. If the distribution does not have a histogram, then omit
|
||||
* this field. If there is a histogram, then the sum of the values in
|
||||
* `bucket_counts` must equal the value in the `count` field of the
|
||||
* distribution.
|
||||
* If present, `bucket_counts` should contain N values, where N is the number
|
||||
* of buckets specified in `bucket_options`. If you supply fewer than N
|
||||
* values, the remaining values are assumed to be 0.
|
||||
* The order of the values in `bucket_counts` follows the bucket numbering
|
||||
* schemes described for the three bucket types. The first value must be the
|
||||
* count for the underflow bucket (number 0). The next N-2 values are the
|
||||
* counts for the finite buckets (number 1 through N-2). The N'th value in
|
||||
* `bucket_counts` is the count for the overflow bucket (number N-1).
|
||||
*
|
||||
* Generated from protobuf field <code>repeated int64 bucket_counts = 7;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
*/
|
||||
public function getBucketCounts()
|
||||
{
|
||||
return $this->bucket_counts;
|
||||
}
|
||||
/**
|
||||
* The number of values in each bucket of the histogram, as described in
|
||||
* `bucket_options`. If the distribution does not have a histogram, then omit
|
||||
* this field. If there is a histogram, then the sum of the values in
|
||||
* `bucket_counts` must equal the value in the `count` field of the
|
||||
* distribution.
|
||||
* If present, `bucket_counts` should contain N values, where N is the number
|
||||
* of buckets specified in `bucket_options`. If you supply fewer than N
|
||||
* values, the remaining values are assumed to be 0.
|
||||
* The order of the values in `bucket_counts` follows the bucket numbering
|
||||
* schemes described for the three bucket types. The first value must be the
|
||||
* count for the underflow bucket (number 0). The next N-2 values are the
|
||||
* counts for the finite buckets (number 1 through N-2). The N'th value in
|
||||
* `bucket_counts` is the count for the overflow bucket (number N-1).
|
||||
*
|
||||
* Generated from protobuf field <code>repeated int64 bucket_counts = 7;</code>
|
||||
* @param array<int>|array<string>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setBucketCounts($var)
|
||||
{
|
||||
$arr = GPBUtil::checkRepeatedField($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType::INT64);
|
||||
$this->bucket_counts = $arr;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Must be in increasing order of `value` field.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Distribution.Exemplar exemplars = 10;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
*/
|
||||
public function getExemplars()
|
||||
{
|
||||
return $this->exemplars;
|
||||
}
|
||||
/**
|
||||
* Must be in increasing order of `value` field.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Distribution.Exemplar exemplars = 10;</code>
|
||||
* @param array<\Google\Api\Distribution\Exemplar>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setExemplars($var)
|
||||
{
|
||||
$arr = GPBUtil::checkRepeatedField($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType::MESSAGE, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\Distribution\Exemplar::class);
|
||||
$this->exemplars = $arr;
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
138
vendor/Gcp/google/common-protos/src/Api/Distribution/BucketOptions.php
vendored
Normal file
138
vendor/Gcp/google/common-protos/src/Api/Distribution/BucketOptions.php
vendored
Normal file
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/distribution.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\Distribution;
|
||||
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\RepeatedField;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBUtil;
|
||||
/**
|
||||
* `BucketOptions` describes the bucket boundaries used to create a histogram
|
||||
* for the distribution. The buckets can be in a linear sequence, an
|
||||
* exponential sequence, or each bucket can be specified explicitly.
|
||||
* `BucketOptions` does not include the number of values in each bucket.
|
||||
* A bucket has an inclusive lower bound and exclusive upper bound for the
|
||||
* values that are counted for that bucket. The upper bound of a bucket must
|
||||
* be strictly greater than the lower bound. The sequence of N buckets for a
|
||||
* distribution consists of an underflow bucket (number 0), zero or more
|
||||
* finite buckets (number 1 through N - 2) and an overflow bucket (number N -
|
||||
* 1). The buckets are contiguous: the lower bound of bucket i (i > 0) is the
|
||||
* same as the upper bound of bucket i - 1. The buckets span the whole range
|
||||
* of finite values: lower bound of the underflow bucket is -infinity and the
|
||||
* upper bound of the overflow bucket is +infinity. The finite buckets are
|
||||
* so-called because both bounds are finite.
|
||||
*
|
||||
* Generated from protobuf message <code>google.api.Distribution.BucketOptions</code>
|
||||
*/
|
||||
class BucketOptions extends \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\Message
|
||||
{
|
||||
protected $options;
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type \Google\Api\Distribution\BucketOptions\Linear $linear_buckets
|
||||
* The linear bucket.
|
||||
* @type \Google\Api\Distribution\BucketOptions\Exponential $exponential_buckets
|
||||
* The exponential buckets.
|
||||
* @type \Google\Api\Distribution\BucketOptions\Explicit $explicit_buckets
|
||||
* The explicit buckets.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL)
|
||||
{
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Distribution::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
/**
|
||||
* The linear bucket.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.Distribution.BucketOptions.Linear linear_buckets = 1;</code>
|
||||
* @return \Google\Api\Distribution\BucketOptions\Linear|null
|
||||
*/
|
||||
public function getLinearBuckets()
|
||||
{
|
||||
return $this->readOneof(1);
|
||||
}
|
||||
public function hasLinearBuckets()
|
||||
{
|
||||
return $this->hasOneof(1);
|
||||
}
|
||||
/**
|
||||
* The linear bucket.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.Distribution.BucketOptions.Linear linear_buckets = 1;</code>
|
||||
* @param \Google\Api\Distribution\BucketOptions\Linear $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setLinearBuckets($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\Distribution\BucketOptions\Linear::class);
|
||||
$this->writeOneof(1, $var);
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* The exponential buckets.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2;</code>
|
||||
* @return \Google\Api\Distribution\BucketOptions\Exponential|null
|
||||
*/
|
||||
public function getExponentialBuckets()
|
||||
{
|
||||
return $this->readOneof(2);
|
||||
}
|
||||
public function hasExponentialBuckets()
|
||||
{
|
||||
return $this->hasOneof(2);
|
||||
}
|
||||
/**
|
||||
* The exponential buckets.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2;</code>
|
||||
* @param \Google\Api\Distribution\BucketOptions\Exponential $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setExponentialBuckets($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\Distribution\BucketOptions\Exponential::class);
|
||||
$this->writeOneof(2, $var);
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* The explicit buckets.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3;</code>
|
||||
* @return \Google\Api\Distribution\BucketOptions\Explicit|null
|
||||
*/
|
||||
public function getExplicitBuckets()
|
||||
{
|
||||
return $this->readOneof(3);
|
||||
}
|
||||
public function hasExplicitBuckets()
|
||||
{
|
||||
return $this->hasOneof(3);
|
||||
}
|
||||
/**
|
||||
* The explicit buckets.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3;</code>
|
||||
* @param \Google\Api\Distribution\BucketOptions\Explicit $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setExplicitBuckets($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\Distribution\BucketOptions\Explicit::class);
|
||||
$this->writeOneof(3, $var);
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getOptions()
|
||||
{
|
||||
return $this->whichOneof("options");
|
||||
}
|
||||
}
|
||||
68
vendor/Gcp/google/common-protos/src/Api/Distribution/BucketOptions/Explicit.php
vendored
Normal file
68
vendor/Gcp/google/common-protos/src/Api/Distribution/BucketOptions/Explicit.php
vendored
Normal file
@@ -0,0 +1,68 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/distribution.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\Distribution\BucketOptions;
|
||||
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\RepeatedField;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBUtil;
|
||||
/**
|
||||
* Specifies a set of buckets with arbitrary widths.
|
||||
* There are `size(bounds) + 1` (= N) buckets. Bucket `i` has the following
|
||||
* boundaries:
|
||||
* Upper bound (0 <= i < N-1): bounds[i]
|
||||
* Lower bound (1 <= i < N); bounds[i - 1]
|
||||
* The `bounds` field must contain at least one element. If `bounds` has
|
||||
* only one element, then there are no finite buckets, and that single
|
||||
* element is the common boundary of the overflow and underflow buckets.
|
||||
*
|
||||
* Generated from protobuf message <code>google.api.Distribution.BucketOptions.Explicit</code>
|
||||
*/
|
||||
class Explicit extends \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* The values must be monotonically increasing.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated double bounds = 1;</code>
|
||||
*/
|
||||
private $bounds;
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type array<float>|\Google\Protobuf\Internal\RepeatedField $bounds
|
||||
* The values must be monotonically increasing.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL)
|
||||
{
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Distribution::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
/**
|
||||
* The values must be monotonically increasing.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated double bounds = 1;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
*/
|
||||
public function getBounds()
|
||||
{
|
||||
return $this->bounds;
|
||||
}
|
||||
/**
|
||||
* The values must be monotonically increasing.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated double bounds = 1;</code>
|
||||
* @param array<float>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setBounds($var)
|
||||
{
|
||||
$arr = GPBUtil::checkRepeatedField($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType::DOUBLE);
|
||||
$this->bounds = $arr;
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
129
vendor/Gcp/google/common-protos/src/Api/Distribution/BucketOptions/Exponential.php
vendored
Normal file
129
vendor/Gcp/google/common-protos/src/Api/Distribution/BucketOptions/Exponential.php
vendored
Normal file
@@ -0,0 +1,129 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/distribution.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\Distribution\BucketOptions;
|
||||
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\RepeatedField;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBUtil;
|
||||
/**
|
||||
* Specifies an exponential sequence of buckets that have a width that is
|
||||
* proportional to the value of the lower bound. Each bucket represents a
|
||||
* constant relative uncertainty on a specific value in the bucket.
|
||||
* There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the
|
||||
* following boundaries:
|
||||
* Upper bound (0 <= i < N-1): scale * (growth_factor ^ i).
|
||||
* Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).
|
||||
*
|
||||
* Generated from protobuf message <code>google.api.Distribution.BucketOptions.Exponential</code>
|
||||
*/
|
||||
class Exponential extends \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Must be greater than 0.
|
||||
*
|
||||
* Generated from protobuf field <code>int32 num_finite_buckets = 1;</code>
|
||||
*/
|
||||
protected $num_finite_buckets = 0;
|
||||
/**
|
||||
* Must be greater than 1.
|
||||
*
|
||||
* Generated from protobuf field <code>double growth_factor = 2;</code>
|
||||
*/
|
||||
protected $growth_factor = 0.0;
|
||||
/**
|
||||
* Must be greater than 0.
|
||||
*
|
||||
* Generated from protobuf field <code>double scale = 3;</code>
|
||||
*/
|
||||
protected $scale = 0.0;
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type int $num_finite_buckets
|
||||
* Must be greater than 0.
|
||||
* @type float $growth_factor
|
||||
* Must be greater than 1.
|
||||
* @type float $scale
|
||||
* Must be greater than 0.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL)
|
||||
{
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Distribution::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
/**
|
||||
* Must be greater than 0.
|
||||
*
|
||||
* Generated from protobuf field <code>int32 num_finite_buckets = 1;</code>
|
||||
* @return int
|
||||
*/
|
||||
public function getNumFiniteBuckets()
|
||||
{
|
||||
return $this->num_finite_buckets;
|
||||
}
|
||||
/**
|
||||
* Must be greater than 0.
|
||||
*
|
||||
* Generated from protobuf field <code>int32 num_finite_buckets = 1;</code>
|
||||
* @param int $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setNumFiniteBuckets($var)
|
||||
{
|
||||
GPBUtil::checkInt32($var);
|
||||
$this->num_finite_buckets = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Must be greater than 1.
|
||||
*
|
||||
* Generated from protobuf field <code>double growth_factor = 2;</code>
|
||||
* @return float
|
||||
*/
|
||||
public function getGrowthFactor()
|
||||
{
|
||||
return $this->growth_factor;
|
||||
}
|
||||
/**
|
||||
* Must be greater than 1.
|
||||
*
|
||||
* Generated from protobuf field <code>double growth_factor = 2;</code>
|
||||
* @param float $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setGrowthFactor($var)
|
||||
{
|
||||
GPBUtil::checkDouble($var);
|
||||
$this->growth_factor = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Must be greater than 0.
|
||||
*
|
||||
* Generated from protobuf field <code>double scale = 3;</code>
|
||||
* @return float
|
||||
*/
|
||||
public function getScale()
|
||||
{
|
||||
return $this->scale;
|
||||
}
|
||||
/**
|
||||
* Must be greater than 0.
|
||||
*
|
||||
* Generated from protobuf field <code>double scale = 3;</code>
|
||||
* @param float $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setScale($var)
|
||||
{
|
||||
GPBUtil::checkDouble($var);
|
||||
$this->scale = $var;
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
129
vendor/Gcp/google/common-protos/src/Api/Distribution/BucketOptions/Linear.php
vendored
Normal file
129
vendor/Gcp/google/common-protos/src/Api/Distribution/BucketOptions/Linear.php
vendored
Normal file
@@ -0,0 +1,129 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/distribution.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\Distribution\BucketOptions;
|
||||
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\RepeatedField;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBUtil;
|
||||
/**
|
||||
* Specifies a linear sequence of buckets that all have the same width
|
||||
* (except overflow and underflow). Each bucket represents a constant
|
||||
* absolute uncertainty on the specific value in the bucket.
|
||||
* There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the
|
||||
* following boundaries:
|
||||
* Upper bound (0 <= i < N-1): offset + (width * i).
|
||||
* Lower bound (1 <= i < N): offset + (width * (i - 1)).
|
||||
*
|
||||
* Generated from protobuf message <code>google.api.Distribution.BucketOptions.Linear</code>
|
||||
*/
|
||||
class Linear extends \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Must be greater than 0.
|
||||
*
|
||||
* Generated from protobuf field <code>int32 num_finite_buckets = 1;</code>
|
||||
*/
|
||||
protected $num_finite_buckets = 0;
|
||||
/**
|
||||
* Must be greater than 0.
|
||||
*
|
||||
* Generated from protobuf field <code>double width = 2;</code>
|
||||
*/
|
||||
protected $width = 0.0;
|
||||
/**
|
||||
* Lower bound of the first bucket.
|
||||
*
|
||||
* Generated from protobuf field <code>double offset = 3;</code>
|
||||
*/
|
||||
protected $offset = 0.0;
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type int $num_finite_buckets
|
||||
* Must be greater than 0.
|
||||
* @type float $width
|
||||
* Must be greater than 0.
|
||||
* @type float $offset
|
||||
* Lower bound of the first bucket.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL)
|
||||
{
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Distribution::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
/**
|
||||
* Must be greater than 0.
|
||||
*
|
||||
* Generated from protobuf field <code>int32 num_finite_buckets = 1;</code>
|
||||
* @return int
|
||||
*/
|
||||
public function getNumFiniteBuckets()
|
||||
{
|
||||
return $this->num_finite_buckets;
|
||||
}
|
||||
/**
|
||||
* Must be greater than 0.
|
||||
*
|
||||
* Generated from protobuf field <code>int32 num_finite_buckets = 1;</code>
|
||||
* @param int $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setNumFiniteBuckets($var)
|
||||
{
|
||||
GPBUtil::checkInt32($var);
|
||||
$this->num_finite_buckets = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Must be greater than 0.
|
||||
*
|
||||
* Generated from protobuf field <code>double width = 2;</code>
|
||||
* @return float
|
||||
*/
|
||||
public function getWidth()
|
||||
{
|
||||
return $this->width;
|
||||
}
|
||||
/**
|
||||
* Must be greater than 0.
|
||||
*
|
||||
* Generated from protobuf field <code>double width = 2;</code>
|
||||
* @param float $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setWidth($var)
|
||||
{
|
||||
GPBUtil::checkDouble($var);
|
||||
$this->width = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Lower bound of the first bucket.
|
||||
*
|
||||
* Generated from protobuf field <code>double offset = 3;</code>
|
||||
* @return float
|
||||
*/
|
||||
public function getOffset()
|
||||
{
|
||||
return $this->offset;
|
||||
}
|
||||
/**
|
||||
* Lower bound of the first bucket.
|
||||
*
|
||||
* Generated from protobuf field <code>double offset = 3;</code>
|
||||
* @param float $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setOffset($var)
|
||||
{
|
||||
GPBUtil::checkDouble($var);
|
||||
$this->offset = $var;
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
163
vendor/Gcp/google/common-protos/src/Api/Distribution/Exemplar.php
vendored
Normal file
163
vendor/Gcp/google/common-protos/src/Api/Distribution/Exemplar.php
vendored
Normal file
@@ -0,0 +1,163 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/distribution.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\Distribution;
|
||||
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\RepeatedField;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBUtil;
|
||||
/**
|
||||
* Exemplars are example points that may be used to annotate aggregated
|
||||
* distribution values. They are metadata that gives information about a
|
||||
* particular value added to a Distribution bucket, such as a trace ID that
|
||||
* was active when a value was added. They may contain further information,
|
||||
* such as a example values and timestamps, origin, etc.
|
||||
*
|
||||
* Generated from protobuf message <code>google.api.Distribution.Exemplar</code>
|
||||
*/
|
||||
class Exemplar extends \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Value of the exemplar point. This value determines to which bucket the
|
||||
* exemplar belongs.
|
||||
*
|
||||
* Generated from protobuf field <code>double value = 1;</code>
|
||||
*/
|
||||
protected $value = 0.0;
|
||||
/**
|
||||
* The observation (sampling) time of the above value.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.protobuf.Timestamp timestamp = 2;</code>
|
||||
*/
|
||||
protected $timestamp = null;
|
||||
/**
|
||||
* Contextual information about the example value. Examples are:
|
||||
* Trace: type.googleapis.com/google.monitoring.v3.SpanContext
|
||||
* Literal string: type.googleapis.com/google.protobuf.StringValue
|
||||
* Labels dropped during aggregation:
|
||||
* type.googleapis.com/google.monitoring.v3.DroppedLabels
|
||||
* There may be only a single attachment of any given message type in a
|
||||
* single exemplar, and this is enforced by the system.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.protobuf.Any attachments = 3;</code>
|
||||
*/
|
||||
private $attachments;
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type float $value
|
||||
* Value of the exemplar point. This value determines to which bucket the
|
||||
* exemplar belongs.
|
||||
* @type \Google\Protobuf\Timestamp $timestamp
|
||||
* The observation (sampling) time of the above value.
|
||||
* @type array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $attachments
|
||||
* Contextual information about the example value. Examples are:
|
||||
* Trace: type.googleapis.com/google.monitoring.v3.SpanContext
|
||||
* Literal string: type.googleapis.com/google.protobuf.StringValue
|
||||
* Labels dropped during aggregation:
|
||||
* type.googleapis.com/google.monitoring.v3.DroppedLabels
|
||||
* There may be only a single attachment of any given message type in a
|
||||
* single exemplar, and this is enforced by the system.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL)
|
||||
{
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Distribution::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
/**
|
||||
* Value of the exemplar point. This value determines to which bucket the
|
||||
* exemplar belongs.
|
||||
*
|
||||
* Generated from protobuf field <code>double value = 1;</code>
|
||||
* @return float
|
||||
*/
|
||||
public function getValue()
|
||||
{
|
||||
return $this->value;
|
||||
}
|
||||
/**
|
||||
* Value of the exemplar point. This value determines to which bucket the
|
||||
* exemplar belongs.
|
||||
*
|
||||
* Generated from protobuf field <code>double value = 1;</code>
|
||||
* @param float $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setValue($var)
|
||||
{
|
||||
GPBUtil::checkDouble($var);
|
||||
$this->value = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* The observation (sampling) time of the above value.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.protobuf.Timestamp timestamp = 2;</code>
|
||||
* @return \Google\Protobuf\Timestamp|null
|
||||
*/
|
||||
public function getTimestamp()
|
||||
{
|
||||
return $this->timestamp;
|
||||
}
|
||||
public function hasTimestamp()
|
||||
{
|
||||
return isset($this->timestamp);
|
||||
}
|
||||
public function clearTimestamp()
|
||||
{
|
||||
unset($this->timestamp);
|
||||
}
|
||||
/**
|
||||
* The observation (sampling) time of the above value.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.protobuf.Timestamp timestamp = 2;</code>
|
||||
* @param \Google\Protobuf\Timestamp $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setTimestamp($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Timestamp::class);
|
||||
$this->timestamp = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Contextual information about the example value. Examples are:
|
||||
* Trace: type.googleapis.com/google.monitoring.v3.SpanContext
|
||||
* Literal string: type.googleapis.com/google.protobuf.StringValue
|
||||
* Labels dropped during aggregation:
|
||||
* type.googleapis.com/google.monitoring.v3.DroppedLabels
|
||||
* There may be only a single attachment of any given message type in a
|
||||
* single exemplar, and this is enforced by the system.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.protobuf.Any attachments = 3;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
*/
|
||||
public function getAttachments()
|
||||
{
|
||||
return $this->attachments;
|
||||
}
|
||||
/**
|
||||
* Contextual information about the example value. Examples are:
|
||||
* Trace: type.googleapis.com/google.monitoring.v3.SpanContext
|
||||
* Literal string: type.googleapis.com/google.protobuf.StringValue
|
||||
* Labels dropped during aggregation:
|
||||
* type.googleapis.com/google.monitoring.v3.DroppedLabels
|
||||
* There may be only a single attachment of any given message type in a
|
||||
* single exemplar, and this is enforced by the system.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.protobuf.Any attachments = 3;</code>
|
||||
* @param array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setAttachments($var)
|
||||
{
|
||||
$arr = GPBUtil::checkRepeatedField($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType::MESSAGE, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Any::class);
|
||||
$this->attachments = $arr;
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
92
vendor/Gcp/google/common-protos/src/Api/Distribution/Range.php
vendored
Normal file
92
vendor/Gcp/google/common-protos/src/Api/Distribution/Range.php
vendored
Normal file
@@ -0,0 +1,92 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/distribution.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\Distribution;
|
||||
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\RepeatedField;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBUtil;
|
||||
/**
|
||||
* The range of the population values.
|
||||
*
|
||||
* Generated from protobuf message <code>google.api.Distribution.Range</code>
|
||||
*/
|
||||
class Range extends \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* The minimum of the population values.
|
||||
*
|
||||
* Generated from protobuf field <code>double min = 1;</code>
|
||||
*/
|
||||
protected $min = 0.0;
|
||||
/**
|
||||
* The maximum of the population values.
|
||||
*
|
||||
* Generated from protobuf field <code>double max = 2;</code>
|
||||
*/
|
||||
protected $max = 0.0;
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type float $min
|
||||
* The minimum of the population values.
|
||||
* @type float $max
|
||||
* The maximum of the population values.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL)
|
||||
{
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Distribution::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
/**
|
||||
* The minimum of the population values.
|
||||
*
|
||||
* Generated from protobuf field <code>double min = 1;</code>
|
||||
* @return float
|
||||
*/
|
||||
public function getMin()
|
||||
{
|
||||
return $this->min;
|
||||
}
|
||||
/**
|
||||
* The minimum of the population values.
|
||||
*
|
||||
* Generated from protobuf field <code>double min = 1;</code>
|
||||
* @param float $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setMin($var)
|
||||
{
|
||||
GPBUtil::checkDouble($var);
|
||||
$this->min = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* The maximum of the population values.
|
||||
*
|
||||
* Generated from protobuf field <code>double max = 2;</code>
|
||||
* @return float
|
||||
*/
|
||||
public function getMax()
|
||||
{
|
||||
return $this->max;
|
||||
}
|
||||
/**
|
||||
* The maximum of the population values.
|
||||
*
|
||||
* Generated from protobuf field <code>double max = 2;</code>
|
||||
* @param float $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setMax($var)
|
||||
{
|
||||
GPBUtil::checkDouble($var);
|
||||
$this->max = $var;
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
341
vendor/Gcp/google/common-protos/src/Api/Documentation.php
vendored
Normal file
341
vendor/Gcp/google/common-protos/src/Api/Documentation.php
vendored
Normal file
@@ -0,0 +1,341 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/documentation.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\Google\Api;
|
||||
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\RepeatedField;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBUtil;
|
||||
/**
|
||||
* `Documentation` provides the information for describing a service.
|
||||
* Example:
|
||||
* <pre><code>documentation:
|
||||
* summary: >
|
||||
* The Google Calendar API gives access
|
||||
* to most calendar features.
|
||||
* pages:
|
||||
* - name: Overview
|
||||
* content: (== include google/foo/overview.md ==)
|
||||
* - name: Tutorial
|
||||
* content: (== include google/foo/tutorial.md ==)
|
||||
* subpages;
|
||||
* - name: Java
|
||||
* content: (== include google/foo/tutorial_java.md ==)
|
||||
* rules:
|
||||
* - selector: google.calendar.Calendar.Get
|
||||
* description: >
|
||||
* ...
|
||||
* - selector: google.calendar.Calendar.Put
|
||||
* description: >
|
||||
* ...
|
||||
* </code></pre>
|
||||
* Documentation is provided in markdown syntax. In addition to
|
||||
* standard markdown features, definition lists, tables and fenced
|
||||
* code blocks are supported. Section headers can be provided and are
|
||||
* interpreted relative to the section nesting of the context where
|
||||
* a documentation fragment is embedded.
|
||||
* Documentation from the IDL is merged with documentation defined
|
||||
* via the config at normalization time, where documentation provided
|
||||
* by config rules overrides IDL provided.
|
||||
* A number of constructs specific to the API platform are supported
|
||||
* in documentation text.
|
||||
* In order to reference a proto element, the following
|
||||
* notation can be used:
|
||||
* <pre><code>[fully.qualified.proto.name][]</code></pre>
|
||||
* To override the display text used for the link, this can be used:
|
||||
* <pre><code>[display text][fully.qualified.proto.name]</code></pre>
|
||||
* Text can be excluded from doc using the following notation:
|
||||
* <pre><code>(-- internal comment --)</code></pre>
|
||||
* A few directives are available in documentation. Note that
|
||||
* directives must appear on a single line to be properly
|
||||
* identified. The `include` directive includes a markdown file from
|
||||
* an external source:
|
||||
* <pre><code>(== include path/to/file ==)</code></pre>
|
||||
* The `resource_for` directive marks a message to be the resource of
|
||||
* a collection in REST view. If it is not specified, tools attempt
|
||||
* to infer the resource from the operations in a collection:
|
||||
* <pre><code>(== resource_for v1.shelves.books ==)</code></pre>
|
||||
* The directive `suppress_warning` does not directly affect documentation
|
||||
* and is documented together with service config validation.
|
||||
*
|
||||
* Generated from protobuf message <code>google.api.Documentation</code>
|
||||
*/
|
||||
class Documentation extends \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* A short description of what the service does. The summary must be plain
|
||||
* text. It becomes the overview of the service displayed in Google Cloud
|
||||
* Console.
|
||||
* NOTE: This field is equivalent to the standard field `description`.
|
||||
*
|
||||
* Generated from protobuf field <code>string summary = 1;</code>
|
||||
*/
|
||||
protected $summary = '';
|
||||
/**
|
||||
* The top level pages for the documentation set.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Page pages = 5;</code>
|
||||
*/
|
||||
private $pages;
|
||||
/**
|
||||
* A list of documentation rules that apply to individual API elements.
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.DocumentationRule rules = 3;</code>
|
||||
*/
|
||||
private $rules;
|
||||
/**
|
||||
* The URL to the root of documentation.
|
||||
*
|
||||
* Generated from protobuf field <code>string documentation_root_url = 4;</code>
|
||||
*/
|
||||
protected $documentation_root_url = '';
|
||||
/**
|
||||
* Specifies the service root url if the default one (the service name
|
||||
* from the yaml file) is not suitable. This can be seen in any fully
|
||||
* specified service urls as well as sections that show a base that other
|
||||
* urls are relative to.
|
||||
*
|
||||
* Generated from protobuf field <code>string service_root_url = 6;</code>
|
||||
*/
|
||||
protected $service_root_url = '';
|
||||
/**
|
||||
* Declares a single overview page. For example:
|
||||
* <pre><code>documentation:
|
||||
* summary: ...
|
||||
* overview: (== include overview.md ==)
|
||||
* </code></pre>
|
||||
* This is a shortcut for the following declaration (using pages style):
|
||||
* <pre><code>documentation:
|
||||
* summary: ...
|
||||
* pages:
|
||||
* - name: Overview
|
||||
* content: (== include overview.md ==)
|
||||
* </code></pre>
|
||||
* Note: you cannot specify both `overview` field and `pages` field.
|
||||
*
|
||||
* Generated from protobuf field <code>string overview = 2;</code>
|
||||
*/
|
||||
protected $overview = '';
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $summary
|
||||
* A short description of what the service does. The summary must be plain
|
||||
* text. It becomes the overview of the service displayed in Google Cloud
|
||||
* Console.
|
||||
* NOTE: This field is equivalent to the standard field `description`.
|
||||
* @type array<\Google\Api\Page>|\Google\Protobuf\Internal\RepeatedField $pages
|
||||
* The top level pages for the documentation set.
|
||||
* @type array<\Google\Api\DocumentationRule>|\Google\Protobuf\Internal\RepeatedField $rules
|
||||
* A list of documentation rules that apply to individual API elements.
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
* @type string $documentation_root_url
|
||||
* The URL to the root of documentation.
|
||||
* @type string $service_root_url
|
||||
* Specifies the service root url if the default one (the service name
|
||||
* from the yaml file) is not suitable. This can be seen in any fully
|
||||
* specified service urls as well as sections that show a base that other
|
||||
* urls are relative to.
|
||||
* @type string $overview
|
||||
* Declares a single overview page. For example:
|
||||
* <pre><code>documentation:
|
||||
* summary: ...
|
||||
* overview: (== include overview.md ==)
|
||||
* </code></pre>
|
||||
* This is a shortcut for the following declaration (using pages style):
|
||||
* <pre><code>documentation:
|
||||
* summary: ...
|
||||
* pages:
|
||||
* - name: Overview
|
||||
* content: (== include overview.md ==)
|
||||
* </code></pre>
|
||||
* Note: you cannot specify both `overview` field and `pages` field.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL)
|
||||
{
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Documentation::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
/**
|
||||
* A short description of what the service does. The summary must be plain
|
||||
* text. It becomes the overview of the service displayed in Google Cloud
|
||||
* Console.
|
||||
* NOTE: This field is equivalent to the standard field `description`.
|
||||
*
|
||||
* Generated from protobuf field <code>string summary = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getSummary()
|
||||
{
|
||||
return $this->summary;
|
||||
}
|
||||
/**
|
||||
* A short description of what the service does. The summary must be plain
|
||||
* text. It becomes the overview of the service displayed in Google Cloud
|
||||
* Console.
|
||||
* NOTE: This field is equivalent to the standard field `description`.
|
||||
*
|
||||
* Generated from protobuf field <code>string summary = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setSummary($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->summary = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* The top level pages for the documentation set.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Page pages = 5;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
*/
|
||||
public function getPages()
|
||||
{
|
||||
return $this->pages;
|
||||
}
|
||||
/**
|
||||
* The top level pages for the documentation set.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Page pages = 5;</code>
|
||||
* @param array<\Google\Api\Page>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setPages($var)
|
||||
{
|
||||
$arr = GPBUtil::checkRepeatedField($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType::MESSAGE, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\Page::class);
|
||||
$this->pages = $arr;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* A list of documentation rules that apply to individual API elements.
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.DocumentationRule rules = 3;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
*/
|
||||
public function getRules()
|
||||
{
|
||||
return $this->rules;
|
||||
}
|
||||
/**
|
||||
* A list of documentation rules that apply to individual API elements.
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.DocumentationRule rules = 3;</code>
|
||||
* @param array<\Google\Api\DocumentationRule>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setRules($var)
|
||||
{
|
||||
$arr = GPBUtil::checkRepeatedField($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType::MESSAGE, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\DocumentationRule::class);
|
||||
$this->rules = $arr;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* The URL to the root of documentation.
|
||||
*
|
||||
* Generated from protobuf field <code>string documentation_root_url = 4;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getDocumentationRootUrl()
|
||||
{
|
||||
return $this->documentation_root_url;
|
||||
}
|
||||
/**
|
||||
* The URL to the root of documentation.
|
||||
*
|
||||
* Generated from protobuf field <code>string documentation_root_url = 4;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDocumentationRootUrl($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->documentation_root_url = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Specifies the service root url if the default one (the service name
|
||||
* from the yaml file) is not suitable. This can be seen in any fully
|
||||
* specified service urls as well as sections that show a base that other
|
||||
* urls are relative to.
|
||||
*
|
||||
* Generated from protobuf field <code>string service_root_url = 6;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getServiceRootUrl()
|
||||
{
|
||||
return $this->service_root_url;
|
||||
}
|
||||
/**
|
||||
* Specifies the service root url if the default one (the service name
|
||||
* from the yaml file) is not suitable. This can be seen in any fully
|
||||
* specified service urls as well as sections that show a base that other
|
||||
* urls are relative to.
|
||||
*
|
||||
* Generated from protobuf field <code>string service_root_url = 6;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setServiceRootUrl($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->service_root_url = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Declares a single overview page. For example:
|
||||
* <pre><code>documentation:
|
||||
* summary: ...
|
||||
* overview: (== include overview.md ==)
|
||||
* </code></pre>
|
||||
* This is a shortcut for the following declaration (using pages style):
|
||||
* <pre><code>documentation:
|
||||
* summary: ...
|
||||
* pages:
|
||||
* - name: Overview
|
||||
* content: (== include overview.md ==)
|
||||
* </code></pre>
|
||||
* Note: you cannot specify both `overview` field and `pages` field.
|
||||
*
|
||||
* Generated from protobuf field <code>string overview = 2;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getOverview()
|
||||
{
|
||||
return $this->overview;
|
||||
}
|
||||
/**
|
||||
* Declares a single overview page. For example:
|
||||
* <pre><code>documentation:
|
||||
* summary: ...
|
||||
* overview: (== include overview.md ==)
|
||||
* </code></pre>
|
||||
* This is a shortcut for the following declaration (using pages style):
|
||||
* <pre><code>documentation:
|
||||
* summary: ...
|
||||
* pages:
|
||||
* - name: Overview
|
||||
* content: (== include overview.md ==)
|
||||
* </code></pre>
|
||||
* Note: you cannot specify both `overview` field and `pages` field.
|
||||
*
|
||||
* Generated from protobuf field <code>string overview = 2;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setOverview($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->overview = $var;
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
159
vendor/Gcp/google/common-protos/src/Api/DocumentationRule.php
vendored
Normal file
159
vendor/Gcp/google/common-protos/src/Api/DocumentationRule.php
vendored
Normal file
@@ -0,0 +1,159 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/documentation.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\Google\Api;
|
||||
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\RepeatedField;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBUtil;
|
||||
/**
|
||||
* A documentation rule provides information about individual API elements.
|
||||
*
|
||||
* Generated from protobuf message <code>google.api.DocumentationRule</code>
|
||||
*/
|
||||
class DocumentationRule extends \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* The selector is a comma-separated list of patterns for any element such as
|
||||
* a method, a field, an enum value. Each pattern is a qualified name of the
|
||||
* element which may end in "*", indicating a wildcard. Wildcards are only
|
||||
* allowed at the end and for a whole component of the qualified name,
|
||||
* i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A wildcard will match
|
||||
* one or more components. To specify a default for all applicable elements,
|
||||
* the whole pattern "*" is used.
|
||||
*
|
||||
* Generated from protobuf field <code>string selector = 1;</code>
|
||||
*/
|
||||
protected $selector = '';
|
||||
/**
|
||||
* Description of the selected proto element (e.g. a message, a method, a
|
||||
* 'service' definition, or a field). Defaults to leading & trailing comments
|
||||
* taken from the proto source definition of the proto element.
|
||||
*
|
||||
* Generated from protobuf field <code>string description = 2;</code>
|
||||
*/
|
||||
protected $description = '';
|
||||
/**
|
||||
* Deprecation description of the selected element(s). It can be provided if
|
||||
* an element is marked as `deprecated`.
|
||||
*
|
||||
* Generated from protobuf field <code>string deprecation_description = 3;</code>
|
||||
*/
|
||||
protected $deprecation_description = '';
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $selector
|
||||
* The selector is a comma-separated list of patterns for any element such as
|
||||
* a method, a field, an enum value. Each pattern is a qualified name of the
|
||||
* element which may end in "*", indicating a wildcard. Wildcards are only
|
||||
* allowed at the end and for a whole component of the qualified name,
|
||||
* i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A wildcard will match
|
||||
* one or more components. To specify a default for all applicable elements,
|
||||
* the whole pattern "*" is used.
|
||||
* @type string $description
|
||||
* Description of the selected proto element (e.g. a message, a method, a
|
||||
* 'service' definition, or a field). Defaults to leading & trailing comments
|
||||
* taken from the proto source definition of the proto element.
|
||||
* @type string $deprecation_description
|
||||
* Deprecation description of the selected element(s). It can be provided if
|
||||
* an element is marked as `deprecated`.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL)
|
||||
{
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Documentation::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
/**
|
||||
* The selector is a comma-separated list of patterns for any element such as
|
||||
* a method, a field, an enum value. Each pattern is a qualified name of the
|
||||
* element which may end in "*", indicating a wildcard. Wildcards are only
|
||||
* allowed at the end and for a whole component of the qualified name,
|
||||
* i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A wildcard will match
|
||||
* one or more components. To specify a default for all applicable elements,
|
||||
* the whole pattern "*" is used.
|
||||
*
|
||||
* Generated from protobuf field <code>string selector = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getSelector()
|
||||
{
|
||||
return $this->selector;
|
||||
}
|
||||
/**
|
||||
* The selector is a comma-separated list of patterns for any element such as
|
||||
* a method, a field, an enum value. Each pattern is a qualified name of the
|
||||
* element which may end in "*", indicating a wildcard. Wildcards are only
|
||||
* allowed at the end and for a whole component of the qualified name,
|
||||
* i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A wildcard will match
|
||||
* one or more components. To specify a default for all applicable elements,
|
||||
* the whole pattern "*" is used.
|
||||
*
|
||||
* Generated from protobuf field <code>string selector = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setSelector($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->selector = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Description of the selected proto element (e.g. a message, a method, a
|
||||
* 'service' definition, or a field). Defaults to leading & trailing comments
|
||||
* taken from the proto source definition of the proto element.
|
||||
*
|
||||
* Generated from protobuf field <code>string description = 2;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getDescription()
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
/**
|
||||
* Description of the selected proto element (e.g. a message, a method, a
|
||||
* 'service' definition, or a field). Defaults to leading & trailing comments
|
||||
* taken from the proto source definition of the proto element.
|
||||
*
|
||||
* Generated from protobuf field <code>string description = 2;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDescription($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->description = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Deprecation description of the selected element(s). It can be provided if
|
||||
* an element is marked as `deprecated`.
|
||||
*
|
||||
* Generated from protobuf field <code>string deprecation_description = 3;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getDeprecationDescription()
|
||||
{
|
||||
return $this->deprecation_description;
|
||||
}
|
||||
/**
|
||||
* Deprecation description of the selected element(s). It can be provided if
|
||||
* an element is marked as `deprecated`.
|
||||
*
|
||||
* Generated from protobuf field <code>string deprecation_description = 3;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDeprecationDescription($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->deprecation_description = $var;
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
284
vendor/Gcp/google/common-protos/src/Api/DotnetSettings.php
vendored
Normal file
284
vendor/Gcp/google/common-protos/src/Api/DotnetSettings.php
vendored
Normal file
@@ -0,0 +1,284 @@
|
||||
<?php
|
||||
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/client.proto
|
||||
namespace DeliciousBrains\WP_Offload_Media\Gcp\Google\Api;
|
||||
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\RepeatedField;
|
||||
use DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBUtil;
|
||||
/**
|
||||
* Settings for Dotnet client libraries.
|
||||
*
|
||||
* Generated from protobuf message <code>google.api.DotnetSettings</code>
|
||||
*/
|
||||
class DotnetSettings extends \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Some settings.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.CommonLanguageSettings common = 1;</code>
|
||||
*/
|
||||
protected $common = null;
|
||||
/**
|
||||
* Map from original service names to renamed versions.
|
||||
* This is used when the default generated types
|
||||
* would cause a naming conflict. (Neither name is
|
||||
* fully-qualified.)
|
||||
* Example: Subscriber to SubscriberServiceApi.
|
||||
*
|
||||
* Generated from protobuf field <code>map<string, string> renamed_services = 2;</code>
|
||||
*/
|
||||
private $renamed_services;
|
||||
/**
|
||||
* Map from full resource types to the effective short name
|
||||
* for the resource. This is used when otherwise resource
|
||||
* named from different services would cause naming collisions.
|
||||
* Example entry:
|
||||
* "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
|
||||
*
|
||||
* Generated from protobuf field <code>map<string, string> renamed_resources = 3;</code>
|
||||
*/
|
||||
private $renamed_resources;
|
||||
/**
|
||||
* List of full resource types to ignore during generation.
|
||||
* This is typically used for API-specific Location resources,
|
||||
* which should be handled by the generator as if they were actually
|
||||
* the common Location resources.
|
||||
* Example entry: "documentai.googleapis.com/Location"
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string ignored_resources = 4;</code>
|
||||
*/
|
||||
private $ignored_resources;
|
||||
/**
|
||||
* Namespaces which must be aliased in snippets due to
|
||||
* a known (but non-generator-predictable) naming collision
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string forced_namespace_aliases = 5;</code>
|
||||
*/
|
||||
private $forced_namespace_aliases;
|
||||
/**
|
||||
* Method signatures (in the form "service.method(signature)")
|
||||
* which are provided separately, so shouldn't be generated.
|
||||
* Snippets *calling* these methods are still generated, however.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string handwritten_signatures = 6;</code>
|
||||
*/
|
||||
private $handwritten_signatures;
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type \Google\Api\CommonLanguageSettings $common
|
||||
* Some settings.
|
||||
* @type array|\Google\Protobuf\Internal\MapField $renamed_services
|
||||
* Map from original service names to renamed versions.
|
||||
* This is used when the default generated types
|
||||
* would cause a naming conflict. (Neither name is
|
||||
* fully-qualified.)
|
||||
* Example: Subscriber to SubscriberServiceApi.
|
||||
* @type array|\Google\Protobuf\Internal\MapField $renamed_resources
|
||||
* Map from full resource types to the effective short name
|
||||
* for the resource. This is used when otherwise resource
|
||||
* named from different services would cause naming collisions.
|
||||
* Example entry:
|
||||
* "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
|
||||
* @type array<string>|\Google\Protobuf\Internal\RepeatedField $ignored_resources
|
||||
* List of full resource types to ignore during generation.
|
||||
* This is typically used for API-specific Location resources,
|
||||
* which should be handled by the generator as if they were actually
|
||||
* the common Location resources.
|
||||
* Example entry: "documentai.googleapis.com/Location"
|
||||
* @type array<string>|\Google\Protobuf\Internal\RepeatedField $forced_namespace_aliases
|
||||
* Namespaces which must be aliased in snippets due to
|
||||
* a known (but non-generator-predictable) naming collision
|
||||
* @type array<string>|\Google\Protobuf\Internal\RepeatedField $handwritten_signatures
|
||||
* Method signatures (in the form "service.method(signature)")
|
||||
* which are provided separately, so shouldn't be generated.
|
||||
* Snippets *calling* these methods are still generated, however.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL)
|
||||
{
|
||||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\Client::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
/**
|
||||
* Some settings.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.CommonLanguageSettings common = 1;</code>
|
||||
* @return \Google\Api\CommonLanguageSettings|null
|
||||
*/
|
||||
public function getCommon()
|
||||
{
|
||||
return $this->common;
|
||||
}
|
||||
public function hasCommon()
|
||||
{
|
||||
return isset($this->common);
|
||||
}
|
||||
public function clearCommon()
|
||||
{
|
||||
unset($this->common);
|
||||
}
|
||||
/**
|
||||
* Some settings.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.CommonLanguageSettings common = 1;</code>
|
||||
* @param \Google\Api\CommonLanguageSettings $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setCommon($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Api\CommonLanguageSettings::class);
|
||||
$this->common = $var;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Map from original service names to renamed versions.
|
||||
* This is used when the default generated types
|
||||
* would cause a naming conflict. (Neither name is
|
||||
* fully-qualified.)
|
||||
* Example: Subscriber to SubscriberServiceApi.
|
||||
*
|
||||
* Generated from protobuf field <code>map<string, string> renamed_services = 2;</code>
|
||||
* @return \Google\Protobuf\Internal\MapField
|
||||
*/
|
||||
public function getRenamedServices()
|
||||
{
|
||||
return $this->renamed_services;
|
||||
}
|
||||
/**
|
||||
* Map from original service names to renamed versions.
|
||||
* This is used when the default generated types
|
||||
* would cause a naming conflict. (Neither name is
|
||||
* fully-qualified.)
|
||||
* Example: Subscriber to SubscriberServiceApi.
|
||||
*
|
||||
* Generated from protobuf field <code>map<string, string> renamed_services = 2;</code>
|
||||
* @param array|\Google\Protobuf\Internal\MapField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setRenamedServices($var)
|
||||
{
|
||||
$arr = GPBUtil::checkMapField($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType::STRING, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType::STRING);
|
||||
$this->renamed_services = $arr;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Map from full resource types to the effective short name
|
||||
* for the resource. This is used when otherwise resource
|
||||
* named from different services would cause naming collisions.
|
||||
* Example entry:
|
||||
* "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
|
||||
*
|
||||
* Generated from protobuf field <code>map<string, string> renamed_resources = 3;</code>
|
||||
* @return \Google\Protobuf\Internal\MapField
|
||||
*/
|
||||
public function getRenamedResources()
|
||||
{
|
||||
return $this->renamed_resources;
|
||||
}
|
||||
/**
|
||||
* Map from full resource types to the effective short name
|
||||
* for the resource. This is used when otherwise resource
|
||||
* named from different services would cause naming collisions.
|
||||
* Example entry:
|
||||
* "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
|
||||
*
|
||||
* Generated from protobuf field <code>map<string, string> renamed_resources = 3;</code>
|
||||
* @param array|\Google\Protobuf\Internal\MapField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setRenamedResources($var)
|
||||
{
|
||||
$arr = GPBUtil::checkMapField($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType::STRING, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType::STRING);
|
||||
$this->renamed_resources = $arr;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* List of full resource types to ignore during generation.
|
||||
* This is typically used for API-specific Location resources,
|
||||
* which should be handled by the generator as if they were actually
|
||||
* the common Location resources.
|
||||
* Example entry: "documentai.googleapis.com/Location"
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string ignored_resources = 4;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
*/
|
||||
public function getIgnoredResources()
|
||||
{
|
||||
return $this->ignored_resources;
|
||||
}
|
||||
/**
|
||||
* List of full resource types to ignore during generation.
|
||||
* This is typically used for API-specific Location resources,
|
||||
* which should be handled by the generator as if they were actually
|
||||
* the common Location resources.
|
||||
* Example entry: "documentai.googleapis.com/Location"
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string ignored_resources = 4;</code>
|
||||
* @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setIgnoredResources($var)
|
||||
{
|
||||
$arr = GPBUtil::checkRepeatedField($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType::STRING);
|
||||
$this->ignored_resources = $arr;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Namespaces which must be aliased in snippets due to
|
||||
* a known (but non-generator-predictable) naming collision
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string forced_namespace_aliases = 5;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
*/
|
||||
public function getForcedNamespaceAliases()
|
||||
{
|
||||
return $this->forced_namespace_aliases;
|
||||
}
|
||||
/**
|
||||
* Namespaces which must be aliased in snippets due to
|
||||
* a known (but non-generator-predictable) naming collision
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string forced_namespace_aliases = 5;</code>
|
||||
* @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setForcedNamespaceAliases($var)
|
||||
{
|
||||
$arr = GPBUtil::checkRepeatedField($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType::STRING);
|
||||
$this->forced_namespace_aliases = $arr;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Method signatures (in the form "service.method(signature)")
|
||||
* which are provided separately, so shouldn't be generated.
|
||||
* Snippets *calling* these methods are still generated, however.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string handwritten_signatures = 6;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
*/
|
||||
public function getHandwrittenSignatures()
|
||||
{
|
||||
return $this->handwritten_signatures;
|
||||
}
|
||||
/**
|
||||
* Method signatures (in the form "service.method(signature)")
|
||||
* which are provided separately, so shouldn't be generated.
|
||||
* Snippets *calling* these methods are still generated, however.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string handwritten_signatures = 6;</code>
|
||||
* @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setHandwrittenSignatures($var)
|
||||
{
|
||||
$arr = GPBUtil::checkRepeatedField($var, \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\GPBType::STRING);
|
||||
$this->handwritten_signatures = $arr;
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user