From 715ff072d6818dd2311240fdbbafe485cf949596 Mon Sep 17 00:00:00 2001 From: salmaan rashid Date: Mon, 14 Sep 2020 09:01:15 -0400 Subject: [PATCH] update to beta1 --- README.md | 2 +- backend.go | 2 +- backend_test.go | 2 +- go.mod | 13 +- go.sum | 22 + lib/cloud.google.com/go/LICENSE | 202 - .../certificate_authority_client.go | 1016 ++-- .../{apiv1alpha1 => apiv1beta1}/doc.go | 18 +- .../go/security/privateca/apiv1beta1}/go.mod | 0 .../privateca/v1alpha1/resources.pb.go | 2834 ---------- .../security/privateca/v1alpha1/service.pb.go | 3368 ------------ .../cloud/security/privateca/v1beta1}/go.mod | 1 - .../privateca/v1beta1/resources.pb.go | 4711 +++++++++++++++++ .../security/privateca/v1beta1/service.pb.go | 4704 ++++++++++++++++ path_csr.go | 15 +- path_generatekey.go | 18 +- 16 files changed, 9944 insertions(+), 6984 deletions(-) delete mode 100644 lib/cloud.google.com/go/LICENSE rename lib/cloud.google.com/go/security/privateca/{apiv1alpha1 => apiv1beta1}/certificate_authority_client.go (85%) rename lib/cloud.google.com/go/security/privateca/{apiv1alpha1 => apiv1beta1}/doc.go (89%) rename lib/{google.golang.org/genproto/googleapis/cloud/security/privateca/v1alpha1 => cloud.google.com/go/security/privateca/apiv1beta1}/go.mod (100%) delete mode 100644 lib/google.golang.org/genproto/googleapis/cloud/security/privateca/v1alpha1/resources.pb.go delete mode 100644 lib/google.golang.org/genproto/googleapis/cloud/security/privateca/v1alpha1/service.pb.go rename lib/{cloud.google.com/go/security/privateca/apiv1alpha1 => google.golang.org/genproto/googleapis/cloud/security/privateca/v1beta1}/go.mod (96%) create mode 100644 lib/google.golang.org/genproto/googleapis/cloud/security/privateca/v1beta1/resources.pb.go create mode 100644 lib/google.golang.org/genproto/googleapis/cloud/security/privateca/v1beta1/service.pb.go diff --git a/README.md b/README.md index c4585c6..c5b59ae 100644 --- a/README.md +++ b/README.md @@ -280,7 +280,7 @@ To install, download `vault-plugin-secrets-gcpca` from the "Releases" page on gi - Register the Plugin (remember to update `path/to/vault/plugins/`). ```bash -export SHASUM=`curl -L -s https://github.com/salrashid123/vault-plugin-secrets-gcppca/releases/download/v1.0.0/checksum.sha256` +export SHASUM=`curl -L -s https://github.com/salrashid123/vault-plugin-secrets-gcppca/releases/download/v1.0.1/checksum.sha256` vault plugin register \ -sha256="${SHASUM}" \ diff --git a/backend.go b/backend.go index 65a237a..2fef357 100644 --- a/backend.go +++ b/backend.go @@ -26,7 +26,7 @@ import ( "golang.org/x/oauth2/google" "google.golang.org/api/option" - pcaapi "cloud.google.com/go/security/privateca/apialpha1" + pcaapi "cloud.google.com/go/security/privateca/apiv1beta1" ) var ( diff --git a/backend_test.go b/backend_test.go index 15b9058..0aab217 100644 --- a/backend_test.go +++ b/backend_test.go @@ -26,7 +26,7 @@ import ( "google.golang.org/api/option" "google.golang.org/grpc/connectivity" - pcaapi "cloud.google.com/go/security/privateca/apialpha1" + pcaapi "cloud.google.com/go/security/privateca/apiv1beta1" hclog "github.com/hashicorp/go-hclog" ) diff --git a/go.mod b/go.mod index 8932c99..ca58ed0 100644 --- a/go.mod +++ b/go.mod @@ -4,11 +4,11 @@ go 1.12 require ( cloud.google.com/go v0.56.0 - cloud.google.com/go/security/privateca/apialpha1 v0.0.0 + cloud.google.com/go/security/privateca/apiv1beta1 v0.0.0 github.com/armon/go-radix v1.0.0 // indirect github.com/gammazero/deque v0.0.0-20190130191400-2afb3858e9c7 // indirect github.com/gammazero/workerpool v0.0.0-20190406235159-88d534f22b56 - github.com/golang/protobuf v1.3.5 + github.com/golang/protobuf v1.4.1 github.com/google/uuid v1.1.1 github.com/hashicorp/errwrap v1.0.0 github.com/hashicorp/go-hclog v0.12.0 @@ -23,13 +23,14 @@ require ( golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d golang.org/x/text v0.3.2 // indirect google.golang.org/api v0.23.0 - google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940 - google.golang.org/genproto/googleapis/cloud/security/privateca/v1alpha1 v0.0.0 + google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 + google.golang.org/genproto/googleapis/cloud/security/privateca/v1beta1 v0.0.0 google.golang.org/grpc v1.28.0 + google.golang.org/protobuf v1.25.0 // indirect gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect ) -replace cloud.google.com/go/security/privateca/apialpha1 => ./lib/cloud.google.com/go/security/privateca/apiv1alpha1 +replace cloud.google.com/go/security/privateca/apiv1beta1 => ./lib/cloud.google.com/go/security/privateca/apiv1beta1 -replace google.golang.org/genproto/googleapis/cloud/security/privateca/v1alpha1 => ./lib/google.golang.org/genproto/googleapis/cloud/security/privateca/v1alpha1 +replace google.golang.org/genproto/googleapis/cloud/security/privateca/v1beta1 => ./lib/google.golang.org/genproto/googleapis/cloud/security/privateca/v1beta1 diff --git a/go.sum b/go.sum index 4bb4548..bb006e0 100644 --- a/go.sum +++ b/go.sum @@ -12,6 +12,7 @@ cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= cloud.google.com/go v0.56.0 h1:WRz29PgAsVEyPSDHyk+0fpEkwEFyfhHn+JbksT6gIL4= cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= +cloud.google.com/go v0.65.0 h1:Dg9iHVQfrhq82rUNu9ZxUDrJLaxFUe/HlCVaLyRruq8= cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= @@ -84,6 +85,13 @@ github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5y github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= github.com/golang/protobuf v1.3.5 h1:F768QJ1E9tib+q5Sc8MkdJi1RxLTbRcTf8LJV56aRls= github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= +github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= +github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= +github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= +github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= +github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= +github.com/golang/protobuf v1.4.1 h1:ZFgWrT+bLgsYPirOnRfKLYJLvssAegOj/hgyMFdJZe0= +github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= github.com/golang/snappy v0.0.1 h1:Qgr9rKW7uDUkrbSmQeiDsGa8SjGyCOGtuasMWwvp2P4= github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= @@ -95,6 +103,8 @@ github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMyw github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.4.0 h1:xsAVV57WRhGj6kEIi8ReJzQlHHqcBYCElAvkovg3B/4= github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.0 h1:/QaMHBdZ26BB3SSst0Iwl10Epc+xhTquomWX0oZEB6w= +github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= @@ -413,6 +423,9 @@ google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfG google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940 h1:MRHtG0U6SnaUb+s+LhNE1qt1FQ1wlhqr5E4usBKC0uA= google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84 h1:pSLkPbrjnPyLDYUO2VM9mDLqo2V6CFBY84lFSZAfoi4= +google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 h1:+kGHl1aib/qcwaRi1CbqBZ1rk19r85MNUf8HaBghugY= +google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= +google.golang.org/genproto v0.0.0-20200911024640-645f7a48b24f h1:Yv4xsIx7HZOoyUGSJ2ksDyWE2qIBXROsZKt2ny3hCGM= google.golang.org/grpc v1.14.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= @@ -427,6 +440,15 @@ google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8 google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= google.golang.org/grpc v1.28.0 h1:bO/TA4OxCOummhSf10siHuG7vJOiwh7SpRpFZDkOgl4= google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= +google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= +google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= +google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= +google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= +google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= +google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.25.0 h1:Ejskq+SyPohKW+1uil0JJMtmHCgJPJ/qWTxr8qp+R4c= +google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/lib/cloud.google.com/go/LICENSE b/lib/cloud.google.com/go/LICENSE deleted file mode 100644 index 7212fdb..0000000 --- a/lib/cloud.google.com/go/LICENSE +++ /dev/null @@ -1,202 +0,0 @@ - - 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 2029 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. diff --git a/lib/cloud.google.com/go/security/privateca/apiv1alpha1/certificate_authority_client.go b/lib/cloud.google.com/go/security/privateca/apiv1beta1/certificate_authority_client.go similarity index 85% rename from lib/cloud.google.com/go/security/privateca/apiv1alpha1/certificate_authority_client.go rename to lib/cloud.google.com/go/security/privateca/apiv1beta1/certificate_authority_client.go index 6b516dc..1848d77 100644 --- a/lib/cloud.google.com/go/security/privateca/apiv1alpha1/certificate_authority_client.go +++ b/lib/cloud.google.com/go/security/privateca/apiv1beta1/certificate_authority_client.go @@ -30,7 +30,7 @@ import ( "google.golang.org/api/iterator" "google.golang.org/api/option" gtransport "google.golang.org/api/transport/grpc" - privatecapb "google.golang.org/genproto/googleapis/cloud/security/privateca/v1alpha1" + privatecapb "google.golang.org/genproto/googleapis/cloud/security/privateca/v1beta1" longrunningpb "google.golang.org/genproto/googleapis/longrunning" "google.golang.org/grpc" "google.golang.org/grpc/codes" @@ -41,31 +41,30 @@ var newCertificateAuthorityClientHook clientHook // CertificateAuthorityCallOptions contains the retry settings for each method of CertificateAuthorityClient. type CertificateAuthorityCallOptions struct { - ListCertificateAuthorities []gax.CallOption - ListCertificateRevocationLists []gax.CallOption - ListCertificates []gax.CallOption - ListReusableConfigs []gax.CallOption - GetCertificateAuthority []gax.CallOption - GetCertificateRevocationList []gax.CallOption - GetCertificate []gax.CallOption - GetReusableConfig []gax.CallOption - CreateCertificateAuthority []gax.CallOption - CreateCertificateRevocationList []gax.CallOption CreateCertificate []gax.CallOption - CreateReusableConfig []gax.CallOption - UpdateCertificateAuthority []gax.CallOption - UpdateCertificateRevocationList []gax.CallOption + GetCertificate []gax.CallOption + ListCertificates []gax.CallOption + RevokeCertificate []gax.CallOption UpdateCertificate []gax.CallOption - UpdateReusableConfig []gax.CallOption - DeleteCertificateAuthority []gax.CallOption - GetCertificateAuthorityCsr []gax.CallOption ActivateCertificateAuthority []gax.CallOption + CreateCertificateAuthority []gax.CallOption DisableCertificateAuthority []gax.CallOption EnableCertificateAuthority []gax.CallOption - ScheduleDeleteCertificateAuthority []gax.CallOption + FetchCertificateAuthorityCsr []gax.CallOption + GetCertificateAuthority []gax.CallOption + ListCertificateAuthorities []gax.CallOption RestoreCertificateAuthority []gax.CallOption - RevokeCertificate []gax.CallOption - PublishCertificateRevocationList []gax.CallOption + ScheduleDeleteCertificateAuthority []gax.CallOption + UpdateCertificateAuthority []gax.CallOption + CreateCertificateRevocationList []gax.CallOption + GetCertificateRevocationList []gax.CallOption + ListCertificateRevocationLists []gax.CallOption + UpdateCertificateRevocationList []gax.CallOption + CreateReusableConfig []gax.CallOption + DeleteReusableConfig []gax.CallOption + GetReusableConfig []gax.CallOption + ListReusableConfigs []gax.CallOption + UpdateReusableConfig []gax.CallOption } func defaultCertificateAuthorityClientOptions() []option.ClientOption { @@ -80,7 +79,7 @@ func defaultCertificateAuthorityClientOptions() []option.ClientOption { func defaultCertificateAuthorityCallOptions() *CertificateAuthorityCallOptions { return &CertificateAuthorityCallOptions{ - ListCertificateAuthorities: []gax.CallOption{ + CreateCertificate: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ codes.Unknown, @@ -93,7 +92,7 @@ func defaultCertificateAuthorityCallOptions() *CertificateAuthorityCallOptions { }) }), }, - ListCertificateRevocationLists: []gax.CallOption{ + GetCertificate: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ codes.Unknown, @@ -119,7 +118,7 @@ func defaultCertificateAuthorityCallOptions() *CertificateAuthorityCallOptions { }) }), }, - ListReusableConfigs: []gax.CallOption{ + RevokeCertificate: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ codes.Unknown, @@ -132,7 +131,7 @@ func defaultCertificateAuthorityCallOptions() *CertificateAuthorityCallOptions { }) }), }, - GetCertificateAuthority: []gax.CallOption{ + UpdateCertificate: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ codes.Unknown, @@ -145,7 +144,7 @@ func defaultCertificateAuthorityCallOptions() *CertificateAuthorityCallOptions { }) }), }, - GetCertificateRevocationList: []gax.CallOption{ + ActivateCertificateAuthority: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ codes.Unknown, @@ -158,7 +157,7 @@ func defaultCertificateAuthorityCallOptions() *CertificateAuthorityCallOptions { }) }), }, - GetCertificate: []gax.CallOption{ + CreateCertificateAuthority: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ codes.Unknown, @@ -171,7 +170,7 @@ func defaultCertificateAuthorityCallOptions() *CertificateAuthorityCallOptions { }) }), }, - GetReusableConfig: []gax.CallOption{ + DisableCertificateAuthority: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ codes.Unknown, @@ -184,7 +183,7 @@ func defaultCertificateAuthorityCallOptions() *CertificateAuthorityCallOptions { }) }), }, - CreateCertificateAuthority: []gax.CallOption{ + EnableCertificateAuthority: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ codes.Unknown, @@ -197,7 +196,7 @@ func defaultCertificateAuthorityCallOptions() *CertificateAuthorityCallOptions { }) }), }, - CreateCertificateRevocationList: []gax.CallOption{ + FetchCertificateAuthorityCsr: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ codes.Unknown, @@ -210,7 +209,7 @@ func defaultCertificateAuthorityCallOptions() *CertificateAuthorityCallOptions { }) }), }, - CreateCertificate: []gax.CallOption{ + GetCertificateAuthority: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ codes.Unknown, @@ -223,7 +222,33 @@ func defaultCertificateAuthorityCallOptions() *CertificateAuthorityCallOptions { }) }), }, - CreateReusableConfig: []gax.CallOption{ + ListCertificateAuthorities: []gax.CallOption{ + gax.WithRetry(func() gax.Retryer { + return gax.OnCodes([]codes.Code{ + codes.Unknown, + codes.Unavailable, + codes.DeadlineExceeded, + }, gax.Backoff{ + Initial: 100 * time.Millisecond, + Max: 60000 * time.Millisecond, + Multiplier: 1.30, + }) + }), + }, + RestoreCertificateAuthority: []gax.CallOption{ + gax.WithRetry(func() gax.Retryer { + return gax.OnCodes([]codes.Code{ + codes.Unknown, + codes.Unavailable, + codes.DeadlineExceeded, + }, gax.Backoff{ + Initial: 100 * time.Millisecond, + Max: 60000 * time.Millisecond, + Multiplier: 1.30, + }) + }), + }, + ScheduleDeleteCertificateAuthority: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ codes.Unknown, @@ -249,7 +274,7 @@ func defaultCertificateAuthorityCallOptions() *CertificateAuthorityCallOptions { }) }), }, - UpdateCertificateRevocationList: []gax.CallOption{ + CreateCertificateRevocationList: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ codes.Unknown, @@ -262,7 +287,7 @@ func defaultCertificateAuthorityCallOptions() *CertificateAuthorityCallOptions { }) }), }, - UpdateCertificate: []gax.CallOption{ + GetCertificateRevocationList: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ codes.Unknown, @@ -275,7 +300,7 @@ func defaultCertificateAuthorityCallOptions() *CertificateAuthorityCallOptions { }) }), }, - UpdateReusableConfig: []gax.CallOption{ + ListCertificateRevocationLists: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ codes.Unknown, @@ -288,7 +313,7 @@ func defaultCertificateAuthorityCallOptions() *CertificateAuthorityCallOptions { }) }), }, - DeleteCertificateAuthority: []gax.CallOption{ + UpdateCertificateRevocationList: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ codes.Unknown, @@ -301,7 +326,7 @@ func defaultCertificateAuthorityCallOptions() *CertificateAuthorityCallOptions { }) }), }, - GetCertificateAuthorityCsr: []gax.CallOption{ + CreateReusableConfig: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ codes.Unknown, @@ -314,7 +339,7 @@ func defaultCertificateAuthorityCallOptions() *CertificateAuthorityCallOptions { }) }), }, - ActivateCertificateAuthority: []gax.CallOption{ + DeleteReusableConfig: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ codes.Unknown, @@ -327,11 +352,33 @@ func defaultCertificateAuthorityCallOptions() *CertificateAuthorityCallOptions { }) }), }, - DisableCertificateAuthority: []gax.CallOption{}, - EnableCertificateAuthority: []gax.CallOption{}, - ScheduleDeleteCertificateAuthority: []gax.CallOption{}, - RestoreCertificateAuthority: []gax.CallOption{}, - RevokeCertificate: []gax.CallOption{ + GetReusableConfig: []gax.CallOption{ + gax.WithRetry(func() gax.Retryer { + return gax.OnCodes([]codes.Code{ + codes.Unknown, + codes.Unavailable, + codes.DeadlineExceeded, + }, gax.Backoff{ + Initial: 100 * time.Millisecond, + Max: 60000 * time.Millisecond, + Multiplier: 1.30, + }) + }), + }, + ListReusableConfigs: []gax.CallOption{ + gax.WithRetry(func() gax.Retryer { + return gax.OnCodes([]codes.Code{ + codes.Unknown, + codes.Unavailable, + codes.DeadlineExceeded, + }, gax.Backoff{ + Initial: 100 * time.Millisecond, + Max: 60000 * time.Millisecond, + Multiplier: 1.30, + }) + }), + }, + UpdateReusableConfig: []gax.CallOption{ gax.WithRetry(func() gax.Retryer { return gax.OnCodes([]codes.Code{ codes.Unknown, @@ -344,17 +391,19 @@ func defaultCertificateAuthorityCallOptions() *CertificateAuthorityCallOptions { }) }), }, - PublishCertificateRevocationList: []gax.CallOption{}, } } -// CertificateAuthorityClient is a client for interacting with Certificate Authority Service API. +// CertificateAuthorityClient is a client for interacting with Certificate Authority API. // // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. type CertificateAuthorityClient struct { // Connection pool of gRPC connections to the service. connPool gtransport.ConnPool + // flag to opt out of default deadlines via GOOGLE_API_GO_EXPERIMENTAL_DISABLE_DEFAULT_DEADLINE + disableDeadlines bool + // The gRPC API client. certificateAuthorityClient privatecapb.CertificateAuthorityServiceClient @@ -372,7 +421,7 @@ type CertificateAuthorityClient struct { // NewCertificateAuthorityClient creates a new certificate authority service client. // -// [Certificate Authority Service][google.cloud.security.privateca.v1alpha1.CertificateAuthorityService] manages private +// [Certificate Authority Service][google.cloud.security.privateca.v1beta1.CertificateAuthorityService] manages private // certificate authorities and issued certificates. func NewCertificateAuthorityClient(ctx context.Context, opts ...option.ClientOption) (*CertificateAuthorityClient, error) { clientOpts := defaultCertificateAuthorityClientOptions() @@ -385,13 +434,19 @@ func NewCertificateAuthorityClient(ctx context.Context, opts ...option.ClientOpt clientOpts = append(clientOpts, hookOpts...) } + disableDeadlines, err := checkDisableDeadlines() + if err != nil { + return nil, err + } + connPool, err := gtransport.DialPool(ctx, append(clientOpts, opts...)...) if err != nil { return nil, err } c := &CertificateAuthorityClient{ - connPool: connPool, - CallOptions: defaultCertificateAuthorityCallOptions(), + connPool: connPool, + disableDeadlines: disableDeadlines, + CallOptions: defaultCertificateAuthorityCallOptions(), certificateAuthorityClient: privatecapb.NewCertificateAuthorityServiceClient(connPool), } @@ -432,86 +487,49 @@ func (c *CertificateAuthorityClient) setGoogleClientInfo(keyval ...string) { c.xGoogMetadata = metadata.Pairs("x-goog-api-client", gax.XGoogHeader(kv...)) } -// ListCertificateAuthorities lists CertificateAuthorities. -func (c *CertificateAuthorityClient) ListCertificateAuthorities(ctx context.Context, req *privatecapb.ListCertificateAuthoritiesRequest, opts ...gax.CallOption) *CertificateAuthorityIterator { +// CreateCertificate create a new Certificate in a given Project, Location from a particular +// CertificateAuthority. +func (c *CertificateAuthorityClient) CreateCertificate(ctx context.Context, req *privatecapb.CreateCertificateRequest, opts ...gax.CallOption) (*privatecapb.Certificate, error) { + if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { + cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + defer cancel() + ctx = cctx + } md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "parent", url.QueryEscape(req.GetParent()))) ctx = insertMetadata(ctx, c.xGoogMetadata, md) - opts = append(c.CallOptions.ListCertificateAuthorities[0:len(c.CallOptions.ListCertificateAuthorities):len(c.CallOptions.ListCertificateAuthorities)], opts...) - it := &CertificateAuthorityIterator{} - req = proto.Clone(req).(*privatecapb.ListCertificateAuthoritiesRequest) - it.InternalFetch = func(pageSize int, pageToken string) ([]*privatecapb.CertificateAuthority, string, error) { - var resp *privatecapb.ListCertificateAuthoritiesResponse - req.PageToken = pageToken - if pageSize > math.MaxInt32 { - req.PageSize = math.MaxInt32 - } else { - req.PageSize = int32(pageSize) - } - err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { - var err error - resp, err = c.certificateAuthorityClient.ListCertificateAuthorities(ctx, req, settings.GRPC...) - return err - }, opts...) - if err != nil { - return nil, "", err - } - - it.Response = resp - return resp.CertificateAuthorities, resp.NextPageToken, nil - } - fetch := func(pageSize int, pageToken string) (string, error) { - items, nextPageToken, err := it.InternalFetch(pageSize, pageToken) - if err != nil { - return "", err - } - it.items = append(it.items, items...) - return nextPageToken, nil + opts = append(c.CallOptions.CreateCertificate[0:len(c.CallOptions.CreateCertificate):len(c.CallOptions.CreateCertificate)], opts...) + var resp *privatecapb.Certificate + err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { + var err error + resp, err = c.certificateAuthorityClient.CreateCertificate(ctx, req, settings.GRPC...) + return err + }, opts...) + if err != nil { + return nil, err } - it.pageInfo, it.nextFunc = iterator.NewPageInfo(fetch, it.bufLen, it.takeBuf) - it.pageInfo.MaxSize = int(req.PageSize) - it.pageInfo.Token = req.PageToken - return it + return resp, nil } -// ListCertificateRevocationLists lists CertificateRevocationLists. -func (c *CertificateAuthorityClient) ListCertificateRevocationLists(ctx context.Context, req *privatecapb.ListCertificateRevocationListsRequest, opts ...gax.CallOption) *CertificateRevocationListIterator { - md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "parent", url.QueryEscape(req.GetParent()))) - ctx = insertMetadata(ctx, c.xGoogMetadata, md) - opts = append(c.CallOptions.ListCertificateRevocationLists[0:len(c.CallOptions.ListCertificateRevocationLists):len(c.CallOptions.ListCertificateRevocationLists)], opts...) - it := &CertificateRevocationListIterator{} - req = proto.Clone(req).(*privatecapb.ListCertificateRevocationListsRequest) - it.InternalFetch = func(pageSize int, pageToken string) ([]*privatecapb.CertificateRevocationList, string, error) { - var resp *privatecapb.ListCertificateRevocationListsResponse - req.PageToken = pageToken - if pageSize > math.MaxInt32 { - req.PageSize = math.MaxInt32 - } else { - req.PageSize = int32(pageSize) - } - err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { - var err error - resp, err = c.certificateAuthorityClient.ListCertificateRevocationLists(ctx, req, settings.GRPC...) - return err - }, opts...) - if err != nil { - return nil, "", err - } - - it.Response = resp - return resp.CertificateRevocationLists, resp.NextPageToken, nil +// GetCertificate returns a Certificate. +func (c *CertificateAuthorityClient) GetCertificate(ctx context.Context, req *privatecapb.GetCertificateRequest, opts ...gax.CallOption) (*privatecapb.Certificate, error) { + if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { + cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + defer cancel() + ctx = cctx } - fetch := func(pageSize int, pageToken string) (string, error) { - items, nextPageToken, err := it.InternalFetch(pageSize, pageToken) - if err != nil { - return "", err - } - it.items = append(it.items, items...) - return nextPageToken, nil + md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "name", url.QueryEscape(req.GetName()))) + ctx = insertMetadata(ctx, c.xGoogMetadata, md) + opts = append(c.CallOptions.GetCertificate[0:len(c.CallOptions.GetCertificate):len(c.CallOptions.GetCertificate)], opts...) + var resp *privatecapb.Certificate + err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { + var err error + resp, err = c.certificateAuthorityClient.GetCertificate(ctx, req, settings.GRPC...) + return err + }, opts...) + if err != nil { + return nil, err } - it.pageInfo, it.nextFunc = iterator.NewPageInfo(fetch, it.bufLen, it.takeBuf) - it.pageInfo.MaxSize = int(req.PageSize) - it.pageInfo.Token = req.PageToken - return it + return resp, nil } // ListCertificates lists Certificates. @@ -539,7 +557,7 @@ func (c *CertificateAuthorityClient) ListCertificates(ctx context.Context, req * } it.Response = resp - return resp.Certificates, resp.NextPageToken, nil + return resp.GetCertificates(), resp.GetNextPageToken(), nil } fetch := func(pageSize int, pageToken string) (string, error) { items, nextPageToken, err := it.InternalFetch(pageSize, pageToken) @@ -550,61 +568,25 @@ func (c *CertificateAuthorityClient) ListCertificates(ctx context.Context, req * return nextPageToken, nil } it.pageInfo, it.nextFunc = iterator.NewPageInfo(fetch, it.bufLen, it.takeBuf) - it.pageInfo.MaxSize = int(req.PageSize) - it.pageInfo.Token = req.PageToken + it.pageInfo.MaxSize = int(req.GetPageSize()) + it.pageInfo.Token = req.GetPageToken() return it } -// ListReusableConfigs lists ReusableConfigs. -func (c *CertificateAuthorityClient) ListReusableConfigs(ctx context.Context, req *privatecapb.ListReusableConfigsRequest, opts ...gax.CallOption) *ReusableConfigIterator { - md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "parent", url.QueryEscape(req.GetParent()))) - ctx = insertMetadata(ctx, c.xGoogMetadata, md) - opts = append(c.CallOptions.ListReusableConfigs[0:len(c.CallOptions.ListReusableConfigs):len(c.CallOptions.ListReusableConfigs)], opts...) - it := &ReusableConfigIterator{} - req = proto.Clone(req).(*privatecapb.ListReusableConfigsRequest) - it.InternalFetch = func(pageSize int, pageToken string) ([]*privatecapb.ReusableConfig, string, error) { - var resp *privatecapb.ListReusableConfigsResponse - req.PageToken = pageToken - if pageSize > math.MaxInt32 { - req.PageSize = math.MaxInt32 - } else { - req.PageSize = int32(pageSize) - } - err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { - var err error - resp, err = c.certificateAuthorityClient.ListReusableConfigs(ctx, req, settings.GRPC...) - return err - }, opts...) - if err != nil { - return nil, "", err - } - - it.Response = resp - return resp.ReusableConfigs, resp.NextPageToken, nil - } - fetch := func(pageSize int, pageToken string) (string, error) { - items, nextPageToken, err := it.InternalFetch(pageSize, pageToken) - if err != nil { - return "", err - } - it.items = append(it.items, items...) - return nextPageToken, nil +// RevokeCertificate revoke a Certificate. +func (c *CertificateAuthorityClient) RevokeCertificate(ctx context.Context, req *privatecapb.RevokeCertificateRequest, opts ...gax.CallOption) (*privatecapb.Certificate, error) { + if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { + cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + defer cancel() + ctx = cctx } - it.pageInfo, it.nextFunc = iterator.NewPageInfo(fetch, it.bufLen, it.takeBuf) - it.pageInfo.MaxSize = int(req.PageSize) - it.pageInfo.Token = req.PageToken - return it -} - -// GetCertificateAuthority returns a CertificateAuthority. -func (c *CertificateAuthorityClient) GetCertificateAuthority(ctx context.Context, req *privatecapb.GetCertificateAuthorityRequest, opts ...gax.CallOption) (*privatecapb.CertificateAuthority, error) { md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "name", url.QueryEscape(req.GetName()))) ctx = insertMetadata(ctx, c.xGoogMetadata, md) - opts = append(c.CallOptions.GetCertificateAuthority[0:len(c.CallOptions.GetCertificateAuthority):len(c.CallOptions.GetCertificateAuthority)], opts...) - var resp *privatecapb.CertificateAuthority + opts = append(c.CallOptions.RevokeCertificate[0:len(c.CallOptions.RevokeCertificate):len(c.CallOptions.RevokeCertificate)], opts...) + var resp *privatecapb.Certificate err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { var err error - resp, err = c.certificateAuthorityClient.GetCertificateAuthority(ctx, req, settings.GRPC...) + resp, err = c.certificateAuthorityClient.RevokeCertificate(ctx, req, settings.GRPC...) return err }, opts...) if err != nil { @@ -613,32 +595,20 @@ func (c *CertificateAuthorityClient) GetCertificateAuthority(ctx context.Context return resp, nil } -// GetCertificateRevocationList returns a CertificateRevocationList. -func (c *CertificateAuthorityClient) GetCertificateRevocationList(ctx context.Context, req *privatecapb.GetCertificateRevocationListRequest, opts ...gax.CallOption) (*privatecapb.CertificateRevocationList, error) { - md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "name", url.QueryEscape(req.GetName()))) - ctx = insertMetadata(ctx, c.xGoogMetadata, md) - opts = append(c.CallOptions.GetCertificateRevocationList[0:len(c.CallOptions.GetCertificateRevocationList):len(c.CallOptions.GetCertificateRevocationList)], opts...) - var resp *privatecapb.CertificateRevocationList - err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { - var err error - resp, err = c.certificateAuthorityClient.GetCertificateRevocationList(ctx, req, settings.GRPC...) - return err - }, opts...) - if err != nil { - return nil, err +// UpdateCertificate update a Certificate. +func (c *CertificateAuthorityClient) UpdateCertificate(ctx context.Context, req *privatecapb.UpdateCertificateRequest, opts ...gax.CallOption) (*privatecapb.Certificate, error) { + if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { + cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + defer cancel() + ctx = cctx } - return resp, nil -} - -// GetCertificate returns a Certificate. -func (c *CertificateAuthorityClient) GetCertificate(ctx context.Context, req *privatecapb.GetCertificateRequest, opts ...gax.CallOption) (*privatecapb.Certificate, error) { - md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "name", url.QueryEscape(req.GetName()))) + md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "certificate.name", url.QueryEscape(req.GetCertificate().GetName()))) ctx = insertMetadata(ctx, c.xGoogMetadata, md) - opts = append(c.CallOptions.GetCertificate[0:len(c.CallOptions.GetCertificate):len(c.CallOptions.GetCertificate)], opts...) + opts = append(c.CallOptions.UpdateCertificate[0:len(c.CallOptions.UpdateCertificate):len(c.CallOptions.UpdateCertificate)], opts...) var resp *privatecapb.Certificate err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { var err error - resp, err = c.certificateAuthorityClient.GetCertificate(ctx, req, settings.GRPC...) + resp, err = c.certificateAuthorityClient.UpdateCertificate(ctx, req, settings.GRPC...) return err }, opts...) if err != nil { @@ -647,25 +617,42 @@ func (c *CertificateAuthorityClient) GetCertificate(ctx context.Context, req *pr return resp, nil } -// GetReusableConfig returns a ReusableConfig. -func (c *CertificateAuthorityClient) GetReusableConfig(ctx context.Context, req *privatecapb.GetReusableConfigRequest, opts ...gax.CallOption) (*privatecapb.ReusableConfig, error) { +// ActivateCertificateAuthority activate a CertificateAuthority that is in state +// PENDING_ACTIVATION and is +// of type SUBORDINATE. After the +// parent Certificate Authority signs a certificate signing request from +// FetchCertificateAuthorityCsr, this method can complete the activation +// process. +func (c *CertificateAuthorityClient) ActivateCertificateAuthority(ctx context.Context, req *privatecapb.ActivateCertificateAuthorityRequest, opts ...gax.CallOption) (*ActivateCertificateAuthorityOperation, error) { + if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { + cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + defer cancel() + ctx = cctx + } md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "name", url.QueryEscape(req.GetName()))) ctx = insertMetadata(ctx, c.xGoogMetadata, md) - opts = append(c.CallOptions.GetReusableConfig[0:len(c.CallOptions.GetReusableConfig):len(c.CallOptions.GetReusableConfig)], opts...) - var resp *privatecapb.ReusableConfig + opts = append(c.CallOptions.ActivateCertificateAuthority[0:len(c.CallOptions.ActivateCertificateAuthority):len(c.CallOptions.ActivateCertificateAuthority)], opts...) + var resp *longrunningpb.Operation err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { var err error - resp, err = c.certificateAuthorityClient.GetReusableConfig(ctx, req, settings.GRPC...) + resp, err = c.certificateAuthorityClient.ActivateCertificateAuthority(ctx, req, settings.GRPC...) return err }, opts...) if err != nil { return nil, err } - return resp, nil + return &ActivateCertificateAuthorityOperation{ + lro: longrunning.InternalNewOperation(c.LROClient, resp), + }, nil } // CreateCertificateAuthority create a new CertificateAuthority in a given Project and Location. func (c *CertificateAuthorityClient) CreateCertificateAuthority(ctx context.Context, req *privatecapb.CreateCertificateAuthorityRequest, opts ...gax.CallOption) (*CreateCertificateAuthorityOperation, error) { + if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { + cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + defer cancel() + ctx = cctx + } md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "parent", url.QueryEscape(req.GetParent()))) ctx = insertMetadata(ctx, c.xGoogMetadata, md) opts = append(c.CallOptions.CreateCertificateAuthority[0:len(c.CallOptions.CreateCertificateAuthority):len(c.CallOptions.CreateCertificateAuthority)], opts...) @@ -683,171 +670,256 @@ func (c *CertificateAuthorityClient) CreateCertificateAuthority(ctx context.Cont }, nil } -// CreateCertificateRevocationList create a new CertificateRevocationList in a given Project, Location -// for a particular CertificateAuthority. -func (c *CertificateAuthorityClient) CreateCertificateRevocationList(ctx context.Context, req *privatecapb.CreateCertificateRevocationListRequest, opts ...gax.CallOption) (*CreateCertificateRevocationListOperation, error) { - md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "parent", url.QueryEscape(req.GetParent()))) +// DisableCertificateAuthority disable a CertificateAuthority. +func (c *CertificateAuthorityClient) DisableCertificateAuthority(ctx context.Context, req *privatecapb.DisableCertificateAuthorityRequest, opts ...gax.CallOption) (*DisableCertificateAuthorityOperation, error) { + if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { + cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + defer cancel() + ctx = cctx + } + md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "name", url.QueryEscape(req.GetName()))) ctx = insertMetadata(ctx, c.xGoogMetadata, md) - opts = append(c.CallOptions.CreateCertificateRevocationList[0:len(c.CallOptions.CreateCertificateRevocationList):len(c.CallOptions.CreateCertificateRevocationList)], opts...) + opts = append(c.CallOptions.DisableCertificateAuthority[0:len(c.CallOptions.DisableCertificateAuthority):len(c.CallOptions.DisableCertificateAuthority)], opts...) var resp *longrunningpb.Operation err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { var err error - resp, err = c.certificateAuthorityClient.CreateCertificateRevocationList(ctx, req, settings.GRPC...) + resp, err = c.certificateAuthorityClient.DisableCertificateAuthority(ctx, req, settings.GRPC...) return err }, opts...) if err != nil { return nil, err } - return &CreateCertificateRevocationListOperation{ + return &DisableCertificateAuthorityOperation{ lro: longrunning.InternalNewOperation(c.LROClient, resp), }, nil } -// CreateCertificate create a new Certificate in a given Project, Location from a particular -// CertificateAuthority. -func (c *CertificateAuthorityClient) CreateCertificate(ctx context.Context, req *privatecapb.CreateCertificateRequest, opts ...gax.CallOption) (*CreateCertificateOperation, error) { - md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "parent", url.QueryEscape(req.GetParent()))) +// EnableCertificateAuthority enable a CertificateAuthority. +func (c *CertificateAuthorityClient) EnableCertificateAuthority(ctx context.Context, req *privatecapb.EnableCertificateAuthorityRequest, opts ...gax.CallOption) (*EnableCertificateAuthorityOperation, error) { + if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { + cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + defer cancel() + ctx = cctx + } + md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "name", url.QueryEscape(req.GetName()))) ctx = insertMetadata(ctx, c.xGoogMetadata, md) - opts = append(c.CallOptions.CreateCertificate[0:len(c.CallOptions.CreateCertificate):len(c.CallOptions.CreateCertificate)], opts...) + opts = append(c.CallOptions.EnableCertificateAuthority[0:len(c.CallOptions.EnableCertificateAuthority):len(c.CallOptions.EnableCertificateAuthority)], opts...) var resp *longrunningpb.Operation err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { var err error - resp, err = c.certificateAuthorityClient.CreateCertificate(ctx, req, settings.GRPC...) + resp, err = c.certificateAuthorityClient.EnableCertificateAuthority(ctx, req, settings.GRPC...) return err }, opts...) if err != nil { return nil, err } - return &CreateCertificateOperation{ + return &EnableCertificateAuthorityOperation{ lro: longrunning.InternalNewOperation(c.LROClient, resp), }, nil } -// CreateReusableConfig create a new ReusableConfig in a given Project and Location. -func (c *CertificateAuthorityClient) CreateReusableConfig(ctx context.Context, req *privatecapb.CreateReusableConfigRequest, opts ...gax.CallOption) (*CreateReusableConfigOperation, error) { - md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "parent", url.QueryEscape(req.GetParent()))) +// FetchCertificateAuthorityCsr fetch a certificate signing request (CSR) from a CertificateAuthority +// that is in state +// PENDING_ACTIVATION and is +// of type SUBORDINATE. The CSR must +// then be signed by the desired parent Certificate Authority, which could be +// another CertificateAuthority resource, or could be an on-prem +// certificate authority. See also ActivateCertificateAuthority. +func (c *CertificateAuthorityClient) FetchCertificateAuthorityCsr(ctx context.Context, req *privatecapb.FetchCertificateAuthorityCsrRequest, opts ...gax.CallOption) (*privatecapb.FetchCertificateAuthorityCsrResponse, error) { + if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { + cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + defer cancel() + ctx = cctx + } + md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "name", url.QueryEscape(req.GetName()))) ctx = insertMetadata(ctx, c.xGoogMetadata, md) - opts = append(c.CallOptions.CreateReusableConfig[0:len(c.CallOptions.CreateReusableConfig):len(c.CallOptions.CreateReusableConfig)], opts...) - var resp *longrunningpb.Operation + opts = append(c.CallOptions.FetchCertificateAuthorityCsr[0:len(c.CallOptions.FetchCertificateAuthorityCsr):len(c.CallOptions.FetchCertificateAuthorityCsr)], opts...) + var resp *privatecapb.FetchCertificateAuthorityCsrResponse err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { var err error - resp, err = c.certificateAuthorityClient.CreateReusableConfig(ctx, req, settings.GRPC...) + resp, err = c.certificateAuthorityClient.FetchCertificateAuthorityCsr(ctx, req, settings.GRPC...) return err }, opts...) if err != nil { return nil, err } - return &CreateReusableConfigOperation{ - lro: longrunning.InternalNewOperation(c.LROClient, resp), - }, nil + return resp, nil } -// UpdateCertificateAuthority update a CertificateAuthority. -func (c *CertificateAuthorityClient) UpdateCertificateAuthority(ctx context.Context, req *privatecapb.UpdateCertificateAuthorityRequest, opts ...gax.CallOption) (*UpdateCertificateAuthorityOperation, error) { - md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "certificate_authority.name", url.QueryEscape(req.GetCertificateAuthority().GetName()))) +// GetCertificateAuthority returns a CertificateAuthority. +func (c *CertificateAuthorityClient) GetCertificateAuthority(ctx context.Context, req *privatecapb.GetCertificateAuthorityRequest, opts ...gax.CallOption) (*privatecapb.CertificateAuthority, error) { + if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { + cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + defer cancel() + ctx = cctx + } + md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "name", url.QueryEscape(req.GetName()))) ctx = insertMetadata(ctx, c.xGoogMetadata, md) - opts = append(c.CallOptions.UpdateCertificateAuthority[0:len(c.CallOptions.UpdateCertificateAuthority):len(c.CallOptions.UpdateCertificateAuthority)], opts...) - var resp *longrunningpb.Operation + opts = append(c.CallOptions.GetCertificateAuthority[0:len(c.CallOptions.GetCertificateAuthority):len(c.CallOptions.GetCertificateAuthority)], opts...) + var resp *privatecapb.CertificateAuthority err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { var err error - resp, err = c.certificateAuthorityClient.UpdateCertificateAuthority(ctx, req, settings.GRPC...) + resp, err = c.certificateAuthorityClient.GetCertificateAuthority(ctx, req, settings.GRPC...) return err }, opts...) if err != nil { return nil, err } - return &UpdateCertificateAuthorityOperation{ - lro: longrunning.InternalNewOperation(c.LROClient, resp), - }, nil + return resp, nil } -// UpdateCertificateRevocationList update a CertificateRevocationList. -func (c *CertificateAuthorityClient) UpdateCertificateRevocationList(ctx context.Context, req *privatecapb.UpdateCertificateRevocationListRequest, opts ...gax.CallOption) (*UpdateCertificateRevocationListOperation, error) { - md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "certificate_revocation_list.name", url.QueryEscape(req.GetCertificateRevocationList().GetName()))) +// ListCertificateAuthorities lists CertificateAuthorities. +func (c *CertificateAuthorityClient) ListCertificateAuthorities(ctx context.Context, req *privatecapb.ListCertificateAuthoritiesRequest, opts ...gax.CallOption) *CertificateAuthorityIterator { + md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "parent", url.QueryEscape(req.GetParent()))) ctx = insertMetadata(ctx, c.xGoogMetadata, md) - opts = append(c.CallOptions.UpdateCertificateRevocationList[0:len(c.CallOptions.UpdateCertificateRevocationList):len(c.CallOptions.UpdateCertificateRevocationList)], opts...) + opts = append(c.CallOptions.ListCertificateAuthorities[0:len(c.CallOptions.ListCertificateAuthorities):len(c.CallOptions.ListCertificateAuthorities)], opts...) + it := &CertificateAuthorityIterator{} + req = proto.Clone(req).(*privatecapb.ListCertificateAuthoritiesRequest) + it.InternalFetch = func(pageSize int, pageToken string) ([]*privatecapb.CertificateAuthority, string, error) { + var resp *privatecapb.ListCertificateAuthoritiesResponse + req.PageToken = pageToken + if pageSize > math.MaxInt32 { + req.PageSize = math.MaxInt32 + } else { + req.PageSize = int32(pageSize) + } + err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { + var err error + resp, err = c.certificateAuthorityClient.ListCertificateAuthorities(ctx, req, settings.GRPC...) + return err + }, opts...) + if err != nil { + return nil, "", err + } + + it.Response = resp + return resp.GetCertificateAuthorities(), resp.GetNextPageToken(), nil + } + fetch := func(pageSize int, pageToken string) (string, error) { + items, nextPageToken, err := it.InternalFetch(pageSize, pageToken) + if err != nil { + return "", err + } + it.items = append(it.items, items...) + return nextPageToken, nil + } + it.pageInfo, it.nextFunc = iterator.NewPageInfo(fetch, it.bufLen, it.takeBuf) + it.pageInfo.MaxSize = int(req.GetPageSize()) + it.pageInfo.Token = req.GetPageToken() + return it +} + +// RestoreCertificateAuthority restore a CertificateAuthority that is scheduled for deletion. +func (c *CertificateAuthorityClient) RestoreCertificateAuthority(ctx context.Context, req *privatecapb.RestoreCertificateAuthorityRequest, opts ...gax.CallOption) (*RestoreCertificateAuthorityOperation, error) { + if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { + cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + defer cancel() + ctx = cctx + } + md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "name", url.QueryEscape(req.GetName()))) + ctx = insertMetadata(ctx, c.xGoogMetadata, md) + opts = append(c.CallOptions.RestoreCertificateAuthority[0:len(c.CallOptions.RestoreCertificateAuthority):len(c.CallOptions.RestoreCertificateAuthority)], opts...) var resp *longrunningpb.Operation err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { var err error - resp, err = c.certificateAuthorityClient.UpdateCertificateRevocationList(ctx, req, settings.GRPC...) + resp, err = c.certificateAuthorityClient.RestoreCertificateAuthority(ctx, req, settings.GRPC...) return err }, opts...) if err != nil { return nil, err } - return &UpdateCertificateRevocationListOperation{ + return &RestoreCertificateAuthorityOperation{ lro: longrunning.InternalNewOperation(c.LROClient, resp), }, nil } -// UpdateCertificate update a Certificate. -func (c *CertificateAuthorityClient) UpdateCertificate(ctx context.Context, req *privatecapb.UpdateCertificateRequest, opts ...gax.CallOption) (*UpdateCertificateOperation, error) { - md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "certificate.name", url.QueryEscape(req.GetCertificate().GetName()))) +// ScheduleDeleteCertificateAuthority schedule a CertificateAuthority for deletion. +func (c *CertificateAuthorityClient) ScheduleDeleteCertificateAuthority(ctx context.Context, req *privatecapb.ScheduleDeleteCertificateAuthorityRequest, opts ...gax.CallOption) (*ScheduleDeleteCertificateAuthorityOperation, error) { + if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { + cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + defer cancel() + ctx = cctx + } + md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "name", url.QueryEscape(req.GetName()))) ctx = insertMetadata(ctx, c.xGoogMetadata, md) - opts = append(c.CallOptions.UpdateCertificate[0:len(c.CallOptions.UpdateCertificate):len(c.CallOptions.UpdateCertificate)], opts...) + opts = append(c.CallOptions.ScheduleDeleteCertificateAuthority[0:len(c.CallOptions.ScheduleDeleteCertificateAuthority):len(c.CallOptions.ScheduleDeleteCertificateAuthority)], opts...) var resp *longrunningpb.Operation err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { var err error - resp, err = c.certificateAuthorityClient.UpdateCertificate(ctx, req, settings.GRPC...) + resp, err = c.certificateAuthorityClient.ScheduleDeleteCertificateAuthority(ctx, req, settings.GRPC...) return err }, opts...) if err != nil { return nil, err } - return &UpdateCertificateOperation{ + return &ScheduleDeleteCertificateAuthorityOperation{ lro: longrunning.InternalNewOperation(c.LROClient, resp), }, nil } -// UpdateReusableConfig update a ReusableConfig. -func (c *CertificateAuthorityClient) UpdateReusableConfig(ctx context.Context, req *privatecapb.UpdateReusableConfigRequest, opts ...gax.CallOption) (*UpdateReusableConfigOperation, error) { - md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "reusable_config.name", url.QueryEscape(req.GetReusableConfig().GetName()))) +// UpdateCertificateAuthority update a CertificateAuthority. +func (c *CertificateAuthorityClient) UpdateCertificateAuthority(ctx context.Context, req *privatecapb.UpdateCertificateAuthorityRequest, opts ...gax.CallOption) (*UpdateCertificateAuthorityOperation, error) { + if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { + cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + defer cancel() + ctx = cctx + } + md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "certificate_authority.name", url.QueryEscape(req.GetCertificateAuthority().GetName()))) ctx = insertMetadata(ctx, c.xGoogMetadata, md) - opts = append(c.CallOptions.UpdateReusableConfig[0:len(c.CallOptions.UpdateReusableConfig):len(c.CallOptions.UpdateReusableConfig)], opts...) + opts = append(c.CallOptions.UpdateCertificateAuthority[0:len(c.CallOptions.UpdateCertificateAuthority):len(c.CallOptions.UpdateCertificateAuthority)], opts...) var resp *longrunningpb.Operation err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { var err error - resp, err = c.certificateAuthorityClient.UpdateReusableConfig(ctx, req, settings.GRPC...) + resp, err = c.certificateAuthorityClient.UpdateCertificateAuthority(ctx, req, settings.GRPC...) return err }, opts...) if err != nil { return nil, err } - return &UpdateReusableConfigOperation{ + return &UpdateCertificateAuthorityOperation{ lro: longrunning.InternalNewOperation(c.LROClient, resp), }, nil } -// DeleteCertificateAuthority deletes a specific CertificateAuthority. Once deleted, the -// CertificateAuthority will no longer issue Certificates -// and CertificateRevocationLists. -func (c *CertificateAuthorityClient) DeleteCertificateAuthority(ctx context.Context, req *privatecapb.DeleteCertificateAuthorityRequest, opts ...gax.CallOption) (*DeleteCertificateAuthorityOperation, error) { - md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "name", url.QueryEscape(req.GetName()))) +// CreateCertificateRevocationList create a new CertificateRevocationList in a given Project, Location +// for a particular CertificateAuthority. +func (c *CertificateAuthorityClient) CreateCertificateRevocationList(ctx context.Context, req *privatecapb.CreateCertificateRevocationListRequest, opts ...gax.CallOption) (*CreateCertificateRevocationListOperation, error) { + if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { + cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + defer cancel() + ctx = cctx + } + md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "parent", url.QueryEscape(req.GetParent()))) ctx = insertMetadata(ctx, c.xGoogMetadata, md) - opts = append(c.CallOptions.DeleteCertificateAuthority[0:len(c.CallOptions.DeleteCertificateAuthority):len(c.CallOptions.DeleteCertificateAuthority)], opts...) + opts = append(c.CallOptions.CreateCertificateRevocationList[0:len(c.CallOptions.CreateCertificateRevocationList):len(c.CallOptions.CreateCertificateRevocationList)], opts...) var resp *longrunningpb.Operation err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { var err error - resp, err = c.certificateAuthorityClient.DeleteCertificateAuthority(ctx, req, settings.GRPC...) + resp, err = c.certificateAuthorityClient.CreateCertificateRevocationList(ctx, req, settings.GRPC...) return err }, opts...) if err != nil { return nil, err } - return &DeleteCertificateAuthorityOperation{ + return &CreateCertificateRevocationListOperation{ lro: longrunning.InternalNewOperation(c.LROClient, resp), }, nil } -// GetCertificateAuthorityCsr get the CSR for a pending CertificateAuthority. -func (c *CertificateAuthorityClient) GetCertificateAuthorityCsr(ctx context.Context, req *privatecapb.GetCertificateAuthorityCsrRequest, opts ...gax.CallOption) (*privatecapb.GetCertificateAuthorityCsrResponse, error) { +// GetCertificateRevocationList returns a CertificateRevocationList. +func (c *CertificateAuthorityClient) GetCertificateRevocationList(ctx context.Context, req *privatecapb.GetCertificateRevocationListRequest, opts ...gax.CallOption) (*privatecapb.CertificateRevocationList, error) { + if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { + cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + defer cancel() + ctx = cctx + } md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "name", url.QueryEscape(req.GetName()))) ctx = insertMetadata(ctx, c.xGoogMetadata, md) - opts = append(c.CallOptions.GetCertificateAuthorityCsr[0:len(c.CallOptions.GetCertificateAuthorityCsr):len(c.CallOptions.GetCertificateAuthorityCsr)], opts...) - var resp *privatecapb.GetCertificateAuthorityCsrResponse + opts = append(c.CallOptions.GetCertificateRevocationList[0:len(c.CallOptions.GetCertificateRevocationList):len(c.CallOptions.GetCertificateRevocationList)], opts...) + var resp *privatecapb.CertificateRevocationList err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { var err error - resp, err = c.certificateAuthorityClient.GetCertificateAuthorityCsr(ctx, req, settings.GRPC...) + resp, err = c.certificateAuthorityClient.GetCertificateRevocationList(ctx, req, settings.GRPC...) return err }, opts...) if err != nil { @@ -856,135 +928,204 @@ func (c *CertificateAuthorityClient) GetCertificateAuthorityCsr(ctx context.Cont return resp, nil } -// ActivateCertificateAuthority activate a pending CertificateAuthority. -func (c *CertificateAuthorityClient) ActivateCertificateAuthority(ctx context.Context, req *privatecapb.ActivateCertificateAuthorityRequest, opts ...gax.CallOption) (*ActivateCertificateAuthorityOperation, error) { - md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "name", url.QueryEscape(req.GetName()))) +// ListCertificateRevocationLists lists CertificateRevocationLists. +func (c *CertificateAuthorityClient) ListCertificateRevocationLists(ctx context.Context, req *privatecapb.ListCertificateRevocationListsRequest, opts ...gax.CallOption) *CertificateRevocationListIterator { + md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "parent", url.QueryEscape(req.GetParent()))) ctx = insertMetadata(ctx, c.xGoogMetadata, md) - opts = append(c.CallOptions.ActivateCertificateAuthority[0:len(c.CallOptions.ActivateCertificateAuthority):len(c.CallOptions.ActivateCertificateAuthority)], opts...) - var resp *longrunningpb.Operation - err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { - var err error - resp, err = c.certificateAuthorityClient.ActivateCertificateAuthority(ctx, req, settings.GRPC...) - return err - }, opts...) - if err != nil { - return nil, err - } - return &ActivateCertificateAuthorityOperation{ - lro: longrunning.InternalNewOperation(c.LROClient, resp), - }, nil -} + opts = append(c.CallOptions.ListCertificateRevocationLists[0:len(c.CallOptions.ListCertificateRevocationLists):len(c.CallOptions.ListCertificateRevocationLists)], opts...) + it := &CertificateRevocationListIterator{} + req = proto.Clone(req).(*privatecapb.ListCertificateRevocationListsRequest) + it.InternalFetch = func(pageSize int, pageToken string) ([]*privatecapb.CertificateRevocationList, string, error) { + var resp *privatecapb.ListCertificateRevocationListsResponse + req.PageToken = pageToken + if pageSize > math.MaxInt32 { + req.PageSize = math.MaxInt32 + } else { + req.PageSize = int32(pageSize) + } + err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { + var err error + resp, err = c.certificateAuthorityClient.ListCertificateRevocationLists(ctx, req, settings.GRPC...) + return err + }, opts...) + if err != nil { + return nil, "", err + } -// DisableCertificateAuthority disable a CertificateAuthority. -func (c *CertificateAuthorityClient) DisableCertificateAuthority(ctx context.Context, req *privatecapb.DisableCertificateAuthorityRequest, opts ...gax.CallOption) (*DisableCertificateAuthorityOperation, error) { - md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "name", url.QueryEscape(req.GetName()))) - ctx = insertMetadata(ctx, c.xGoogMetadata, md) - opts = append(c.CallOptions.DisableCertificateAuthority[0:len(c.CallOptions.DisableCertificateAuthority):len(c.CallOptions.DisableCertificateAuthority)], opts...) - var resp *longrunningpb.Operation - err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { - var err error - resp, err = c.certificateAuthorityClient.DisableCertificateAuthority(ctx, req, settings.GRPC...) - return err - }, opts...) - if err != nil { - return nil, err + it.Response = resp + return resp.GetCertificateRevocationLists(), resp.GetNextPageToken(), nil } - return &DisableCertificateAuthorityOperation{ - lro: longrunning.InternalNewOperation(c.LROClient, resp), - }, nil + fetch := func(pageSize int, pageToken string) (string, error) { + items, nextPageToken, err := it.InternalFetch(pageSize, pageToken) + if err != nil { + return "", err + } + it.items = append(it.items, items...) + return nextPageToken, nil + } + it.pageInfo, it.nextFunc = iterator.NewPageInfo(fetch, it.bufLen, it.takeBuf) + it.pageInfo.MaxSize = int(req.GetPageSize()) + it.pageInfo.Token = req.GetPageToken() + return it } -// EnableCertificateAuthority enable a CertificateAuthority. -func (c *CertificateAuthorityClient) EnableCertificateAuthority(ctx context.Context, req *privatecapb.EnableCertificateAuthorityRequest, opts ...gax.CallOption) (*EnableCertificateAuthorityOperation, error) { - md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "name", url.QueryEscape(req.GetName()))) +// UpdateCertificateRevocationList update a CertificateRevocationList. +func (c *CertificateAuthorityClient) UpdateCertificateRevocationList(ctx context.Context, req *privatecapb.UpdateCertificateRevocationListRequest, opts ...gax.CallOption) (*UpdateCertificateRevocationListOperation, error) { + if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { + cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + defer cancel() + ctx = cctx + } + md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "certificate_revocation_list.name", url.QueryEscape(req.GetCertificateRevocationList().GetName()))) ctx = insertMetadata(ctx, c.xGoogMetadata, md) - opts = append(c.CallOptions.EnableCertificateAuthority[0:len(c.CallOptions.EnableCertificateAuthority):len(c.CallOptions.EnableCertificateAuthority)], opts...) + opts = append(c.CallOptions.UpdateCertificateRevocationList[0:len(c.CallOptions.UpdateCertificateRevocationList):len(c.CallOptions.UpdateCertificateRevocationList)], opts...) var resp *longrunningpb.Operation err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { var err error - resp, err = c.certificateAuthorityClient.EnableCertificateAuthority(ctx, req, settings.GRPC...) + resp, err = c.certificateAuthorityClient.UpdateCertificateRevocationList(ctx, req, settings.GRPC...) return err }, opts...) if err != nil { return nil, err } - return &EnableCertificateAuthorityOperation{ + return &UpdateCertificateRevocationListOperation{ lro: longrunning.InternalNewOperation(c.LROClient, resp), }, nil } -// ScheduleDeleteCertificateAuthority schedule a CertificateAuthority for deletion. -func (c *CertificateAuthorityClient) ScheduleDeleteCertificateAuthority(ctx context.Context, req *privatecapb.ScheduleDeleteCertificateAuthorityRequest, opts ...gax.CallOption) (*ScheduleDeleteCertificateAuthorityOperation, error) { - md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "name", url.QueryEscape(req.GetName()))) +// CreateReusableConfig create a new ReusableConfig in a given Project and Location. +func (c *CertificateAuthorityClient) CreateReusableConfig(ctx context.Context, req *privatecapb.CreateReusableConfigRequest, opts ...gax.CallOption) (*CreateReusableConfigOperation, error) { + if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { + cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + defer cancel() + ctx = cctx + } + md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "parent", url.QueryEscape(req.GetParent()))) ctx = insertMetadata(ctx, c.xGoogMetadata, md) - opts = append(c.CallOptions.ScheduleDeleteCertificateAuthority[0:len(c.CallOptions.ScheduleDeleteCertificateAuthority):len(c.CallOptions.ScheduleDeleteCertificateAuthority)], opts...) + opts = append(c.CallOptions.CreateReusableConfig[0:len(c.CallOptions.CreateReusableConfig):len(c.CallOptions.CreateReusableConfig)], opts...) var resp *longrunningpb.Operation err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { var err error - resp, err = c.certificateAuthorityClient.ScheduleDeleteCertificateAuthority(ctx, req, settings.GRPC...) + resp, err = c.certificateAuthorityClient.CreateReusableConfig(ctx, req, settings.GRPC...) return err }, opts...) if err != nil { return nil, err } - return &ScheduleDeleteCertificateAuthorityOperation{ + return &CreateReusableConfigOperation{ lro: longrunning.InternalNewOperation(c.LROClient, resp), }, nil } -// RestoreCertificateAuthority restore a CertificateAuthority that is scheduled for deletion. -func (c *CertificateAuthorityClient) RestoreCertificateAuthority(ctx context.Context, req *privatecapb.RestoreCertificateAuthorityRequest, opts ...gax.CallOption) (*RestoreCertificateAuthorityOperation, error) { +// DeleteReusableConfig deleteReusableConfig deletes a ReusableConfig. +func (c *CertificateAuthorityClient) DeleteReusableConfig(ctx context.Context, req *privatecapb.DeleteReusableConfigRequest, opts ...gax.CallOption) (*DeleteReusableConfigOperation, error) { + if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { + cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + defer cancel() + ctx = cctx + } md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "name", url.QueryEscape(req.GetName()))) ctx = insertMetadata(ctx, c.xGoogMetadata, md) - opts = append(c.CallOptions.RestoreCertificateAuthority[0:len(c.CallOptions.RestoreCertificateAuthority):len(c.CallOptions.RestoreCertificateAuthority)], opts...) + opts = append(c.CallOptions.DeleteReusableConfig[0:len(c.CallOptions.DeleteReusableConfig):len(c.CallOptions.DeleteReusableConfig)], opts...) var resp *longrunningpb.Operation err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { var err error - resp, err = c.certificateAuthorityClient.RestoreCertificateAuthority(ctx, req, settings.GRPC...) + resp, err = c.certificateAuthorityClient.DeleteReusableConfig(ctx, req, settings.GRPC...) return err }, opts...) if err != nil { return nil, err } - return &RestoreCertificateAuthorityOperation{ + return &DeleteReusableConfigOperation{ lro: longrunning.InternalNewOperation(c.LROClient, resp), }, nil } -// RevokeCertificate revoke a Certificate. -func (c *CertificateAuthorityClient) RevokeCertificate(ctx context.Context, req *privatecapb.RevokeCertificateRequest, opts ...gax.CallOption) (*RevokeCertificateOperation, error) { +// GetReusableConfig returns a ReusableConfig. +func (c *CertificateAuthorityClient) GetReusableConfig(ctx context.Context, req *privatecapb.GetReusableConfigRequest, opts ...gax.CallOption) (*privatecapb.ReusableConfig, error) { + if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { + cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + defer cancel() + ctx = cctx + } md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "name", url.QueryEscape(req.GetName()))) ctx = insertMetadata(ctx, c.xGoogMetadata, md) - opts = append(c.CallOptions.RevokeCertificate[0:len(c.CallOptions.RevokeCertificate):len(c.CallOptions.RevokeCertificate)], opts...) - var resp *longrunningpb.Operation + opts = append(c.CallOptions.GetReusableConfig[0:len(c.CallOptions.GetReusableConfig):len(c.CallOptions.GetReusableConfig)], opts...) + var resp *privatecapb.ReusableConfig err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { var err error - resp, err = c.certificateAuthorityClient.RevokeCertificate(ctx, req, settings.GRPC...) + resp, err = c.certificateAuthorityClient.GetReusableConfig(ctx, req, settings.GRPC...) return err }, opts...) if err != nil { return nil, err } - return &RevokeCertificateOperation{ - lro: longrunning.InternalNewOperation(c.LROClient, resp), - }, nil + return resp, nil } -// PublishCertificateRevocationList publish a CertificateRevocationList. -func (c *CertificateAuthorityClient) PublishCertificateRevocationList(ctx context.Context, req *privatecapb.PublishCertificateRevocationListRequest, opts ...gax.CallOption) (*privatecapb.PublishCertificateRevocationListResponse, error) { - md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "name", url.QueryEscape(req.GetName()))) +// ListReusableConfigs lists ReusableConfigs. +func (c *CertificateAuthorityClient) ListReusableConfigs(ctx context.Context, req *privatecapb.ListReusableConfigsRequest, opts ...gax.CallOption) *ReusableConfigIterator { + md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "parent", url.QueryEscape(req.GetParent()))) + ctx = insertMetadata(ctx, c.xGoogMetadata, md) + opts = append(c.CallOptions.ListReusableConfigs[0:len(c.CallOptions.ListReusableConfigs):len(c.CallOptions.ListReusableConfigs)], opts...) + it := &ReusableConfigIterator{} + req = proto.Clone(req).(*privatecapb.ListReusableConfigsRequest) + it.InternalFetch = func(pageSize int, pageToken string) ([]*privatecapb.ReusableConfig, string, error) { + var resp *privatecapb.ListReusableConfigsResponse + req.PageToken = pageToken + if pageSize > math.MaxInt32 { + req.PageSize = math.MaxInt32 + } else { + req.PageSize = int32(pageSize) + } + err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { + var err error + resp, err = c.certificateAuthorityClient.ListReusableConfigs(ctx, req, settings.GRPC...) + return err + }, opts...) + if err != nil { + return nil, "", err + } + + it.Response = resp + return resp.GetReusableConfigs(), resp.GetNextPageToken(), nil + } + fetch := func(pageSize int, pageToken string) (string, error) { + items, nextPageToken, err := it.InternalFetch(pageSize, pageToken) + if err != nil { + return "", err + } + it.items = append(it.items, items...) + return nextPageToken, nil + } + it.pageInfo, it.nextFunc = iterator.NewPageInfo(fetch, it.bufLen, it.takeBuf) + it.pageInfo.MaxSize = int(req.GetPageSize()) + it.pageInfo.Token = req.GetPageToken() + return it +} + +// UpdateReusableConfig update a ReusableConfig. +func (c *CertificateAuthorityClient) UpdateReusableConfig(ctx context.Context, req *privatecapb.UpdateReusableConfigRequest, opts ...gax.CallOption) (*UpdateReusableConfigOperation, error) { + if _, ok := ctx.Deadline(); !ok && !c.disableDeadlines { + cctx, cancel := context.WithTimeout(ctx, 60000*time.Millisecond) + defer cancel() + ctx = cctx + } + md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "reusable_config.name", url.QueryEscape(req.GetReusableConfig().GetName()))) ctx = insertMetadata(ctx, c.xGoogMetadata, md) - opts = append(c.CallOptions.PublishCertificateRevocationList[0:len(c.CallOptions.PublishCertificateRevocationList):len(c.CallOptions.PublishCertificateRevocationList)], opts...) - var resp *privatecapb.PublishCertificateRevocationListResponse + opts = append(c.CallOptions.UpdateReusableConfig[0:len(c.CallOptions.UpdateReusableConfig):len(c.CallOptions.UpdateReusableConfig)], opts...) + var resp *longrunningpb.Operation err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error { var err error - resp, err = c.certificateAuthorityClient.PublishCertificateRevocationList(ctx, req, settings.GRPC...) + resp, err = c.certificateAuthorityClient.UpdateReusableConfig(ctx, req, settings.GRPC...) return err }, opts...) if err != nil { return nil, err } - return resp, nil + return &UpdateReusableConfigOperation{ + lro: longrunning.InternalNewOperation(c.LROClient, resp), + }, nil } // ActivateCertificateAuthorityOperation manages a long-running operation from ActivateCertificateAuthority. @@ -1056,75 +1197,6 @@ func (op *ActivateCertificateAuthorityOperation) Name() string { return op.lro.Name() } -// CreateCertificateOperation manages a long-running operation from CreateCertificate. -type CreateCertificateOperation struct { - lro *longrunning.Operation -} - -// CreateCertificateOperation returns a new CreateCertificateOperation from a given name. -// The name must be that of a previously created CreateCertificateOperation, possibly from a different process. -func (c *CertificateAuthorityClient) CreateCertificateOperation(name string) *CreateCertificateOperation { - return &CreateCertificateOperation{ - lro: longrunning.InternalNewOperation(c.LROClient, &longrunningpb.Operation{Name: name}), - } -} - -// Wait blocks until the long-running operation is completed, returning the response and any errors encountered. -// -// See documentation of Poll for error-handling information. -func (op *CreateCertificateOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*privatecapb.Certificate, error) { - var resp privatecapb.Certificate - if err := op.lro.WaitWithInterval(ctx, &resp, time.Minute, opts...); err != nil { - return nil, err - } - return &resp, nil -} - -// Poll fetches the latest state of the long-running operation. -// -// Poll also fetches the latest metadata, which can be retrieved by Metadata. -// -// If Poll fails, the error is returned and op is unmodified. If Poll succeeds and -// the operation has completed with failure, the error is returned and op.Done will return true. -// If Poll succeeds and the operation has completed successfully, -// op.Done will return true, and the response of the operation is returned. -// If Poll succeeds and the operation has not completed, the returned response and error are both nil. -func (op *CreateCertificateOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*privatecapb.Certificate, error) { - var resp privatecapb.Certificate - if err := op.lro.Poll(ctx, &resp, opts...); err != nil { - return nil, err - } - if !op.Done() { - return nil, nil - } - return &resp, nil -} - -// Metadata returns metadata associated with the long-running operation. -// Metadata itself does not contact the server, but Poll does. -// To get the latest metadata, call this method after a successful call to Poll. -// If the metadata is not available, the returned metadata and error are both nil. -func (op *CreateCertificateOperation) Metadata() (*privatecapb.OperationMetadata, error) { - var meta privatecapb.OperationMetadata - if err := op.lro.Metadata(&meta); err == longrunning.ErrNoMetadata { - return nil, nil - } else if err != nil { - return nil, err - } - return &meta, nil -} - -// Done reports whether the long-running operation has completed. -func (op *CreateCertificateOperation) Done() bool { - return op.lro.Done() -} - -// Name returns the name of the long-running operation. -// The name is assigned by the server and is unique within the service from which the operation is created. -func (op *CreateCertificateOperation) Name() string { - return op.lro.Name() -} - // CreateCertificateAuthorityOperation manages a long-running operation from CreateCertificateAuthority. type CreateCertificateAuthorityOperation struct { lro *longrunning.Operation @@ -1332,15 +1404,15 @@ func (op *CreateReusableConfigOperation) Name() string { return op.lro.Name() } -// DeleteCertificateAuthorityOperation manages a long-running operation from DeleteCertificateAuthority. -type DeleteCertificateAuthorityOperation struct { +// DeleteReusableConfigOperation manages a long-running operation from DeleteReusableConfig. +type DeleteReusableConfigOperation struct { lro *longrunning.Operation } -// DeleteCertificateAuthorityOperation returns a new DeleteCertificateAuthorityOperation from a given name. -// The name must be that of a previously created DeleteCertificateAuthorityOperation, possibly from a different process. -func (c *CertificateAuthorityClient) DeleteCertificateAuthorityOperation(name string) *DeleteCertificateAuthorityOperation { - return &DeleteCertificateAuthorityOperation{ +// DeleteReusableConfigOperation returns a new DeleteReusableConfigOperation from a given name. +// The name must be that of a previously created DeleteReusableConfigOperation, possibly from a different process. +func (c *CertificateAuthorityClient) DeleteReusableConfigOperation(name string) *DeleteReusableConfigOperation { + return &DeleteReusableConfigOperation{ lro: longrunning.InternalNewOperation(c.LROClient, &longrunningpb.Operation{Name: name}), } } @@ -1348,7 +1420,7 @@ func (c *CertificateAuthorityClient) DeleteCertificateAuthorityOperation(name st // Wait blocks until the long-running operation is completed, returning the response and any errors encountered. // // See documentation of Poll for error-handling information. -func (op *DeleteCertificateAuthorityOperation) Wait(ctx context.Context, opts ...gax.CallOption) error { +func (op *DeleteReusableConfigOperation) Wait(ctx context.Context, opts ...gax.CallOption) error { return op.lro.WaitWithInterval(ctx, nil, time.Minute, opts...) } @@ -1361,7 +1433,7 @@ func (op *DeleteCertificateAuthorityOperation) Wait(ctx context.Context, opts .. // If Poll succeeds and the operation has completed successfully, // op.Done will return true, and the response of the operation is returned. // If Poll succeeds and the operation has not completed, the returned response and error are both nil. -func (op *DeleteCertificateAuthorityOperation) Poll(ctx context.Context, opts ...gax.CallOption) error { +func (op *DeleteReusableConfigOperation) Poll(ctx context.Context, opts ...gax.CallOption) error { return op.lro.Poll(ctx, nil, opts...) } @@ -1369,7 +1441,7 @@ func (op *DeleteCertificateAuthorityOperation) Poll(ctx context.Context, opts .. // Metadata itself does not contact the server, but Poll does. // To get the latest metadata, call this method after a successful call to Poll. // If the metadata is not available, the returned metadata and error are both nil. -func (op *DeleteCertificateAuthorityOperation) Metadata() (*privatecapb.OperationMetadata, error) { +func (op *DeleteReusableConfigOperation) Metadata() (*privatecapb.OperationMetadata, error) { var meta privatecapb.OperationMetadata if err := op.lro.Metadata(&meta); err == longrunning.ErrNoMetadata { return nil, nil @@ -1380,13 +1452,13 @@ func (op *DeleteCertificateAuthorityOperation) Metadata() (*privatecapb.Operatio } // Done reports whether the long-running operation has completed. -func (op *DeleteCertificateAuthorityOperation) Done() bool { +func (op *DeleteReusableConfigOperation) Done() bool { return op.lro.Done() } // Name returns the name of the long-running operation. // The name is assigned by the server and is unique within the service from which the operation is created. -func (op *DeleteCertificateAuthorityOperation) Name() string { +func (op *DeleteReusableConfigOperation) Name() string { return op.lro.Name() } @@ -1597,75 +1669,6 @@ func (op *RestoreCertificateAuthorityOperation) Name() string { return op.lro.Name() } -// RevokeCertificateOperation manages a long-running operation from RevokeCertificate. -type RevokeCertificateOperation struct { - lro *longrunning.Operation -} - -// RevokeCertificateOperation returns a new RevokeCertificateOperation from a given name. -// The name must be that of a previously created RevokeCertificateOperation, possibly from a different process. -func (c *CertificateAuthorityClient) RevokeCertificateOperation(name string) *RevokeCertificateOperation { - return &RevokeCertificateOperation{ - lro: longrunning.InternalNewOperation(c.LROClient, &longrunningpb.Operation{Name: name}), - } -} - -// Wait blocks until the long-running operation is completed, returning the response and any errors encountered. -// -// See documentation of Poll for error-handling information. -func (op *RevokeCertificateOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*privatecapb.Certificate, error) { - var resp privatecapb.Certificate - if err := op.lro.WaitWithInterval(ctx, &resp, time.Minute, opts...); err != nil { - return nil, err - } - return &resp, nil -} - -// Poll fetches the latest state of the long-running operation. -// -// Poll also fetches the latest metadata, which can be retrieved by Metadata. -// -// If Poll fails, the error is returned and op is unmodified. If Poll succeeds and -// the operation has completed with failure, the error is returned and op.Done will return true. -// If Poll succeeds and the operation has completed successfully, -// op.Done will return true, and the response of the operation is returned. -// If Poll succeeds and the operation has not completed, the returned response and error are both nil. -func (op *RevokeCertificateOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*privatecapb.Certificate, error) { - var resp privatecapb.Certificate - if err := op.lro.Poll(ctx, &resp, opts...); err != nil { - return nil, err - } - if !op.Done() { - return nil, nil - } - return &resp, nil -} - -// Metadata returns metadata associated with the long-running operation. -// Metadata itself does not contact the server, but Poll does. -// To get the latest metadata, call this method after a successful call to Poll. -// If the metadata is not available, the returned metadata and error are both nil. -func (op *RevokeCertificateOperation) Metadata() (*privatecapb.OperationMetadata, error) { - var meta privatecapb.OperationMetadata - if err := op.lro.Metadata(&meta); err == longrunning.ErrNoMetadata { - return nil, nil - } else if err != nil { - return nil, err - } - return &meta, nil -} - -// Done reports whether the long-running operation has completed. -func (op *RevokeCertificateOperation) Done() bool { - return op.lro.Done() -} - -// Name returns the name of the long-running operation. -// The name is assigned by the server and is unique within the service from which the operation is created. -func (op *RevokeCertificateOperation) Name() string { - return op.lro.Name() -} - // ScheduleDeleteCertificateAuthorityOperation manages a long-running operation from ScheduleDeleteCertificateAuthority. type ScheduleDeleteCertificateAuthorityOperation struct { lro *longrunning.Operation @@ -1735,75 +1738,6 @@ func (op *ScheduleDeleteCertificateAuthorityOperation) Name() string { return op.lro.Name() } -// UpdateCertificateOperation manages a long-running operation from UpdateCertificate. -type UpdateCertificateOperation struct { - lro *longrunning.Operation -} - -// UpdateCertificateOperation returns a new UpdateCertificateOperation from a given name. -// The name must be that of a previously created UpdateCertificateOperation, possibly from a different process. -func (c *CertificateAuthorityClient) UpdateCertificateOperation(name string) *UpdateCertificateOperation { - return &UpdateCertificateOperation{ - lro: longrunning.InternalNewOperation(c.LROClient, &longrunningpb.Operation{Name: name}), - } -} - -// Wait blocks until the long-running operation is completed, returning the response and any errors encountered. -// -// See documentation of Poll for error-handling information. -func (op *UpdateCertificateOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*privatecapb.Certificate, error) { - var resp privatecapb.Certificate - if err := op.lro.WaitWithInterval(ctx, &resp, time.Minute, opts...); err != nil { - return nil, err - } - return &resp, nil -} - -// Poll fetches the latest state of the long-running operation. -// -// Poll also fetches the latest metadata, which can be retrieved by Metadata. -// -// If Poll fails, the error is returned and op is unmodified. If Poll succeeds and -// the operation has completed with failure, the error is returned and op.Done will return true. -// If Poll succeeds and the operation has completed successfully, -// op.Done will return true, and the response of the operation is returned. -// If Poll succeeds and the operation has not completed, the returned response and error are both nil. -func (op *UpdateCertificateOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*privatecapb.Certificate, error) { - var resp privatecapb.Certificate - if err := op.lro.Poll(ctx, &resp, opts...); err != nil { - return nil, err - } - if !op.Done() { - return nil, nil - } - return &resp, nil -} - -// Metadata returns metadata associated with the long-running operation. -// Metadata itself does not contact the server, but Poll does. -// To get the latest metadata, call this method after a successful call to Poll. -// If the metadata is not available, the returned metadata and error are both nil. -func (op *UpdateCertificateOperation) Metadata() (*privatecapb.OperationMetadata, error) { - var meta privatecapb.OperationMetadata - if err := op.lro.Metadata(&meta); err == longrunning.ErrNoMetadata { - return nil, nil - } else if err != nil { - return nil, err - } - return &meta, nil -} - -// Done reports whether the long-running operation has completed. -func (op *UpdateCertificateOperation) Done() bool { - return op.lro.Done() -} - -// Name returns the name of the long-running operation. -// The name is assigned by the server and is unique within the service from which the operation is created. -func (op *UpdateCertificateOperation) Name() string { - return op.lro.Name() -} - // UpdateCertificateAuthorityOperation manages a long-running operation from UpdateCertificateAuthority. type UpdateCertificateAuthorityOperation struct { lro *longrunning.Operation diff --git a/lib/cloud.google.com/go/security/privateca/apiv1alpha1/doc.go b/lib/cloud.google.com/go/security/privateca/apiv1beta1/doc.go similarity index 89% rename from lib/cloud.google.com/go/security/privateca/apiv1alpha1/doc.go rename to lib/cloud.google.com/go/security/privateca/apiv1beta1/doc.go index b158e65..188b370 100644 --- a/lib/cloud.google.com/go/security/privateca/apiv1alpha1/doc.go +++ b/lib/cloud.google.com/go/security/privateca/apiv1beta1/doc.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. // Package privateca is an auto-generated package for the -// Certificate Authority Service API. +// Certificate Authority API. // // Use of Context // @@ -26,12 +26,14 @@ // To close the open connection, use the Close() method. // // For information about setting deadlines, reusing contexts, and more -// please visit godoc.org/cloud.google.com/go. -package privateca // import "cloud.google.com/go/security/privateca/apiv1alpha1" +// please visit pkg.go.dev/cloud.google.com/go. +package privateca // import "cloud.google.com/go/security/privateca/apiv1beta1" import ( "context" + "os" "runtime" + "strconv" "strings" "unicode" @@ -57,6 +59,16 @@ func insertMetadata(ctx context.Context, mds ...metadata.MD) context.Context { return metadata.NewOutgoingContext(ctx, out) } +func checkDisableDeadlines() (bool, error) { + raw, ok := os.LookupEnv("GOOGLE_API_GO_EXPERIMENTAL_DISABLE_DEFAULT_DEADLINE") + if !ok { + return false, nil + } + + b, err := strconv.ParseBool(raw) + return b, err +} + // DefaultAuthScopes reports the default set of authentication scopes to use with this package. func DefaultAuthScopes() []string { return []string{ diff --git a/lib/google.golang.org/genproto/googleapis/cloud/security/privateca/v1alpha1/go.mod b/lib/cloud.google.com/go/security/privateca/apiv1beta1/go.mod similarity index 100% rename from lib/google.golang.org/genproto/googleapis/cloud/security/privateca/v1alpha1/go.mod rename to lib/cloud.google.com/go/security/privateca/apiv1beta1/go.mod diff --git a/lib/google.golang.org/genproto/googleapis/cloud/security/privateca/v1alpha1/resources.pb.go b/lib/google.golang.org/genproto/googleapis/cloud/security/privateca/v1alpha1/resources.pb.go deleted file mode 100644 index ab25f69..0000000 --- a/lib/google.golang.org/genproto/googleapis/cloud/security/privateca/v1alpha1/resources.pb.go +++ /dev/null @@ -1,2834 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/security/privateca/v1alpha1/resources.proto - -package privateca - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "google.golang.org/genproto/googleapis/api/annotations" - math "math" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// A [RevocationReason][google.cloud.security.privateca.v1alpha1.RevocationReason] indicates whether a [Certificate][google.cloud.security.privateca.v1alpha1.Certificate] has been revoked, -// and the reason for revocation. These are standard revocation reasons from RFC -// 5280. -type RevocationReason int32 - -const ( - // Default unspecified value. This value does indicate that a [Certificate][google.cloud.security.privateca.v1alpha1.Certificate] - // has been revoked, but that a reason has not been recorded. - RevocationReason_REVOCATION_REASON_UNSPECIFIED RevocationReason = 0 - // Key material for this [Certificate][google.cloud.security.privateca.v1alpha1.Certificate] may have leaked. - RevocationReason_KEY_COMPROMISE RevocationReason = 1 - // The key material for a certificate authority in the issuing path may have - // leaked. - RevocationReason_CERTIFICATE_AUTHORITY_COMPROMISE RevocationReason = 2 - // The subject or other attributes in this [Certificate][google.cloud.security.privateca.v1alpha1.Certificate] have changed. - RevocationReason_AFFILIATION_CHANGED RevocationReason = 3 - // This [Certificate][google.cloud.security.privateca.v1alpha1.Certificate] has been superseded. - RevocationReason_SUPERSEDED RevocationReason = 4 - // This [Certificate][google.cloud.security.privateca.v1alpha1.Certificate] or entities in the issuing path have ceased to - // operate. - RevocationReason_CESSATION_OF_OPERATION RevocationReason = 5 - // This [Certificate][google.cloud.security.privateca.v1alpha1.Certificate] should not be considered valid, it is expected that it - // may become valid in the future. - RevocationReason_CERTIFICATE_HOLD RevocationReason = 6 - // This [Certificate][google.cloud.security.privateca.v1alpha1.Certificate] no longer has permission to assert the listed - // attributes. - RevocationReason_PRIVILEGE_WITHDRAWN RevocationReason = 7 - // The authority which determines appropriate attributes for a [Certificate][google.cloud.security.privateca.v1alpha1.Certificate] - // may have been compromised. - RevocationReason_ATTRIBUTE_AUTHORITY_COMPROMISE RevocationReason = 8 -) - -var RevocationReason_name = map[int32]string{ - 0: "REVOCATION_REASON_UNSPECIFIED", - 1: "KEY_COMPROMISE", - 2: "CERTIFICATE_AUTHORITY_COMPROMISE", - 3: "AFFILIATION_CHANGED", - 4: "SUPERSEDED", - 5: "CESSATION_OF_OPERATION", - 6: "CERTIFICATE_HOLD", - 7: "PRIVILEGE_WITHDRAWN", - 8: "ATTRIBUTE_AUTHORITY_COMPROMISE", -} - -var RevocationReason_value = map[string]int32{ - "REVOCATION_REASON_UNSPECIFIED": 0, - "KEY_COMPROMISE": 1, - "CERTIFICATE_AUTHORITY_COMPROMISE": 2, - "AFFILIATION_CHANGED": 3, - "SUPERSEDED": 4, - "CESSATION_OF_OPERATION": 5, - "CERTIFICATE_HOLD": 6, - "PRIVILEGE_WITHDRAWN": 7, - "ATTRIBUTE_AUTHORITY_COMPROMISE": 8, -} - -func (x RevocationReason) String() string { - return proto.EnumName(RevocationReason_name, int32(x)) -} - -func (RevocationReason) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6299e860b09b0827, []int{0} -} - -// The type of a [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority], indicating its issuing chain. -type CertificateAuthority_Type int32 - -const ( - // Not specified. - CertificateAuthority_TYPE_UNSPECIFIED CertificateAuthority_Type = 0 - // Self-signed CA. - CertificateAuthority_SELF_SIGNED CertificateAuthority_Type = 1 - // Subordinate CA. Could be issued by a Private CA [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] - // or an unmanaged CA. - CertificateAuthority_SUBORDINATE CertificateAuthority_Type = 2 -) - -var CertificateAuthority_Type_name = map[int32]string{ - 0: "TYPE_UNSPECIFIED", - 1: "SELF_SIGNED", - 2: "SUBORDINATE", -} - -var CertificateAuthority_Type_value = map[string]int32{ - "TYPE_UNSPECIFIED": 0, - "SELF_SIGNED": 1, - "SUBORDINATE": 2, -} - -func (x CertificateAuthority_Type) String() string { - return proto.EnumName(CertificateAuthority_Type_name, int32(x)) -} - -func (CertificateAuthority_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6299e860b09b0827, []int{0, 0} -} - -// The state of a [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority], indicating if it can be used. -type CertificateAuthority_State int32 - -const ( - // Not specified. - CertificateAuthority_STATE_UNSPECIFIED CertificateAuthority_State = 0 - // Certificates can be issued from this CA. CRLs will be generated for this - // CA. - CertificateAuthority_ENABLED CertificateAuthority_State = 1 - // Certificates cannot be issued from this CA. CRLs will still be generated. - CertificateAuthority_DISABLED CertificateAuthority_State = 2 - // Certificates cannot be issued from this CA. CRLs will not be generated. - CertificateAuthority_PENDING_ACTIVATION CertificateAuthority_State = 3 - // Certificates cannot be issued from this CA. CRLs will not be generated. - CertificateAuthority_PENDING_DELETION CertificateAuthority_State = 4 -) - -var CertificateAuthority_State_name = map[int32]string{ - 0: "STATE_UNSPECIFIED", - 1: "ENABLED", - 2: "DISABLED", - 3: "PENDING_ACTIVATION", - 4: "PENDING_DELETION", -} - -var CertificateAuthority_State_value = map[string]int32{ - "STATE_UNSPECIFIED": 0, - "ENABLED": 1, - "DISABLED": 2, - "PENDING_ACTIVATION": 3, - "PENDING_DELETION": 4, -} - -func (x CertificateAuthority_State) String() string { - return proto.EnumName(CertificateAuthority_State_name, int32(x)) -} - -func (CertificateAuthority_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6299e860b09b0827, []int{0, 1} -} - -// The state of a [CertificateRevocationList][google.cloud.security.privateca.v1alpha1.CertificateRevocationList], indicating if it is current. -type CertificateRevocationList_State int32 - -const ( - // Not specified. - CertificateRevocationList_STATE_UNSPECIFIED CertificateRevocationList_State = 0 - // The [CertificateRevocationList][google.cloud.security.privateca.v1alpha1.CertificateRevocationList] is up to date. - CertificateRevocationList_ACTIVE CertificateRevocationList_State = 1 - // The [CertificateRevocationList][google.cloud.security.privateca.v1alpha1.CertificateRevocationList] is no longer current. - CertificateRevocationList_SUPERSEDED CertificateRevocationList_State = 2 -) - -var CertificateRevocationList_State_name = map[int32]string{ - 0: "STATE_UNSPECIFIED", - 1: "ACTIVE", - 2: "SUPERSEDED", -} - -var CertificateRevocationList_State_value = map[string]int32{ - "STATE_UNSPECIFIED": 0, - "ACTIVE": 1, - "SUPERSEDED": 2, -} - -func (x CertificateRevocationList_State) String() string { - return proto.EnumName(CertificateRevocationList_State_name, int32(x)) -} - -func (CertificateRevocationList_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6299e860b09b0827, []int{1, 0} -} - -// Types of public keys that are supported. -// At a minimum, we support RSA and ECDSA, for the key sizes or curves listed: -// https://cloud.google.com/kms/docs/algorithms#asymmetric_signing_algorithms -type PublicKey_KeyType int32 - -const ( - // Default unspecified value. - PublicKey_KEY_TYPE_UNSPECIFIED PublicKey_KeyType = 0 - // A PEM-encoded PKCS#1/RFC 3447 RSAPrivateKey structure. - PublicKey_PEM_RSA_KEY PublicKey_KeyType = 1 - // A PEM-encoded compressed NIST P-256/secp256r1/prime256v1 or P-384 key. - PublicKey_PEM_EC_KEY PublicKey_KeyType = 2 -) - -var PublicKey_KeyType_name = map[int32]string{ - 0: "KEY_TYPE_UNSPECIFIED", - 1: "PEM_RSA_KEY", - 2: "PEM_EC_KEY", -} - -var PublicKey_KeyType_value = map[string]int32{ - "KEY_TYPE_UNSPECIFIED": 0, - "PEM_RSA_KEY": 1, - "PEM_EC_KEY": 2, -} - -func (x PublicKey_KeyType) String() string { - return proto.EnumName(PublicKey_KeyType_name, int32(x)) -} - -func (PublicKey_KeyType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6299e860b09b0827, []int{6, 0} -} - -// A [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] represents an individual Certificate Authority. -// A [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] can be used to create [Certificates][google.cloud.security.privateca.v1alpha1.Certificate]. -type CertificateAuthority struct { - // Output only. The resource name for this [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] in the - // format `projects/*/locations/*/certificateAuthorities/*`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Immutable. The [Type][google.cloud.security.privateca.v1alpha1.CertificateAuthority.Type] of this [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority]. - Type CertificateAuthority_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.security.privateca.v1alpha1.CertificateAuthority_Type" json:"type,omitempty"` - // Immutable. The config used to create a self-signed X.509 certificate or CSR. - Config *CertificateConfig `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"` - // Required. The desired lifetime of the CA certificate. Used to create the - // "not_before_time" and "not_after_time" fields inside an X.509 - // certificate. - Lifetime *duration.Duration `protobuf:"bytes,4,opt,name=lifetime,proto3" json:"lifetime,omitempty"` - // Required. Immutable. The resource name for the Cloud KMS CryptoKeyVersion in the - // format - // `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`. Used - // when issuing certificates for this [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority]. If this - // [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] is a self-signed CertificateAuthority, this key - // version is also used to sign the self-signed CA certificate. Otherwise, - // it is used to sign a CSR. - CloudKmsKeyVersion string `protobuf:"bytes,5,opt,name=cloud_kms_key_version,json=cloudKmsKeyVersion,proto3" json:"cloud_kms_key_version,omitempty"` - // Optional. The [CertificateAuthorityPolicy][google.cloud.security.privateca.v1alpha1.CertificateAuthority.CertificateAuthorityPolicy] to enforce when issuing - // [Certificates][google.cloud.security.privateca.v1alpha1.Certificate] from this [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority]. - CertificatePolicy *CertificateAuthority_CertificateAuthorityPolicy `protobuf:"bytes,6,opt,name=certificate_policy,json=certificatePolicy,proto3" json:"certificate_policy,omitempty"` - // Optional. The [IssuingOptions][google.cloud.security.privateca.v1alpha1.CertificateAuthority.IssuingOptions] to follow when issuing [Certificates][google.cloud.security.privateca.v1alpha1.Certificate] - // from this [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority]. - IssuingOptions *CertificateAuthority_IssuingOptions `protobuf:"bytes,7,opt,name=issuing_options,json=issuingOptions,proto3" json:"issuing_options,omitempty"` - // Optional. This [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority]'s issuer chain. If self-signed, will be the - // same as 'pem_cert'. This may be updated (e.g., if an issuer's cert was - // replaced). Expected to be in issuer-to-root order according to RFC 5246. - PemIssuerCertChain []string `protobuf:"bytes,8,rep,name=pem_issuer_cert_chain,json=pemIssuerCertChain,proto3" json:"pem_issuer_cert_chain,omitempty"` - // Output only. The [State][google.cloud.security.privateca.v1alpha1.CertificateAuthority.State] for this [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority]. - State CertificateAuthority_State `protobuf:"varint,9,opt,name=state,proto3,enum=google.cloud.security.privateca.v1alpha1.CertificateAuthority_State" json:"state,omitempty"` - // Output only. This [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority]'s CA cert. - PemCert string `protobuf:"bytes,10,opt,name=pem_cert,json=pemCert,proto3" json:"pem_cert,omitempty"` - // Output only. A structured description of this [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority]'s CA cert. - CaCertificateDescription *CertificateDescription `protobuf:"bytes,11,opt,name=ca_certificate_description,json=caCertificateDescription,proto3" json:"ca_certificate_description,omitempty"` - // Required. Immutable. The name of a Cloud Storage bucket where this [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] will - // publish content, such as the CA certificate and CRLs. This must be a bucket - // name, without any prefixes (such as `gs://`) or suffixes (such as - // `.googleapis.com`). For example, to use a bucket named `my-bucket`, you - // would simply specify `my-bucket`. - GcsBucket string `protobuf:"bytes,12,opt,name=gcs_bucket,json=gcsBucket,proto3" json:"gcs_bucket,omitempty"` - // Output only. URLs for accessing content published by this CA, such as the CA certificate - // and CRLs. - AccessUrls *CertificateAuthority_AccessUrls `protobuf:"bytes,13,opt,name=access_urls,json=accessUrls,proto3" json:"access_urls,omitempty"` - // Output only. The time at which this [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] was created. - CreateTime *timestamp.Timestamp `protobuf:"bytes,14,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Output only. The time at which this [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] was updated. - UpdateTime *timestamp.Timestamp `protobuf:"bytes,15,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - // Output only. The time at which this [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] will be deleted, if - // scheduled for deletion. - DeletionTime *timestamp.Timestamp `protobuf:"bytes,17,opt,name=deletion_time,json=deletionTime,proto3" json:"deletion_time,omitempty"` - // Optional. Labels with user-defined metadata. - Labels map[string]string `protobuf:"bytes,16,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CertificateAuthority) Reset() { *m = CertificateAuthority{} } -func (m *CertificateAuthority) String() string { return proto.CompactTextString(m) } -func (*CertificateAuthority) ProtoMessage() {} -func (*CertificateAuthority) Descriptor() ([]byte, []int) { - return fileDescriptor_6299e860b09b0827, []int{0} -} - -func (m *CertificateAuthority) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CertificateAuthority.Unmarshal(m, b) -} -func (m *CertificateAuthority) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CertificateAuthority.Marshal(b, m, deterministic) -} -func (m *CertificateAuthority) XXX_Merge(src proto.Message) { - xxx_messageInfo_CertificateAuthority.Merge(m, src) -} -func (m *CertificateAuthority) XXX_Size() int { - return xxx_messageInfo_CertificateAuthority.Size(m) -} -func (m *CertificateAuthority) XXX_DiscardUnknown() { - xxx_messageInfo_CertificateAuthority.DiscardUnknown(m) -} - -var xxx_messageInfo_CertificateAuthority proto.InternalMessageInfo - -func (m *CertificateAuthority) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *CertificateAuthority) GetType() CertificateAuthority_Type { - if m != nil { - return m.Type - } - return CertificateAuthority_TYPE_UNSPECIFIED -} - -func (m *CertificateAuthority) GetConfig() *CertificateConfig { - if m != nil { - return m.Config - } - return nil -} - -func (m *CertificateAuthority) GetLifetime() *duration.Duration { - if m != nil { - return m.Lifetime - } - return nil -} - -func (m *CertificateAuthority) GetCloudKmsKeyVersion() string { - if m != nil { - return m.CloudKmsKeyVersion - } - return "" -} - -func (m *CertificateAuthority) GetCertificatePolicy() *CertificateAuthority_CertificateAuthorityPolicy { - if m != nil { - return m.CertificatePolicy - } - return nil -} - -func (m *CertificateAuthority) GetIssuingOptions() *CertificateAuthority_IssuingOptions { - if m != nil { - return m.IssuingOptions - } - return nil -} - -func (m *CertificateAuthority) GetPemIssuerCertChain() []string { - if m != nil { - return m.PemIssuerCertChain - } - return nil -} - -func (m *CertificateAuthority) GetState() CertificateAuthority_State { - if m != nil { - return m.State - } - return CertificateAuthority_STATE_UNSPECIFIED -} - -func (m *CertificateAuthority) GetPemCert() string { - if m != nil { - return m.PemCert - } - return "" -} - -func (m *CertificateAuthority) GetCaCertificateDescription() *CertificateDescription { - if m != nil { - return m.CaCertificateDescription - } - return nil -} - -func (m *CertificateAuthority) GetGcsBucket() string { - if m != nil { - return m.GcsBucket - } - return "" -} - -func (m *CertificateAuthority) GetAccessUrls() *CertificateAuthority_AccessUrls { - if m != nil { - return m.AccessUrls - } - return nil -} - -func (m *CertificateAuthority) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *CertificateAuthority) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -func (m *CertificateAuthority) GetDeletionTime() *timestamp.Timestamp { - if m != nil { - return m.DeletionTime - } - return nil -} - -func (m *CertificateAuthority) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -// Options that affect all certificates issued by a [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority]. -type CertificateAuthority_IssuingOptions struct { - // Required. When true, includes a URL to the issuing CA certificate in the - // "authority information access" X.509 extension. - IncludeCaCertUrl bool `protobuf:"varint,1,opt,name=include_ca_cert_url,json=includeCaCertUrl,proto3" json:"include_ca_cert_url,omitempty"` - // Required. When true, includes a URL to the CRL corresponding to certificates - // issued from a [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority]. - // CRLs will expire 7 days from their creation. However, we will rebuild - // daily. CRLs are also rebuilt shortly after a certificate is revoked. - IncludeCrlAccessUrl bool `protobuf:"varint,2,opt,name=include_crl_access_url,json=includeCrlAccessUrl,proto3" json:"include_crl_access_url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CertificateAuthority_IssuingOptions) Reset() { *m = CertificateAuthority_IssuingOptions{} } -func (m *CertificateAuthority_IssuingOptions) String() string { return proto.CompactTextString(m) } -func (*CertificateAuthority_IssuingOptions) ProtoMessage() {} -func (*CertificateAuthority_IssuingOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_6299e860b09b0827, []int{0, 0} -} - -func (m *CertificateAuthority_IssuingOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CertificateAuthority_IssuingOptions.Unmarshal(m, b) -} -func (m *CertificateAuthority_IssuingOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CertificateAuthority_IssuingOptions.Marshal(b, m, deterministic) -} -func (m *CertificateAuthority_IssuingOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_CertificateAuthority_IssuingOptions.Merge(m, src) -} -func (m *CertificateAuthority_IssuingOptions) XXX_Size() int { - return xxx_messageInfo_CertificateAuthority_IssuingOptions.Size(m) -} -func (m *CertificateAuthority_IssuingOptions) XXX_DiscardUnknown() { - xxx_messageInfo_CertificateAuthority_IssuingOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_CertificateAuthority_IssuingOptions proto.InternalMessageInfo - -func (m *CertificateAuthority_IssuingOptions) GetIncludeCaCertUrl() bool { - if m != nil { - return m.IncludeCaCertUrl - } - return false -} - -func (m *CertificateAuthority_IssuingOptions) GetIncludeCrlAccessUrl() bool { - if m != nil { - return m.IncludeCrlAccessUrl - } - return false -} - -// The issuing policy for a [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority]. -// [Certificates][google.cloud.security.privateca.v1alpha1.Certificate] will not be successfully issued from this -// [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] if they violate the policy. -type CertificateAuthority_CertificateAuthorityPolicy struct { - // Allowed configurations or a single configuration for all issued - // certificates. - // - // Types that are valid to be assigned to ConfigPolicy: - // *CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList_ - // *CertificateAuthority_CertificateAuthorityPolicy_OverwriteConfigValues - ConfigPolicy isCertificateAuthority_CertificateAuthorityPolicy_ConfigPolicy `protobuf_oneof:"config_policy"` - // Optional. If any [Subject][google.cloud.security.privateca.v1alpha1.Subject] is specified here, then all - // [Certificates][google.cloud.security.privateca.v1alpha1.Certificate] issued by the [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] must - // match at least one listed [Subject][google.cloud.security.privateca.v1alpha1.Subject]. If a [Subject][google.cloud.security.privateca.v1alpha1.Subject] has an empty - // field, any value will be allowed for that field. - AllowedLocationsAndOrganizations []*Subject `protobuf:"bytes,2,rep,name=allowed_locations_and_organizations,json=allowedLocationsAndOrganizations,proto3" json:"allowed_locations_and_organizations,omitempty"` - // Optional. If any value is specified here, then all - // [Certificates][google.cloud.security.privateca.v1alpha1.Certificate] issued by the [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] must - // match at least one listed value. If no value is specified, all values - // will be allowed for this fied. Glob patterns are also supported. - AllowedCommonNames []string `protobuf:"bytes,7,rep,name=allowed_common_names,json=allowedCommonNames,proto3" json:"allowed_common_names,omitempty"` - // Optional. If a [AllowedSubjectAltNames][google.cloud.security.privateca.v1alpha1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames] is specified here, then all - // [Certificates][google.cloud.security.privateca.v1alpha1.Certificate] issued by the [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] must - // match [AllowedSubjectAltNames][google.cloud.security.privateca.v1alpha1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames]. If no value - // is specified, any value will be allowed for the [SubjectAltNames][google.cloud.security.privateca.v1alpha1.SubjectAltNames] - // field. - AllowedSans *CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames `protobuf:"bytes,8,opt,name=allowed_sans,json=allowedSans,proto3" json:"allowed_sans,omitempty"` - // Optional. The maximum lifetime allowed by the [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority]. Note that - // if the any part if the issuing chain expires before a [Certificate][google.cloud.security.privateca.v1alpha1.Certificate]'s - // requested maximum_lifetime, the effective lifetime will be explicitly - // truncated. - MaximumLifetime *duration.Duration `protobuf:"bytes,4,opt,name=maximum_lifetime,json=maximumLifetime,proto3" json:"maximum_lifetime,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CertificateAuthority_CertificateAuthorityPolicy) Reset() { - *m = CertificateAuthority_CertificateAuthorityPolicy{} -} -func (m *CertificateAuthority_CertificateAuthorityPolicy) String() string { - return proto.CompactTextString(m) -} -func (*CertificateAuthority_CertificateAuthorityPolicy) ProtoMessage() {} -func (*CertificateAuthority_CertificateAuthorityPolicy) Descriptor() ([]byte, []int) { - return fileDescriptor_6299e860b09b0827, []int{0, 1} -} - -func (m *CertificateAuthority_CertificateAuthorityPolicy) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CertificateAuthority_CertificateAuthorityPolicy.Unmarshal(m, b) -} -func (m *CertificateAuthority_CertificateAuthorityPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CertificateAuthority_CertificateAuthorityPolicy.Marshal(b, m, deterministic) -} -func (m *CertificateAuthority_CertificateAuthorityPolicy) XXX_Merge(src proto.Message) { - xxx_messageInfo_CertificateAuthority_CertificateAuthorityPolicy.Merge(m, src) -} -func (m *CertificateAuthority_CertificateAuthorityPolicy) XXX_Size() int { - return xxx_messageInfo_CertificateAuthority_CertificateAuthorityPolicy.Size(m) -} -func (m *CertificateAuthority_CertificateAuthorityPolicy) XXX_DiscardUnknown() { - xxx_messageInfo_CertificateAuthority_CertificateAuthorityPolicy.DiscardUnknown(m) -} - -var xxx_messageInfo_CertificateAuthority_CertificateAuthorityPolicy proto.InternalMessageInfo - -type isCertificateAuthority_CertificateAuthorityPolicy_ConfigPolicy interface { - isCertificateAuthority_CertificateAuthorityPolicy_ConfigPolicy() -} - -type CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList_ struct { - AllowedConfigList *CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList `protobuf:"bytes,5,opt,name=allowed_config_list,json=allowedConfigList,proto3,oneof"` -} - -type CertificateAuthority_CertificateAuthorityPolicy_OverwriteConfigValues struct { - OverwriteConfigValues *ReusableConfigWrapper `protobuf:"bytes,6,opt,name=overwrite_config_values,json=overwriteConfigValues,proto3,oneof"` -} - -func (*CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList_) isCertificateAuthority_CertificateAuthorityPolicy_ConfigPolicy() { -} - -func (*CertificateAuthority_CertificateAuthorityPolicy_OverwriteConfigValues) isCertificateAuthority_CertificateAuthorityPolicy_ConfigPolicy() { -} - -func (m *CertificateAuthority_CertificateAuthorityPolicy) GetConfigPolicy() isCertificateAuthority_CertificateAuthorityPolicy_ConfigPolicy { - if m != nil { - return m.ConfigPolicy - } - return nil -} - -func (m *CertificateAuthority_CertificateAuthorityPolicy) GetAllowedConfigList() *CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList { - if x, ok := m.GetConfigPolicy().(*CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList_); ok { - return x.AllowedConfigList - } - return nil -} - -func (m *CertificateAuthority_CertificateAuthorityPolicy) GetOverwriteConfigValues() *ReusableConfigWrapper { - if x, ok := m.GetConfigPolicy().(*CertificateAuthority_CertificateAuthorityPolicy_OverwriteConfigValues); ok { - return x.OverwriteConfigValues - } - return nil -} - -func (m *CertificateAuthority_CertificateAuthorityPolicy) GetAllowedLocationsAndOrganizations() []*Subject { - if m != nil { - return m.AllowedLocationsAndOrganizations - } - return nil -} - -func (m *CertificateAuthority_CertificateAuthorityPolicy) GetAllowedCommonNames() []string { - if m != nil { - return m.AllowedCommonNames - } - return nil -} - -func (m *CertificateAuthority_CertificateAuthorityPolicy) GetAllowedSans() *CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames { - if m != nil { - return m.AllowedSans - } - return nil -} - -func (m *CertificateAuthority_CertificateAuthorityPolicy) GetMaximumLifetime() *duration.Duration { - if m != nil { - return m.MaximumLifetime - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CertificateAuthority_CertificateAuthorityPolicy) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList_)(nil), - (*CertificateAuthority_CertificateAuthorityPolicy_OverwriteConfigValues)(nil), - } -} - -type CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList struct { - // Required. All [Certificates][google.cloud.security.privateca.v1alpha1.Certificate] issued by the [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] - // must match at least one listed [ReusableConfigWrapper][google.cloud.security.privateca.v1alpha1.ReusableConfigWrapper]. If a - // [ReusableConfigWrapper][google.cloud.security.privateca.v1alpha1.ReusableConfigWrapper] has an empty field, any value will be - // allowed for that field. - AllowedConfigValues []*ReusableConfigWrapper `protobuf:"bytes,1,rep,name=allowed_config_values,json=allowedConfigValues,proto3" json:"allowed_config_values,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList) Reset() { - *m = CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList{} -} -func (m *CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList) String() string { - return proto.CompactTextString(m) -} -func (*CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList) ProtoMessage() {} -func (*CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList) Descriptor() ([]byte, []int) { - return fileDescriptor_6299e860b09b0827, []int{0, 1, 0} -} - -func (m *CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList.Unmarshal(m, b) -} -func (m *CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList.Marshal(b, m, deterministic) -} -func (m *CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList) XXX_Merge(src proto.Message) { - xxx_messageInfo_CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList.Merge(m, src) -} -func (m *CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList) XXX_Size() int { - return xxx_messageInfo_CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList.Size(m) -} -func (m *CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList) XXX_DiscardUnknown() { - xxx_messageInfo_CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList.DiscardUnknown(m) -} - -var xxx_messageInfo_CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList proto.InternalMessageInfo - -func (m *CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList) GetAllowedConfigValues() []*ReusableConfigWrapper { - if m != nil { - return m.AllowedConfigValues - } - return nil -} - -// [AllowedSubjectAltNames][google.cloud.security.privateca.v1alpha1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames] specifies the allowed values for -// [SubjectAltNames][google.cloud.security.privateca.v1alpha1.SubjectAltNames] by the [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] when issuing -// [Certificates][google.cloud.security.privateca.v1alpha1.Certificate]. -type CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames struct { - // Contains valid, fully-qualified host names. Glob patterns are also - // supported. To allow an explicit wildcard certificate, escape with - // backlash (i.e. "\*"). - // E.g. for globbed entries: '*bar.com' will allow foo.bar.com, but not - // *.bar.com, unless the [allow_globbing_dns_wildcards][google.cloud.security.privateca.v1alpha1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.allow_globbing_dns_wildcards] field is set. - // E.g. for wildcard entries: '\*.bar.com' will allow '*.bar.com', but not - // 'foo.bar.com'. - AllowedDnsNames []string `protobuf:"bytes,1,rep,name=allowed_dns_names,json=allowedDnsNames,proto3" json:"allowed_dns_names,omitempty"` - // Contains valid RFC 3986 URIs. Glob patterns are also supported. To - // match across path seperators (i.e. '/') use the double star glob - // pattern (i.e. '**'). - AllowedUris []string `protobuf:"bytes,2,rep,name=allowed_uris,json=allowedUris,proto3" json:"allowed_uris,omitempty"` - // Contains valid RFC 2822 E-mail addresses. Glob patterns are also - // supported. - AllowedEmailAddresses []string `protobuf:"bytes,3,rep,name=allowed_email_addresses,json=allowedEmailAddresses,proto3" json:"allowed_email_addresses,omitempty"` - // Contains valid 32-bit IPv4 addresses and subnet ranges or RFC 4291 IPv6 - // addresses and subnet ranges. Subnet ranges are specified using the - // '/' notation (e.g. 10.0.0.0/8, 2001:700:300:1800::/64). Glob patterns - // are supported only for ip address entries (i.e. not for subnet ranges). - AllowedIps []string `protobuf:"bytes,4,rep,name=allowed_ips,json=allowedIps,proto3" json:"allowed_ips,omitempty"` - // Specifies if glob patterns used for [allowed_dns_names][google.cloud.security.privateca.v1alpha1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.allowed_dns_names] allows - // wildcard certificates. - AllowGlobbingDnsWildcards bool `protobuf:"varint,5,opt,name=allow_globbing_dns_wildcards,json=allowGlobbingDnsWildcards,proto3" json:"allow_globbing_dns_wildcards,omitempty"` - // Specifies if to allow custom X509Extension values. - AllowCustomSans bool `protobuf:"varint,6,opt,name=allow_custom_sans,json=allowCustomSans,proto3" json:"allow_custom_sans,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames) Reset() { - *m = CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames{} -} -func (m *CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames) String() string { - return proto.CompactTextString(m) -} -func (*CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames) ProtoMessage() {} -func (*CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames) Descriptor() ([]byte, []int) { - return fileDescriptor_6299e860b09b0827, []int{0, 1, 1} -} - -func (m *CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames.Unmarshal(m, b) -} -func (m *CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames.Marshal(b, m, deterministic) -} -func (m *CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames) XXX_Merge(src proto.Message) { - xxx_messageInfo_CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames.Merge(m, src) -} -func (m *CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames) XXX_Size() int { - return xxx_messageInfo_CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames.Size(m) -} -func (m *CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames) XXX_DiscardUnknown() { - xxx_messageInfo_CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames.DiscardUnknown(m) -} - -var xxx_messageInfo_CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames proto.InternalMessageInfo - -func (m *CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames) GetAllowedDnsNames() []string { - if m != nil { - return m.AllowedDnsNames - } - return nil -} - -func (m *CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames) GetAllowedUris() []string { - if m != nil { - return m.AllowedUris - } - return nil -} - -func (m *CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames) GetAllowedEmailAddresses() []string { - if m != nil { - return m.AllowedEmailAddresses - } - return nil -} - -func (m *CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames) GetAllowedIps() []string { - if m != nil { - return m.AllowedIps - } - return nil -} - -func (m *CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames) GetAllowGlobbingDnsWildcards() bool { - if m != nil { - return m.AllowGlobbingDnsWildcards - } - return false -} - -func (m *CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames) GetAllowCustomSans() bool { - if m != nil { - return m.AllowCustomSans - } - return false -} - -// URLs where a [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] will publish content. -type CertificateAuthority_AccessUrls struct { - // The URL where this [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority]'s CA certificate is - // published. This will only be set for CAs that have been activated. - CaCertificateAccessUrl string `protobuf:"bytes,1,opt,name=ca_certificate_access_url,json=caCertificateAccessUrl,proto3" json:"ca_certificate_access_url,omitempty"` - // The URL where this [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority]'s CRLs are published. This - // will only be set for CAs that have been activated. - CrlAccessUrl string `protobuf:"bytes,2,opt,name=crl_access_url,json=crlAccessUrl,proto3" json:"crl_access_url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CertificateAuthority_AccessUrls) Reset() { *m = CertificateAuthority_AccessUrls{} } -func (m *CertificateAuthority_AccessUrls) String() string { return proto.CompactTextString(m) } -func (*CertificateAuthority_AccessUrls) ProtoMessage() {} -func (*CertificateAuthority_AccessUrls) Descriptor() ([]byte, []int) { - return fileDescriptor_6299e860b09b0827, []int{0, 2} -} - -func (m *CertificateAuthority_AccessUrls) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CertificateAuthority_AccessUrls.Unmarshal(m, b) -} -func (m *CertificateAuthority_AccessUrls) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CertificateAuthority_AccessUrls.Marshal(b, m, deterministic) -} -func (m *CertificateAuthority_AccessUrls) XXX_Merge(src proto.Message) { - xxx_messageInfo_CertificateAuthority_AccessUrls.Merge(m, src) -} -func (m *CertificateAuthority_AccessUrls) XXX_Size() int { - return xxx_messageInfo_CertificateAuthority_AccessUrls.Size(m) -} -func (m *CertificateAuthority_AccessUrls) XXX_DiscardUnknown() { - xxx_messageInfo_CertificateAuthority_AccessUrls.DiscardUnknown(m) -} - -var xxx_messageInfo_CertificateAuthority_AccessUrls proto.InternalMessageInfo - -func (m *CertificateAuthority_AccessUrls) GetCaCertificateAccessUrl() string { - if m != nil { - return m.CaCertificateAccessUrl - } - return "" -} - -func (m *CertificateAuthority_AccessUrls) GetCrlAccessUrl() string { - if m != nil { - return m.CrlAccessUrl - } - return "" -} - -// A [CertificateRevocationList][google.cloud.security.privateca.v1alpha1.CertificateRevocationList] corresponds to a signed X.509 certificate -// Revocation List (CRL). A CRL contains the serial numbers of certificates that -// should no longer be trusted. -type CertificateRevocationList struct { - // Output only. The resource path for this [CertificateRevocationList][google.cloud.security.privateca.v1alpha1.CertificateRevocationList] in - // the format - // `projects/*/locations/*/certificateAuthorities/*/ - // certificateRevocationLists/*`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Output only. The CRL sequence number that appears in pem_crl. - SequenceNumber int64 `protobuf:"varint,2,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"` - // Output only. The revoked serial numbers that appear in pem_crl. - RevokedCertificates []*CertificateRevocationList_RevokedCertificate `protobuf:"bytes,3,rep,name=revoked_certificates,json=revokedCertificates,proto3" json:"revoked_certificates,omitempty"` - // Output only. The PEM-encoded X.509 CRL. - PemCrl string `protobuf:"bytes,4,opt,name=pem_crl,json=pemCrl,proto3" json:"pem_crl,omitempty"` - // Output only. The location where 'pem_crl' can be accessed. - AccessUrl string `protobuf:"bytes,5,opt,name=access_url,json=accessUrl,proto3" json:"access_url,omitempty"` - // Output only. The [State][google.cloud.security.privateca.v1alpha1.CertificateRevocationList.State] for this [CertificateRevocationList][google.cloud.security.privateca.v1alpha1.CertificateRevocationList]. - State CertificateRevocationList_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.cloud.security.privateca.v1alpha1.CertificateRevocationList_State" json:"state,omitempty"` - // Output only. The time at which this [CertificateRevocationList][google.cloud.security.privateca.v1alpha1.CertificateRevocationList] was created. - CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Output only. The time at which this [CertificateRevocationList][google.cloud.security.privateca.v1alpha1.CertificateRevocationList] was updated. - UpdateTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - // Optional. Labels with user-defined metadata. - Labels map[string]string `protobuf:"bytes,9,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CertificateRevocationList) Reset() { *m = CertificateRevocationList{} } -func (m *CertificateRevocationList) String() string { return proto.CompactTextString(m) } -func (*CertificateRevocationList) ProtoMessage() {} -func (*CertificateRevocationList) Descriptor() ([]byte, []int) { - return fileDescriptor_6299e860b09b0827, []int{1} -} - -func (m *CertificateRevocationList) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CertificateRevocationList.Unmarshal(m, b) -} -func (m *CertificateRevocationList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CertificateRevocationList.Marshal(b, m, deterministic) -} -func (m *CertificateRevocationList) XXX_Merge(src proto.Message) { - xxx_messageInfo_CertificateRevocationList.Merge(m, src) -} -func (m *CertificateRevocationList) XXX_Size() int { - return xxx_messageInfo_CertificateRevocationList.Size(m) -} -func (m *CertificateRevocationList) XXX_DiscardUnknown() { - xxx_messageInfo_CertificateRevocationList.DiscardUnknown(m) -} - -var xxx_messageInfo_CertificateRevocationList proto.InternalMessageInfo - -func (m *CertificateRevocationList) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *CertificateRevocationList) GetSequenceNumber() int64 { - if m != nil { - return m.SequenceNumber - } - return 0 -} - -func (m *CertificateRevocationList) GetRevokedCertificates() []*CertificateRevocationList_RevokedCertificate { - if m != nil { - return m.RevokedCertificates - } - return nil -} - -func (m *CertificateRevocationList) GetPemCrl() string { - if m != nil { - return m.PemCrl - } - return "" -} - -func (m *CertificateRevocationList) GetAccessUrl() string { - if m != nil { - return m.AccessUrl - } - return "" -} - -func (m *CertificateRevocationList) GetState() CertificateRevocationList_State { - if m != nil { - return m.State - } - return CertificateRevocationList_STATE_UNSPECIFIED -} - -func (m *CertificateRevocationList) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *CertificateRevocationList) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -func (m *CertificateRevocationList) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -// Describes a revoked [Certificate][google.cloud.security.privateca.v1alpha1.Certificate]. -type CertificateRevocationList_RevokedCertificate struct { - // The resource path for the [Certificate][google.cloud.security.privateca.v1alpha1.Certificate] in the format - // `projects/*/locations/*/certificateAuthorities/*/certificates/*`. - Certificate string `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"` - // The serial number of the [Certificate][google.cloud.security.privateca.v1alpha1.Certificate]. - SerialNumber string `protobuf:"bytes,2,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` - // The reason the [Certificate][google.cloud.security.privateca.v1alpha1.Certificate] was revoked. - RevocationReason RevocationReason `protobuf:"varint,3,opt,name=revocation_reason,json=revocationReason,proto3,enum=google.cloud.security.privateca.v1alpha1.RevocationReason" json:"revocation_reason,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CertificateRevocationList_RevokedCertificate) Reset() { - *m = CertificateRevocationList_RevokedCertificate{} -} -func (m *CertificateRevocationList_RevokedCertificate) String() string { - return proto.CompactTextString(m) -} -func (*CertificateRevocationList_RevokedCertificate) ProtoMessage() {} -func (*CertificateRevocationList_RevokedCertificate) Descriptor() ([]byte, []int) { - return fileDescriptor_6299e860b09b0827, []int{1, 0} -} - -func (m *CertificateRevocationList_RevokedCertificate) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CertificateRevocationList_RevokedCertificate.Unmarshal(m, b) -} -func (m *CertificateRevocationList_RevokedCertificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CertificateRevocationList_RevokedCertificate.Marshal(b, m, deterministic) -} -func (m *CertificateRevocationList_RevokedCertificate) XXX_Merge(src proto.Message) { - xxx_messageInfo_CertificateRevocationList_RevokedCertificate.Merge(m, src) -} -func (m *CertificateRevocationList_RevokedCertificate) XXX_Size() int { - return xxx_messageInfo_CertificateRevocationList_RevokedCertificate.Size(m) -} -func (m *CertificateRevocationList_RevokedCertificate) XXX_DiscardUnknown() { - xxx_messageInfo_CertificateRevocationList_RevokedCertificate.DiscardUnknown(m) -} - -var xxx_messageInfo_CertificateRevocationList_RevokedCertificate proto.InternalMessageInfo - -func (m *CertificateRevocationList_RevokedCertificate) GetCertificate() string { - if m != nil { - return m.Certificate - } - return "" -} - -func (m *CertificateRevocationList_RevokedCertificate) GetSerialNumber() string { - if m != nil { - return m.SerialNumber - } - return "" -} - -func (m *CertificateRevocationList_RevokedCertificate) GetRevocationReason() RevocationReason { - if m != nil { - return m.RevocationReason - } - return RevocationReason_REVOCATION_REASON_UNSPECIFIED -} - -// A [Certificate][google.cloud.security.privateca.v1alpha1.Certificate] corresponds to a signed X.509 certificate issued by a -// [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority]. -type Certificate struct { - // Output only. The resource path for this [Certificate][google.cloud.security.privateca.v1alpha1.Certificate] in the format - // `projects/*/locations/*/certificateAuthorities/*/certificates/*`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The config used to create a signed X.509 certificate. - // - // Types that are valid to be assigned to CertificateConfig: - // *Certificate_PemCsr - // *Certificate_Config - CertificateConfig isCertificate_CertificateConfig `protobuf_oneof:"certificate_config"` - // Required. The desired lifetime of a certificate. Used to create the - // "not_before_time" and "not_after_time" fields inside an X.509 - // certificate. Note that the lifetime may be truncated if it would extend - // past the life of any certificate authority in the issuing chain. - Lifetime *duration.Duration `protobuf:"bytes,4,opt,name=lifetime,proto3" json:"lifetime,omitempty"` - // Output only. Details regarding the revocation of this [Certificate][google.cloud.security.privateca.v1alpha1.Certificate]. This - // [Certificate][google.cloud.security.privateca.v1alpha1.Certificate] is considered revoked if and only if this field is present. - RevocationDetails *Certificate_RevocationDetails `protobuf:"bytes,5,opt,name=revocation_details,json=revocationDetails,proto3" json:"revocation_details,omitempty"` - // Output only. The pem-encoded, signed X.509 certificate. - PemCertificate string `protobuf:"bytes,6,opt,name=pem_certificate,json=pemCertificate,proto3" json:"pem_certificate,omitempty"` - // Output only. A structured description of the issued X.509 certificate. - CertificateDescription *CertificateDescription `protobuf:"bytes,7,opt,name=certificate_description,json=certificateDescription,proto3" json:"certificate_description,omitempty"` - // Output only. The chain that may be used to verify the X.509 certificate. Expected to be - // in issuer-to-root order according to RFC 5246. - PemCertificateChain []string `protobuf:"bytes,8,rep,name=pem_certificate_chain,json=pemCertificateChain,proto3" json:"pem_certificate_chain,omitempty"` - // Output only. The time at which this [Certificate][google.cloud.security.privateca.v1alpha1.Certificate] was created. - CreateTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Output only. The time at which this [Certificate][google.cloud.security.privateca.v1alpha1.Certificate] was updated. - UpdateTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - // Optional. Labels with user-defined metadata. - Labels map[string]string `protobuf:"bytes,11,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Certificate) Reset() { *m = Certificate{} } -func (m *Certificate) String() string { return proto.CompactTextString(m) } -func (*Certificate) ProtoMessage() {} -func (*Certificate) Descriptor() ([]byte, []int) { - return fileDescriptor_6299e860b09b0827, []int{2} -} - -func (m *Certificate) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Certificate.Unmarshal(m, b) -} -func (m *Certificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Certificate.Marshal(b, m, deterministic) -} -func (m *Certificate) XXX_Merge(src proto.Message) { - xxx_messageInfo_Certificate.Merge(m, src) -} -func (m *Certificate) XXX_Size() int { - return xxx_messageInfo_Certificate.Size(m) -} -func (m *Certificate) XXX_DiscardUnknown() { - xxx_messageInfo_Certificate.DiscardUnknown(m) -} - -var xxx_messageInfo_Certificate proto.InternalMessageInfo - -func (m *Certificate) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -type isCertificate_CertificateConfig interface { - isCertificate_CertificateConfig() -} - -type Certificate_PemCsr struct { - PemCsr string `protobuf:"bytes,2,opt,name=pem_csr,json=pemCsr,proto3,oneof"` -} - -type Certificate_Config struct { - Config *CertificateConfig `protobuf:"bytes,3,opt,name=config,proto3,oneof"` -} - -func (*Certificate_PemCsr) isCertificate_CertificateConfig() {} - -func (*Certificate_Config) isCertificate_CertificateConfig() {} - -func (m *Certificate) GetCertificateConfig() isCertificate_CertificateConfig { - if m != nil { - return m.CertificateConfig - } - return nil -} - -func (m *Certificate) GetPemCsr() string { - if x, ok := m.GetCertificateConfig().(*Certificate_PemCsr); ok { - return x.PemCsr - } - return "" -} - -func (m *Certificate) GetConfig() *CertificateConfig { - if x, ok := m.GetCertificateConfig().(*Certificate_Config); ok { - return x.Config - } - return nil -} - -func (m *Certificate) GetLifetime() *duration.Duration { - if m != nil { - return m.Lifetime - } - return nil -} - -func (m *Certificate) GetRevocationDetails() *Certificate_RevocationDetails { - if m != nil { - return m.RevocationDetails - } - return nil -} - -func (m *Certificate) GetPemCertificate() string { - if m != nil { - return m.PemCertificate - } - return "" -} - -func (m *Certificate) GetCertificateDescription() *CertificateDescription { - if m != nil { - return m.CertificateDescription - } - return nil -} - -func (m *Certificate) GetPemCertificateChain() []string { - if m != nil { - return m.PemCertificateChain - } - return nil -} - -func (m *Certificate) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *Certificate) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -func (m *Certificate) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Certificate) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Certificate_PemCsr)(nil), - (*Certificate_Config)(nil), - } -} - -// Describes fields that are relavent to the revocation of a [Certificate][google.cloud.security.privateca.v1alpha1.Certificate]. -type Certificate_RevocationDetails struct { - // Indicates why a [Certificate][google.cloud.security.privateca.v1alpha1.Certificate] was revoked. - RevocationState RevocationReason `protobuf:"varint,1,opt,name=revocation_state,json=revocationState,proto3,enum=google.cloud.security.privateca.v1alpha1.RevocationReason" json:"revocation_state,omitempty"` - // The time at which this [Certificate][google.cloud.security.privateca.v1alpha1.Certificate] was revoked. - RevocationTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=revocation_time,json=revocationTime,proto3" json:"revocation_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Certificate_RevocationDetails) Reset() { *m = Certificate_RevocationDetails{} } -func (m *Certificate_RevocationDetails) String() string { return proto.CompactTextString(m) } -func (*Certificate_RevocationDetails) ProtoMessage() {} -func (*Certificate_RevocationDetails) Descriptor() ([]byte, []int) { - return fileDescriptor_6299e860b09b0827, []int{2, 0} -} - -func (m *Certificate_RevocationDetails) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Certificate_RevocationDetails.Unmarshal(m, b) -} -func (m *Certificate_RevocationDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Certificate_RevocationDetails.Marshal(b, m, deterministic) -} -func (m *Certificate_RevocationDetails) XXX_Merge(src proto.Message) { - xxx_messageInfo_Certificate_RevocationDetails.Merge(m, src) -} -func (m *Certificate_RevocationDetails) XXX_Size() int { - return xxx_messageInfo_Certificate_RevocationDetails.Size(m) -} -func (m *Certificate_RevocationDetails) XXX_DiscardUnknown() { - xxx_messageInfo_Certificate_RevocationDetails.DiscardUnknown(m) -} - -var xxx_messageInfo_Certificate_RevocationDetails proto.InternalMessageInfo - -func (m *Certificate_RevocationDetails) GetRevocationState() RevocationReason { - if m != nil { - return m.RevocationState - } - return RevocationReason_REVOCATION_REASON_UNSPECIFIED -} - -func (m *Certificate_RevocationDetails) GetRevocationTime() *timestamp.Timestamp { - if m != nil { - return m.RevocationTime - } - return nil -} - -// A [ReusableConfig][google.cloud.security.privateca.v1alpha1.ReusableConfig] refers to a managed [ReusableConfigValues][google.cloud.security.privateca.v1alpha1.ReusableConfigValues]. Those, in -// turn, are used to describe certain fields of an X.509 certificate, such as -// the key usage fields, fields specific to CA certificates, certificate policy -// extensions and custom extensions. -type ReusableConfig struct { - // Output only. The resource path for this [ReusableConfig][google.cloud.security.privateca.v1alpha1.ReusableConfig] in the format - // `projects/*/locations/*/reusableConfigs/*`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The config values. - Values *ReusableConfigValues `protobuf:"bytes,2,opt,name=values,proto3" json:"values,omitempty"` - // Optional. A human-readable description of scenarios these ReusableConfigValues may be - // compatible with. - Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` - // Output only. The time at which this [ReusableConfig][google.cloud.security.privateca.v1alpha1.ReusableConfig] was created. - CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Output only. The time at which this [ReusableConfig][google.cloud.security.privateca.v1alpha1.ReusableConfig] was updated. - UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - // Optional. Labels with user-defined metadata. - Labels map[string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ReusableConfig) Reset() { *m = ReusableConfig{} } -func (m *ReusableConfig) String() string { return proto.CompactTextString(m) } -func (*ReusableConfig) ProtoMessage() {} -func (*ReusableConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_6299e860b09b0827, []int{3} -} - -func (m *ReusableConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReusableConfig.Unmarshal(m, b) -} -func (m *ReusableConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReusableConfig.Marshal(b, m, deterministic) -} -func (m *ReusableConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReusableConfig.Merge(m, src) -} -func (m *ReusableConfig) XXX_Size() int { - return xxx_messageInfo_ReusableConfig.Size(m) -} -func (m *ReusableConfig) XXX_DiscardUnknown() { - xxx_messageInfo_ReusableConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_ReusableConfig proto.InternalMessageInfo - -func (m *ReusableConfig) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ReusableConfig) GetValues() *ReusableConfigValues { - if m != nil { - return m.Values - } - return nil -} - -func (m *ReusableConfig) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *ReusableConfig) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *ReusableConfig) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -func (m *ReusableConfig) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -// A [ReusableConfigValues][google.cloud.security.privateca.v1alpha1.ReusableConfigValues] is used to describe certain fields of an -// X.509 certificate, such as the key usage fields, fields specific to CA -// certificates, certificate policy extensions and custom extensions. -type ReusableConfigValues struct { - // Optional. Indicates the intended use for keys that correspond to a certificate. - KeyUsage *KeyUsage `protobuf:"bytes,1,opt,name=key_usage,json=keyUsage,proto3" json:"key_usage,omitempty"` - // Optional. Describes options in this [ReusableConfigValues][google.cloud.security.privateca.v1alpha1.ReusableConfigValues] that are - // relevant in a CA certificate. - CaOptions *ReusableConfigValues_CaOptions `protobuf:"bytes,2,opt,name=ca_options,json=caOptions,proto3" json:"ca_options,omitempty"` - // Optional. Describes the X.509 certificate policy object identifiers, per - // https://tools.ietf.org/html/rfc5280#section-4.2.1.4rfc5280 - PolicyIds []*ObjectId `protobuf:"bytes,3,rep,name=policy_ids,json=policyIds,proto3" json:"policy_ids,omitempty"` - // Optional. Describes custom X.509 extensions. - AdditionalExtensions []*X509Extension `protobuf:"bytes,4,rep,name=additional_extensions,json=additionalExtensions,proto3" json:"additional_extensions,omitempty"` - // Optional. Describes a list of locations to obtain CRL information, i.e. - // the DistributionPoint.fullName described by - // https://tools.ietf.org/html/rfc5280#section-4.2.1.13 - CrlDistributionPoints []string `protobuf:"bytes,5,rep,name=crl_distribution_points,json=crlDistributionPoints,proto3" json:"crl_distribution_points,omitempty"` - // Optional. Describes how to access information and services for the issuer of the - // certificate. - AuthorityInformationAccess *ReusableConfigValues_AuthorityInformationAccess `protobuf:"bytes,6,opt,name=authority_information_access,json=authorityInformationAccess,proto3" json:"authority_information_access,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ReusableConfigValues) Reset() { *m = ReusableConfigValues{} } -func (m *ReusableConfigValues) String() string { return proto.CompactTextString(m) } -func (*ReusableConfigValues) ProtoMessage() {} -func (*ReusableConfigValues) Descriptor() ([]byte, []int) { - return fileDescriptor_6299e860b09b0827, []int{4} -} - -func (m *ReusableConfigValues) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReusableConfigValues.Unmarshal(m, b) -} -func (m *ReusableConfigValues) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReusableConfigValues.Marshal(b, m, deterministic) -} -func (m *ReusableConfigValues) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReusableConfigValues.Merge(m, src) -} -func (m *ReusableConfigValues) XXX_Size() int { - return xxx_messageInfo_ReusableConfigValues.Size(m) -} -func (m *ReusableConfigValues) XXX_DiscardUnknown() { - xxx_messageInfo_ReusableConfigValues.DiscardUnknown(m) -} - -var xxx_messageInfo_ReusableConfigValues proto.InternalMessageInfo - -func (m *ReusableConfigValues) GetKeyUsage() *KeyUsage { - if m != nil { - return m.KeyUsage - } - return nil -} - -func (m *ReusableConfigValues) GetCaOptions() *ReusableConfigValues_CaOptions { - if m != nil { - return m.CaOptions - } - return nil -} - -func (m *ReusableConfigValues) GetPolicyIds() []*ObjectId { - if m != nil { - return m.PolicyIds - } - return nil -} - -func (m *ReusableConfigValues) GetAdditionalExtensions() []*X509Extension { - if m != nil { - return m.AdditionalExtensions - } - return nil -} - -func (m *ReusableConfigValues) GetCrlDistributionPoints() []string { - if m != nil { - return m.CrlDistributionPoints - } - return nil -} - -func (m *ReusableConfigValues) GetAuthorityInformationAccess() *ReusableConfigValues_AuthorityInformationAccess { - if m != nil { - return m.AuthorityInformationAccess - } - return nil -} - -// Describes values that are relevant in a CA certificate. -type ReusableConfigValues_CaOptions struct { - // Optional. Refers to the "CA" X.509 extension, which is a boolean value. When this - // value is missing, the extension will be omitted from the CA certificate. - IsCa *wrappers.BoolValue `protobuf:"bytes,1,opt,name=is_ca,json=isCa,proto3" json:"is_ca,omitempty"` - // Optional. Refers to the path length restriction X.509 extension. For a CA - // certificate, this value describes the depth of subordinate CA - // certificates that are allowed. - // If this value is less than 0, the request will fail. - // If this value is missing, the max path length will be omitted from the - // CA certificate. - MaxIssuerPathLength *wrappers.Int32Value `protobuf:"bytes,2,opt,name=max_issuer_path_length,json=maxIssuerPathLength,proto3" json:"max_issuer_path_length,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ReusableConfigValues_CaOptions) Reset() { *m = ReusableConfigValues_CaOptions{} } -func (m *ReusableConfigValues_CaOptions) String() string { return proto.CompactTextString(m) } -func (*ReusableConfigValues_CaOptions) ProtoMessage() {} -func (*ReusableConfigValues_CaOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_6299e860b09b0827, []int{4, 0} -} - -func (m *ReusableConfigValues_CaOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReusableConfigValues_CaOptions.Unmarshal(m, b) -} -func (m *ReusableConfigValues_CaOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReusableConfigValues_CaOptions.Marshal(b, m, deterministic) -} -func (m *ReusableConfigValues_CaOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReusableConfigValues_CaOptions.Merge(m, src) -} -func (m *ReusableConfigValues_CaOptions) XXX_Size() int { - return xxx_messageInfo_ReusableConfigValues_CaOptions.Size(m) -} -func (m *ReusableConfigValues_CaOptions) XXX_DiscardUnknown() { - xxx_messageInfo_ReusableConfigValues_CaOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_ReusableConfigValues_CaOptions proto.InternalMessageInfo - -func (m *ReusableConfigValues_CaOptions) GetIsCa() *wrappers.BoolValue { - if m != nil { - return m.IsCa - } - return nil -} - -func (m *ReusableConfigValues_CaOptions) GetMaxIssuerPathLength() *wrappers.Int32Value { - if m != nil { - return m.MaxIssuerPathLength - } - return nil -} - -// Describes how to access information and services for the issuer of the -// certificate, per https://tools.ietf.org/html/rfc5280#section-4.2.2.1 -type ReusableConfigValues_AuthorityInformationAccess struct { - // Optional. The referenced CA issuers description is intended to aid certificate - // users in the selection of a certification path that terminates at a - // point trusted by the certificate user. - IssuingCertificateUrls []string `protobuf:"bytes,1,rep,name=issuing_certificate_urls,json=issuingCertificateUrls,proto3" json:"issuing_certificate_urls,omitempty"` - // Optional. Used when revocation information for the - // certificate containing this extension is available using the Online - // Certificate Status Protocol (OCSP) - OcspServers []string `protobuf:"bytes,2,rep,name=ocsp_servers,json=ocspServers,proto3" json:"ocsp_servers,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ReusableConfigValues_AuthorityInformationAccess) Reset() { - *m = ReusableConfigValues_AuthorityInformationAccess{} -} -func (m *ReusableConfigValues_AuthorityInformationAccess) String() string { - return proto.CompactTextString(m) -} -func (*ReusableConfigValues_AuthorityInformationAccess) ProtoMessage() {} -func (*ReusableConfigValues_AuthorityInformationAccess) Descriptor() ([]byte, []int) { - return fileDescriptor_6299e860b09b0827, []int{4, 1} -} - -func (m *ReusableConfigValues_AuthorityInformationAccess) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReusableConfigValues_AuthorityInformationAccess.Unmarshal(m, b) -} -func (m *ReusableConfigValues_AuthorityInformationAccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReusableConfigValues_AuthorityInformationAccess.Marshal(b, m, deterministic) -} -func (m *ReusableConfigValues_AuthorityInformationAccess) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReusableConfigValues_AuthorityInformationAccess.Merge(m, src) -} -func (m *ReusableConfigValues_AuthorityInformationAccess) XXX_Size() int { - return xxx_messageInfo_ReusableConfigValues_AuthorityInformationAccess.Size(m) -} -func (m *ReusableConfigValues_AuthorityInformationAccess) XXX_DiscardUnknown() { - xxx_messageInfo_ReusableConfigValues_AuthorityInformationAccess.DiscardUnknown(m) -} - -var xxx_messageInfo_ReusableConfigValues_AuthorityInformationAccess proto.InternalMessageInfo - -func (m *ReusableConfigValues_AuthorityInformationAccess) GetIssuingCertificateUrls() []string { - if m != nil { - return m.IssuingCertificateUrls - } - return nil -} - -func (m *ReusableConfigValues_AuthorityInformationAccess) GetOcspServers() []string { - if m != nil { - return m.OcspServers - } - return nil -} - -// A [ReusableConfigWrapper][google.cloud.security.privateca.v1alpha1.ReusableConfigWrapper] describes values that may assist in creating an -// X.509 certificate, or a reference to a pre-defined set of values. -type ReusableConfigWrapper struct { - // Reusable or inline config values. - // - // Types that are valid to be assigned to ConfigValues: - // *ReusableConfigWrapper_ReusableConfig - // *ReusableConfigWrapper_ReusableConfigValues - ConfigValues isReusableConfigWrapper_ConfigValues `protobuf_oneof:"config_values"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ReusableConfigWrapper) Reset() { *m = ReusableConfigWrapper{} } -func (m *ReusableConfigWrapper) String() string { return proto.CompactTextString(m) } -func (*ReusableConfigWrapper) ProtoMessage() {} -func (*ReusableConfigWrapper) Descriptor() ([]byte, []int) { - return fileDescriptor_6299e860b09b0827, []int{5} -} - -func (m *ReusableConfigWrapper) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReusableConfigWrapper.Unmarshal(m, b) -} -func (m *ReusableConfigWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReusableConfigWrapper.Marshal(b, m, deterministic) -} -func (m *ReusableConfigWrapper) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReusableConfigWrapper.Merge(m, src) -} -func (m *ReusableConfigWrapper) XXX_Size() int { - return xxx_messageInfo_ReusableConfigWrapper.Size(m) -} -func (m *ReusableConfigWrapper) XXX_DiscardUnknown() { - xxx_messageInfo_ReusableConfigWrapper.DiscardUnknown(m) -} - -var xxx_messageInfo_ReusableConfigWrapper proto.InternalMessageInfo - -type isReusableConfigWrapper_ConfigValues interface { - isReusableConfigWrapper_ConfigValues() -} - -type ReusableConfigWrapper_ReusableConfig struct { - ReusableConfig string `protobuf:"bytes,1,opt,name=reusable_config,json=reusableConfig,proto3,oneof"` -} - -type ReusableConfigWrapper_ReusableConfigValues struct { - ReusableConfigValues *ReusableConfigValues `protobuf:"bytes,2,opt,name=reusable_config_values,json=reusableConfigValues,proto3,oneof"` -} - -func (*ReusableConfigWrapper_ReusableConfig) isReusableConfigWrapper_ConfigValues() {} - -func (*ReusableConfigWrapper_ReusableConfigValues) isReusableConfigWrapper_ConfigValues() {} - -func (m *ReusableConfigWrapper) GetConfigValues() isReusableConfigWrapper_ConfigValues { - if m != nil { - return m.ConfigValues - } - return nil -} - -func (m *ReusableConfigWrapper) GetReusableConfig() string { - if x, ok := m.GetConfigValues().(*ReusableConfigWrapper_ReusableConfig); ok { - return x.ReusableConfig - } - return "" -} - -func (m *ReusableConfigWrapper) GetReusableConfigValues() *ReusableConfigValues { - if x, ok := m.GetConfigValues().(*ReusableConfigWrapper_ReusableConfigValues); ok { - return x.ReusableConfigValues - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ReusableConfigWrapper) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ReusableConfigWrapper_ReusableConfig)(nil), - (*ReusableConfigWrapper_ReusableConfigValues)(nil), - } -} - -// A [PublicKey][google.cloud.security.privateca.v1alpha1.PublicKey] describes a public key. -type PublicKey struct { - // Required. The type of public key. - Type PublicKey_KeyType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.security.privateca.v1alpha1.PublicKey_KeyType" json:"type,omitempty"` - // Required. A public key. Padding and encoding varies by 'KeyType' and is described - // along with the KeyType values. - Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PublicKey) Reset() { *m = PublicKey{} } -func (m *PublicKey) String() string { return proto.CompactTextString(m) } -func (*PublicKey) ProtoMessage() {} -func (*PublicKey) Descriptor() ([]byte, []int) { - return fileDescriptor_6299e860b09b0827, []int{6} -} - -func (m *PublicKey) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PublicKey.Unmarshal(m, b) -} -func (m *PublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PublicKey.Marshal(b, m, deterministic) -} -func (m *PublicKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_PublicKey.Merge(m, src) -} -func (m *PublicKey) XXX_Size() int { - return xxx_messageInfo_PublicKey.Size(m) -} -func (m *PublicKey) XXX_DiscardUnknown() { - xxx_messageInfo_PublicKey.DiscardUnknown(m) -} - -var xxx_messageInfo_PublicKey proto.InternalMessageInfo - -func (m *PublicKey) GetType() PublicKey_KeyType { - if m != nil { - return m.Type - } - return PublicKey_KEY_TYPE_UNSPECIFIED -} - -func (m *PublicKey) GetKey() []byte { - if m != nil { - return m.Key - } - return nil -} - -// A [CertificateConfig][google.cloud.security.privateca.v1alpha1.CertificateConfig] describes an X.509 certificate or CSR that is to be -// created, as an alternative to using ASN.1. -type CertificateConfig struct { - // Required. Specifies some of the values in a certificate that are related to the - // subject. - SubjectConfig *CertificateConfig_SubjectConfig `protobuf:"bytes,1,opt,name=subject_config,json=subjectConfig,proto3" json:"subject_config,omitempty"` - // Required. Describes how some of the technical fields in a certificate should be - // populated. - ReusableConfig *ReusableConfigWrapper `protobuf:"bytes,2,opt,name=reusable_config,json=reusableConfig,proto3" json:"reusable_config,omitempty"` - // Optional. The public key that corresponds to this config. This is, for example, used - // when issuing [Certificates][google.cloud.security.privateca.v1alpha1.Certificate], but not when creating a - // self-signed [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] or [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] CSR. - PublicKey *PublicKey `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CertificateConfig) Reset() { *m = CertificateConfig{} } -func (m *CertificateConfig) String() string { return proto.CompactTextString(m) } -func (*CertificateConfig) ProtoMessage() {} -func (*CertificateConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_6299e860b09b0827, []int{7} -} - -func (m *CertificateConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CertificateConfig.Unmarshal(m, b) -} -func (m *CertificateConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CertificateConfig.Marshal(b, m, deterministic) -} -func (m *CertificateConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_CertificateConfig.Merge(m, src) -} -func (m *CertificateConfig) XXX_Size() int { - return xxx_messageInfo_CertificateConfig.Size(m) -} -func (m *CertificateConfig) XXX_DiscardUnknown() { - xxx_messageInfo_CertificateConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_CertificateConfig proto.InternalMessageInfo - -func (m *CertificateConfig) GetSubjectConfig() *CertificateConfig_SubjectConfig { - if m != nil { - return m.SubjectConfig - } - return nil -} - -func (m *CertificateConfig) GetReusableConfig() *ReusableConfigWrapper { - if m != nil { - return m.ReusableConfig - } - return nil -} - -func (m *CertificateConfig) GetPublicKey() *PublicKey { - if m != nil { - return m.PublicKey - } - return nil -} - -// These values are used to create the distinguished name and subject -// alternative name fields in an X.509 certificate. -type CertificateConfig_SubjectConfig struct { - // Required. Contains distinguished name fields such as the location and organization. - Subject *Subject `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` - // Optional. The "common name" of the distinguished name. - CommonName string `protobuf:"bytes,2,opt,name=common_name,json=commonName,proto3" json:"common_name,omitempty"` - // Optional. The subject alternative name fields. - SubjectAltName *SubjectAltNames `protobuf:"bytes,3,opt,name=subject_alt_name,json=subjectAltName,proto3" json:"subject_alt_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CertificateConfig_SubjectConfig) Reset() { *m = CertificateConfig_SubjectConfig{} } -func (m *CertificateConfig_SubjectConfig) String() string { return proto.CompactTextString(m) } -func (*CertificateConfig_SubjectConfig) ProtoMessage() {} -func (*CertificateConfig_SubjectConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_6299e860b09b0827, []int{7, 0} -} - -func (m *CertificateConfig_SubjectConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CertificateConfig_SubjectConfig.Unmarshal(m, b) -} -func (m *CertificateConfig_SubjectConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CertificateConfig_SubjectConfig.Marshal(b, m, deterministic) -} -func (m *CertificateConfig_SubjectConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_CertificateConfig_SubjectConfig.Merge(m, src) -} -func (m *CertificateConfig_SubjectConfig) XXX_Size() int { - return xxx_messageInfo_CertificateConfig_SubjectConfig.Size(m) -} -func (m *CertificateConfig_SubjectConfig) XXX_DiscardUnknown() { - xxx_messageInfo_CertificateConfig_SubjectConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_CertificateConfig_SubjectConfig proto.InternalMessageInfo - -func (m *CertificateConfig_SubjectConfig) GetSubject() *Subject { - if m != nil { - return m.Subject - } - return nil -} - -func (m *CertificateConfig_SubjectConfig) GetCommonName() string { - if m != nil { - return m.CommonName - } - return "" -} - -func (m *CertificateConfig_SubjectConfig) GetSubjectAltName() *SubjectAltNames { - if m != nil { - return m.SubjectAltName - } - return nil -} - -// A [CertificateDescription][google.cloud.security.privateca.v1alpha1.CertificateDescription] describes an X.509 certificate or CSR that has -// been issued, as an alternative to using ASN.1 / X.509. -type CertificateDescription struct { - // Describes some of the values in a certificate that are related to the - // subject and lifetime. - SubjectDescription *CertificateDescription_SubjectDescription `protobuf:"bytes,1,opt,name=subject_description,json=subjectDescription,proto3" json:"subject_description,omitempty"` - // Describes some of the technical fields in a certificate. - ConfigValues *ReusableConfigValues `protobuf:"bytes,2,opt,name=config_values,json=configValues,proto3" json:"config_values,omitempty"` - // The public key that corresponds to an issued certificate. - PublicKey *PublicKey `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` - // Provides a means of identifiying certificates that contain a particular - // public key, per https://tools.ietf.org/html/rfc5280#section-4.2.1.2. - SubjectKeyId *CertificateDescription_KeyId `protobuf:"bytes,4,opt,name=subject_key_id,json=subjectKeyId,proto3" json:"subject_key_id,omitempty"` - // Identifies the subject_key_id of the parent certificate, per - // https://tools.ietf.org/html/rfc5280#section-4.2.1.1 - AuthorityKeyId *CertificateDescription_KeyId `protobuf:"bytes,5,opt,name=authority_key_id,json=authorityKeyId,proto3" json:"authority_key_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CertificateDescription) Reset() { *m = CertificateDescription{} } -func (m *CertificateDescription) String() string { return proto.CompactTextString(m) } -func (*CertificateDescription) ProtoMessage() {} -func (*CertificateDescription) Descriptor() ([]byte, []int) { - return fileDescriptor_6299e860b09b0827, []int{8} -} - -func (m *CertificateDescription) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CertificateDescription.Unmarshal(m, b) -} -func (m *CertificateDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CertificateDescription.Marshal(b, m, deterministic) -} -func (m *CertificateDescription) XXX_Merge(src proto.Message) { - xxx_messageInfo_CertificateDescription.Merge(m, src) -} -func (m *CertificateDescription) XXX_Size() int { - return xxx_messageInfo_CertificateDescription.Size(m) -} -func (m *CertificateDescription) XXX_DiscardUnknown() { - xxx_messageInfo_CertificateDescription.DiscardUnknown(m) -} - -var xxx_messageInfo_CertificateDescription proto.InternalMessageInfo - -func (m *CertificateDescription) GetSubjectDescription() *CertificateDescription_SubjectDescription { - if m != nil { - return m.SubjectDescription - } - return nil -} - -func (m *CertificateDescription) GetConfigValues() *ReusableConfigValues { - if m != nil { - return m.ConfigValues - } - return nil -} - -func (m *CertificateDescription) GetPublicKey() *PublicKey { - if m != nil { - return m.PublicKey - } - return nil -} - -func (m *CertificateDescription) GetSubjectKeyId() *CertificateDescription_KeyId { - if m != nil { - return m.SubjectKeyId - } - return nil -} - -func (m *CertificateDescription) GetAuthorityKeyId() *CertificateDescription_KeyId { - if m != nil { - return m.AuthorityKeyId - } - return nil -} - -// These values describe fields in an issued X.509 certificate such as the -// distinguished name, subject alternative names, serial number, and lifetime. -type CertificateDescription_SubjectDescription struct { - // Contains distinguished name fields such as the location and organization. - Subject *Subject `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` - // The "common name" of the distinguished name. - CommonName string `protobuf:"bytes,2,opt,name=common_name,json=commonName,proto3" json:"common_name,omitempty"` - // The subject alternative name fields. - SubjectAltName *SubjectAltNames `protobuf:"bytes,3,opt,name=subject_alt_name,json=subjectAltName,proto3" json:"subject_alt_name,omitempty"` - // The serial number encoded in lowercase hexadecimal. - HexSerialNumber string `protobuf:"bytes,4,opt,name=hex_serial_number,json=hexSerialNumber,proto3" json:"hex_serial_number,omitempty"` - // For convenience, the actual lifetime of an issued certificate. - // Corresponds to 'not_after_time' - 'not_before_time'. - Lifetime *duration.Duration `protobuf:"bytes,5,opt,name=lifetime,proto3" json:"lifetime,omitempty"` - // The time at which the certificate becomes valid. - NotBeforeTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=not_before_time,json=notBeforeTime,proto3" json:"not_before_time,omitempty"` - // The time at which the certificate expires. - NotAfterTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=not_after_time,json=notAfterTime,proto3" json:"not_after_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CertificateDescription_SubjectDescription) Reset() { - *m = CertificateDescription_SubjectDescription{} -} -func (m *CertificateDescription_SubjectDescription) String() string { - return proto.CompactTextString(m) -} -func (*CertificateDescription_SubjectDescription) ProtoMessage() {} -func (*CertificateDescription_SubjectDescription) Descriptor() ([]byte, []int) { - return fileDescriptor_6299e860b09b0827, []int{8, 0} -} - -func (m *CertificateDescription_SubjectDescription) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CertificateDescription_SubjectDescription.Unmarshal(m, b) -} -func (m *CertificateDescription_SubjectDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CertificateDescription_SubjectDescription.Marshal(b, m, deterministic) -} -func (m *CertificateDescription_SubjectDescription) XXX_Merge(src proto.Message) { - xxx_messageInfo_CertificateDescription_SubjectDescription.Merge(m, src) -} -func (m *CertificateDescription_SubjectDescription) XXX_Size() int { - return xxx_messageInfo_CertificateDescription_SubjectDescription.Size(m) -} -func (m *CertificateDescription_SubjectDescription) XXX_DiscardUnknown() { - xxx_messageInfo_CertificateDescription_SubjectDescription.DiscardUnknown(m) -} - -var xxx_messageInfo_CertificateDescription_SubjectDescription proto.InternalMessageInfo - -func (m *CertificateDescription_SubjectDescription) GetSubject() *Subject { - if m != nil { - return m.Subject - } - return nil -} - -func (m *CertificateDescription_SubjectDescription) GetCommonName() string { - if m != nil { - return m.CommonName - } - return "" -} - -func (m *CertificateDescription_SubjectDescription) GetSubjectAltName() *SubjectAltNames { - if m != nil { - return m.SubjectAltName - } - return nil -} - -func (m *CertificateDescription_SubjectDescription) GetHexSerialNumber() string { - if m != nil { - return m.HexSerialNumber - } - return "" -} - -func (m *CertificateDescription_SubjectDescription) GetLifetime() *duration.Duration { - if m != nil { - return m.Lifetime - } - return nil -} - -func (m *CertificateDescription_SubjectDescription) GetNotBeforeTime() *timestamp.Timestamp { - if m != nil { - return m.NotBeforeTime - } - return nil -} - -func (m *CertificateDescription_SubjectDescription) GetNotAfterTime() *timestamp.Timestamp { - if m != nil { - return m.NotAfterTime - } - return nil -} - -// A KeyId identifies a specific public key, usually by hashing the public -// key. -type CertificateDescription_KeyId struct { - // Optional. The value of this KeyId encoded in lowercase hexadecimal. This is most - // likely the 160 bit SHA-1 hash of the public key. - KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CertificateDescription_KeyId) Reset() { *m = CertificateDescription_KeyId{} } -func (m *CertificateDescription_KeyId) String() string { return proto.CompactTextString(m) } -func (*CertificateDescription_KeyId) ProtoMessage() {} -func (*CertificateDescription_KeyId) Descriptor() ([]byte, []int) { - return fileDescriptor_6299e860b09b0827, []int{8, 1} -} - -func (m *CertificateDescription_KeyId) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CertificateDescription_KeyId.Unmarshal(m, b) -} -func (m *CertificateDescription_KeyId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CertificateDescription_KeyId.Marshal(b, m, deterministic) -} -func (m *CertificateDescription_KeyId) XXX_Merge(src proto.Message) { - xxx_messageInfo_CertificateDescription_KeyId.Merge(m, src) -} -func (m *CertificateDescription_KeyId) XXX_Size() int { - return xxx_messageInfo_CertificateDescription_KeyId.Size(m) -} -func (m *CertificateDescription_KeyId) XXX_DiscardUnknown() { - xxx_messageInfo_CertificateDescription_KeyId.DiscardUnknown(m) -} - -var xxx_messageInfo_CertificateDescription_KeyId proto.InternalMessageInfo - -func (m *CertificateDescription_KeyId) GetKeyId() string { - if m != nil { - return m.KeyId - } - return "" -} - -// An [ObjectId][google.cloud.security.privateca.v1alpha1.ObjectId] specifies an object identifier (OID). These provide context -// and describe types in ASN.1 messages. -type ObjectId struct { - // Required. The parts of an OID path. The most significant parts of the path come - // first. - ObjectIdPath []int32 `protobuf:"varint,1,rep,packed,name=object_id_path,json=objectIdPath,proto3" json:"object_id_path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ObjectId) Reset() { *m = ObjectId{} } -func (m *ObjectId) String() string { return proto.CompactTextString(m) } -func (*ObjectId) ProtoMessage() {} -func (*ObjectId) Descriptor() ([]byte, []int) { - return fileDescriptor_6299e860b09b0827, []int{9} -} - -func (m *ObjectId) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ObjectId.Unmarshal(m, b) -} -func (m *ObjectId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ObjectId.Marshal(b, m, deterministic) -} -func (m *ObjectId) XXX_Merge(src proto.Message) { - xxx_messageInfo_ObjectId.Merge(m, src) -} -func (m *ObjectId) XXX_Size() int { - return xxx_messageInfo_ObjectId.Size(m) -} -func (m *ObjectId) XXX_DiscardUnknown() { - xxx_messageInfo_ObjectId.DiscardUnknown(m) -} - -var xxx_messageInfo_ObjectId proto.InternalMessageInfo - -func (m *ObjectId) GetObjectIdPath() []int32 { - if m != nil { - return m.ObjectIdPath - } - return nil -} - -// An [X509Extension][google.cloud.security.privateca.v1alpha1.X509Extension] specifies an X.509 extension, which may be used in -// different parts of X.509 objects like certificates, CSRs, and CRLs. -type X509Extension struct { - // Required. The OID for this X.509 extension. - ObjectId *ObjectId `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` - // Required. Indicates whether or not this extension is critical (i.e., if the client - // does not know how to handle this extension, the client should consider this - // to be an error). - Critical bool `protobuf:"varint,2,opt,name=critical,proto3" json:"critical,omitempty"` - // Required. The value of this X.509 extension. - Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *X509Extension) Reset() { *m = X509Extension{} } -func (m *X509Extension) String() string { return proto.CompactTextString(m) } -func (*X509Extension) ProtoMessage() {} -func (*X509Extension) Descriptor() ([]byte, []int) { - return fileDescriptor_6299e860b09b0827, []int{10} -} - -func (m *X509Extension) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_X509Extension.Unmarshal(m, b) -} -func (m *X509Extension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_X509Extension.Marshal(b, m, deterministic) -} -func (m *X509Extension) XXX_Merge(src proto.Message) { - xxx_messageInfo_X509Extension.Merge(m, src) -} -func (m *X509Extension) XXX_Size() int { - return xxx_messageInfo_X509Extension.Size(m) -} -func (m *X509Extension) XXX_DiscardUnknown() { - xxx_messageInfo_X509Extension.DiscardUnknown(m) -} - -var xxx_messageInfo_X509Extension proto.InternalMessageInfo - -func (m *X509Extension) GetObjectId() *ObjectId { - if m != nil { - return m.ObjectId - } - return nil -} - -func (m *X509Extension) GetCritical() bool { - if m != nil { - return m.Critical - } - return false -} - -func (m *X509Extension) GetValue() []byte { - if m != nil { - return m.Value - } - return nil -} - -// A [KeyUsage][google.cloud.security.privateca.v1alpha1.KeyUsage] describes key usage values that may appear in an X.509 -// certificate. -type KeyUsage struct { - // Describes high-level ways in which a key may be used. - BaseKeyUsage *KeyUsage_KeyUsageOptions `protobuf:"bytes,1,opt,name=base_key_usage,json=baseKeyUsage,proto3" json:"base_key_usage,omitempty"` - // Detailed scenarios in which a key may be used. - ExtendedKeyUsage *KeyUsage_ExtendedKeyUsageOptions `protobuf:"bytes,2,opt,name=extended_key_usage,json=extendedKeyUsage,proto3" json:"extended_key_usage,omitempty"` - // Used to describe extended key usages that are not listed in the - // [KeyUsage.ExtendedKeyUsageOptions][google.cloud.security.privateca.v1alpha1.KeyUsage.ExtendedKeyUsageOptions] message. - UnknownExtendedKeyUsages []*ObjectId `protobuf:"bytes,3,rep,name=unknown_extended_key_usages,json=unknownExtendedKeyUsages,proto3" json:"unknown_extended_key_usages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *KeyUsage) Reset() { *m = KeyUsage{} } -func (m *KeyUsage) String() string { return proto.CompactTextString(m) } -func (*KeyUsage) ProtoMessage() {} -func (*KeyUsage) Descriptor() ([]byte, []int) { - return fileDescriptor_6299e860b09b0827, []int{11} -} - -func (m *KeyUsage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_KeyUsage.Unmarshal(m, b) -} -func (m *KeyUsage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_KeyUsage.Marshal(b, m, deterministic) -} -func (m *KeyUsage) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeyUsage.Merge(m, src) -} -func (m *KeyUsage) XXX_Size() int { - return xxx_messageInfo_KeyUsage.Size(m) -} -func (m *KeyUsage) XXX_DiscardUnknown() { - xxx_messageInfo_KeyUsage.DiscardUnknown(m) -} - -var xxx_messageInfo_KeyUsage proto.InternalMessageInfo - -func (m *KeyUsage) GetBaseKeyUsage() *KeyUsage_KeyUsageOptions { - if m != nil { - return m.BaseKeyUsage - } - return nil -} - -func (m *KeyUsage) GetExtendedKeyUsage() *KeyUsage_ExtendedKeyUsageOptions { - if m != nil { - return m.ExtendedKeyUsage - } - return nil -} - -func (m *KeyUsage) GetUnknownExtendedKeyUsages() []*ObjectId { - if m != nil { - return m.UnknownExtendedKeyUsages - } - return nil -} - -// [KeyUsage.KeyUsageOptions][google.cloud.security.privateca.v1alpha1.KeyUsage.KeyUsageOptions] corresponds to the key usage values -// described in https://tools.ietf.org/html/rfc5280#section-4.2.1.3. -type KeyUsage_KeyUsageOptions struct { - // The key may be used for digital signatures. - DigitalSignature bool `protobuf:"varint,1,opt,name=digital_signature,json=digitalSignature,proto3" json:"digital_signature,omitempty"` - // The key may be used for cryptographic commitments. Note that this may - // also be referred to as "non-repudiation". - ContentCommitment bool `protobuf:"varint,2,opt,name=content_commitment,json=contentCommitment,proto3" json:"content_commitment,omitempty"` - // The key may be used to encipher other keys. - KeyEncipherment bool `protobuf:"varint,3,opt,name=key_encipherment,json=keyEncipherment,proto3" json:"key_encipherment,omitempty"` - // The key may be used to encipher data. - DataEncipherment bool `protobuf:"varint,4,opt,name=data_encipherment,json=dataEncipherment,proto3" json:"data_encipherment,omitempty"` - // The key may be used in a key agreement protocol. - KeyAgreement bool `protobuf:"varint,5,opt,name=key_agreement,json=keyAgreement,proto3" json:"key_agreement,omitempty"` - // The key may be used to sign certificates. - CertSign bool `protobuf:"varint,6,opt,name=cert_sign,json=certSign,proto3" json:"cert_sign,omitempty"` - // The key may be used sign certificate revocation lists. - CrlSign bool `protobuf:"varint,7,opt,name=crl_sign,json=crlSign,proto3" json:"crl_sign,omitempty"` - // The key may be used to encipher only. - EncipherOnly bool `protobuf:"varint,8,opt,name=encipher_only,json=encipherOnly,proto3" json:"encipher_only,omitempty"` - // The key may be used to decipher only. - DecipherOnly bool `protobuf:"varint,9,opt,name=decipher_only,json=decipherOnly,proto3" json:"decipher_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *KeyUsage_KeyUsageOptions) Reset() { *m = KeyUsage_KeyUsageOptions{} } -func (m *KeyUsage_KeyUsageOptions) String() string { return proto.CompactTextString(m) } -func (*KeyUsage_KeyUsageOptions) ProtoMessage() {} -func (*KeyUsage_KeyUsageOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_6299e860b09b0827, []int{11, 0} -} - -func (m *KeyUsage_KeyUsageOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_KeyUsage_KeyUsageOptions.Unmarshal(m, b) -} -func (m *KeyUsage_KeyUsageOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_KeyUsage_KeyUsageOptions.Marshal(b, m, deterministic) -} -func (m *KeyUsage_KeyUsageOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeyUsage_KeyUsageOptions.Merge(m, src) -} -func (m *KeyUsage_KeyUsageOptions) XXX_Size() int { - return xxx_messageInfo_KeyUsage_KeyUsageOptions.Size(m) -} -func (m *KeyUsage_KeyUsageOptions) XXX_DiscardUnknown() { - xxx_messageInfo_KeyUsage_KeyUsageOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_KeyUsage_KeyUsageOptions proto.InternalMessageInfo - -func (m *KeyUsage_KeyUsageOptions) GetDigitalSignature() bool { - if m != nil { - return m.DigitalSignature - } - return false -} - -func (m *KeyUsage_KeyUsageOptions) GetContentCommitment() bool { - if m != nil { - return m.ContentCommitment - } - return false -} - -func (m *KeyUsage_KeyUsageOptions) GetKeyEncipherment() bool { - if m != nil { - return m.KeyEncipherment - } - return false -} - -func (m *KeyUsage_KeyUsageOptions) GetDataEncipherment() bool { - if m != nil { - return m.DataEncipherment - } - return false -} - -func (m *KeyUsage_KeyUsageOptions) GetKeyAgreement() bool { - if m != nil { - return m.KeyAgreement - } - return false -} - -func (m *KeyUsage_KeyUsageOptions) GetCertSign() bool { - if m != nil { - return m.CertSign - } - return false -} - -func (m *KeyUsage_KeyUsageOptions) GetCrlSign() bool { - if m != nil { - return m.CrlSign - } - return false -} - -func (m *KeyUsage_KeyUsageOptions) GetEncipherOnly() bool { - if m != nil { - return m.EncipherOnly - } - return false -} - -func (m *KeyUsage_KeyUsageOptions) GetDecipherOnly() bool { - if m != nil { - return m.DecipherOnly - } - return false -} - -// [KeyUsage.ExtendedKeyUsageOptions][google.cloud.security.privateca.v1alpha1.KeyUsage.ExtendedKeyUsageOptions] has fields that correspond to -// certain common OIDs that could be specified as an extended key usage value. -type KeyUsage_ExtendedKeyUsageOptions struct { - // Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as "TLS WWW - // server authentication", though regularly used for non-WWW TLS. - ServerAuth bool `protobuf:"varint,1,opt,name=server_auth,json=serverAuth,proto3" json:"server_auth,omitempty"` - // Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as "TLS WWW - // client authentication", though regularly used for non-WWW TLS. - ClientAuth bool `protobuf:"varint,2,opt,name=client_auth,json=clientAuth,proto3" json:"client_auth,omitempty"` - // Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as "Signing of - // downloadable executable code client authentication". - CodeSigning bool `protobuf:"varint,3,opt,name=code_signing,json=codeSigning,proto3" json:"code_signing,omitempty"` - // Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as "Email - // protection". - EmailProtection bool `protobuf:"varint,4,opt,name=email_protection,json=emailProtection,proto3" json:"email_protection,omitempty"` - // Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as "Binding - // the hash of an object to a time". - TimeStamping bool `protobuf:"varint,5,opt,name=time_stamping,json=timeStamping,proto3" json:"time_stamping,omitempty"` - // Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as "Signing - // OCSP responses". - OcspSigning bool `protobuf:"varint,6,opt,name=ocsp_signing,json=ocspSigning,proto3" json:"ocsp_signing,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *KeyUsage_ExtendedKeyUsageOptions) Reset() { *m = KeyUsage_ExtendedKeyUsageOptions{} } -func (m *KeyUsage_ExtendedKeyUsageOptions) String() string { return proto.CompactTextString(m) } -func (*KeyUsage_ExtendedKeyUsageOptions) ProtoMessage() {} -func (*KeyUsage_ExtendedKeyUsageOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_6299e860b09b0827, []int{11, 1} -} - -func (m *KeyUsage_ExtendedKeyUsageOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_KeyUsage_ExtendedKeyUsageOptions.Unmarshal(m, b) -} -func (m *KeyUsage_ExtendedKeyUsageOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_KeyUsage_ExtendedKeyUsageOptions.Marshal(b, m, deterministic) -} -func (m *KeyUsage_ExtendedKeyUsageOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeyUsage_ExtendedKeyUsageOptions.Merge(m, src) -} -func (m *KeyUsage_ExtendedKeyUsageOptions) XXX_Size() int { - return xxx_messageInfo_KeyUsage_ExtendedKeyUsageOptions.Size(m) -} -func (m *KeyUsage_ExtendedKeyUsageOptions) XXX_DiscardUnknown() { - xxx_messageInfo_KeyUsage_ExtendedKeyUsageOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_KeyUsage_ExtendedKeyUsageOptions proto.InternalMessageInfo - -func (m *KeyUsage_ExtendedKeyUsageOptions) GetServerAuth() bool { - if m != nil { - return m.ServerAuth - } - return false -} - -func (m *KeyUsage_ExtendedKeyUsageOptions) GetClientAuth() bool { - if m != nil { - return m.ClientAuth - } - return false -} - -func (m *KeyUsage_ExtendedKeyUsageOptions) GetCodeSigning() bool { - if m != nil { - return m.CodeSigning - } - return false -} - -func (m *KeyUsage_ExtendedKeyUsageOptions) GetEmailProtection() bool { - if m != nil { - return m.EmailProtection - } - return false -} - -func (m *KeyUsage_ExtendedKeyUsageOptions) GetTimeStamping() bool { - if m != nil { - return m.TimeStamping - } - return false -} - -func (m *KeyUsage_ExtendedKeyUsageOptions) GetOcspSigning() bool { - if m != nil { - return m.OcspSigning - } - return false -} - -// [Subject][google.cloud.security.privateca.v1alpha1.Subject] describes parts of a distinguished name that, in turn, -// describes the subject of the certificate. -type Subject struct { - // The country code of the subject. - CountryCode string `protobuf:"bytes,1,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` - // The organization of the subject. - Organization string `protobuf:"bytes,2,opt,name=organization,proto3" json:"organization,omitempty"` - // The organizational_unit of the subject. - OrganizationalUnit string `protobuf:"bytes,3,opt,name=organizational_unit,json=organizationalUnit,proto3" json:"organizational_unit,omitempty"` - // The locality or city of the subject. - Locality string `protobuf:"bytes,4,opt,name=locality,proto3" json:"locality,omitempty"` - // The province, territory, or regional state of the subject. - Province string `protobuf:"bytes,5,opt,name=province,proto3" json:"province,omitempty"` - // The street address of the subject. - StreetAddress string `protobuf:"bytes,6,opt,name=street_address,json=streetAddress,proto3" json:"street_address,omitempty"` - // The postal code of the subject. - PostalCode string `protobuf:"bytes,7,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Subject) Reset() { *m = Subject{} } -func (m *Subject) String() string { return proto.CompactTextString(m) } -func (*Subject) ProtoMessage() {} -func (*Subject) Descriptor() ([]byte, []int) { - return fileDescriptor_6299e860b09b0827, []int{12} -} - -func (m *Subject) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Subject.Unmarshal(m, b) -} -func (m *Subject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Subject.Marshal(b, m, deterministic) -} -func (m *Subject) XXX_Merge(src proto.Message) { - xxx_messageInfo_Subject.Merge(m, src) -} -func (m *Subject) XXX_Size() int { - return xxx_messageInfo_Subject.Size(m) -} -func (m *Subject) XXX_DiscardUnknown() { - xxx_messageInfo_Subject.DiscardUnknown(m) -} - -var xxx_messageInfo_Subject proto.InternalMessageInfo - -func (m *Subject) GetCountryCode() string { - if m != nil { - return m.CountryCode - } - return "" -} - -func (m *Subject) GetOrganization() string { - if m != nil { - return m.Organization - } - return "" -} - -func (m *Subject) GetOrganizationalUnit() string { - if m != nil { - return m.OrganizationalUnit - } - return "" -} - -func (m *Subject) GetLocality() string { - if m != nil { - return m.Locality - } - return "" -} - -func (m *Subject) GetProvince() string { - if m != nil { - return m.Province - } - return "" -} - -func (m *Subject) GetStreetAddress() string { - if m != nil { - return m.StreetAddress - } - return "" -} - -func (m *Subject) GetPostalCode() string { - if m != nil { - return m.PostalCode - } - return "" -} - -// [SubjectAltNames][google.cloud.security.privateca.v1alpha1.SubjectAltNames] corresponds to a more modern way of listing what -// the asserted identity is in a certificate (i.e., compared to the "common -// name" in the distinguished name). -type SubjectAltNames struct { - // Contains only valid, fully-qualified host names. - DnsNames []string `protobuf:"bytes,1,rep,name=dns_names,json=dnsNames,proto3" json:"dns_names,omitempty"` - // Contains only valid RFC 3986 URIs. - Uris []string `protobuf:"bytes,2,rep,name=uris,proto3" json:"uris,omitempty"` - // Contains only valid RFC 2822 E-mail addresses. - EmailAddresses []string `protobuf:"bytes,3,rep,name=email_addresses,json=emailAddresses,proto3" json:"email_addresses,omitempty"` - // Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses. - IpAddresses []string `protobuf:"bytes,4,rep,name=ip_addresses,json=ipAddresses,proto3" json:"ip_addresses,omitempty"` - // Contains additional subject alternative name values. - CustomSans []*X509Extension `protobuf:"bytes,5,rep,name=custom_sans,json=customSans,proto3" json:"custom_sans,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SubjectAltNames) Reset() { *m = SubjectAltNames{} } -func (m *SubjectAltNames) String() string { return proto.CompactTextString(m) } -func (*SubjectAltNames) ProtoMessage() {} -func (*SubjectAltNames) Descriptor() ([]byte, []int) { - return fileDescriptor_6299e860b09b0827, []int{13} -} - -func (m *SubjectAltNames) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubjectAltNames.Unmarshal(m, b) -} -func (m *SubjectAltNames) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubjectAltNames.Marshal(b, m, deterministic) -} -func (m *SubjectAltNames) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubjectAltNames.Merge(m, src) -} -func (m *SubjectAltNames) XXX_Size() int { - return xxx_messageInfo_SubjectAltNames.Size(m) -} -func (m *SubjectAltNames) XXX_DiscardUnknown() { - xxx_messageInfo_SubjectAltNames.DiscardUnknown(m) -} - -var xxx_messageInfo_SubjectAltNames proto.InternalMessageInfo - -func (m *SubjectAltNames) GetDnsNames() []string { - if m != nil { - return m.DnsNames - } - return nil -} - -func (m *SubjectAltNames) GetUris() []string { - if m != nil { - return m.Uris - } - return nil -} - -func (m *SubjectAltNames) GetEmailAddresses() []string { - if m != nil { - return m.EmailAddresses - } - return nil -} - -func (m *SubjectAltNames) GetIpAddresses() []string { - if m != nil { - return m.IpAddresses - } - return nil -} - -func (m *SubjectAltNames) GetCustomSans() []*X509Extension { - if m != nil { - return m.CustomSans - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.security.privateca.v1alpha1.RevocationReason", RevocationReason_name, RevocationReason_value) - proto.RegisterEnum("google.cloud.security.privateca.v1alpha1.CertificateAuthority_Type", CertificateAuthority_Type_name, CertificateAuthority_Type_value) - proto.RegisterEnum("google.cloud.security.privateca.v1alpha1.CertificateAuthority_State", CertificateAuthority_State_name, CertificateAuthority_State_value) - proto.RegisterEnum("google.cloud.security.privateca.v1alpha1.CertificateRevocationList_State", CertificateRevocationList_State_name, CertificateRevocationList_State_value) - proto.RegisterEnum("google.cloud.security.privateca.v1alpha1.PublicKey_KeyType", PublicKey_KeyType_name, PublicKey_KeyType_value) - proto.RegisterType((*CertificateAuthority)(nil), "google.cloud.security.privateca.v1alpha1.CertificateAuthority") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.security.privateca.v1alpha1.CertificateAuthority.LabelsEntry") - proto.RegisterType((*CertificateAuthority_IssuingOptions)(nil), "google.cloud.security.privateca.v1alpha1.CertificateAuthority.IssuingOptions") - proto.RegisterType((*CertificateAuthority_CertificateAuthorityPolicy)(nil), "google.cloud.security.privateca.v1alpha1.CertificateAuthority.CertificateAuthorityPolicy") - proto.RegisterType((*CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList)(nil), "google.cloud.security.privateca.v1alpha1.CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList") - proto.RegisterType((*CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames)(nil), "google.cloud.security.privateca.v1alpha1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames") - proto.RegisterType((*CertificateAuthority_AccessUrls)(nil), "google.cloud.security.privateca.v1alpha1.CertificateAuthority.AccessUrls") - proto.RegisterType((*CertificateRevocationList)(nil), "google.cloud.security.privateca.v1alpha1.CertificateRevocationList") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.security.privateca.v1alpha1.CertificateRevocationList.LabelsEntry") - proto.RegisterType((*CertificateRevocationList_RevokedCertificate)(nil), "google.cloud.security.privateca.v1alpha1.CertificateRevocationList.RevokedCertificate") - proto.RegisterType((*Certificate)(nil), "google.cloud.security.privateca.v1alpha1.Certificate") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.security.privateca.v1alpha1.Certificate.LabelsEntry") - proto.RegisterType((*Certificate_RevocationDetails)(nil), "google.cloud.security.privateca.v1alpha1.Certificate.RevocationDetails") - proto.RegisterType((*ReusableConfig)(nil), "google.cloud.security.privateca.v1alpha1.ReusableConfig") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.security.privateca.v1alpha1.ReusableConfig.LabelsEntry") - proto.RegisterType((*ReusableConfigValues)(nil), "google.cloud.security.privateca.v1alpha1.ReusableConfigValues") - proto.RegisterType((*ReusableConfigValues_CaOptions)(nil), "google.cloud.security.privateca.v1alpha1.ReusableConfigValues.CaOptions") - proto.RegisterType((*ReusableConfigValues_AuthorityInformationAccess)(nil), "google.cloud.security.privateca.v1alpha1.ReusableConfigValues.AuthorityInformationAccess") - proto.RegisterType((*ReusableConfigWrapper)(nil), "google.cloud.security.privateca.v1alpha1.ReusableConfigWrapper") - proto.RegisterType((*PublicKey)(nil), "google.cloud.security.privateca.v1alpha1.PublicKey") - proto.RegisterType((*CertificateConfig)(nil), "google.cloud.security.privateca.v1alpha1.CertificateConfig") - proto.RegisterType((*CertificateConfig_SubjectConfig)(nil), "google.cloud.security.privateca.v1alpha1.CertificateConfig.SubjectConfig") - proto.RegisterType((*CertificateDescription)(nil), "google.cloud.security.privateca.v1alpha1.CertificateDescription") - proto.RegisterType((*CertificateDescription_SubjectDescription)(nil), "google.cloud.security.privateca.v1alpha1.CertificateDescription.SubjectDescription") - proto.RegisterType((*CertificateDescription_KeyId)(nil), "google.cloud.security.privateca.v1alpha1.CertificateDescription.KeyId") - proto.RegisterType((*ObjectId)(nil), "google.cloud.security.privateca.v1alpha1.ObjectId") - proto.RegisterType((*X509Extension)(nil), "google.cloud.security.privateca.v1alpha1.X509Extension") - proto.RegisterType((*KeyUsage)(nil), "google.cloud.security.privateca.v1alpha1.KeyUsage") - proto.RegisterType((*KeyUsage_KeyUsageOptions)(nil), "google.cloud.security.privateca.v1alpha1.KeyUsage.KeyUsageOptions") - proto.RegisterType((*KeyUsage_ExtendedKeyUsageOptions)(nil), "google.cloud.security.privateca.v1alpha1.KeyUsage.ExtendedKeyUsageOptions") - proto.RegisterType((*Subject)(nil), "google.cloud.security.privateca.v1alpha1.Subject") - proto.RegisterType((*SubjectAltNames)(nil), "google.cloud.security.privateca.v1alpha1.SubjectAltNames") -} - -func init() { - proto.RegisterFile("google/cloud/security/privateca/v1alpha1/resources.proto", fileDescriptor_6299e860b09b0827) -} - -var fileDescriptor_6299e860b09b0827 = []byte{ - // 3486 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x5a, 0x4d, 0x70, 0x1b, 0x47, - 0x76, 0xd6, 0x80, 0x04, 0x09, 0x3c, 0x80, 0x20, 0xd8, 0xfc, 0x03, 0x21, 0x45, 0xa2, 0x20, 0x39, - 0x96, 0x1d, 0x1b, 0x88, 0xe8, 0x28, 0xb6, 0xe4, 0x8a, 0x6d, 0x10, 0x18, 0x89, 0x30, 0x29, 0x12, - 0x19, 0x80, 0x94, 0xe5, 0xa4, 0x32, 0xd5, 0x9c, 0x69, 0x82, 0x13, 0x0e, 0x66, 0xa0, 0xe9, 0x01, - 0x45, 0x44, 0x25, 0x57, 0xa5, 0x9c, 0x94, 0x0f, 0x29, 0x27, 0x39, 0x3a, 0x87, 0x54, 0x25, 0x39, - 0xe4, 0x90, 0xaa, 0x54, 0xe5, 0x96, 0xdb, 0xee, 0xc5, 0xe5, 0xda, 0xf2, 0x69, 0x2f, 0x7b, 0xd8, - 0x9b, 0x8f, 0x5b, 0xaa, 0xbd, 0xec, 0x6d, 0x8f, 0x5b, 0xfd, 0x33, 0x83, 0x01, 0x48, 0x96, 0x48, - 0x82, 0xba, 0x61, 0x5e, 0xbf, 0x7e, 0xef, 0xf5, 0xeb, 0xd7, 0x5f, 0xbf, 0xf7, 0x1a, 0xf0, 0x51, - 0xcb, 0x75, 0x5b, 0x36, 0x29, 0x19, 0xb6, 0xdb, 0x35, 0x4b, 0x94, 0x18, 0x5d, 0xcf, 0xf2, 0x7b, - 0xa5, 0x8e, 0x67, 0x1d, 0x62, 0x9f, 0x18, 0xb8, 0x74, 0x78, 0x17, 0xdb, 0x9d, 0x7d, 0x7c, 0xb7, - 0xe4, 0x11, 0xea, 0x76, 0x3d, 0x83, 0xd0, 0x62, 0xc7, 0x73, 0x7d, 0x17, 0xdd, 0x11, 0x33, 0x8b, - 0x7c, 0x66, 0x31, 0x98, 0x59, 0x0c, 0x67, 0x16, 0x83, 0x99, 0xf9, 0x1b, 0x52, 0x07, 0xee, 0x58, - 0xa5, 0x3d, 0x8b, 0xd8, 0xa6, 0xbe, 0x4b, 0xf6, 0xf1, 0xa1, 0xe5, 0x7a, 0x42, 0x54, 0x7e, 0x29, - 0xc2, 0x10, 0xa8, 0x91, 0x43, 0xd7, 0xe5, 0x10, 0xff, 0xda, 0xed, 0xee, 0x95, 0xcc, 0xae, 0x87, - 0x7d, 0xcb, 0x75, 0xe4, 0xf8, 0x8d, 0xe1, 0x71, 0xdf, 0x6a, 0x13, 0xea, 0xe3, 0x76, 0xe7, 0x34, - 0x01, 0xcf, 0x3d, 0xdc, 0xe9, 0x10, 0x4f, 0x2e, 0x23, 0x7f, 0x2d, 0xa2, 0x1b, 0x3b, 0x8e, 0xeb, - 0x73, 0xe9, 0x72, 0xb4, 0xf0, 0xaf, 0x4b, 0x30, 0x57, 0x21, 0x9e, 0x6f, 0xed, 0x59, 0x06, 0xf6, - 0x49, 0xb9, 0xeb, 0xef, 0xbb, 0x6c, 0x99, 0x68, 0x11, 0xc6, 0x1d, 0xdc, 0x26, 0x39, 0x65, 0x59, - 0xb9, 0x93, 0x5c, 0x1d, 0xfb, 0xa9, 0x3c, 0xa6, 0x71, 0x02, 0xfa, 0x6b, 0x18, 0xf7, 0x7b, 0x1d, - 0x92, 0x8b, 0x2d, 0x2b, 0x77, 0x32, 0x2b, 0x95, 0xe2, 0x59, 0xbd, 0x54, 0x3c, 0x49, 0x4d, 0xb1, - 0xd9, 0xeb, 0x10, 0x26, 0x3d, 0xae, 0x71, 0xa9, 0xe8, 0x0b, 0x98, 0x30, 0x5c, 0x67, 0xcf, 0x6a, - 0xe5, 0xc6, 0x96, 0x95, 0x3b, 0xa9, 0x95, 0x8f, 0x2f, 0x24, 0xbf, 0xc2, 0x45, 0x08, 0xb9, 0x52, - 0x1e, 0x7a, 0x00, 0x09, 0xdb, 0xda, 0x23, 0xcc, 0x7d, 0xb9, 0x71, 0x2e, 0x7b, 0x29, 0x90, 0x1d, - 0xb8, 0xae, 0x58, 0x95, 0xbe, 0x67, 0x33, 0x63, 0x5a, 0xc8, 0x8f, 0xee, 0xc3, 0x3c, 0xd7, 0xaf, - 0x1f, 0xb4, 0xa9, 0x7e, 0x40, 0x7a, 0xfa, 0x21, 0xf1, 0xa8, 0xe5, 0x3a, 0xb9, 0x38, 0xf7, 0xce, - 0xc4, 0x4f, 0xe5, 0x38, 0x9b, 0x80, 0x38, 0xd3, 0x7a, 0x9b, 0xae, 0x93, 0xde, 0x8e, 0xe0, 0x40, - 0xdf, 0x2a, 0x80, 0x8c, 0xbe, 0x65, 0x7a, 0xc7, 0xb5, 0x2d, 0xa3, 0x97, 0x9b, 0xe0, 0x16, 0x3c, - 0x1d, 0xd1, 0x7b, 0x27, 0x11, 0xeb, 0x5c, 0x01, 0x5b, 0x81, 0xa2, 0xcd, 0x44, 0x34, 0x0b, 0x3a, - 0x7a, 0x01, 0xd3, 0x16, 0xa5, 0x5d, 0xcb, 0x69, 0xe9, 0x6e, 0x87, 0x47, 0x42, 0x6e, 0x92, 0xdb, - 0xf2, 0x78, 0x44, 0x5b, 0x6a, 0x42, 0xea, 0x96, 0x10, 0x2a, 0xf4, 0x67, 0xac, 0x01, 0x22, 0xfa, - 0x73, 0x98, 0xef, 0x90, 0xb6, 0xce, 0xa8, 0xc4, 0xd3, 0x99, 0x71, 0xba, 0xb1, 0x8f, 0x2d, 0x27, - 0x97, 0x58, 0x1e, 0x13, 0x51, 0xa6, 0x68, 0xa8, 0x43, 0xda, 0x35, 0xce, 0xc0, 0xd4, 0x54, 0xd8, - 0x30, 0xd2, 0x21, 0x4e, 0x7d, 0xec, 0x93, 0x5c, 0x92, 0x07, 0x5d, 0x75, 0x44, 0x53, 0x1b, 0x4c, - 0x96, 0x88, 0x69, 0x21, 0x17, 0x5d, 0x87, 0x04, 0x33, 0x8c, 0x59, 0x94, 0x83, 0x7e, 0xc4, 0x4f, - 0x76, 0x48, 0x9b, 0x49, 0x40, 0x5f, 0x2b, 0x90, 0x37, 0xb0, 0x1e, 0xdd, 0x48, 0x93, 0x50, 0xc3, - 0xb3, 0xf8, 0xc2, 0x72, 0x29, 0xee, 0xc1, 0xcf, 0x2e, 0x64, 0x56, 0xb5, 0x2f, 0x47, 0x28, 0xcd, - 0x19, 0xf8, 0xe4, 0x61, 0xf4, 0x16, 0x40, 0xcb, 0xa0, 0xfa, 0x6e, 0xd7, 0x38, 0x20, 0x7e, 0x2e, - 0x3d, 0x10, 0x7b, 0xc9, 0x96, 0x41, 0x57, 0xf9, 0x00, 0x72, 0x21, 0x85, 0x0d, 0x83, 0x50, 0xaa, - 0x77, 0x3d, 0x9b, 0xe6, 0xa6, 0xb8, 0x71, 0xb5, 0x11, 0x7d, 0x56, 0xe6, 0x12, 0xb7, 0x3d, 0x9b, - 0x0a, 0x2b, 0x01, 0x87, 0x04, 0xf4, 0x19, 0xa4, 0x0c, 0x8f, 0x30, 0xa7, 0xf0, 0xd3, 0x95, 0xe1, - 0x0a, 0xf3, 0xc7, 0x4e, 0x57, 0x33, 0x40, 0x2e, 0x29, 0x41, 0xcc, 0x61, 0x54, 0x26, 0xa1, 0xdb, - 0x31, 0x43, 0x09, 0xd3, 0x67, 0x94, 0x20, 0xe6, 0x70, 0x09, 0x55, 0x98, 0x32, 0x89, 0x4d, 0x98, - 0x9f, 0x84, 0x8c, 0x99, 0xb3, 0xc9, 0x48, 0x07, 0xb3, 0xb8, 0x94, 0x16, 0x4c, 0xd8, 0x78, 0x97, - 0xd8, 0x34, 0x97, 0x5d, 0x1e, 0xbb, 0x93, 0x5a, 0xf9, 0x7c, 0x44, 0xaf, 0x6d, 0x70, 0x61, 0xaa, - 0xe3, 0x7b, 0xf2, 0x44, 0x4a, 0xf1, 0xf9, 0xaf, 0x20, 0x33, 0x78, 0x60, 0xd0, 0x0a, 0xcc, 0x5a, - 0x8e, 0x61, 0x77, 0x4d, 0xa2, 0xcb, 0x48, 0x63, 0xdb, 0xc7, 0xf1, 0x37, 0x21, 0xf0, 0x28, 0x2b, - 0xc7, 0x2b, 0x3c, 0x3e, 0xb6, 0x3d, 0x1b, 0x7d, 0x04, 0x0b, 0xe1, 0x1c, 0xcf, 0xd6, 0xfb, 0xbb, - 0xce, 0xd1, 0x59, 0x4e, 0x0b, 0xc4, 0x56, 0x3c, 0x3b, 0xdc, 0xc4, 0xfc, 0xff, 0x27, 0x21, 0x7f, - 0x3a, 0x7a, 0xa0, 0xff, 0x52, 0x60, 0x16, 0xdb, 0xb6, 0xfb, 0x9c, 0x98, 0xba, 0xc0, 0x4f, 0xdd, - 0xb6, 0xa8, 0xcf, 0xf1, 0x2e, 0xb5, 0x72, 0xf0, 0xc6, 0x60, 0xab, 0x58, 0x16, 0x4a, 0x05, 0x80, - 0x6f, 0x58, 0xd4, 0xe7, 0x6e, 0x5b, 0xbb, 0xa2, 0xcd, 0xe0, 0xe1, 0x11, 0xf4, 0x15, 0x2c, 0xba, - 0x87, 0xc4, 0x7b, 0xee, 0x59, 0x3e, 0x09, 0xac, 0x3c, 0xc4, 0x76, 0x97, 0x50, 0x09, 0xaf, 0x9f, - 0x9e, 0xdd, 0x4e, 0x8d, 0x74, 0x29, 0xde, 0xb5, 0xe5, 0xcd, 0xf1, 0x44, 0x5c, 0xa1, 0x81, 0xee, - 0xf9, 0x50, 0x8d, 0x18, 0xde, 0xe1, 0x4a, 0xd0, 0x3f, 0x2a, 0x70, 0x2b, 0x70, 0x92, 0xed, 0x1a, - 0xe2, 0x5e, 0xd5, 0xb1, 0x63, 0xea, 0xae, 0xd7, 0xc2, 0x8e, 0xf5, 0x77, 0x82, 0x92, 0x8b, 0xf1, - 0x50, 0xba, 0x7b, 0x76, 0x63, 0x1a, 0xdd, 0xdd, 0xbf, 0x25, 0x86, 0x58, 0xba, 0xb6, 0x2c, 0x55, - 0x6c, 0x04, 0x1a, 0xca, 0x8e, 0xb9, 0x15, 0x95, 0x8f, 0xee, 0xc1, 0x5c, 0x7f, 0xaf, 0xda, 0x6d, - 0xd7, 0xd1, 0xd9, 0x45, 0xcd, 0x70, 0xbd, 0x0f, 0xaa, 0xa1, 0xf7, 0xd8, 0xf8, 0x26, 0x1b, 0x46, - 0xdf, 0x29, 0x90, 0x0e, 0xe6, 0x51, 0xec, 0xd0, 0x5c, 0x82, 0x3b, 0xad, 0xf3, 0xc6, 0x37, 0x57, - 0x2e, 0xaf, 0x6c, 0xfb, 0xdc, 0x10, 0x61, 0x61, 0x4a, 0x9a, 0xd2, 0xc0, 0x0e, 0x45, 0x35, 0xc8, - 0xb6, 0xf1, 0x91, 0xd5, 0xee, 0xb6, 0xf5, 0x73, 0xdd, 0xd9, 0x8a, 0x36, 0x2d, 0xe7, 0x6d, 0xc8, - 0x69, 0xf9, 0x6f, 0x15, 0x98, 0x39, 0x16, 0x54, 0xe8, 0x08, 0xe6, 0x87, 0xc2, 0x5b, 0x06, 0x8e, - 0xc2, 0xf7, 0xea, 0x32, 0x02, 0x27, 0xa6, 0xcd, 0x0e, 0x84, 0xac, 0x08, 0x9a, 0xfc, 0xff, 0xc6, - 0x60, 0xe1, 0x64, 0x3f, 0xa0, 0x77, 0x21, 0x08, 0x72, 0xdd, 0x74, 0xa8, 0xdc, 0x44, 0x66, 0x50, - 0x52, 0x9b, 0x96, 0x03, 0x55, 0x87, 0x0a, 0xde, 0x9b, 0xfd, 0xbd, 0xeb, 0x7a, 0x96, 0x88, 0xb1, - 0x64, 0xe8, 0xc4, 0x6d, 0xcf, 0x62, 0x97, 0xed, 0x62, 0xc0, 0x42, 0xda, 0xd8, 0xb2, 0x75, 0x6c, - 0x9a, 0x1e, 0xa1, 0x94, 0xd0, 0xdc, 0x18, 0xe7, 0x0e, 0x5c, 0xa0, 0xb2, 0xd1, 0x72, 0x30, 0x88, - 0x6e, 0x40, 0x20, 0x46, 0xb7, 0x3a, 0x34, 0x37, 0xce, 0x79, 0x41, 0x92, 0x6a, 0x1d, 0x8a, 0x3e, - 0x85, 0x6b, 0xfc, 0x4b, 0x6f, 0xd9, 0xee, 0xee, 0x2e, 0xcb, 0x24, 0x98, 0xb9, 0xcf, 0x2d, 0xdb, - 0x34, 0xb0, 0x67, 0x52, 0x0e, 0x12, 0x09, 0x6d, 0x89, 0xf3, 0x3c, 0x92, 0x2c, 0x55, 0x87, 0x3e, - 0x09, 0x18, 0xc2, 0x85, 0xea, 0x46, 0x97, 0xfa, 0x6e, 0x5b, 0x44, 0xdf, 0x04, 0x9f, 0x25, 0x16, - 0x5a, 0xe1, 0x74, 0x16, 0x0a, 0xab, 0xd3, 0x30, 0x25, 0x77, 0x48, 0x64, 0x4e, 0xf9, 0x36, 0x40, - 0xff, 0x2e, 0x42, 0xf7, 0x61, 0x69, 0xe8, 0x5e, 0x8e, 0x80, 0x20, 0xcf, 0x5d, 0xb5, 0x85, 0x81, - 0xfb, 0x34, 0x9c, 0x8b, 0x6e, 0x43, 0xe6, 0x04, 0xd0, 0x4c, 0x6a, 0x69, 0x23, 0x0a, 0x94, 0xf7, - 0x21, 0x15, 0x01, 0x71, 0x94, 0x85, 0xb1, 0x03, 0xd2, 0x93, 0x92, 0xd9, 0x4f, 0x34, 0x07, 0x71, - 0x1e, 0x3b, 0x72, 0xb6, 0xf8, 0x78, 0x10, 0xfb, 0x48, 0x29, 0x7c, 0x02, 0xe3, 0x2c, 0xbd, 0x45, - 0x73, 0x90, 0x6d, 0x3e, 0xad, 0xab, 0xfa, 0xf6, 0x66, 0xa3, 0xae, 0x56, 0x6a, 0x0f, 0x6b, 0x6a, - 0x35, 0x7b, 0x05, 0x4d, 0x43, 0xaa, 0xa1, 0x6e, 0x3c, 0xd4, 0x1b, 0xb5, 0x47, 0x9b, 0x6a, 0x35, - 0xab, 0x70, 0xc2, 0xf6, 0xea, 0x96, 0x56, 0xad, 0x6d, 0x96, 0x9b, 0x6a, 0x36, 0x56, 0x68, 0x41, - 0x9c, 0x67, 0x2a, 0x68, 0x1e, 0x66, 0x1a, 0xcd, 0x72, 0x73, 0x58, 0x42, 0x0a, 0x26, 0xd5, 0xcd, - 0xf2, 0xea, 0x06, 0x9f, 0x9d, 0x86, 0x44, 0xb5, 0xd6, 0x10, 0x5f, 0x31, 0xb4, 0x00, 0xa8, 0xae, - 0x6e, 0x56, 0x6b, 0x9b, 0x8f, 0xf4, 0x72, 0xa5, 0x59, 0xdb, 0x29, 0x37, 0x6b, 0x5b, 0x9b, 0xd9, - 0x31, 0x66, 0x4a, 0x40, 0xaf, 0xaa, 0x1b, 0x2a, 0xa7, 0x8e, 0x3f, 0xf8, 0x27, 0xe5, 0x55, 0xf9, - 0x1b, 0x05, 0xde, 0xef, 0x87, 0xb7, 0x08, 0x7f, 0xdc, 0xb1, 0x68, 0xd1, 0x70, 0xdb, 0xa5, 0x13, - 0x2b, 0x84, 0x9d, 0x8e, 0xe7, 0xb2, 0xf8, 0xa5, 0xa5, 0x17, 0xf2, 0xd7, 0xcb, 0x52, 0x08, 0x83, - 0xa5, 0x17, 0xc1, 0xcf, 0x97, 0x25, 0xe3, 0xf8, 0x6c, 0x8b, 0xd0, 0xd2, 0x8b, 0x81, 0x5d, 0x0b, - 0xc4, 0xbe, 0x2c, 0x7c, 0x97, 0x84, 0xa5, 0x88, 0x42, 0x8d, 0x1c, 0x4a, 0x49, 0xfc, 0xe4, 0x9e, - 0x5a, 0x97, 0xbc, 0x07, 0xd3, 0x94, 0x3c, 0xeb, 0x12, 0xc7, 0x20, 0xba, 0xd3, 0x6d, 0xef, 0x12, - 0x8f, 0xef, 0xc8, 0x98, 0xe0, 0xc9, 0x04, 0x63, 0x9b, 0x7c, 0x08, 0xfd, 0xb3, 0x02, 0x73, 0x1e, - 0x39, 0x74, 0x0f, 0x18, 0x02, 0xf4, 0x95, 0x89, 0xa3, 0x91, 0x5a, 0xd9, 0xb9, 0x10, 0x08, 0x0e, - 0x9a, 0x5a, 0xd4, 0x84, 0xfc, 0x08, 0x83, 0xb0, 0x65, 0xd6, 0x3b, 0x36, 0x40, 0xd1, 0x35, 0x98, - 0xe4, 0x19, 0xa8, 0x67, 0x73, 0xa4, 0x93, 0x4b, 0x9b, 0x60, 0x09, 0xa8, 0x67, 0xa3, 0x02, 0x40, - 0x24, 0x4e, 0xe3, 0x7d, 0x86, 0x64, 0x98, 0x86, 0x21, 0x33, 0x48, 0x92, 0x27, 0x78, 0x92, 0x5c, - 0xbb, 0x8c, 0x25, 0x1c, 0xcf, 0x94, 0x87, 0x72, 0xbd, 0xc9, 0x91, 0x73, 0xbd, 0xc4, 0xf9, 0x73, - 0x3d, 0x3b, 0xcc, 0xd2, 0x92, 0x7c, 0xb7, 0xb6, 0x2e, 0x63, 0xa9, 0xa7, 0xa6, 0x6a, 0xdf, 0x2b, - 0x80, 0x8e, 0x6f, 0x25, 0x5a, 0x86, 0x54, 0x24, 0x70, 0x24, 0x22, 0x44, 0x49, 0xe8, 0x16, 0x4c, - 0x51, 0xe2, 0x59, 0xd8, 0x8e, 0xc6, 0x63, 0x52, 0x4b, 0x0b, 0xa2, 0x0c, 0xc4, 0x16, 0xcc, 0x78, - 0xa1, 0x21, 0xba, 0x47, 0x30, 0x75, 0x1d, 0x5e, 0xfb, 0x66, 0x56, 0x1e, 0x9c, 0xe7, 0x16, 0x0a, - 0x44, 0x68, 0x5c, 0x82, 0x96, 0xf5, 0x86, 0x28, 0xa3, 0x00, 0xd9, 0x83, 0xd7, 0x00, 0x11, 0xc0, - 0x04, 0x47, 0x19, 0x35, 0xab, 0xa0, 0x0c, 0x40, 0x63, 0xbb, 0xae, 0x6a, 0x0d, 0xb5, 0xca, 0x90, - 0xe8, 0xc1, 0x8f, 0xca, 0xab, 0xf2, 0x0f, 0x0a, 0xac, 0x9c, 0x05, 0x5b, 0x86, 0x8e, 0xfa, 0xbf, - 0x28, 0x6f, 0x06, 0x61, 0xa2, 0xec, 0x83, 0x2a, 0x87, 0xa6, 0x44, 0x36, 0x86, 0x65, 0xbf, 0x2f, - 0x0b, 0xbf, 0x4e, 0x42, 0x2a, 0x1a, 0x03, 0xa7, 0x82, 0xd1, 0x75, 0x79, 0x9a, 0xa9, 0xdc, 0x74, - 0xde, 0x8a, 0x58, 0xbb, 0x22, 0xce, 0x33, 0xf5, 0xd0, 0x97, 0x97, 0xdd, 0xe6, 0x60, 0xb2, 0x2f, - 0xa1, 0xd1, 0xf1, 0x02, 0x50, 0x64, 0xd1, 0x26, 0xf1, 0xb1, 0x65, 0x53, 0x99, 0xf5, 0x3f, 0xba, - 0x90, 0x8d, 0x91, 0xd0, 0xac, 0x0a, 0x71, 0xc2, 0x4f, 0x91, 0xa8, 0x97, 0x74, 0x86, 0xe0, 0x41, - 0x11, 0x1e, 0x9c, 0xaa, 0x89, 0xbe, 0x63, 0x33, 0xb2, 0x16, 0x0f, 0x7c, 0xff, 0x15, 0x2c, 0x9e, - 0x56, 0x8e, 0x4f, 0x5e, 0x66, 0x39, 0xbe, 0x60, 0x9c, 0x5c, 0x8c, 0x7f, 0x28, 0x7a, 0x19, 0x51, - 0x1b, 0x86, 0x7a, 0x19, 0x63, 0xda, 0xec, 0xa0, 0xcd, 0xa2, 0x99, 0x31, 0x84, 0xa0, 0xc9, 0x91, - 0x11, 0x14, 0xce, 0x8f, 0xa0, 0x7f, 0x13, 0x22, 0x68, 0x8a, 0x23, 0x68, 0xf9, 0x62, 0x7b, 0x7b, - 0x2a, 0x66, 0xfe, 0x5c, 0x81, 0x99, 0x63, 0x1b, 0x8f, 0x08, 0x44, 0x60, 0x49, 0x17, 0x97, 0x95, - 0x32, 0x32, 0xd4, 0x4d, 0xf7, 0x65, 0x0a, 0x94, 0xaa, 0x40, 0x84, 0x24, 0x5c, 0x14, 0x7b, 0x9d, - 0x8b, 0xb4, 0x4c, 0x7f, 0x0a, 0x23, 0x8e, 0x00, 0x97, 0x0f, 0xfe, 0x5d, 0x79, 0x55, 0xfe, 0x37, - 0x05, 0x6e, 0x9f, 0x05, 0xf2, 0xd0, 0xb3, 0x37, 0x8f, 0x71, 0x83, 0x4c, 0x2f, 0x57, 0xe7, 0x06, - 0x3b, 0x92, 0x02, 0x36, 0x0a, 0xbf, 0x18, 0x87, 0xcc, 0x60, 0x31, 0x73, 0x3a, 0xbc, 0xfd, 0x15, - 0x4c, 0xc8, 0x7a, 0x49, 0x38, 0xf6, 0x93, 0x8b, 0xd6, 0x4b, 0xa2, 0x28, 0x12, 0x28, 0x24, 0x45, - 0xa2, 0xb7, 0x20, 0x15, 0x3d, 0xcc, 0x21, 0x04, 0x28, 0x5a, 0x94, 0x3e, 0x7c, 0x8c, 0xc6, 0x46, - 0x3e, 0x46, 0xe3, 0xe7, 0x3f, 0x46, 0x38, 0x3c, 0x46, 0x71, 0x7e, 0x8c, 0xaa, 0x17, 0xf5, 0xc3, - 0xe9, 0x27, 0x69, 0x84, 0x38, 0x7c, 0xfe, 0xaa, 0xec, 0xc3, 0xdb, 0xa7, 0x46, 0xe1, 0xd0, 0x66, - 0xd7, 0xce, 0x1a, 0x88, 0xde, 0xc0, 0x3c, 0x5a, 0x7a, 0x11, 0x10, 0x64, 0x24, 0xbd, 0x2c, 0xfc, - 0xf7, 0x24, 0xcc, 0x9d, 0xb4, 0xcf, 0xa8, 0x09, 0xc9, 0x03, 0xd2, 0xd3, 0xbb, 0x14, 0xb7, 0x44, - 0x54, 0xa5, 0x56, 0x56, 0xce, 0xee, 0xb2, 0x75, 0xd2, 0xdb, 0x66, 0x33, 0x85, 0x83, 0x12, 0x07, - 0xf2, 0x13, 0xd9, 0x00, 0x06, 0x0e, 0xbb, 0xd9, 0x22, 0x22, 0xd7, 0x46, 0x8b, 0xc8, 0x62, 0x05, - 0x0f, 0x34, 0xb2, 0x93, 0x46, 0xf0, 0x8d, 0x76, 0x00, 0x44, 0x25, 0xaa, 0x5b, 0x66, 0x50, 0x2e, - 0x9c, 0x63, 0x11, 0x5b, 0xbc, 0xe6, 0xaf, 0x99, 0x52, 0xae, 0x10, 0x55, 0x33, 0x29, 0x7a, 0x06, - 0xf3, 0xd8, 0x34, 0x2d, 0xa6, 0x04, 0xdb, 0x3a, 0x39, 0xf2, 0x89, 0x43, 0xf9, 0x82, 0xc6, 0xb9, - 0x8a, 0x0f, 0xcf, 0xae, 0xe2, 0x8b, 0x7b, 0x7f, 0x7a, 0x5f, 0x0d, 0xe6, 0x0b, 0x3d, 0x73, 0x7d, - 0xd1, 0xe1, 0x08, 0x45, 0x1f, 0xc3, 0x22, 0xab, 0x80, 0x4d, 0x8b, 0xfa, 0x9e, 0xb5, 0xdb, 0xe5, - 0x70, 0xd9, 0x71, 0x2d, 0xc7, 0x17, 0xf1, 0x2c, 0x4f, 0xdd, 0xbc, 0xe1, 0xd9, 0xd5, 0x08, 0x4b, - 0x9d, 0x73, 0xa0, 0xff, 0x50, 0xe0, 0x5a, 0x88, 0x37, 0xba, 0xe5, 0xec, 0xb9, 0x5e, 0x5b, 0x20, - 0xae, 0x28, 0x49, 0xce, 0xff, 0xc4, 0x71, 0xe2, 0x46, 0x84, 0xf5, 0x66, 0xad, 0xaf, 0x41, 0x54, - 0xe7, 0xc2, 0xba, 0x3c, 0x3e, 0x95, 0x21, 0xff, 0x9d, 0x02, 0xc9, 0x70, 0x23, 0xd1, 0x9f, 0x41, - 0xdc, 0xa2, 0xba, 0x81, 0x65, 0xe0, 0x1d, 0x3f, 0xe8, 0xab, 0xae, 0x6b, 0x73, 0xad, 0x42, 0xf2, - 0xb8, 0x45, 0x2b, 0x18, 0x6d, 0xc3, 0x42, 0x1b, 0x1f, 0x05, 0x4f, 0x16, 0x1d, 0xec, 0xef, 0xeb, - 0x36, 0x71, 0x5a, 0xfe, 0xbe, 0x0c, 0xb4, 0xab, 0xc7, 0xc4, 0xd4, 0x1c, 0xff, 0x83, 0x95, 0x88, - 0x9c, 0xd9, 0x36, 0x3e, 0x12, 0x0f, 0x1a, 0x75, 0xec, 0xef, 0x6f, 0xf0, 0xc9, 0xf9, 0xaf, 0x15, - 0xc8, 0x9f, 0xbe, 0x34, 0xf4, 0x17, 0x90, 0x0b, 0x5e, 0x69, 0xa2, 0x50, 0xcd, 0xfb, 0xf9, 0x4a, - 0x7f, 0x6b, 0x16, 0x24, 0x53, 0xe4, 0x42, 0xe1, 0x5d, 0x91, 0x3f, 0x86, 0xb4, 0x6b, 0xd0, 0x8e, - 0x4e, 0x89, 0x77, 0x48, 0x3c, 0xd9, 0x1d, 0x92, 0x18, 0xca, 0x06, 0x1a, 0x82, 0x5e, 0xf8, 0x95, - 0x02, 0xf3, 0x27, 0x36, 0xb0, 0x50, 0x91, 0xdd, 0xa1, 0x03, 0xc7, 0xba, 0x7f, 0x0b, 0xc4, 0xd6, - 0xae, 0xb0, 0xeb, 0x72, 0x00, 0x3d, 0x5e, 0xc0, 0xc2, 0x10, 0xbf, 0x7e, 0xe9, 0x37, 0xc4, 0xda, - 0x15, 0x6d, 0xce, 0x3b, 0x69, 0xb0, 0xdf, 0x23, 0x12, 0x3a, 0x0b, 0x3f, 0x53, 0x20, 0x59, 0xef, - 0xee, 0xda, 0x96, 0xb1, 0x4e, 0x7a, 0xa8, 0x29, 0x5f, 0x2c, 0x45, 0xaa, 0x71, 0x8e, 0x54, 0x3b, - 0x14, 0xc1, 0xa0, 0x27, 0x78, 0xa9, 0x8c, 0xc9, 0x97, 0xca, 0x79, 0x81, 0xc4, 0x6c, 0x79, 0x69, - 0x41, 0x67, 0xdf, 0x85, 0x2a, 0x4c, 0x4a, 0x66, 0x94, 0x83, 0xb9, 0x75, 0xf5, 0xa9, 0x7e, 0x72, - 0xef, 0xa7, 0xae, 0x3e, 0xd6, 0xb5, 0x46, 0x59, 0x5f, 0x57, 0x9f, 0x8a, 0xaa, 0x89, 0x11, 0xd4, - 0x0a, 0xff, 0x8e, 0x15, 0x7e, 0x18, 0x87, 0x99, 0x63, 0x89, 0x3e, 0xea, 0x42, 0x86, 0x8a, 0x9e, - 0x61, 0x74, 0x4f, 0x2e, 0xfa, 0xb6, 0x23, 0x6f, 0x1e, 0xd9, 0x85, 0xec, 0xd7, 0x12, 0x31, 0x6d, - 0x8a, 0x46, 0x69, 0xa8, 0x7d, 0x3c, 0x16, 0x62, 0x97, 0xd6, 0x5f, 0x8f, 0x1d, 0x0b, 0xa5, 0x27, - 0x00, 0x1d, 0xee, 0x78, 0x9d, 0xf9, 0x57, 0xdc, 0xeb, 0x1f, 0x5c, 0x60, 0xd3, 0x02, 0x84, 0x0d, - 0xbe, 0xf3, 0xbf, 0x53, 0x60, 0x6a, 0x60, 0xb5, 0xa8, 0x0e, 0x93, 0x72, 0xa9, 0xd2, 0x93, 0x17, - 0x6b, 0xd2, 0xc7, 0xb4, 0x40, 0x0c, 0xba, 0x0d, 0xa9, 0x48, 0x0f, 0xbe, 0x5f, 0xfc, 0x29, 0x1a, - 0x18, 0x61, 0xef, 0x1d, 0xed, 0x43, 0x36, 0xd8, 0x48, 0x6c, 0xfb, 0x82, 0x55, 0x2c, 0xf4, 0xfe, - 0xb9, 0x0d, 0x18, 0x6c, 0xa3, 0x07, 0x01, 0x22, 0xa9, 0x85, 0xff, 0x4b, 0xc0, 0xc2, 0x29, 0xaf, - 0x89, 0xff, 0xa0, 0xc0, 0x6c, 0x60, 0x45, 0x34, 0xe1, 0x12, 0x9e, 0x68, 0x8c, 0x5a, 0x3d, 0x05, - 0xf6, 0x45, 0x48, 0x1a, 0xa2, 0xc7, 0x68, 0xc8, 0x18, 0x3a, 0xbc, 0x97, 0x03, 0x18, 0x5a, 0xda, - 0x88, 0x26, 0x1e, 0xda, 0x25, 0xc5, 0x54, 0x24, 0x9c, 0x90, 0xdd, 0x3f, 0x8d, 0x2c, 0xa9, 0xb1, - 0x4c, 0x99, 0x41, 0x3e, 0x1c, 0xd9, 0x73, 0xeb, 0xa4, 0x57, 0x33, 0xb5, 0xb4, 0x94, 0xce, 0xbf, - 0x50, 0x07, 0xb2, 0xfd, 0xdb, 0x56, 0xea, 0x8b, 0x5f, 0xaa, 0xbe, 0x4c, 0x28, 0x9f, 0x7f, 0xe7, - 0x7f, 0x39, 0x06, 0xe8, 0xf8, 0x1e, 0xa2, 0xf5, 0xd1, 0xcf, 0x4c, 0xff, 0xb8, 0xdc, 0x38, 0xe1, - 0xb8, 0x0c, 0x9c, 0x14, 0xe3, 0x0d, 0x9c, 0x94, 0xe1, 0x43, 0x82, 0xde, 0x85, 0x99, 0x7d, 0x72, - 0xa4, 0x0f, 0x36, 0xeb, 0x78, 0x17, 0x56, 0x9b, 0xde, 0x27, 0x47, 0x8d, 0x68, 0xbf, 0xee, 0x5e, - 0xa4, 0xbb, 0x12, 0x7f, 0x4d, 0x77, 0x25, 0xd2, 0x58, 0x59, 0x85, 0x69, 0xc7, 0xf5, 0xf5, 0x5d, - 0xb2, 0xe7, 0x7a, 0xb2, 0xde, 0x98, 0x78, 0x6d, 0x4d, 0x3a, 0xe5, 0xb8, 0xfe, 0x2a, 0x9f, 0x21, - 0xeb, 0x95, 0x0c, 0x93, 0x81, 0xf7, 0x7c, 0xe2, 0x9d, 0xb1, 0xfb, 0xaa, 0xa5, 0x1d, 0xd7, 0x2f, - 0xb3, 0x09, 0xbc, 0xa8, 0xbd, 0x05, 0x71, 0x11, 0x4d, 0x79, 0x98, 0x90, 0x31, 0xa4, 0xf4, 0x11, - 0x2a, 0x7e, 0xc0, 0xc6, 0x0a, 0xf7, 0x20, 0x11, 0x24, 0xa9, 0xe8, 0x1d, 0xc8, 0xb8, 0xc2, 0xfb, - 0x96, 0xc9, 0x93, 0x1f, 0x9e, 0x7d, 0xc4, 0x05, 0xe8, 0xa5, 0x5d, 0xc9, 0xc6, 0xf2, 0x9a, 0xc2, - 0x7f, 0x2a, 0x30, 0x35, 0x90, 0x79, 0xb2, 0x6c, 0x3f, 0x9c, 0x7c, 0xfe, 0x6c, 0x3f, 0x9a, 0x28, - 0xc7, 0xb4, 0x44, 0xa0, 0x0b, 0xdd, 0x80, 0x84, 0xc1, 0x6a, 0x5f, 0x03, 0x0f, 0xbc, 0x72, 0x87, - 0x44, 0xb4, 0x14, 0x14, 0x44, 0x63, 0xfd, 0xab, 0x59, 0x50, 0x0a, 0xdf, 0x4f, 0x42, 0x22, 0xa8, - 0x22, 0xd0, 0x3e, 0x64, 0x76, 0x31, 0x25, 0xfa, 0x70, 0x45, 0xb2, 0x7a, 0xfe, 0x8a, 0x24, 0xfc, - 0x21, 0x73, 0x4d, 0x2d, 0xcd, 0x24, 0x87, 0x9a, 0x8e, 0x00, 0xf1, 0x7c, 0xde, 0x24, 0x66, 0x44, - 0x9b, 0xc0, 0xb9, 0xcf, 0x2f, 0xa0, 0x4d, 0x95, 0xc2, 0x86, 0xb5, 0x66, 0xc9, 0xd0, 0x00, 0x7a, - 0x06, 0x57, 0xbb, 0xce, 0x81, 0xe3, 0x3e, 0x77, 0xf4, 0xe3, 0x16, 0x8c, 0x50, 0xbd, 0x68, 0x39, - 0x29, 0x76, 0xd8, 0x14, 0x9a, 0xff, 0x6d, 0x0c, 0xa6, 0x87, 0x0c, 0x43, 0x7f, 0x02, 0x33, 0xa6, - 0xd5, 0xb2, 0x7c, 0x6c, 0xeb, 0xd4, 0x6a, 0x39, 0xd8, 0xef, 0x7a, 0xc2, 0xdb, 0x09, 0x2d, 0x2b, - 0x07, 0x1a, 0x01, 0x1d, 0xbd, 0x0f, 0xc8, 0x70, 0x1d, 0x9f, 0x38, 0x3e, 0x7f, 0xce, 0xb6, 0xfc, - 0x36, 0x71, 0x7c, 0xb1, 0xd5, 0xda, 0x8c, 0x1c, 0xa9, 0x84, 0x03, 0xe8, 0x1d, 0xc8, 0xb2, 0x15, - 0x11, 0xc7, 0xb0, 0x3a, 0xfb, 0xc4, 0xe3, 0xcc, 0x63, 0xe2, 0x2d, 0xf1, 0x80, 0xf4, 0xd4, 0x08, - 0x99, 0x9b, 0x81, 0x7d, 0x3c, 0xc8, 0x3b, 0x2e, 0xcd, 0xc0, 0x3e, 0x1e, 0x60, 0xbe, 0x05, 0x53, - 0x4c, 0x2e, 0x6e, 0x79, 0x84, 0x70, 0x46, 0xf1, 0xac, 0x99, 0x3e, 0x20, 0xbd, 0x72, 0x40, 0x43, - 0x57, 0x21, 0xc9, 0xff, 0xa9, 0xc1, 0x56, 0x25, 0x5f, 0x30, 0x13, 0x8c, 0xc0, 0x56, 0x83, 0x96, - 0x58, 0xa4, 0x8a, 0x15, 0xf3, 0x93, 0x9a, 0xd0, 0x26, 0x0d, 0x8f, 0x2f, 0x94, 0x09, 0x0f, 0x8c, - 0xd0, 0x5d, 0xc7, 0xee, 0xf1, 0x57, 0x90, 0x84, 0x96, 0x0e, 0x88, 0x5b, 0x8e, 0xdd, 0x63, 0x4c, - 0x26, 0x89, 0x32, 0x25, 0x05, 0x53, 0x40, 0x64, 0x4c, 0x2c, 0xa9, 0x59, 0x3c, 0x25, 0x1e, 0x18, - 0xba, 0x8a, 0x0a, 0x80, 0x37, 0x86, 0xa4, 0xc3, 0x41, 0x90, 0x58, 0xf1, 0xc1, 0xe1, 0xd7, 0xb6, - 0x98, 0xa7, 0x39, 0x83, 0xf0, 0x31, 0x08, 0x12, 0x67, 0xb8, 0x09, 0x69, 0xc3, 0x35, 0x09, 0x5f, - 0x83, 0xe5, 0xb4, 0xa4, 0x63, 0x53, 0x8c, 0xd6, 0x10, 0x24, 0xe6, 0x7f, 0xf1, 0xbc, 0xcc, 0xd0, - 0x87, 0x18, 0x3c, 0x85, 0x10, 0x3e, 0x9d, 0xe6, 0xf4, 0x7a, 0x48, 0x66, 0x0b, 0x62, 0xb0, 0xa5, - 0x73, 0x68, 0x62, 0xe2, 0xa4, 0x4b, 0x19, 0xb1, 0x21, 0x69, 0x4c, 0xa5, 0xa8, 0x5d, 0xa4, 0x4a, - 0xe1, 0x55, 0x51, 0xb6, 0x08, 0x52, 0xe1, 0xef, 0x63, 0x30, 0x29, 0x31, 0x5d, 0x58, 0xd8, 0x75, - 0x7c, 0xaf, 0xa7, 0x33, 0xab, 0xc2, 0x77, 0x18, 0x41, 0xab, 0xb8, 0x26, 0x41, 0x05, 0x48, 0x47, - 0xff, 0x90, 0x11, 0x3c, 0xc3, 0x44, 0x69, 0xa8, 0x04, 0xb3, 0xd1, 0x6f, 0x6c, 0xeb, 0x5d, 0xc7, - 0x12, 0x81, 0x94, 0xd4, 0xd0, 0xe0, 0xd0, 0xb6, 0x63, 0xf9, 0x28, 0x0f, 0x09, 0xdb, 0x35, 0xb0, - 0x6d, 0xf9, 0x3d, 0x79, 0x55, 0x84, 0xdf, 0x6c, 0xac, 0xe3, 0xb9, 0x87, 0x96, 0x63, 0x88, 0x3b, - 0x22, 0xa9, 0x85, 0xdf, 0xe8, 0x2d, 0xc8, 0x50, 0xdf, 0x23, 0xc4, 0x0f, 0x9e, 0xe3, 0x45, 0x83, - 0x4b, 0x9b, 0x12, 0x54, 0xf9, 0x0c, 0xcf, 0x76, 0xa6, 0xe3, 0x52, 0x76, 0x60, 0xf8, 0xaa, 0x26, - 0xc5, 0xc5, 0x28, 0x48, 0x6c, 0x51, 0x85, 0xdf, 0x28, 0x30, 0x3d, 0xfc, 0x07, 0x82, 0xab, 0x90, - 0x1c, 0xfe, 0xe3, 0x40, 0xc2, 0x0c, 0xfe, 0x31, 0x80, 0x60, 0x3c, 0xf2, 0x4f, 0x01, 0xfe, 0x1b, - 0xbd, 0x0d, 0xd3, 0x27, 0xff, 0x35, 0x20, 0x43, 0x06, 0xff, 0x13, 0x70, 0x13, 0xd2, 0x56, 0x27, - 0xc2, 0x25, 0xfe, 0x14, 0x90, 0xb2, 0x3a, 0x7d, 0x96, 0x2f, 0x20, 0x15, 0x7d, 0xce, 0x8f, 0x8f, - 0xd4, 0xb5, 0xd0, 0xc0, 0x08, 0xff, 0x02, 0xf0, 0xee, 0x37, 0x31, 0xc8, 0x0e, 0x77, 0x7d, 0xd1, - 0x4d, 0xf8, 0x23, 0x4d, 0xdd, 0xd9, 0xaa, 0xf0, 0x97, 0x6d, 0x5d, 0x53, 0xcb, 0x8d, 0xad, 0xcd, - 0xa1, 0x2a, 0x0b, 0x41, 0x86, 0xd5, 0x5f, 0x95, 0xad, 0xc7, 0x75, 0x6d, 0xeb, 0x71, 0xad, 0xa1, - 0x66, 0x15, 0x74, 0x1b, 0x96, 0x2b, 0xaa, 0xd6, 0xac, 0x3d, 0xac, 0x55, 0xca, 0x4d, 0x55, 0x2f, - 0x6f, 0x37, 0xd7, 0xb6, 0xb4, 0x5a, 0x73, 0x80, 0x2b, 0x86, 0x16, 0x61, 0xb6, 0xfc, 0xf0, 0x61, - 0x6d, 0xa3, 0x26, 0xa4, 0x57, 0xd6, 0xca, 0x9b, 0x8f, 0xd4, 0x6a, 0x76, 0x6c, 0xe8, 0x75, 0x6b, - 0x1c, 0xe5, 0x61, 0xa1, 0xa2, 0x36, 0x1a, 0x82, 0x6d, 0xeb, 0xa1, 0xbe, 0x55, 0x57, 0x35, 0xf1, - 0xd6, 0x1e, 0x47, 0x73, 0x90, 0x8d, 0xaa, 0x5a, 0xdb, 0xda, 0xa8, 0x66, 0x27, 0x98, 0xe8, 0xba, - 0x56, 0xdb, 0xa9, 0x6d, 0xa8, 0x8f, 0x54, 0xfd, 0x49, 0xad, 0xb9, 0x56, 0xd5, 0xca, 0x4f, 0x36, - 0xb3, 0x93, 0xa8, 0x00, 0xd7, 0xcb, 0xcd, 0xa6, 0x56, 0x5b, 0xdd, 0x3e, 0xcd, 0xae, 0xc4, 0xea, - 0x8f, 0x0a, 0xbc, 0x67, 0xb8, 0xed, 0x33, 0x3b, 0x75, 0x75, 0xb1, 0x2e, 0x68, 0x15, 0xac, 0x05, - 0xff, 0x6e, 0x66, 0xe7, 0xd1, 0xad, 0x2b, 0x5f, 0xfe, 0xa5, 0x14, 0xd2, 0x72, 0x6d, 0xec, 0xb4, - 0x8a, 0xae, 0xd7, 0x2a, 0xb5, 0x88, 0xc3, 0x53, 0x88, 0x52, 0xbf, 0x53, 0xf8, 0xfa, 0xff, 0x4d, - 0x7f, 0x1c, 0x92, 0x7e, 0xaf, 0x28, 0xff, 0x13, 0xbb, 0xf3, 0x48, 0x88, 0xad, 0x70, 0xdb, 0x1a, - 0x81, 0x6d, 0x81, 0x1d, 0xe5, 0xe2, 0xce, 0xdd, 0x32, 0x9f, 0xb7, 0x3b, 0xc1, 0x75, 0x7d, 0xf0, - 0x87, 0x00, 0x00, 0x00, 0xff, 0xff, 0x0f, 0x36, 0x95, 0xe4, 0xa2, 0x2d, 0x00, 0x00, -} diff --git a/lib/google.golang.org/genproto/googleapis/cloud/security/privateca/v1alpha1/service.pb.go b/lib/google.golang.org/genproto/googleapis/cloud/security/privateca/v1alpha1/service.pb.go deleted file mode 100644 index f136105..0000000 --- a/lib/google.golang.org/genproto/googleapis/cloud/security/privateca/v1alpha1/service.pb.go +++ /dev/null @@ -1,3368 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/security/privateca/v1alpha1/service.proto - -package privateca - -import ( - context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - math "math" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [CertificateAuthorityService.ListCertificateAuthorities][google.cloud.security.privateca.v1alpha1.CertificateAuthorityService.ListCertificateAuthorities]. -type ListCertificateAuthoritiesRequest struct { - // Required. The resource name of the location associated with the - // [CertificateAuthorities][google.cloud.security.privateca.v1alpha1.CertificateAuthority], in the format - // `projects/*/locations/*`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. Limit on the number of [CertificateAuthorities][google.cloud.security.privateca.v1alpha1.CertificateAuthority] to - // include in the response. - // Further [CertificateAuthorities][google.cloud.security.privateca.v1alpha1.CertificateAuthority] can subsequently be - // obtained by including the - // [ListCertificateAuthoritiesResponse.next_page_token][google.cloud.security.privateca.v1alpha1.ListCertificateAuthoritiesResponse.next_page_token] in a subsequent - // request. If unspecified, the server will pick an appropriate default. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional. Pagination token, returned earlier via - // [ListCertificateAuthoritiesResponse.next_page_token][google.cloud.security.privateca.v1alpha1.ListCertificateAuthoritiesResponse.next_page_token]. - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // Optional. Only include resources that match the filter in the response. - Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` - // Optional. Specify how the results should be sorted. - OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListCertificateAuthoritiesRequest) Reset() { *m = ListCertificateAuthoritiesRequest{} } -func (m *ListCertificateAuthoritiesRequest) String() string { return proto.CompactTextString(m) } -func (*ListCertificateAuthoritiesRequest) ProtoMessage() {} -func (*ListCertificateAuthoritiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0a2d125abc43e0c9, []int{0} -} - -func (m *ListCertificateAuthoritiesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCertificateAuthoritiesRequest.Unmarshal(m, b) -} -func (m *ListCertificateAuthoritiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCertificateAuthoritiesRequest.Marshal(b, m, deterministic) -} -func (m *ListCertificateAuthoritiesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCertificateAuthoritiesRequest.Merge(m, src) -} -func (m *ListCertificateAuthoritiesRequest) XXX_Size() int { - return xxx_messageInfo_ListCertificateAuthoritiesRequest.Size(m) -} -func (m *ListCertificateAuthoritiesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListCertificateAuthoritiesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListCertificateAuthoritiesRequest proto.InternalMessageInfo - -func (m *ListCertificateAuthoritiesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListCertificateAuthoritiesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListCertificateAuthoritiesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListCertificateAuthoritiesRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListCertificateAuthoritiesRequest) GetOrderBy() string { - if m != nil { - return m.OrderBy - } - return "" -} - -// Request message for -// [CertificateAuthorityService.ListCertificateRevocationLists][google.cloud.security.privateca.v1alpha1.CertificateAuthorityService.ListCertificateRevocationLists]. -type ListCertificateRevocationListsRequest struct { - // Required. The resource name of the location associated with the - // [CertificateRevocationLists][google.cloud.security.privateca.v1alpha1.CertificateRevocationList], in the format - // `projects/*/locations/*/certificateauthorities/*`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. Limit on the number of - // [CertificateRevocationLists][google.cloud.security.privateca.v1alpha1.CertificateRevocationList] to include in the - // response. Further [CertificateRevocationLists][google.cloud.security.privateca.v1alpha1.CertificateRevocationList] - // can subsequently be obtained by including the - // [ListCertificateRevocationListsResponse.next_page_token][google.cloud.security.privateca.v1alpha1.ListCertificateRevocationListsResponse.next_page_token] in a subsequent - // request. If unspecified, the server will pick an appropriate default. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional. Pagination token, returned earlier via - // [ListCertificateRevocationListsResponse.next_page_token][google.cloud.security.privateca.v1alpha1.ListCertificateRevocationListsResponse.next_page_token]. - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // Optional. Only include resources that match the filter in the response. - Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` - // Optional. Specify how the results should be sorted. - OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListCertificateRevocationListsRequest) Reset() { *m = ListCertificateRevocationListsRequest{} } -func (m *ListCertificateRevocationListsRequest) String() string { return proto.CompactTextString(m) } -func (*ListCertificateRevocationListsRequest) ProtoMessage() {} -func (*ListCertificateRevocationListsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0a2d125abc43e0c9, []int{1} -} - -func (m *ListCertificateRevocationListsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCertificateRevocationListsRequest.Unmarshal(m, b) -} -func (m *ListCertificateRevocationListsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCertificateRevocationListsRequest.Marshal(b, m, deterministic) -} -func (m *ListCertificateRevocationListsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCertificateRevocationListsRequest.Merge(m, src) -} -func (m *ListCertificateRevocationListsRequest) XXX_Size() int { - return xxx_messageInfo_ListCertificateRevocationListsRequest.Size(m) -} -func (m *ListCertificateRevocationListsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListCertificateRevocationListsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListCertificateRevocationListsRequest proto.InternalMessageInfo - -func (m *ListCertificateRevocationListsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListCertificateRevocationListsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListCertificateRevocationListsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListCertificateRevocationListsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListCertificateRevocationListsRequest) GetOrderBy() string { - if m != nil { - return m.OrderBy - } - return "" -} - -// Request message for [CertificateAuthorityService.ListCertificates][google.cloud.security.privateca.v1alpha1.CertificateAuthorityService.ListCertificates]. -type ListCertificatesRequest struct { - // Required. The resource name of the location associated with the - // [Certificates][google.cloud.security.privateca.v1alpha1.Certificate], in the format - // `projects/*/locations/*/certificateauthorities/*`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. Limit on the number of - // [Certificates][google.cloud.security.privateca.v1alpha1.Certificate] to include in the - // response. Further [Certificates][google.cloud.security.privateca.v1alpha1.Certificate] can subsequently be obtained - // by including the - // [ListCertificatesResponse.next_page_token][google.cloud.security.privateca.v1alpha1.ListCertificatesResponse.next_page_token] in a subsequent - // request. If unspecified, the server will pick an appropriate default. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional. Pagination token, returned earlier via - // [ListCertificatesResponse.next_page_token][google.cloud.security.privateca.v1alpha1.ListCertificatesResponse.next_page_token]. - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // Optional. Only include resources that match the filter in the response. - Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` - // Optional. Specify how the results should be sorted. - OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListCertificatesRequest) Reset() { *m = ListCertificatesRequest{} } -func (m *ListCertificatesRequest) String() string { return proto.CompactTextString(m) } -func (*ListCertificatesRequest) ProtoMessage() {} -func (*ListCertificatesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0a2d125abc43e0c9, []int{2} -} - -func (m *ListCertificatesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCertificatesRequest.Unmarshal(m, b) -} -func (m *ListCertificatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCertificatesRequest.Marshal(b, m, deterministic) -} -func (m *ListCertificatesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCertificatesRequest.Merge(m, src) -} -func (m *ListCertificatesRequest) XXX_Size() int { - return xxx_messageInfo_ListCertificatesRequest.Size(m) -} -func (m *ListCertificatesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListCertificatesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListCertificatesRequest proto.InternalMessageInfo - -func (m *ListCertificatesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListCertificatesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListCertificatesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListCertificatesRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListCertificatesRequest) GetOrderBy() string { - if m != nil { - return m.OrderBy - } - return "" -} - -// Request message for -// [CertificateAuthorityService.ListReusableConfigs][google.cloud.security.privateca.v1alpha1.CertificateAuthorityService.ListReusableConfigs]. -type ListReusableConfigsRequest struct { - // Required. The resource name of the location associated with the - // [ReusableConfigs][google.cloud.security.privateca.v1alpha1.ReusableConfig], in the format - // `projects/*/locations/*`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. Limit on the number of - // [ReusableConfigs][google.cloud.security.privateca.v1alpha1.ReusableConfig] to include in the response. - // Further [ReusableConfigs][google.cloud.security.privateca.v1alpha1.ReusableConfig] can subsequently be - // obtained by including the - // [ListReusableConfigsResponse.next_page_token][google.cloud.security.privateca.v1alpha1.ListReusableConfigsResponse.next_page_token] in a subsequent request. If - // unspecified, the server will pick an appropriate default. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional. Pagination token, returned earlier via - // [ListReusableConfigsResponse.next_page_token][google.cloud.security.privateca.v1alpha1.ListReusableConfigsResponse.next_page_token]. - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // Optional. Only include resources that match the filter in the response. - Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` - // Optional. Specify how the results should be sorted. - OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListReusableConfigsRequest) Reset() { *m = ListReusableConfigsRequest{} } -func (m *ListReusableConfigsRequest) String() string { return proto.CompactTextString(m) } -func (*ListReusableConfigsRequest) ProtoMessage() {} -func (*ListReusableConfigsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0a2d125abc43e0c9, []int{3} -} - -func (m *ListReusableConfigsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListReusableConfigsRequest.Unmarshal(m, b) -} -func (m *ListReusableConfigsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListReusableConfigsRequest.Marshal(b, m, deterministic) -} -func (m *ListReusableConfigsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListReusableConfigsRequest.Merge(m, src) -} -func (m *ListReusableConfigsRequest) XXX_Size() int { - return xxx_messageInfo_ListReusableConfigsRequest.Size(m) -} -func (m *ListReusableConfigsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListReusableConfigsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListReusableConfigsRequest proto.InternalMessageInfo - -func (m *ListReusableConfigsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListReusableConfigsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListReusableConfigsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListReusableConfigsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListReusableConfigsRequest) GetOrderBy() string { - if m != nil { - return m.OrderBy - } - return "" -} - -// Response message for -// [CertificateAuthorityService.ListCertificateAuthorities][google.cloud.security.privateca.v1alpha1.CertificateAuthorityService.ListCertificateAuthorities]. -type ListCertificateAuthoritiesResponse struct { - // The list of [CertificateAuthorities][google.cloud.security.privateca.v1alpha1.CertificateAuthority]. - CertificateAuthorities []*CertificateAuthority `protobuf:"bytes,1,rep,name=certificate_authorities,json=certificateAuthorities,proto3" json:"certificate_authorities,omitempty"` - // A token to retrieve next page of results. Pass this value in - // [ListCertificateAuthoritiesRequest.next_page_token][] to retrieve the next - // page of results. - NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - // A list of locations (e.g. "us-west1") that could not be reached. - Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListCertificateAuthoritiesResponse) Reset() { *m = ListCertificateAuthoritiesResponse{} } -func (m *ListCertificateAuthoritiesResponse) String() string { return proto.CompactTextString(m) } -func (*ListCertificateAuthoritiesResponse) ProtoMessage() {} -func (*ListCertificateAuthoritiesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0a2d125abc43e0c9, []int{4} -} - -func (m *ListCertificateAuthoritiesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCertificateAuthoritiesResponse.Unmarshal(m, b) -} -func (m *ListCertificateAuthoritiesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCertificateAuthoritiesResponse.Marshal(b, m, deterministic) -} -func (m *ListCertificateAuthoritiesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCertificateAuthoritiesResponse.Merge(m, src) -} -func (m *ListCertificateAuthoritiesResponse) XXX_Size() int { - return xxx_messageInfo_ListCertificateAuthoritiesResponse.Size(m) -} -func (m *ListCertificateAuthoritiesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListCertificateAuthoritiesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListCertificateAuthoritiesResponse proto.InternalMessageInfo - -func (m *ListCertificateAuthoritiesResponse) GetCertificateAuthorities() []*CertificateAuthority { - if m != nil { - return m.CertificateAuthorities - } - return nil -} - -func (m *ListCertificateAuthoritiesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -func (m *ListCertificateAuthoritiesResponse) GetUnreachable() []string { - if m != nil { - return m.Unreachable - } - return nil -} - -// Response message for -// [CertificateAuthorityService.ListCertificateRevocationLists][google.cloud.security.privateca.v1alpha1.CertificateAuthorityService.ListCertificateRevocationLists]. -type ListCertificateRevocationListsResponse struct { - // The list of [CertificateRevocationLists][google.cloud.security.privateca.v1alpha1.CertificateRevocationList]. - CertificateRevocationLists []*CertificateRevocationList `protobuf:"bytes,1,rep,name=certificate_revocation_lists,json=certificateRevocationLists,proto3" json:"certificate_revocation_lists,omitempty"` - // A token to retrieve next page of results. Pass this value in - // [ListCertificateRevocationListsRequest.next_page_token][] to retrieve the - // next page of results. - NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - // A list of locations (e.g. "us-west1") that could not be reached. - Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListCertificateRevocationListsResponse) Reset() { - *m = ListCertificateRevocationListsResponse{} -} -func (m *ListCertificateRevocationListsResponse) String() string { return proto.CompactTextString(m) } -func (*ListCertificateRevocationListsResponse) ProtoMessage() {} -func (*ListCertificateRevocationListsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0a2d125abc43e0c9, []int{5} -} - -func (m *ListCertificateRevocationListsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCertificateRevocationListsResponse.Unmarshal(m, b) -} -func (m *ListCertificateRevocationListsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCertificateRevocationListsResponse.Marshal(b, m, deterministic) -} -func (m *ListCertificateRevocationListsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCertificateRevocationListsResponse.Merge(m, src) -} -func (m *ListCertificateRevocationListsResponse) XXX_Size() int { - return xxx_messageInfo_ListCertificateRevocationListsResponse.Size(m) -} -func (m *ListCertificateRevocationListsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListCertificateRevocationListsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListCertificateRevocationListsResponse proto.InternalMessageInfo - -func (m *ListCertificateRevocationListsResponse) GetCertificateRevocationLists() []*CertificateRevocationList { - if m != nil { - return m.CertificateRevocationLists - } - return nil -} - -func (m *ListCertificateRevocationListsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -func (m *ListCertificateRevocationListsResponse) GetUnreachable() []string { - if m != nil { - return m.Unreachable - } - return nil -} - -// Response message for [CertificateAuthorityService.ListCertificates][google.cloud.security.privateca.v1alpha1.CertificateAuthorityService.ListCertificates]. -type ListCertificatesResponse struct { - // The list of [Certificates][google.cloud.security.privateca.v1alpha1.Certificate]. - Certificates []*Certificate `protobuf:"bytes,1,rep,name=certificates,proto3" json:"certificates,omitempty"` - // A token to retrieve next page of results. Pass this value in - // [ListCertificatesRequest.next_page_token][] to retrieve the - // next page of results. - NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - // A list of locations (e.g. "us-west1") that could not be reached. - Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListCertificatesResponse) Reset() { *m = ListCertificatesResponse{} } -func (m *ListCertificatesResponse) String() string { return proto.CompactTextString(m) } -func (*ListCertificatesResponse) ProtoMessage() {} -func (*ListCertificatesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0a2d125abc43e0c9, []int{6} -} - -func (m *ListCertificatesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCertificatesResponse.Unmarshal(m, b) -} -func (m *ListCertificatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCertificatesResponse.Marshal(b, m, deterministic) -} -func (m *ListCertificatesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCertificatesResponse.Merge(m, src) -} -func (m *ListCertificatesResponse) XXX_Size() int { - return xxx_messageInfo_ListCertificatesResponse.Size(m) -} -func (m *ListCertificatesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListCertificatesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListCertificatesResponse proto.InternalMessageInfo - -func (m *ListCertificatesResponse) GetCertificates() []*Certificate { - if m != nil { - return m.Certificates - } - return nil -} - -func (m *ListCertificatesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -func (m *ListCertificatesResponse) GetUnreachable() []string { - if m != nil { - return m.Unreachable - } - return nil -} - -// Response message for -// [CertificateAuthorityService.ListReusableConfigs][google.cloud.security.privateca.v1alpha1.CertificateAuthorityService.ListReusableConfigs]. -type ListReusableConfigsResponse struct { - // The list of [ReusableConfigs][google.cloud.security.privateca.v1alpha1.ReusableConfig]. - ReusableConfigs []*ReusableConfig `protobuf:"bytes,1,rep,name=reusable_configs,json=reusableConfigs,proto3" json:"reusable_configs,omitempty"` - // A token to retrieve next page of results. Pass this value in - // [ListReusableConfigsRequest.next_page_token][] to retrieve - // the next page of results. - NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - // A list of locations (e.g. "us-west1") that could not be reached. - Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListReusableConfigsResponse) Reset() { *m = ListReusableConfigsResponse{} } -func (m *ListReusableConfigsResponse) String() string { return proto.CompactTextString(m) } -func (*ListReusableConfigsResponse) ProtoMessage() {} -func (*ListReusableConfigsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0a2d125abc43e0c9, []int{7} -} - -func (m *ListReusableConfigsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListReusableConfigsResponse.Unmarshal(m, b) -} -func (m *ListReusableConfigsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListReusableConfigsResponse.Marshal(b, m, deterministic) -} -func (m *ListReusableConfigsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListReusableConfigsResponse.Merge(m, src) -} -func (m *ListReusableConfigsResponse) XXX_Size() int { - return xxx_messageInfo_ListReusableConfigsResponse.Size(m) -} -func (m *ListReusableConfigsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListReusableConfigsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListReusableConfigsResponse proto.InternalMessageInfo - -func (m *ListReusableConfigsResponse) GetReusableConfigs() []*ReusableConfig { - if m != nil { - return m.ReusableConfigs - } - return nil -} - -func (m *ListReusableConfigsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -func (m *ListReusableConfigsResponse) GetUnreachable() []string { - if m != nil { - return m.Unreachable - } - return nil -} - -// Request message for [CertificateAuthorityService.GetCertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthorityService.GetCertificateAuthority]. -type GetCertificateAuthorityRequest struct { - // Required. The [name][google.cloud.security.privateca.v1alpha1.CertificateAuthority.name] of the [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] to - // get. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetCertificateAuthorityRequest) Reset() { *m = GetCertificateAuthorityRequest{} } -func (m *GetCertificateAuthorityRequest) String() string { return proto.CompactTextString(m) } -func (*GetCertificateAuthorityRequest) ProtoMessage() {} -func (*GetCertificateAuthorityRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0a2d125abc43e0c9, []int{8} -} - -func (m *GetCertificateAuthorityRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCertificateAuthorityRequest.Unmarshal(m, b) -} -func (m *GetCertificateAuthorityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCertificateAuthorityRequest.Marshal(b, m, deterministic) -} -func (m *GetCertificateAuthorityRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCertificateAuthorityRequest.Merge(m, src) -} -func (m *GetCertificateAuthorityRequest) XXX_Size() int { - return xxx_messageInfo_GetCertificateAuthorityRequest.Size(m) -} -func (m *GetCertificateAuthorityRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetCertificateAuthorityRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetCertificateAuthorityRequest proto.InternalMessageInfo - -func (m *GetCertificateAuthorityRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for -// [CertificateAuthorityService.GetCertificateRevocationList][google.cloud.security.privateca.v1alpha1.CertificateAuthorityService.GetCertificateRevocationList]. -type GetCertificateRevocationListRequest struct { - // Required. The [name][google.cloud.security.privateca.v1alpha1.CertificateRevocationList.name] of the - // [CertificateRevocationList][google.cloud.security.privateca.v1alpha1.CertificateRevocationList] to get. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetCertificateRevocationListRequest) Reset() { *m = GetCertificateRevocationListRequest{} } -func (m *GetCertificateRevocationListRequest) String() string { return proto.CompactTextString(m) } -func (*GetCertificateRevocationListRequest) ProtoMessage() {} -func (*GetCertificateRevocationListRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0a2d125abc43e0c9, []int{9} -} - -func (m *GetCertificateRevocationListRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCertificateRevocationListRequest.Unmarshal(m, b) -} -func (m *GetCertificateRevocationListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCertificateRevocationListRequest.Marshal(b, m, deterministic) -} -func (m *GetCertificateRevocationListRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCertificateRevocationListRequest.Merge(m, src) -} -func (m *GetCertificateRevocationListRequest) XXX_Size() int { - return xxx_messageInfo_GetCertificateRevocationListRequest.Size(m) -} -func (m *GetCertificateRevocationListRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetCertificateRevocationListRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetCertificateRevocationListRequest proto.InternalMessageInfo - -func (m *GetCertificateRevocationListRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for -// [CertificateAuthorityService.GetCertificate][google.cloud.security.privateca.v1alpha1.CertificateAuthorityService.GetCertificate]. -type GetCertificateRequest struct { - // Required. The [name][google.cloud.security.privateca.v1alpha1.Certificate.name] of the [Certificate][google.cloud.security.privateca.v1alpha1.Certificate] to get. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetCertificateRequest) Reset() { *m = GetCertificateRequest{} } -func (m *GetCertificateRequest) String() string { return proto.CompactTextString(m) } -func (*GetCertificateRequest) ProtoMessage() {} -func (*GetCertificateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0a2d125abc43e0c9, []int{10} -} - -func (m *GetCertificateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCertificateRequest.Unmarshal(m, b) -} -func (m *GetCertificateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCertificateRequest.Marshal(b, m, deterministic) -} -func (m *GetCertificateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCertificateRequest.Merge(m, src) -} -func (m *GetCertificateRequest) XXX_Size() int { - return xxx_messageInfo_GetCertificateRequest.Size(m) -} -func (m *GetCertificateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetCertificateRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetCertificateRequest proto.InternalMessageInfo - -func (m *GetCertificateRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for -// [CertificateAuthorityService.GetReusableConfig][google.cloud.security.privateca.v1alpha1.CertificateAuthorityService.GetReusableConfig]. -type GetReusableConfigRequest struct { - // Required. The [name][ReusableConfigs.name] of the [ReusableConfigs][] to get. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetReusableConfigRequest) Reset() { *m = GetReusableConfigRequest{} } -func (m *GetReusableConfigRequest) String() string { return proto.CompactTextString(m) } -func (*GetReusableConfigRequest) ProtoMessage() {} -func (*GetReusableConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0a2d125abc43e0c9, []int{11} -} - -func (m *GetReusableConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetReusableConfigRequest.Unmarshal(m, b) -} -func (m *GetReusableConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetReusableConfigRequest.Marshal(b, m, deterministic) -} -func (m *GetReusableConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetReusableConfigRequest.Merge(m, src) -} -func (m *GetReusableConfigRequest) XXX_Size() int { - return xxx_messageInfo_GetReusableConfigRequest.Size(m) -} -func (m *GetReusableConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetReusableConfigRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetReusableConfigRequest proto.InternalMessageInfo - -func (m *GetReusableConfigRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for -// [CertificateAuthorityService.CreateCertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthorityService.CreateCertificateAuthority]. -type CreateCertificateAuthorityRequest struct { - // Required. The resource name of the location associated with the - // [CertificateAuthorities][google.cloud.security.privateca.v1alpha1.CertificateAuthority], in the format - // `projects/*/locations/*`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. It must be unique within a location and match the regular - // expression `[a-zA-Z0-9_-]{1,63}` - CertificateAuthorityId string `protobuf:"bytes,2,opt,name=certificate_authority_id,json=certificateAuthorityId,proto3" json:"certificate_authority_id,omitempty"` - // Required. A [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] with initial field values. - CertificateAuthority *CertificateAuthority `protobuf:"bytes,3,opt,name=certificate_authority,json=certificateAuthority,proto3" json:"certificate_authority,omitempty"` - // Optional. An ID to identify requests. Specify a unique request ID so that if you must - // retry your request, the server will know to ignore the request if it has - // already been completed. The server will guarantee that for at least 60 - // minutes since the first request. - // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request - // ID, the server can check if original operation with the same request ID - // was received, and if so, will ignore the second request. This prevents - // clients from accidentally creating duplicate commitments. - // - // The request ID must be a valid UUID with the exception that zero UUID is - // not supported (00000000-0000-0000-0000-000000000000). - RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateCertificateAuthorityRequest) Reset() { *m = CreateCertificateAuthorityRequest{} } -func (m *CreateCertificateAuthorityRequest) String() string { return proto.CompactTextString(m) } -func (*CreateCertificateAuthorityRequest) ProtoMessage() {} -func (*CreateCertificateAuthorityRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0a2d125abc43e0c9, []int{12} -} - -func (m *CreateCertificateAuthorityRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateCertificateAuthorityRequest.Unmarshal(m, b) -} -func (m *CreateCertificateAuthorityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateCertificateAuthorityRequest.Marshal(b, m, deterministic) -} -func (m *CreateCertificateAuthorityRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateCertificateAuthorityRequest.Merge(m, src) -} -func (m *CreateCertificateAuthorityRequest) XXX_Size() int { - return xxx_messageInfo_CreateCertificateAuthorityRequest.Size(m) -} -func (m *CreateCertificateAuthorityRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateCertificateAuthorityRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateCertificateAuthorityRequest proto.InternalMessageInfo - -func (m *CreateCertificateAuthorityRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateCertificateAuthorityRequest) GetCertificateAuthorityId() string { - if m != nil { - return m.CertificateAuthorityId - } - return "" -} - -func (m *CreateCertificateAuthorityRequest) GetCertificateAuthority() *CertificateAuthority { - if m != nil { - return m.CertificateAuthority - } - return nil -} - -func (m *CreateCertificateAuthorityRequest) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -// Request message for -// [CertificateAuthorityService.CreateCertificateRevocationList][google.cloud.security.privateca.v1alpha1.CertificateAuthorityService.CreateCertificateRevocationList]. -type CreateCertificateRevocationListRequest struct { - // Required. The resource name of the location and [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] - // associated with the [CertificateRevocationList][google.cloud.security.privateca.v1alpha1.CertificateRevocationList], in the format - // `projects/*/locations/*/certificateAuthorities/*`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. It must be unique within a location and match the regular expression - // `[a-zA-Z0-9_-]{1,63}` - CertificateRevocationListId string `protobuf:"bytes,2,opt,name=certificate_revocation_list_id,json=certificateRevocationListId,proto3" json:"certificate_revocation_list_id,omitempty"` - // Required. A [CertificateRevocationList][google.cloud.security.privateca.v1alpha1.CertificateRevocationList] with initial field values. - CertificateRevocationList *CertificateRevocationList `protobuf:"bytes,3,opt,name=certificate_revocation_list,json=certificateRevocationList,proto3" json:"certificate_revocation_list,omitempty"` - // Optional. An ID to identify requests. Specify a unique request ID so that if you must - // retry your request, the server will know to ignore the request if it has - // already been completed. The server will guarantee that for at least 60 - // minutes since the first request. - // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request - // ID, the server can check if original operation with the same request ID - // was received, and if so, will ignore the second request. This prevents - // clients from accidentally creating duplicate commitments. - // - // The request ID must be a valid UUID with the exception that zero UUID is - // not supported (00000000-0000-0000-0000-000000000000). - RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateCertificateRevocationListRequest) Reset() { - *m = CreateCertificateRevocationListRequest{} -} -func (m *CreateCertificateRevocationListRequest) String() string { return proto.CompactTextString(m) } -func (*CreateCertificateRevocationListRequest) ProtoMessage() {} -func (*CreateCertificateRevocationListRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0a2d125abc43e0c9, []int{13} -} - -func (m *CreateCertificateRevocationListRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateCertificateRevocationListRequest.Unmarshal(m, b) -} -func (m *CreateCertificateRevocationListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateCertificateRevocationListRequest.Marshal(b, m, deterministic) -} -func (m *CreateCertificateRevocationListRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateCertificateRevocationListRequest.Merge(m, src) -} -func (m *CreateCertificateRevocationListRequest) XXX_Size() int { - return xxx_messageInfo_CreateCertificateRevocationListRequest.Size(m) -} -func (m *CreateCertificateRevocationListRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateCertificateRevocationListRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateCertificateRevocationListRequest proto.InternalMessageInfo - -func (m *CreateCertificateRevocationListRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateCertificateRevocationListRequest) GetCertificateRevocationListId() string { - if m != nil { - return m.CertificateRevocationListId - } - return "" -} - -func (m *CreateCertificateRevocationListRequest) GetCertificateRevocationList() *CertificateRevocationList { - if m != nil { - return m.CertificateRevocationList - } - return nil -} - -func (m *CreateCertificateRevocationListRequest) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -// Request message for [CertificateAuthorityService.CreateCertificate][google.cloud.security.privateca.v1alpha1.CertificateAuthorityService.CreateCertificate]. -type CreateCertificateRequest struct { - // Required. The resource name of the location and [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] - // associated with the [Certificate][google.cloud.security.privateca.v1alpha1.Certificate], in the format - // `projects/*/locations/*/certificateAuthorities/*`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. It must be unique within a location and match the regular - // expression `[a-zA-Z0-9_-]{1,63}` - CertificateId string `protobuf:"bytes,2,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"` - // Required. A [Certificate][google.cloud.security.privateca.v1alpha1.Certificate] with initial field values. - Certificate *Certificate `protobuf:"bytes,3,opt,name=certificate,proto3" json:"certificate,omitempty"` - // Optional. An ID to identify requests. Specify a unique request ID so that if you must - // retry your request, the server will know to ignore the request if it has - // already been completed. The server will guarantee that for at least 60 - // minutes since the first request. - // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request - // ID, the server can check if original operation with the same request ID - // was received, and if so, will ignore the second request. This prevents - // clients from accidentally creating duplicate commitments. - // - // The request ID must be a valid UUID with the exception that zero UUID is - // not supported (00000000-0000-0000-0000-000000000000). - RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateCertificateRequest) Reset() { *m = CreateCertificateRequest{} } -func (m *CreateCertificateRequest) String() string { return proto.CompactTextString(m) } -func (*CreateCertificateRequest) ProtoMessage() {} -func (*CreateCertificateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0a2d125abc43e0c9, []int{14} -} - -func (m *CreateCertificateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateCertificateRequest.Unmarshal(m, b) -} -func (m *CreateCertificateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateCertificateRequest.Marshal(b, m, deterministic) -} -func (m *CreateCertificateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateCertificateRequest.Merge(m, src) -} -func (m *CreateCertificateRequest) XXX_Size() int { - return xxx_messageInfo_CreateCertificateRequest.Size(m) -} -func (m *CreateCertificateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateCertificateRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateCertificateRequest proto.InternalMessageInfo - -func (m *CreateCertificateRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateCertificateRequest) GetCertificateId() string { - if m != nil { - return m.CertificateId - } - return "" -} - -func (m *CreateCertificateRequest) GetCertificate() *Certificate { - if m != nil { - return m.Certificate - } - return nil -} - -func (m *CreateCertificateRequest) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -// Request message for -// [CertificateAuthorityService.CreateReusableConfig][google.cloud.security.privateca.v1alpha1.CertificateAuthorityService.CreateReusableConfig]. -type CreateReusableConfigRequest struct { - // Required. The resource name of the location associated with the - // [ReusableConfig][google.cloud.security.privateca.v1alpha1.ReusableConfig], in the format - // `projects/*/locations/*`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. It must be unique within a location and match the regular - // expression `[a-zA-Z0-9_-]{1,63}` - ReusableConfigId string `protobuf:"bytes,2,opt,name=reusable_config_id,json=reusableConfigId,proto3" json:"reusable_config_id,omitempty"` - // Required. A [ReusableConfig][google.cloud.security.privateca.v1alpha1.ReusableConfig] with initial field values. - ReusableConfig *ReusableConfig `protobuf:"bytes,3,opt,name=reusable_config,json=reusableConfig,proto3" json:"reusable_config,omitempty"` - // Optional. An ID to identify requests. Specify a unique request ID so that if you must - // retry your request, the server will know to ignore the request if it has - // already been completed. The server will guarantee that for at least 60 - // minutes since the first request. - // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request - // ID, the server can check if original operation with the same request ID - // was received, and if so, will ignore the second request. This prevents - // clients from accidentally creating duplicate commitments. - // - // The request ID must be a valid UUID with the exception that zero UUID is - // not supported (00000000-0000-0000-0000-000000000000). - RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateReusableConfigRequest) Reset() { *m = CreateReusableConfigRequest{} } -func (m *CreateReusableConfigRequest) String() string { return proto.CompactTextString(m) } -func (*CreateReusableConfigRequest) ProtoMessage() {} -func (*CreateReusableConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0a2d125abc43e0c9, []int{15} -} - -func (m *CreateReusableConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateReusableConfigRequest.Unmarshal(m, b) -} -func (m *CreateReusableConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateReusableConfigRequest.Marshal(b, m, deterministic) -} -func (m *CreateReusableConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateReusableConfigRequest.Merge(m, src) -} -func (m *CreateReusableConfigRequest) XXX_Size() int { - return xxx_messageInfo_CreateReusableConfigRequest.Size(m) -} -func (m *CreateReusableConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateReusableConfigRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateReusableConfigRequest proto.InternalMessageInfo - -func (m *CreateReusableConfigRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateReusableConfigRequest) GetReusableConfigId() string { - if m != nil { - return m.ReusableConfigId - } - return "" -} - -func (m *CreateReusableConfigRequest) GetReusableConfig() *ReusableConfig { - if m != nil { - return m.ReusableConfig - } - return nil -} - -func (m *CreateReusableConfigRequest) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -// Request message for -// [CertificateAuthorityService.UpdateCertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthorityService.UpdateCertificateAuthority]. -type UpdateCertificateAuthorityRequest struct { - // Required. [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] with updated values. - CertificateAuthority *CertificateAuthority `protobuf:"bytes,1,opt,name=certificate_authority,json=certificateAuthority,proto3" json:"certificate_authority,omitempty"` - // Required. A list of fields to be updated in this request. - UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` - // Optional. An ID to identify requests. Specify a unique request ID so that if you must - // retry your request, the server will know to ignore the request if it has - // already been completed. The server will guarantee that for at least 60 - // minutes since the first request. - // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request - // ID, the server can check if original operation with the same request ID - // was received, and if so, will ignore the second request. This prevents - // clients from accidentally creating duplicate commitments. - // - // The request ID must be a valid UUID with the exception that zero UUID is - // not supported (00000000-0000-0000-0000-000000000000). - RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpdateCertificateAuthorityRequest) Reset() { *m = UpdateCertificateAuthorityRequest{} } -func (m *UpdateCertificateAuthorityRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateCertificateAuthorityRequest) ProtoMessage() {} -func (*UpdateCertificateAuthorityRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0a2d125abc43e0c9, []int{16} -} - -func (m *UpdateCertificateAuthorityRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateCertificateAuthorityRequest.Unmarshal(m, b) -} -func (m *UpdateCertificateAuthorityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateCertificateAuthorityRequest.Marshal(b, m, deterministic) -} -func (m *UpdateCertificateAuthorityRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateCertificateAuthorityRequest.Merge(m, src) -} -func (m *UpdateCertificateAuthorityRequest) XXX_Size() int { - return xxx_messageInfo_UpdateCertificateAuthorityRequest.Size(m) -} -func (m *UpdateCertificateAuthorityRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateCertificateAuthorityRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateCertificateAuthorityRequest proto.InternalMessageInfo - -func (m *UpdateCertificateAuthorityRequest) GetCertificateAuthority() *CertificateAuthority { - if m != nil { - return m.CertificateAuthority - } - return nil -} - -func (m *UpdateCertificateAuthorityRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -func (m *UpdateCertificateAuthorityRequest) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -// Request message for -// [CertificateAuthorityService.UpdateCertificateRevocationList][google.cloud.security.privateca.v1alpha1.CertificateAuthorityService.UpdateCertificateRevocationList]. -type UpdateCertificateRevocationListRequest struct { - // Required. [CertificateRevocationList][google.cloud.security.privateca.v1alpha1.CertificateRevocationList] with updated values. - CertificateRevocationList *CertificateRevocationList `protobuf:"bytes,1,opt,name=certificate_revocation_list,json=certificateRevocationList,proto3" json:"certificate_revocation_list,omitempty"` - // Required. A list of fields to be updated in this request. - UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` - // Optional. An ID to identify requests. Specify a unique request ID so that if you must - // retry your request, the server will know to ignore the request if it has - // already been completed. The server will guarantee that for at least 60 - // minutes since the first request. - // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request - // ID, the server can check if original operation with the same request ID - // was received, and if so, will ignore the second request. This prevents - // clients from accidentally creating duplicate commitments. - // - // The request ID must be a valid UUID with the exception that zero UUID is - // not supported (00000000-0000-0000-0000-000000000000). - RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpdateCertificateRevocationListRequest) Reset() { - *m = UpdateCertificateRevocationListRequest{} -} -func (m *UpdateCertificateRevocationListRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateCertificateRevocationListRequest) ProtoMessage() {} -func (*UpdateCertificateRevocationListRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0a2d125abc43e0c9, []int{17} -} - -func (m *UpdateCertificateRevocationListRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateCertificateRevocationListRequest.Unmarshal(m, b) -} -func (m *UpdateCertificateRevocationListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateCertificateRevocationListRequest.Marshal(b, m, deterministic) -} -func (m *UpdateCertificateRevocationListRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateCertificateRevocationListRequest.Merge(m, src) -} -func (m *UpdateCertificateRevocationListRequest) XXX_Size() int { - return xxx_messageInfo_UpdateCertificateRevocationListRequest.Size(m) -} -func (m *UpdateCertificateRevocationListRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateCertificateRevocationListRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateCertificateRevocationListRequest proto.InternalMessageInfo - -func (m *UpdateCertificateRevocationListRequest) GetCertificateRevocationList() *CertificateRevocationList { - if m != nil { - return m.CertificateRevocationList - } - return nil -} - -func (m *UpdateCertificateRevocationListRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -func (m *UpdateCertificateRevocationListRequest) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -// Request message for [CertificateAuthorityService.UpdateCertificate][google.cloud.security.privateca.v1alpha1.CertificateAuthorityService.UpdateCertificate]. -type UpdateCertificateRequest struct { - // Required. [Certificate][google.cloud.security.privateca.v1alpha1.Certificate] with updated values. - Certificate *Certificate `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"` - // Required. A list of fields to be updated in this request. - UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` - // Optional. An ID to identify requests. Specify a unique request ID so that if you must - // retry your request, the server will know to ignore the request if it has - // already been completed. The server will guarantee that for at least 60 - // minutes since the first request. - // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request - // ID, the server can check if original operation with the same request ID - // was received, and if so, will ignore the second request. This prevents - // clients from accidentally creating duplicate commitments. - // - // The request ID must be a valid UUID with the exception that zero UUID is - // not supported (00000000-0000-0000-0000-000000000000). - RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpdateCertificateRequest) Reset() { *m = UpdateCertificateRequest{} } -func (m *UpdateCertificateRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateCertificateRequest) ProtoMessage() {} -func (*UpdateCertificateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0a2d125abc43e0c9, []int{18} -} - -func (m *UpdateCertificateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateCertificateRequest.Unmarshal(m, b) -} -func (m *UpdateCertificateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateCertificateRequest.Marshal(b, m, deterministic) -} -func (m *UpdateCertificateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateCertificateRequest.Merge(m, src) -} -func (m *UpdateCertificateRequest) XXX_Size() int { - return xxx_messageInfo_UpdateCertificateRequest.Size(m) -} -func (m *UpdateCertificateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateCertificateRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateCertificateRequest proto.InternalMessageInfo - -func (m *UpdateCertificateRequest) GetCertificate() *Certificate { - if m != nil { - return m.Certificate - } - return nil -} - -func (m *UpdateCertificateRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -func (m *UpdateCertificateRequest) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -// Request message for -// [CertificateAuthorityService.UpdateReusableConfig][google.cloud.security.privateca.v1alpha1.CertificateAuthorityService.UpdateReusableConfig]. -type UpdateReusableConfigRequest struct { - // Required. [ReusableConfig][google.cloud.security.privateca.v1alpha1.ReusableConfig] with updated values. - ReusableConfig *ReusableConfig `protobuf:"bytes,1,opt,name=reusable_config,json=reusableConfig,proto3" json:"reusable_config,omitempty"` - // Required. A list of fields to be updated in this request. - UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` - // Optional. An ID to identify requests. Specify a unique request ID so that if you must - // retry your request, the server will know to ignore the request if it has - // already been completed. The server will guarantee that for at least 60 - // minutes since the first request. - // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request - // ID, the server can check if original operation with the same request ID - // was received, and if so, will ignore the second request. This prevents - // clients from accidentally creating duplicate commitments. - // - // The request ID must be a valid UUID with the exception that zero UUID is - // not supported (00000000-0000-0000-0000-000000000000). - RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpdateReusableConfigRequest) Reset() { *m = UpdateReusableConfigRequest{} } -func (m *UpdateReusableConfigRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateReusableConfigRequest) ProtoMessage() {} -func (*UpdateReusableConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0a2d125abc43e0c9, []int{19} -} - -func (m *UpdateReusableConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateReusableConfigRequest.Unmarshal(m, b) -} -func (m *UpdateReusableConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateReusableConfigRequest.Marshal(b, m, deterministic) -} -func (m *UpdateReusableConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateReusableConfigRequest.Merge(m, src) -} -func (m *UpdateReusableConfigRequest) XXX_Size() int { - return xxx_messageInfo_UpdateReusableConfigRequest.Size(m) -} -func (m *UpdateReusableConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateReusableConfigRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateReusableConfigRequest proto.InternalMessageInfo - -func (m *UpdateReusableConfigRequest) GetReusableConfig() *ReusableConfig { - if m != nil { - return m.ReusableConfig - } - return nil -} - -func (m *UpdateReusableConfigRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -func (m *UpdateReusableConfigRequest) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -// Request message for -// [CertificateAuthorityService.DeleteCertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthorityService.DeleteCertificateAuthority]. -type DeleteCertificateAuthorityRequest struct { - // Required. The resource name for this [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] in the - // format `projects/*/locations/*/certificateAuthorities/*`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Optional. An ID to identify requests. Specify a unique request ID so that if you must - // retry your request, the server will know to ignore the request if it has - // already been completed. The server will guarantee that for at least 60 - // minutes since the first request. - // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request - // ID, the server can check if original operation with the same request ID - // was received, and if so, will ignore the second request. This prevents - // clients from accidentally creating duplicate commitments. - // - // The request ID must be a valid UUID with the exception that zero UUID is - // not supported (00000000-0000-0000-0000-000000000000). - RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DeleteCertificateAuthorityRequest) Reset() { *m = DeleteCertificateAuthorityRequest{} } -func (m *DeleteCertificateAuthorityRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteCertificateAuthorityRequest) ProtoMessage() {} -func (*DeleteCertificateAuthorityRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0a2d125abc43e0c9, []int{20} -} - -func (m *DeleteCertificateAuthorityRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteCertificateAuthorityRequest.Unmarshal(m, b) -} -func (m *DeleteCertificateAuthorityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteCertificateAuthorityRequest.Marshal(b, m, deterministic) -} -func (m *DeleteCertificateAuthorityRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteCertificateAuthorityRequest.Merge(m, src) -} -func (m *DeleteCertificateAuthorityRequest) XXX_Size() int { - return xxx_messageInfo_DeleteCertificateAuthorityRequest.Size(m) -} -func (m *DeleteCertificateAuthorityRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteCertificateAuthorityRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteCertificateAuthorityRequest proto.InternalMessageInfo - -func (m *DeleteCertificateAuthorityRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *DeleteCertificateAuthorityRequest) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -// Request message for -// [CertificateAuthorityService.GetCertificateAuthorityCsr][google.cloud.security.privateca.v1alpha1.CertificateAuthorityService.GetCertificateAuthorityCsr]. -type GetCertificateAuthorityCsrRequest struct { - // Required. The resource name for this [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] in the - // format `projects/*/locations/*/certificateAuthorities/*`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetCertificateAuthorityCsrRequest) Reset() { *m = GetCertificateAuthorityCsrRequest{} } -func (m *GetCertificateAuthorityCsrRequest) String() string { return proto.CompactTextString(m) } -func (*GetCertificateAuthorityCsrRequest) ProtoMessage() {} -func (*GetCertificateAuthorityCsrRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0a2d125abc43e0c9, []int{21} -} - -func (m *GetCertificateAuthorityCsrRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCertificateAuthorityCsrRequest.Unmarshal(m, b) -} -func (m *GetCertificateAuthorityCsrRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCertificateAuthorityCsrRequest.Marshal(b, m, deterministic) -} -func (m *GetCertificateAuthorityCsrRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCertificateAuthorityCsrRequest.Merge(m, src) -} -func (m *GetCertificateAuthorityCsrRequest) XXX_Size() int { - return xxx_messageInfo_GetCertificateAuthorityCsrRequest.Size(m) -} -func (m *GetCertificateAuthorityCsrRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetCertificateAuthorityCsrRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetCertificateAuthorityCsrRequest proto.InternalMessageInfo - -func (m *GetCertificateAuthorityCsrRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Response message for -// [CertificateAuthorityService.GetCertificateAuthorityCsr][google.cloud.security.privateca.v1alpha1.CertificateAuthorityService.GetCertificateAuthorityCsr]. -type GetCertificateAuthorityCsrResponse struct { - // Output only. The PEM-encoded signed certificate signing request (CSR). - PemCsr string `protobuf:"bytes,1,opt,name=pem_csr,json=pemCsr,proto3" json:"pem_csr,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetCertificateAuthorityCsrResponse) Reset() { *m = GetCertificateAuthorityCsrResponse{} } -func (m *GetCertificateAuthorityCsrResponse) String() string { return proto.CompactTextString(m) } -func (*GetCertificateAuthorityCsrResponse) ProtoMessage() {} -func (*GetCertificateAuthorityCsrResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0a2d125abc43e0c9, []int{22} -} - -func (m *GetCertificateAuthorityCsrResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCertificateAuthorityCsrResponse.Unmarshal(m, b) -} -func (m *GetCertificateAuthorityCsrResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCertificateAuthorityCsrResponse.Marshal(b, m, deterministic) -} -func (m *GetCertificateAuthorityCsrResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCertificateAuthorityCsrResponse.Merge(m, src) -} -func (m *GetCertificateAuthorityCsrResponse) XXX_Size() int { - return xxx_messageInfo_GetCertificateAuthorityCsrResponse.Size(m) -} -func (m *GetCertificateAuthorityCsrResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetCertificateAuthorityCsrResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetCertificateAuthorityCsrResponse proto.InternalMessageInfo - -func (m *GetCertificateAuthorityCsrResponse) GetPemCsr() string { - if m != nil { - return m.PemCsr - } - return "" -} - -// Request message for -// [CertificateAuthorityService.ActivateCertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthorityService.ActivateCertificateAuthority]. -type ActivateCertificateAuthorityRequest struct { - // Required. The resource name for this [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] in the - // format `projects/*/locations/*/certificateAuthorities/*`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The signed CA certificate issued from - // [GetCertificateAuthorityCsrResponse.pem_csr][google.cloud.security.privateca.v1alpha1.GetCertificateAuthorityCsrResponse.pem_csr]. - PemCaCertificate string `protobuf:"bytes,2,opt,name=pem_ca_certificate,json=pemCaCertificate,proto3" json:"pem_ca_certificate,omitempty"` - // Required. Must include the issuer of 'pem_ca_certificate', and any further issuers - // until the self-signed CA. Expected to be in issuer-to-root order according - // to RFC 5246. - PemCaCertificateChain []string `protobuf:"bytes,3,rep,name=pem_ca_certificate_chain,json=pemCaCertificateChain,proto3" json:"pem_ca_certificate_chain,omitempty"` - // Optional. An ID to identify requests. Specify a unique request ID so that if you must - // retry your request, the server will know to ignore the request if it has - // already been completed. The server will guarantee that for at least 60 - // minutes since the first request. - // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request - // ID, the server can check if original operation with the same request ID - // was received, and if so, will ignore the second request. This prevents - // clients from accidentally creating duplicate commitments. - // - // The request ID must be a valid UUID with the exception that zero UUID is - // not supported (00000000-0000-0000-0000-000000000000). - RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ActivateCertificateAuthorityRequest) Reset() { *m = ActivateCertificateAuthorityRequest{} } -func (m *ActivateCertificateAuthorityRequest) String() string { return proto.CompactTextString(m) } -func (*ActivateCertificateAuthorityRequest) ProtoMessage() {} -func (*ActivateCertificateAuthorityRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0a2d125abc43e0c9, []int{23} -} - -func (m *ActivateCertificateAuthorityRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ActivateCertificateAuthorityRequest.Unmarshal(m, b) -} -func (m *ActivateCertificateAuthorityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ActivateCertificateAuthorityRequest.Marshal(b, m, deterministic) -} -func (m *ActivateCertificateAuthorityRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ActivateCertificateAuthorityRequest.Merge(m, src) -} -func (m *ActivateCertificateAuthorityRequest) XXX_Size() int { - return xxx_messageInfo_ActivateCertificateAuthorityRequest.Size(m) -} -func (m *ActivateCertificateAuthorityRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ActivateCertificateAuthorityRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ActivateCertificateAuthorityRequest proto.InternalMessageInfo - -func (m *ActivateCertificateAuthorityRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ActivateCertificateAuthorityRequest) GetPemCaCertificate() string { - if m != nil { - return m.PemCaCertificate - } - return "" -} - -func (m *ActivateCertificateAuthorityRequest) GetPemCaCertificateChain() []string { - if m != nil { - return m.PemCaCertificateChain - } - return nil -} - -func (m *ActivateCertificateAuthorityRequest) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -// Request message for -// [CertificateAuthorityService.DisableCertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthorityService.DisableCertificateAuthority]. -type DisableCertificateAuthorityRequest struct { - // Required. The resource name for this [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] in the - // format `projects/*/locations/*/certificateAuthorities/*`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Optional. An ID to identify requests. Specify a unique request ID so that if you must - // retry your request, the server will know to ignore the request if it has - // already been completed. The server will guarantee that for at least 60 - // minutes since the first request. - // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request - // ID, the server can check if original operation with the same request ID - // was received, and if so, will ignore the second request. This prevents - // clients from accidentally creating duplicate commitments. - // - // The request ID must be a valid UUID with the exception that zero UUID is - // not supported (00000000-0000-0000-0000-000000000000). - RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DisableCertificateAuthorityRequest) Reset() { *m = DisableCertificateAuthorityRequest{} } -func (m *DisableCertificateAuthorityRequest) String() string { return proto.CompactTextString(m) } -func (*DisableCertificateAuthorityRequest) ProtoMessage() {} -func (*DisableCertificateAuthorityRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0a2d125abc43e0c9, []int{24} -} - -func (m *DisableCertificateAuthorityRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DisableCertificateAuthorityRequest.Unmarshal(m, b) -} -func (m *DisableCertificateAuthorityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DisableCertificateAuthorityRequest.Marshal(b, m, deterministic) -} -func (m *DisableCertificateAuthorityRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DisableCertificateAuthorityRequest.Merge(m, src) -} -func (m *DisableCertificateAuthorityRequest) XXX_Size() int { - return xxx_messageInfo_DisableCertificateAuthorityRequest.Size(m) -} -func (m *DisableCertificateAuthorityRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DisableCertificateAuthorityRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DisableCertificateAuthorityRequest proto.InternalMessageInfo - -func (m *DisableCertificateAuthorityRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *DisableCertificateAuthorityRequest) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -// Request message for -// [CertificateAuthorityService.EnableCertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthorityService.EnableCertificateAuthority]. -type EnableCertificateAuthorityRequest struct { - // Required. The resource name for this [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] in the - // format `projects/*/locations/*/certificateAuthorities/*`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Optional. An ID to identify requests. Specify a unique request ID so that if you must - // retry your request, the server will know to ignore the request if it has - // already been completed. The server will guarantee that for at least 60 - // minutes since the first request. - // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request - // ID, the server can check if original operation with the same request ID - // was received, and if so, will ignore the second request. This prevents - // clients from accidentally creating duplicate commitments. - // - // The request ID must be a valid UUID with the exception that zero UUID is - // not supported (00000000-0000-0000-0000-000000000000). - RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *EnableCertificateAuthorityRequest) Reset() { *m = EnableCertificateAuthorityRequest{} } -func (m *EnableCertificateAuthorityRequest) String() string { return proto.CompactTextString(m) } -func (*EnableCertificateAuthorityRequest) ProtoMessage() {} -func (*EnableCertificateAuthorityRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0a2d125abc43e0c9, []int{25} -} - -func (m *EnableCertificateAuthorityRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EnableCertificateAuthorityRequest.Unmarshal(m, b) -} -func (m *EnableCertificateAuthorityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EnableCertificateAuthorityRequest.Marshal(b, m, deterministic) -} -func (m *EnableCertificateAuthorityRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_EnableCertificateAuthorityRequest.Merge(m, src) -} -func (m *EnableCertificateAuthorityRequest) XXX_Size() int { - return xxx_messageInfo_EnableCertificateAuthorityRequest.Size(m) -} -func (m *EnableCertificateAuthorityRequest) XXX_DiscardUnknown() { - xxx_messageInfo_EnableCertificateAuthorityRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_EnableCertificateAuthorityRequest proto.InternalMessageInfo - -func (m *EnableCertificateAuthorityRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *EnableCertificateAuthorityRequest) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -// Request message for -// [CertificateAuthorityService.ScheduleDeleteCertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthorityService.ScheduleDeleteCertificateAuthority]. -type ScheduleDeleteCertificateAuthorityRequest struct { - // Required. The resource name for this [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] in the - // format `projects/*/locations/*/certificateAuthorities/*`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Optional. An ID to identify requests. Specify a unique request ID so that if you must - // retry your request, the server will know to ignore the request if it has - // already been completed. The server will guarantee that for at least 60 - // minutes since the first request. - // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request - // ID, the server can check if original operation with the same request ID - // was received, and if so, will ignore the second request. This prevents - // clients from accidentally creating duplicate commitments. - // - // The request ID must be a valid UUID with the exception that zero UUID is - // not supported (00000000-0000-0000-0000-000000000000). - RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ScheduleDeleteCertificateAuthorityRequest) Reset() { - *m = ScheduleDeleteCertificateAuthorityRequest{} -} -func (m *ScheduleDeleteCertificateAuthorityRequest) String() string { - return proto.CompactTextString(m) -} -func (*ScheduleDeleteCertificateAuthorityRequest) ProtoMessage() {} -func (*ScheduleDeleteCertificateAuthorityRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0a2d125abc43e0c9, []int{26} -} - -func (m *ScheduleDeleteCertificateAuthorityRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ScheduleDeleteCertificateAuthorityRequest.Unmarshal(m, b) -} -func (m *ScheduleDeleteCertificateAuthorityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ScheduleDeleteCertificateAuthorityRequest.Marshal(b, m, deterministic) -} -func (m *ScheduleDeleteCertificateAuthorityRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ScheduleDeleteCertificateAuthorityRequest.Merge(m, src) -} -func (m *ScheduleDeleteCertificateAuthorityRequest) XXX_Size() int { - return xxx_messageInfo_ScheduleDeleteCertificateAuthorityRequest.Size(m) -} -func (m *ScheduleDeleteCertificateAuthorityRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ScheduleDeleteCertificateAuthorityRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ScheduleDeleteCertificateAuthorityRequest proto.InternalMessageInfo - -func (m *ScheduleDeleteCertificateAuthorityRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ScheduleDeleteCertificateAuthorityRequest) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -// Request message for -// [CertificateAuthorityService.RestoreCertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthorityService.RestoreCertificateAuthority]. -type RestoreCertificateAuthorityRequest struct { - // Required. The resource name for this [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] in the - // format `projects/*/locations/*/certificateAuthorities/*`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Optional. An ID to identify requests. Specify a unique request ID so that if you must - // retry your request, the server will know to ignore the request if it has - // already been completed. The server will guarantee that for at least 60 - // minutes since the first request. - // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request - // ID, the server can check if original operation with the same request ID - // was received, and if so, will ignore the second request. This prevents - // clients from accidentally creating duplicate commitments. - // - // The request ID must be a valid UUID with the exception that zero UUID is - // not supported (00000000-0000-0000-0000-000000000000). - RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RestoreCertificateAuthorityRequest) Reset() { *m = RestoreCertificateAuthorityRequest{} } -func (m *RestoreCertificateAuthorityRequest) String() string { return proto.CompactTextString(m) } -func (*RestoreCertificateAuthorityRequest) ProtoMessage() {} -func (*RestoreCertificateAuthorityRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0a2d125abc43e0c9, []int{27} -} - -func (m *RestoreCertificateAuthorityRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RestoreCertificateAuthorityRequest.Unmarshal(m, b) -} -func (m *RestoreCertificateAuthorityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RestoreCertificateAuthorityRequest.Marshal(b, m, deterministic) -} -func (m *RestoreCertificateAuthorityRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RestoreCertificateAuthorityRequest.Merge(m, src) -} -func (m *RestoreCertificateAuthorityRequest) XXX_Size() int { - return xxx_messageInfo_RestoreCertificateAuthorityRequest.Size(m) -} -func (m *RestoreCertificateAuthorityRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RestoreCertificateAuthorityRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RestoreCertificateAuthorityRequest proto.InternalMessageInfo - -func (m *RestoreCertificateAuthorityRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *RestoreCertificateAuthorityRequest) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -// Request message for -// [CertificateAuthorityService.RevokeCertificate][google.cloud.security.privateca.v1alpha1.CertificateAuthorityService.RevokeCertificate]. -type RevokeCertificateRequest struct { - // Required. The resource name for this [Certificate][google.cloud.security.privateca.v1alpha1.Certificate] in the - // format `projects/*/locations/*/certificateAuthorities/*/certificates/*`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The [RevocationReason][google.cloud.security.privateca.v1alpha1.RevocationReason] for revoking this certificate. - Reason RevocationReason `protobuf:"varint,2,opt,name=reason,proto3,enum=google.cloud.security.privateca.v1alpha1.RevocationReason" json:"reason,omitempty"` - // Optional. An ID to identify requests. Specify a unique request ID so that if you must - // retry your request, the server will know to ignore the request if it has - // already been completed. The server will guarantee that for at least 60 - // minutes since the first request. - // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request - // ID, the server can check if original operation with the same request ID - // was received, and if so, will ignore the second request. This prevents - // clients from accidentally creating duplicate commitments. - // - // The request ID must be a valid UUID with the exception that zero UUID is - // not supported (00000000-0000-0000-0000-000000000000). - RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RevokeCertificateRequest) Reset() { *m = RevokeCertificateRequest{} } -func (m *RevokeCertificateRequest) String() string { return proto.CompactTextString(m) } -func (*RevokeCertificateRequest) ProtoMessage() {} -func (*RevokeCertificateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0a2d125abc43e0c9, []int{28} -} - -func (m *RevokeCertificateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RevokeCertificateRequest.Unmarshal(m, b) -} -func (m *RevokeCertificateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RevokeCertificateRequest.Marshal(b, m, deterministic) -} -func (m *RevokeCertificateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RevokeCertificateRequest.Merge(m, src) -} -func (m *RevokeCertificateRequest) XXX_Size() int { - return xxx_messageInfo_RevokeCertificateRequest.Size(m) -} -func (m *RevokeCertificateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RevokeCertificateRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RevokeCertificateRequest proto.InternalMessageInfo - -func (m *RevokeCertificateRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *RevokeCertificateRequest) GetReason() RevocationReason { - if m != nil { - return m.Reason - } - return RevocationReason_REVOCATION_REASON_UNSPECIFIED -} - -func (m *RevokeCertificateRequest) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -// Request message for -// [CertificateAuthorityService.PublishCertificateRevocationList][google.cloud.security.privateca.v1alpha1.CertificateAuthorityService.PublishCertificateRevocationList]. -type PublishCertificateRevocationListRequest struct { - // Required. The resource name of the location and [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority], in the - // format `projects/*/locations/*/certificateAuthorities/*`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PublishCertificateRevocationListRequest) Reset() { - *m = PublishCertificateRevocationListRequest{} -} -func (m *PublishCertificateRevocationListRequest) String() string { return proto.CompactTextString(m) } -func (*PublishCertificateRevocationListRequest) ProtoMessage() {} -func (*PublishCertificateRevocationListRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0a2d125abc43e0c9, []int{29} -} - -func (m *PublishCertificateRevocationListRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PublishCertificateRevocationListRequest.Unmarshal(m, b) -} -func (m *PublishCertificateRevocationListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PublishCertificateRevocationListRequest.Marshal(b, m, deterministic) -} -func (m *PublishCertificateRevocationListRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PublishCertificateRevocationListRequest.Merge(m, src) -} -func (m *PublishCertificateRevocationListRequest) XXX_Size() int { - return xxx_messageInfo_PublishCertificateRevocationListRequest.Size(m) -} -func (m *PublishCertificateRevocationListRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PublishCertificateRevocationListRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_PublishCertificateRevocationListRequest proto.InternalMessageInfo - -func (m *PublishCertificateRevocationListRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Response message for -// [CertificateAuthorityService.PublishCertificateRevocationList][google.cloud.security.privateca.v1alpha1.CertificateAuthorityService.PublishCertificateRevocationList]. -type PublishCertificateRevocationListResponse struct { - // Output only. The PEM-encoded signed certificate revocation list (CRL). - PemCrl string `protobuf:"bytes,1,opt,name=pem_crl,json=pemCrl,proto3" json:"pem_crl,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PublishCertificateRevocationListResponse) Reset() { - *m = PublishCertificateRevocationListResponse{} -} -func (m *PublishCertificateRevocationListResponse) String() string { return proto.CompactTextString(m) } -func (*PublishCertificateRevocationListResponse) ProtoMessage() {} -func (*PublishCertificateRevocationListResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0a2d125abc43e0c9, []int{30} -} - -func (m *PublishCertificateRevocationListResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PublishCertificateRevocationListResponse.Unmarshal(m, b) -} -func (m *PublishCertificateRevocationListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PublishCertificateRevocationListResponse.Marshal(b, m, deterministic) -} -func (m *PublishCertificateRevocationListResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PublishCertificateRevocationListResponse.Merge(m, src) -} -func (m *PublishCertificateRevocationListResponse) XXX_Size() int { - return xxx_messageInfo_PublishCertificateRevocationListResponse.Size(m) -} -func (m *PublishCertificateRevocationListResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PublishCertificateRevocationListResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_PublishCertificateRevocationListResponse proto.InternalMessageInfo - -func (m *PublishCertificateRevocationListResponse) GetPemCrl() string { - if m != nil { - return m.PemCrl - } - return "" -} - -// Represents the metadata of the long-running operation. -type OperationMetadata struct { - // Output only. The time the operation was created. - CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Output only. The time the operation finished running. - EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - // Output only. Server-defined resource path for the target of the operation. - Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` - // Output only. Name of the verb executed by the operation. - Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"` - // Output only. Human-readable status of the operation, if any. - StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` - // Output only. Identifies whether the user has requested cancellation - // of the operation. Operations that have successfully been cancelled - // have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, - // corresponding to `Code.CANCELLED`. - RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"` - // Output only. API version used to start the operation. - ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OperationMetadata) Reset() { *m = OperationMetadata{} } -func (m *OperationMetadata) String() string { return proto.CompactTextString(m) } -func (*OperationMetadata) ProtoMessage() {} -func (*OperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_0a2d125abc43e0c9, []int{31} -} - -func (m *OperationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OperationMetadata.Unmarshal(m, b) -} -func (m *OperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OperationMetadata.Marshal(b, m, deterministic) -} -func (m *OperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperationMetadata.Merge(m, src) -} -func (m *OperationMetadata) XXX_Size() int { - return xxx_messageInfo_OperationMetadata.Size(m) -} -func (m *OperationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_OperationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_OperationMetadata proto.InternalMessageInfo - -func (m *OperationMetadata) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *OperationMetadata) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -func (m *OperationMetadata) GetTarget() string { - if m != nil { - return m.Target - } - return "" -} - -func (m *OperationMetadata) GetVerb() string { - if m != nil { - return m.Verb - } - return "" -} - -func (m *OperationMetadata) GetStatusMessage() string { - if m != nil { - return m.StatusMessage - } - return "" -} - -func (m *OperationMetadata) GetRequestedCancellation() bool { - if m != nil { - return m.RequestedCancellation - } - return false -} - -func (m *OperationMetadata) GetApiVersion() string { - if m != nil { - return m.ApiVersion - } - return "" -} - -func init() { - proto.RegisterType((*ListCertificateAuthoritiesRequest)(nil), "google.cloud.security.privateca.v1alpha1.ListCertificateAuthoritiesRequest") - proto.RegisterType((*ListCertificateRevocationListsRequest)(nil), "google.cloud.security.privateca.v1alpha1.ListCertificateRevocationListsRequest") - proto.RegisterType((*ListCertificatesRequest)(nil), "google.cloud.security.privateca.v1alpha1.ListCertificatesRequest") - proto.RegisterType((*ListReusableConfigsRequest)(nil), "google.cloud.security.privateca.v1alpha1.ListReusableConfigsRequest") - proto.RegisterType((*ListCertificateAuthoritiesResponse)(nil), "google.cloud.security.privateca.v1alpha1.ListCertificateAuthoritiesResponse") - proto.RegisterType((*ListCertificateRevocationListsResponse)(nil), "google.cloud.security.privateca.v1alpha1.ListCertificateRevocationListsResponse") - proto.RegisterType((*ListCertificatesResponse)(nil), "google.cloud.security.privateca.v1alpha1.ListCertificatesResponse") - proto.RegisterType((*ListReusableConfigsResponse)(nil), "google.cloud.security.privateca.v1alpha1.ListReusableConfigsResponse") - proto.RegisterType((*GetCertificateAuthorityRequest)(nil), "google.cloud.security.privateca.v1alpha1.GetCertificateAuthorityRequest") - proto.RegisterType((*GetCertificateRevocationListRequest)(nil), "google.cloud.security.privateca.v1alpha1.GetCertificateRevocationListRequest") - proto.RegisterType((*GetCertificateRequest)(nil), "google.cloud.security.privateca.v1alpha1.GetCertificateRequest") - proto.RegisterType((*GetReusableConfigRequest)(nil), "google.cloud.security.privateca.v1alpha1.GetReusableConfigRequest") - proto.RegisterType((*CreateCertificateAuthorityRequest)(nil), "google.cloud.security.privateca.v1alpha1.CreateCertificateAuthorityRequest") - proto.RegisterType((*CreateCertificateRevocationListRequest)(nil), "google.cloud.security.privateca.v1alpha1.CreateCertificateRevocationListRequest") - proto.RegisterType((*CreateCertificateRequest)(nil), "google.cloud.security.privateca.v1alpha1.CreateCertificateRequest") - proto.RegisterType((*CreateReusableConfigRequest)(nil), "google.cloud.security.privateca.v1alpha1.CreateReusableConfigRequest") - proto.RegisterType((*UpdateCertificateAuthorityRequest)(nil), "google.cloud.security.privateca.v1alpha1.UpdateCertificateAuthorityRequest") - proto.RegisterType((*UpdateCertificateRevocationListRequest)(nil), "google.cloud.security.privateca.v1alpha1.UpdateCertificateRevocationListRequest") - proto.RegisterType((*UpdateCertificateRequest)(nil), "google.cloud.security.privateca.v1alpha1.UpdateCertificateRequest") - proto.RegisterType((*UpdateReusableConfigRequest)(nil), "google.cloud.security.privateca.v1alpha1.UpdateReusableConfigRequest") - proto.RegisterType((*DeleteCertificateAuthorityRequest)(nil), "google.cloud.security.privateca.v1alpha1.DeleteCertificateAuthorityRequest") - proto.RegisterType((*GetCertificateAuthorityCsrRequest)(nil), "google.cloud.security.privateca.v1alpha1.GetCertificateAuthorityCsrRequest") - proto.RegisterType((*GetCertificateAuthorityCsrResponse)(nil), "google.cloud.security.privateca.v1alpha1.GetCertificateAuthorityCsrResponse") - proto.RegisterType((*ActivateCertificateAuthorityRequest)(nil), "google.cloud.security.privateca.v1alpha1.ActivateCertificateAuthorityRequest") - proto.RegisterType((*DisableCertificateAuthorityRequest)(nil), "google.cloud.security.privateca.v1alpha1.DisableCertificateAuthorityRequest") - proto.RegisterType((*EnableCertificateAuthorityRequest)(nil), "google.cloud.security.privateca.v1alpha1.EnableCertificateAuthorityRequest") - proto.RegisterType((*ScheduleDeleteCertificateAuthorityRequest)(nil), "google.cloud.security.privateca.v1alpha1.ScheduleDeleteCertificateAuthorityRequest") - proto.RegisterType((*RestoreCertificateAuthorityRequest)(nil), "google.cloud.security.privateca.v1alpha1.RestoreCertificateAuthorityRequest") - proto.RegisterType((*RevokeCertificateRequest)(nil), "google.cloud.security.privateca.v1alpha1.RevokeCertificateRequest") - proto.RegisterType((*PublishCertificateRevocationListRequest)(nil), "google.cloud.security.privateca.v1alpha1.PublishCertificateRevocationListRequest") - proto.RegisterType((*PublishCertificateRevocationListResponse)(nil), "google.cloud.security.privateca.v1alpha1.PublishCertificateRevocationListResponse") - proto.RegisterType((*OperationMetadata)(nil), "google.cloud.security.privateca.v1alpha1.OperationMetadata") -} - -func init() { - proto.RegisterFile("google/cloud/security/privateca/v1alpha1/service.proto", fileDescriptor_0a2d125abc43e0c9) -} - -var fileDescriptor_0a2d125abc43e0c9 = []byte{ - // 2433 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x5b, 0xdd, 0x6f, 0xdc, 0x58, - 0xd9, 0xd7, 0xf1, 0x74, 0xd3, 0xf6, 0xc9, 0xdb, 0xb4, 0x3d, 0x6f, 0xbb, 0x9d, 0x7a, 0x4a, 0x3b, - 0x71, 0x97, 0x36, 0x89, 0xb2, 0x33, 0x4a, 0xa0, 0x68, 0x77, 0x96, 0x85, 0x3a, 0xd3, 0xd2, 0x84, - 0x4d, 0x36, 0xe9, 0xa4, 0x04, 0x95, 0xfd, 0x18, 0x1c, 0xcf, 0xc9, 0xc4, 0x1b, 0x8f, 0x6d, 0x6c, - 0x4f, 0xba, 0x59, 0x96, 0x0f, 0x01, 0x5b, 0xad, 0x00, 0xa9, 0x12, 0x7b, 0xc1, 0xc7, 0x0d, 0x20, - 0x96, 0x15, 0x02, 0x71, 0xc5, 0x1f, 0x80, 0xd0, 0x8a, 0x9b, 0x08, 0x21, 0x04, 0xe2, 0x82, 0x22, - 0xa1, 0x0a, 0x21, 0x01, 0x5a, 0x09, 0x71, 0x81, 0x04, 0x14, 0x21, 0x21, 0xfb, 0x78, 0x66, 0x6c, - 0xcf, 0xf1, 0xd8, 0x9e, 0x99, 0x44, 0xd1, 0x5e, 0xe6, 0x9c, 0xf3, 0x7c, 0xfd, 0x7c, 0x9e, 0xdf, - 0x39, 0xe7, 0x79, 0x32, 0xf0, 0x81, 0xba, 0xae, 0xd7, 0x55, 0x52, 0x94, 0x55, 0xbd, 0x59, 0x2b, - 0x5a, 0x44, 0x6e, 0x9a, 0x8a, 0xbd, 0x53, 0x34, 0x4c, 0x65, 0x5b, 0xb2, 0x89, 0x2c, 0x15, 0xb7, - 0x67, 0x24, 0xd5, 0xd8, 0x94, 0x66, 0x8a, 0x16, 0x31, 0xb7, 0x15, 0x99, 0x14, 0x0c, 0x53, 0xb7, - 0x75, 0x3c, 0x41, 0xe5, 0x0a, 0xae, 0x5c, 0xa1, 0x25, 0x57, 0x68, 0xcb, 0x15, 0x5a, 0x72, 0xfc, - 0x39, 0xcf, 0x82, 0x64, 0x28, 0x45, 0x49, 0xd3, 0x74, 0x5b, 0xb2, 0x15, 0x5d, 0xb3, 0xa8, 0x1e, - 0xfe, 0x8c, 0x6f, 0x56, 0x56, 0x15, 0xa2, 0xd9, 0xde, 0xc4, 0x05, 0xdf, 0xc4, 0x86, 0x42, 0xd4, - 0x5a, 0x75, 0x9d, 0x6c, 0x4a, 0xdb, 0x8a, 0x6e, 0x7a, 0x0b, 0xce, 0xfa, 0x16, 0x98, 0xc4, 0xd2, - 0x9b, 0x66, 0xcb, 0x39, 0xfe, 0x89, 0xc4, 0x41, 0xb5, 0x04, 0x5b, 0xee, 0x5c, 0xf4, 0x24, 0x55, - 0x5d, 0xab, 0x9b, 0x4d, 0x4d, 0x53, 0xb4, 0x7a, 0x51, 0x37, 0x88, 0x19, 0xf0, 0x39, 0xef, 0x2d, - 0x72, 0xff, 0x5a, 0x6f, 0x6e, 0x78, 0xfe, 0x35, 0x24, 0x6b, 0x2b, 0xe4, 0x7c, 0x7b, 0x85, 0xad, - 0x34, 0x88, 0x65, 0x4b, 0x0d, 0x83, 0x2e, 0x10, 0xfe, 0x8a, 0x60, 0x7c, 0x51, 0xb1, 0xec, 0x32, - 0x31, 0x6d, 0x65, 0x43, 0x91, 0x25, 0x9b, 0x88, 0x4d, 0x7b, 0x53, 0x37, 0x15, 0x5b, 0x21, 0x56, - 0x85, 0x7c, 0xaa, 0x49, 0x2c, 0x1b, 0x8b, 0x30, 0x62, 0x48, 0x26, 0xd1, 0xec, 0x2c, 0xca, 0xa3, - 0x89, 0xa3, 0x73, 0x93, 0x0f, 0x44, 0xee, 0xa1, 0x78, 0x11, 0xc6, 0x55, 0x5d, 0xf6, 0x3c, 0xa2, - 0x86, 0x24, 0x43, 0xb1, 0x0a, 0xb2, 0xde, 0x28, 0x2e, 0x7a, 0x13, 0x15, 0x4f, 0x10, 0xe7, 0xe1, - 0xa8, 0x21, 0xd5, 0x49, 0xd5, 0x52, 0x5e, 0x21, 0x59, 0x2e, 0x8f, 0x26, 0x1e, 0x99, 0xcb, 0x3c, - 0x10, 0x51, 0xe5, 0x88, 0x33, 0xba, 0xaa, 0xbc, 0x42, 0xb0, 0x00, 0xe0, 0xae, 0xb0, 0xf5, 0x2d, - 0xa2, 0x65, 0x33, 0xae, 0x21, 0x77, 0x89, 0x2b, 0x78, 0xcb, 0x19, 0xc5, 0x39, 0x18, 0xd9, 0x50, - 0x54, 0x9b, 0x98, 0xd9, 0x43, 0x9d, 0x79, 0x6f, 0x08, 0x9f, 0x87, 0x23, 0xba, 0x59, 0x23, 0x66, - 0x75, 0x7d, 0x27, 0xfb, 0x48, 0x67, 0xfa, 0xb0, 0x3b, 0x38, 0xb7, 0x23, 0xfc, 0x1b, 0xc1, 0x7b, - 0x43, 0xb1, 0x56, 0xc8, 0xb6, 0xe7, 0xa8, 0x33, 0xd1, 0x8e, 0x77, 0x29, 0x14, 0xef, 0x15, 0x37, - 0xde, 0x22, 0x3c, 0xde, 0xd9, 0x56, 0xa1, 0x78, 0x19, 0xf8, 0xed, 0x1c, 0xa4, 0xd8, 0xdf, 0x41, - 0x70, 0x26, 0x14, 0xfb, 0xbb, 0x38, 0xda, 0x3f, 0x22, 0xe0, 0x9d, 0x68, 0x2b, 0xa4, 0x69, 0x49, - 0xeb, 0x2a, 0x29, 0xeb, 0xda, 0x86, 0x52, 0x7f, 0x97, 0x6d, 0xe7, 0x3f, 0x23, 0x10, 0x7a, 0xa5, - 0xae, 0x65, 0xe8, 0x9a, 0x45, 0xf0, 0x1d, 0x38, 0x23, 0x77, 0x56, 0x54, 0xa5, 0xce, 0x92, 0x2c, - 0xca, 0x67, 0x26, 0x46, 0x67, 0x3f, 0x54, 0x48, 0x4a, 0xa1, 0x05, 0xe6, 0x77, 0x7f, 0x54, 0x66, - 0x3a, 0x80, 0x2f, 0xc1, 0x71, 0x8d, 0xbc, 0x6c, 0x57, 0x7d, 0x28, 0x38, 0x40, 0x1d, 0xad, 0x1c, - 0x73, 0x86, 0x57, 0xda, 0x20, 0xe4, 0x61, 0xb4, 0xa9, 0x99, 0x44, 0x92, 0x37, 0x9d, 0x4f, 0x95, - 0xcd, 0xe4, 0x33, 0x13, 0x47, 0x2b, 0xfe, 0x21, 0xe1, 0x21, 0x82, 0x4b, 0x71, 0x89, 0xeb, 0x45, - 0xfb, 0x1a, 0x82, 0x73, 0xfe, 0x70, 0xcd, 0xf6, 0xba, 0xaa, 0xea, 0x2c, 0xf4, 0x62, 0x2e, 0xf7, - 0x15, 0x73, 0xd0, 0x68, 0x85, 0x97, 0x23, 0xfd, 0x19, 0x62, 0xf0, 0x3f, 0x45, 0x90, 0xed, 0xce, - 0x5c, 0x2f, 0xdc, 0xdb, 0xf0, 0x7f, 0x3e, 0x27, 0x5a, 0xd1, 0x5d, 0xe9, 0x2f, 0xba, 0x80, 0xaa, - 0x21, 0x46, 0xf0, 0x0b, 0x04, 0x39, 0x66, 0x36, 0x7a, 0x41, 0xc8, 0x70, 0xc2, 0xf4, 0xa6, 0xaa, - 0x32, 0x9d, 0xf3, 0x02, 0x79, 0x22, 0x79, 0x20, 0x41, 0xe5, 0x95, 0xe3, 0x66, 0xd0, 0xd8, 0x10, - 0xc3, 0xd9, 0x82, 0xf3, 0x37, 0x88, 0xcd, 0x4c, 0x05, 0x8f, 0x5f, 0x16, 0xe0, 0x90, 0x26, 0x35, - 0xc8, 0x60, 0x74, 0xea, 0xaa, 0x10, 0x9a, 0x70, 0x31, 0x68, 0x2c, 0xb4, 0x07, 0x3d, 0x8b, 0xcf, - 0x06, 0x2c, 0x96, 0x5c, 0x8b, 0xef, 0x87, 0xd9, 0x24, 0x16, 0x43, 0x0a, 0xa9, 0xd9, 0xdb, 0x70, - 0x3a, 0x6c, 0x96, 0x1a, 0xba, 0x1a, 0x30, 0x34, 0xed, 0x1a, 0xba, 0x04, 0x8f, 0x25, 0x32, 0x44, - 0x55, 0x57, 0x21, 0x7b, 0x83, 0x84, 0xf6, 0x42, 0x4b, 0x7b, 0x39, 0xa0, 0xbd, 0xe8, 0x6a, 0x9f, - 0x84, 0xcb, 0x91, 0xda, 0x43, 0x5a, 0xa8, 0x81, 0xb7, 0x39, 0x18, 0x2f, 0x9b, 0x44, 0xb2, 0x49, - 0xaf, 0x6f, 0x34, 0x84, 0x33, 0xe0, 0x69, 0xc8, 0xb2, 0x98, 0x75, 0xa7, 0xaa, 0xd4, 0xe8, 0xde, - 0x72, 0x08, 0x9b, 0x63, 0xf2, 0xe3, 0xce, 0x42, 0x0d, 0xbf, 0x0c, 0xa7, 0x99, 0xe2, 0xee, 0x59, - 0x31, 0x30, 0x2d, 0x53, 0xdb, 0xa7, 0x58, 0xb6, 0x9d, 0xa3, 0xc9, 0xa4, 0x30, 0x38, 0xae, 0xfa, - 0x8e, 0x9e, 0xa3, 0xde, 0xf0, 0x42, 0x4d, 0xf8, 0x3b, 0x07, 0x97, 0xba, 0x50, 0x64, 0x6f, 0xbe, - 0x21, 0xdf, 0x1f, 0xe6, 0xe1, 0x7c, 0x0f, 0x06, 0x0f, 0x81, 0x9b, 0x8b, 0xe4, 0xe0, 0x85, 0x1a, - 0x7e, 0x1d, 0x41, 0xae, 0x87, 0x2a, 0x0f, 0xe8, 0x61, 0x9c, 0x05, 0xd4, 0x99, 0xb3, 0x91, 0xce, - 0x24, 0x82, 0xfc, 0xeb, 0x1c, 0x64, 0x19, 0x90, 0xef, 0x09, 0xc8, 0x53, 0x30, 0xe6, 0x47, 0x26, - 0x08, 0xea, 0x31, 0xdf, 0xd4, 0x42, 0x0d, 0x3f, 0x0f, 0xa3, 0xbe, 0x01, 0x0f, 0xb5, 0xfe, 0xce, - 0x18, 0xaa, 0xdf, 0xaf, 0x2e, 0x11, 0x32, 0xdf, 0xe6, 0x20, 0x47, 0x91, 0x61, 0xf3, 0xc6, 0x10, - 0x92, 0x79, 0x06, 0x70, 0xe8, 0x10, 0x0a, 0x81, 0x72, 0x22, 0x78, 0xa2, 0x2c, 0xd4, 0xf0, 0x06, - 0x1c, 0x0f, 0x89, 0x78, 0xd8, 0xf4, 0x7d, 0x6c, 0x51, 0x4b, 0x63, 0x41, 0x4b, 0x89, 0x10, 0xfa, - 0x22, 0x07, 0xe3, 0x1f, 0x33, 0x6a, 0x31, 0xa4, 0x17, 0x49, 0x39, 0x68, 0xaf, 0x29, 0xe7, 0x2a, - 0x8c, 0x36, 0x5d, 0xf7, 0xdc, 0xd7, 0xa9, 0x8b, 0xeb, 0xe8, 0x2c, 0xdf, 0xb2, 0xd7, 0x7a, 0x9e, - 0x16, 0x3e, 0xe2, 0x3c, 0x60, 0x97, 0x24, 0x6b, 0x8b, 0xea, 0x02, 0x2a, 0xe3, 0x0c, 0x84, 0x50, - 0xc8, 0x30, 0x51, 0xf8, 0x26, 0x07, 0x97, 0xba, 0x50, 0x60, 0x93, 0x56, 0x1c, 0x37, 0xa0, 0xfd, - 0xe3, 0x86, 0xfd, 0xc1, 0xe6, 0x0f, 0x08, 0xb2, 0x0c, 0x6c, 0x28, 0x1a, 0xa1, 0x14, 0x47, 0xc3, - 0x4d, 0xf1, 0xfd, 0x09, 0xf0, 0x1d, 0x04, 0x39, 0x1a, 0x20, 0x9b, 0x24, 0x18, 0xe9, 0x8a, 0xf6, - 0x22, 0x5d, 0xf7, 0x27, 0xda, 0xaf, 0x21, 0x18, 0xbf, 0x46, 0x54, 0xd2, 0x3b, 0xe1, 0x87, 0x77, - 0x13, 0x0d, 0x39, 0xc5, 0x31, 0x9d, 0xd2, 0x60, 0x3c, 0xe2, 0x6a, 0x5c, 0xb6, 0xcc, 0x3d, 0xb8, - 0x1d, 0xcf, 0x81, 0xd0, 0xcb, 0x9e, 0xf7, 0xbe, 0x38, 0x07, 0x87, 0x0d, 0xd2, 0xa8, 0xca, 0x96, - 0xe9, 0xd9, 0xcc, 0x3c, 0x10, 0x33, 0x95, 0x11, 0x83, 0x34, 0xca, 0x96, 0x29, 0xbc, 0xc6, 0xc1, - 0x45, 0x51, 0xb6, 0x5d, 0xe3, 0xfb, 0x04, 0xe5, 0x0c, 0x60, 0xd7, 0x21, 0xa9, 0xea, 0x4f, 0x3a, - 0xff, 0x59, 0xe3, 0xf8, 0x26, 0xf9, 0x34, 0xe0, 0x0f, 0x42, 0xb6, 0x5b, 0xa4, 0x2a, 0x6f, 0x4a, - 0x8a, 0x46, 0xdf, 0x28, 0x54, 0xf0, 0x74, 0x58, 0xb0, 0xec, 0xac, 0x48, 0x74, 0x82, 0xbc, 0x81, - 0x40, 0xb8, 0xa6, 0xd0, 0x8d, 0x7c, 0x70, 0x76, 0x94, 0xb3, 0xcd, 0xaf, 0x6b, 0x07, 0xcc, 0xa9, - 0x6f, 0x21, 0x98, 0x5c, 0x95, 0x37, 0x49, 0xad, 0xa9, 0x92, 0x03, 0x97, 0x83, 0xce, 0x77, 0xac, - 0x10, 0xcb, 0xd6, 0xcd, 0x83, 0xe4, 0xd5, 0xef, 0x10, 0x64, 0x9d, 0x63, 0x6f, 0x8b, 0xec, 0xc5, - 0xa3, 0x12, 0x7f, 0x1c, 0x46, 0x4c, 0x22, 0x59, 0x3a, 0x7d, 0xd4, 0x8f, 0xcd, 0x96, 0xd2, 0x50, - 0x7a, 0xeb, 0x30, 0xae, 0xb8, 0x1a, 0x68, 0x22, 0x79, 0xea, 0x12, 0x51, 0xb1, 0x0d, 0x97, 0x57, - 0x9a, 0xeb, 0xaa, 0x62, 0x6d, 0xc6, 0xde, 0x3a, 0x86, 0xc8, 0x7d, 0xf3, 0x30, 0x11, 0x6f, 0x35, - 0xc4, 0x80, 0xa6, 0xda, 0xc5, 0x80, 0xa6, 0x2a, 0xfc, 0x96, 0x83, 0x93, 0xcb, 0xad, 0xde, 0xc2, - 0x12, 0xb1, 0xa5, 0x9a, 0x64, 0x4b, 0xce, 0x31, 0x26, 0xbb, 0x57, 0xee, 0xaa, 0xad, 0x34, 0x5a, - 0x57, 0x82, 0xee, 0x63, 0xec, 0x56, 0xab, 0xa1, 0x40, 0x75, 0x02, 0x95, 0x71, 0x46, 0x71, 0x09, - 0x8e, 0x10, 0xad, 0x46, 0xc5, 0xb9, 0x64, 0xe2, 0x87, 0x89, 0x56, 0x73, 0x65, 0x73, 0x30, 0x62, - 0x4b, 0x66, 0x9d, 0xd8, 0x1d, 0xcc, 0x33, 0x15, 0x6f, 0x08, 0x9f, 0x81, 0x43, 0xdb, 0xc4, 0x5c, - 0xef, 0x10, 0x59, 0xa6, 0xe2, 0x0e, 0x38, 0xaf, 0x1a, 0xcb, 0x96, 0xec, 0xa6, 0x55, 0x6d, 0x10, - 0xcb, 0x92, 0xea, 0xa4, 0x53, 0x38, 0xcd, 0x54, 0x8e, 0xd1, 0xa9, 0x25, 0x3a, 0x83, 0x4b, 0xf0, - 0xa8, 0xf7, 0x09, 0x49, 0xad, 0x2a, 0x4b, 0x9a, 0x4c, 0x54, 0xd5, 0x45, 0x20, 0x3b, 0x92, 0x47, - 0x13, 0x47, 0xa8, 0xcc, 0xe9, 0xf6, 0x92, 0xb2, 0x6f, 0x05, 0x7e, 0x0c, 0x46, 0x25, 0x43, 0xa9, - 0x6e, 0x13, 0xd3, 0x72, 0x04, 0x0e, 0x77, 0x8c, 0x80, 0x64, 0x28, 0x6b, 0x74, 0x78, 0xf6, 0xee, - 0x93, 0x90, 0x63, 0x7d, 0xc0, 0x55, 0xda, 0xc0, 0xc2, 0x5f, 0xe6, 0x68, 0x95, 0x9a, 0x5d, 0xc0, - 0xc5, 0xcf, 0x24, 0xdf, 0xc3, 0xb1, 0x1d, 0x1c, 0x7e, 0x71, 0x38, 0xca, 0xe8, 0x7e, 0x12, 0x6e, - 0xde, 0x17, 0xbd, 0x77, 0xd3, 0x17, 0x7e, 0xf3, 0xa7, 0x37, 0xb8, 0x39, 0x7c, 0xb5, 0xd3, 0xc9, - 0xfa, 0x34, 0x9d, 0x78, 0xda, 0x30, 0xf5, 0x97, 0x88, 0x6c, 0x5b, 0xc5, 0xa9, 0x62, 0xfb, 0x15, - 0x56, 0x9c, 0xfa, 0x4c, 0x31, 0xa2, 0x5a, 0xfc, 0x13, 0x0e, 0xce, 0xf7, 0xae, 0xf1, 0xe2, 0xe5, - 0xbe, 0x63, 0x60, 0xb7, 0x79, 0xf8, 0x95, 0xe1, 0x29, 0xf4, 0x80, 0xd1, 0x82, 0xc0, 0x54, 0xf1, - 0x0b, 0x49, 0x81, 0x89, 0xc0, 0x25, 0x84, 0x58, 0x18, 0x92, 0xff, 0x20, 0x38, 0x11, 0x2e, 0x0e, - 0x63, 0xb1, 0xef, 0xb0, 0xda, 0xc8, 0xcc, 0x0d, 0xa2, 0xc2, 0xc3, 0xe2, 0x93, 0x41, 0x2c, 0x6e, - 0xe2, 0xe5, 0xe1, 0x62, 0x61, 0xe1, 0xbf, 0x21, 0xf8, 0x7f, 0x46, 0x61, 0x19, 0x5f, 0x4b, 0xe7, - 0x3d, 0xbb, 0x4b, 0xc4, 0x5f, 0x1f, 0x50, 0x8b, 0x07, 0xc3, 0x47, 0x83, 0x30, 0x3c, 0x85, 0x9f, - 0x4c, 0x9e, 0x2b, 0xe1, 0x22, 0xf6, 0x3f, 0x10, 0x9c, 0x89, 0xb8, 0xf0, 0xe2, 0xf9, 0xe4, 0xee, - 0xf6, 0x2e, 0x5f, 0xf3, 0x03, 0x96, 0x01, 0x84, 0xe5, 0xfb, 0xa2, 0x7b, 0x44, 0x31, 0xb8, 0xc1, - 0x19, 0x4e, 0xfd, 0xd1, 0xf1, 0x77, 0x38, 0x38, 0xd7, 0xab, 0x0a, 0x8e, 0x97, 0xfa, 0x8d, 0x9d, - 0x79, 0x4a, 0xf3, 0xc3, 0x78, 0xf5, 0x0b, 0xaa, 0x1f, 0x85, 0x20, 0x11, 0xf4, 0x83, 0x42, 0x0f, - 0x16, 0x70, 0x20, 0xfa, 0x0b, 0x82, 0xb1, 0x60, 0x68, 0xf8, 0xc3, 0xfd, 0x83, 0x42, 0x61, 0xe8, - 0xef, 0xfd, 0x2f, 0xbc, 0xe8, 0x0f, 0x3c, 0x98, 0xf5, 0x83, 0x06, 0xee, 0x86, 0xfa, 0x7b, 0x04, - 0x27, 0xbb, 0x3a, 0x08, 0x78, 0x2e, 0x55, 0xb4, 0xcc, 0x0a, 0x01, 0xdf, 0x77, 0x21, 0x40, 0x98, - 0xf7, 0xc7, 0x1c, 0x4c, 0xf1, 0x5e, 0x31, 0x87, 0xf2, 0xdb, 0x89, 0xee, 0x97, 0x1c, 0xf0, 0xd1, - 0xdd, 0x8b, 0x34, 0x97, 0x82, 0xd8, 0x1e, 0x08, 0xff, 0x9e, 0x96, 0x32, 0xdf, 0x7f, 0x99, 0x14, - 0xda, 0x37, 0x41, 0xe1, 0x6d, 0xb4, 0x2b, 0x4e, 0xc2, 0x29, 0xa6, 0x1f, 0xdd, 0x17, 0xc6, 0xfb, - 0xe2, 0x15, 0xca, 0x66, 0xd3, 0xcc, 0x12, 0xe3, 0x74, 0x54, 0xab, 0xc4, 0x85, 0xec, 0xb6, 0x30, - 0xf0, 0x0d, 0xa2, 0xc4, 0x2e, 0x6d, 0xe2, 0xaf, 0x66, 0xe0, 0x42, 0x4c, 0x23, 0x03, 0xaf, 0x0c, - 0x80, 0x2a, 0x9b, 0x42, 0x62, 0xa0, 0xfd, 0x27, 0xda, 0x15, 0x0b, 0x70, 0x36, 0xda, 0x23, 0x16, - 0xbe, 0x22, 0x03, 0xdf, 0x50, 0xd9, 0x72, 0xba, 0x77, 0xe7, 0xc4, 0xc5, 0xfa, 0x55, 0x61, 0x6f, - 0x2f, 0x25, 0xa5, 0x5e, 0x75, 0x55, 0xfc, 0x26, 0x07, 0x27, 0xbb, 0x30, 0x4c, 0x93, 0xbd, 0x51, - 0x1d, 0x92, 0x38, 0xc8, 0x7f, 0x84, 0x76, 0xc5, 0x3c, 0x8c, 0xfa, 0xad, 0xb2, 0x40, 0x1e, 0xef, - 0x06, 0x79, 0x3a, 0xd8, 0x29, 0x71, 0x41, 0x7c, 0x51, 0x18, 0xf6, 0x6d, 0xa6, 0x14, 0x28, 0x99, - 0x7e, 0x8f, 0x83, 0x53, 0xac, 0x8e, 0x07, 0xbe, 0x9e, 0x16, 0x29, 0x36, 0xd5, 0xc5, 0x80, 0xf5, - 0x26, 0xda, 0x15, 0x2f, 0xc2, 0x58, 0xc8, 0x36, 0x0b, 0xaf, 0x49, 0x0f, 0xaf, 0x50, 0x69, 0x75, - 0xba, 0xbb, 0x99, 0xe2, 0xe2, 0xb6, 0x28, 0xf4, 0x7f, 0xfd, 0x29, 0x85, 0xeb, 0xb7, 0xf8, 0x57, - 0x1c, 0xf0, 0xd1, 0x5d, 0x8f, 0x34, 0x64, 0x19, 0xdb, 0x3b, 0x89, 0x43, 0xec, 0xe7, 0x29, 0xc9, - 0x72, 0x9c, 0xcd, 0x92, 0xbe, 0xca, 0xb1, 0x8b, 0x97, 0x3e, 0xbb, 0xe6, 0xc3, 0x8b, 0x29, 0x53, - 0xe8, 0xeb, 0x52, 0x15, 0x45, 0x97, 0xf7, 0x32, 0x70, 0x21, 0xa6, 0x85, 0x92, 0x86, 0x2e, 0x93, - 0x75, 0x63, 0xe2, 0xc0, 0x7d, 0xd8, 0x0f, 0x5d, 0x5e, 0xee, 0xc5, 0x93, 0x61, 0x9c, 0xbf, 0x81, - 0x66, 0x77, 0x22, 0x80, 0x0e, 0x89, 0x16, 0x86, 0x7f, 0x7b, 0xeb, 0xcd, 0x98, 0x6f, 0x71, 0x70, - 0xb2, 0x0b, 0xc6, 0x34, 0x8c, 0x19, 0xd5, 0xf5, 0x89, 0x43, 0xfd, 0xc7, 0xc9, 0x18, 0xd3, 0xff, - 0xef, 0x65, 0x5d, 0xb8, 0xbe, 0x34, 0xfb, 0x1c, 0x1b, 0xd6, 0xc2, 0x30, 0xee, 0x82, 0x41, 0xce, - 0xfc, 0x3e, 0x07, 0xa7, 0x58, 0x0d, 0xa0, 0x34, 0x9c, 0xd9, 0xa3, 0x81, 0x14, 0x07, 0xd7, 0x5b, - 0x89, 0x39, 0x33, 0x17, 0x26, 0xcb, 0x30, 0x6a, 0xcf, 0xcf, 0x2e, 0xf8, 0x50, 0x0b, 0xad, 0x2e, - 0xa4, 0xbb, 0x51, 0x76, 0xb3, 0xe6, 0x5d, 0x0e, 0xf8, 0xe8, 0xb2, 0x75, 0x1a, 0xd6, 0x8c, 0x2d, - 0x7e, 0xc7, 0x61, 0xf6, 0xea, 0xae, 0x38, 0x05, 0xa7, 0xc3, 0x45, 0xc1, 0xeb, 0x0d, 0x23, 0x82, - 0x35, 0x7d, 0xef, 0xca, 0xa9, 0xc1, 0xdf, 0x95, 0xf7, 0x38, 0xe0, 0xa3, 0xfb, 0x47, 0x69, 0x80, - 0x88, 0xed, 0x7a, 0xa5, 0x29, 0xc0, 0xc5, 0xb7, 0xb4, 0x84, 0x35, 0x3f, 0x14, 0x0b, 0xf8, 0xc6, - 0xa0, 0x50, 0x94, 0xea, 0xc4, 0x76, 0x42, 0xbe, 0xc7, 0xc1, 0xb9, 0x5e, 0xcd, 0xb0, 0x34, 0x2f, - 0xed, 0x04, 0x4d, 0xb5, 0xb8, 0xed, 0xf1, 0xf9, 0x54, 0x87, 0xaa, 0x0b, 0xc6, 0xb3, 0xc2, 0xc2, - 0xc0, 0x60, 0x48, 0x9e, 0xe7, 0x25, 0x34, 0x85, 0xbf, 0xc2, 0x41, 0xae, 0x47, 0x5b, 0x0c, 0xa7, - 0xf8, 0xae, 0xf1, 0xdd, 0xb5, 0x38, 0x3c, 0x3e, 0x97, 0x1a, 0x8e, 0x25, 0x61, 0x7e, 0x60, 0x38, - 0x6a, 0xd4, 0x6f, 0x07, 0x8d, 0xd7, 0x39, 0xe0, 0xa3, 0xdb, 0x71, 0x69, 0x32, 0x26, 0xb6, 0xa9, - 0x17, 0x87, 0xc5, 0x67, 0x53, 0x63, 0xb1, 0x28, 0x0c, 0x9e, 0x27, 0x44, 0x6b, 0x41, 0xf1, 0x5d, - 0x0e, 0x84, 0xf8, 0x26, 0x20, 0x5e, 0x4d, 0x0e, 0x49, 0xe2, 0x96, 0x62, 0x1c, 0x34, 0x77, 0xd3, - 0xa7, 0xcd, 0x2d, 0x61, 0x79, 0x60, 0x6c, 0xac, 0x80, 0xff, 0xad, 0xe4, 0xe9, 0xd1, 0x8b, 0x4c, - 0x93, 0x3c, 0xf1, 0x2d, 0xcd, 0x83, 0x99, 0x3c, 0x26, 0xf5, 0xdb, 0x41, 0xe3, 0xbf, 0x08, 0x4e, - 0x76, 0xf5, 0x40, 0xd3, 0x5c, 0xe4, 0xa2, 0x1a, 0xa8, 0x71, 0x91, 0x7f, 0x29, 0xc9, 0x45, 0xce, - 0x8d, 0xf8, 0x39, 0x61, 0x6d, 0xc8, 0xe5, 0xba, 0x92, 0xe9, 0x3a, 0xed, 0xc4, 0xff, 0x03, 0x0e, - 0xf2, 0x71, 0x2d, 0x4b, 0x7c, 0x33, 0x39, 0x1c, 0x09, 0x9b, 0xae, 0x7c, 0x65, 0x98, 0x2a, 0xbd, - 0x03, 0xf8, 0x05, 0xff, 0x01, 0xbc, 0x22, 0x3c, 0x33, 0xf0, 0x3e, 0x31, 0x3c, 0xcb, 0xa6, 0x5a, - 0x42, 0x53, 0xfc, 0xe2, 0xae, 0x98, 0x8d, 0x6a, 0x0a, 0xff, 0x5a, 0x2c, 0x6c, 0xda, 0xb6, 0x61, - 0x95, 0x8a, 0xc5, 0x3b, 0x77, 0xee, 0x84, 0x3b, 0xc6, 0xce, 0x4b, 0x8e, 0xfe, 0xde, 0xec, 0x71, - 0x43, 0x95, 0xec, 0x0d, 0xdd, 0x6c, 0xcc, 0xfd, 0x0c, 0xc1, 0xb4, 0xac, 0x37, 0x12, 0xc3, 0x30, - 0x37, 0xb6, 0x42, 0xc7, 0xca, 0xd2, 0x8a, 0x73, 0x27, 0x5b, 0x41, 0x9f, 0xb8, 0xe9, 0xc9, 0xd6, - 0x75, 0x55, 0xd2, 0xea, 0x05, 0xdd, 0xac, 0x17, 0xeb, 0x44, 0x73, 0x6f, 0x6c, 0xc5, 0x8e, 0x07, - 0xf1, 0x3f, 0x74, 0x7b, 0xaa, 0x3d, 0xf4, 0x2f, 0x84, 0x7e, 0xc8, 0x4d, 0xdc, 0xa0, 0x6a, 0xcb, - 0xae, 0x4b, 0xab, 0x2d, 0x97, 0x5a, 0xe6, 0xc5, 0xc2, 0xda, 0x8c, 0xe8, 0xca, 0xad, 0x8f, 0xb8, - 0xb6, 0xde, 0xf7, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xdd, 0x3d, 0x47, 0xe8, 0x28, 0x38, 0x00, - 0x00, -} - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConnInterface - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 - -// CertificateAuthorityServiceClient is the client API for CertificateAuthorityService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type CertificateAuthorityServiceClient interface { - // Lists [CertificateAuthorities][google.cloud.security.privateca.v1alpha1.CertificateAuthority]. - ListCertificateAuthorities(ctx context.Context, in *ListCertificateAuthoritiesRequest, opts ...grpc.CallOption) (*ListCertificateAuthoritiesResponse, error) - // Lists [CertificateRevocationLists][google.cloud.security.privateca.v1alpha1.CertificateRevocationList]. - ListCertificateRevocationLists(ctx context.Context, in *ListCertificateRevocationListsRequest, opts ...grpc.CallOption) (*ListCertificateRevocationListsResponse, error) - // Lists [Certificates][google.cloud.security.privateca.v1alpha1.Certificate]. - ListCertificates(ctx context.Context, in *ListCertificatesRequest, opts ...grpc.CallOption) (*ListCertificatesResponse, error) - // Lists [ReusableConfigs][google.cloud.security.privateca.v1alpha1.ReusableConfig]. - ListReusableConfigs(ctx context.Context, in *ListReusableConfigsRequest, opts ...grpc.CallOption) (*ListReusableConfigsResponse, error) - // Returns a [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority]. - GetCertificateAuthority(ctx context.Context, in *GetCertificateAuthorityRequest, opts ...grpc.CallOption) (*CertificateAuthority, error) - // Returns a [CertificateRevocationList][google.cloud.security.privateca.v1alpha1.CertificateRevocationList]. - GetCertificateRevocationList(ctx context.Context, in *GetCertificateRevocationListRequest, opts ...grpc.CallOption) (*CertificateRevocationList, error) - // Returns a [Certificate][google.cloud.security.privateca.v1alpha1.Certificate]. - GetCertificate(ctx context.Context, in *GetCertificateRequest, opts ...grpc.CallOption) (*Certificate, error) - // Returns a [ReusableConfig][google.cloud.security.privateca.v1alpha1.ReusableConfig]. - GetReusableConfig(ctx context.Context, in *GetReusableConfigRequest, opts ...grpc.CallOption) (*ReusableConfig, error) - // Create a new [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] in a given Project and Location. - CreateCertificateAuthority(ctx context.Context, in *CreateCertificateAuthorityRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Create a new [CertificateRevocationList][google.cloud.security.privateca.v1alpha1.CertificateRevocationList] in a given Project, Location - // for a particular [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority]. - CreateCertificateRevocationList(ctx context.Context, in *CreateCertificateRevocationListRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Create a new [Certificate][google.cloud.security.privateca.v1alpha1.Certificate] in a given Project, Location from a particular - // [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority]. - CreateCertificate(ctx context.Context, in *CreateCertificateRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Create a new [ReusableConfig][google.cloud.security.privateca.v1alpha1.ReusableConfig] in a given Project and Location. - CreateReusableConfig(ctx context.Context, in *CreateReusableConfigRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Update a [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority]. - UpdateCertificateAuthority(ctx context.Context, in *UpdateCertificateAuthorityRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Update a [CertificateRevocationList][google.cloud.security.privateca.v1alpha1.CertificateRevocationList]. - UpdateCertificateRevocationList(ctx context.Context, in *UpdateCertificateRevocationListRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Update a [Certificate][google.cloud.security.privateca.v1alpha1.Certificate]. - UpdateCertificate(ctx context.Context, in *UpdateCertificateRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Update a [ReusableConfig][google.cloud.security.privateca.v1alpha1.ReusableConfig]. - UpdateReusableConfig(ctx context.Context, in *UpdateReusableConfigRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Deletes a specific [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority]. Once deleted, the - // [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] will no longer issue [Certificates][google.cloud.security.privateca.v1alpha1.Certificate] - // and [CertificateRevocationLists][google.cloud.security.privateca.v1alpha1.CertificateRevocationList]. - DeleteCertificateAuthority(ctx context.Context, in *DeleteCertificateAuthorityRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Get the CSR for a pending [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority]. - GetCertificateAuthorityCsr(ctx context.Context, in *GetCertificateAuthorityCsrRequest, opts ...grpc.CallOption) (*GetCertificateAuthorityCsrResponse, error) - // Activate a pending [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority]. - ActivateCertificateAuthority(ctx context.Context, in *ActivateCertificateAuthorityRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Disable a [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority]. - DisableCertificateAuthority(ctx context.Context, in *DisableCertificateAuthorityRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Enable a [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority]. - EnableCertificateAuthority(ctx context.Context, in *EnableCertificateAuthorityRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Schedule a [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] for deletion. - ScheduleDeleteCertificateAuthority(ctx context.Context, in *ScheduleDeleteCertificateAuthorityRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Restore a [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] that is scheduled for deletion. - RestoreCertificateAuthority(ctx context.Context, in *RestoreCertificateAuthorityRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Revoke a [Certificate][google.cloud.security.privateca.v1alpha1.Certificate]. - RevokeCertificate(ctx context.Context, in *RevokeCertificateRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Publish a [CertificateRevocationList][google.cloud.security.privateca.v1alpha1.CertificateRevocationList]. - PublishCertificateRevocationList(ctx context.Context, in *PublishCertificateRevocationListRequest, opts ...grpc.CallOption) (*PublishCertificateRevocationListResponse, error) -} - -type certificateAuthorityServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewCertificateAuthorityServiceClient(cc grpc.ClientConnInterface) CertificateAuthorityServiceClient { - return &certificateAuthorityServiceClient{cc} -} - -func (c *certificateAuthorityServiceClient) ListCertificateAuthorities(ctx context.Context, in *ListCertificateAuthoritiesRequest, opts ...grpc.CallOption) (*ListCertificateAuthoritiesResponse, error) { - out := new(ListCertificateAuthoritiesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/ListCertificateAuthorities", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *certificateAuthorityServiceClient) ListCertificateRevocationLists(ctx context.Context, in *ListCertificateRevocationListsRequest, opts ...grpc.CallOption) (*ListCertificateRevocationListsResponse, error) { - out := new(ListCertificateRevocationListsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/ListCertificateRevocationLists", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *certificateAuthorityServiceClient) ListCertificates(ctx context.Context, in *ListCertificatesRequest, opts ...grpc.CallOption) (*ListCertificatesResponse, error) { - out := new(ListCertificatesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/ListCertificates", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *certificateAuthorityServiceClient) ListReusableConfigs(ctx context.Context, in *ListReusableConfigsRequest, opts ...grpc.CallOption) (*ListReusableConfigsResponse, error) { - out := new(ListReusableConfigsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/ListReusableConfigs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *certificateAuthorityServiceClient) GetCertificateAuthority(ctx context.Context, in *GetCertificateAuthorityRequest, opts ...grpc.CallOption) (*CertificateAuthority, error) { - out := new(CertificateAuthority) - err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/GetCertificateAuthority", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *certificateAuthorityServiceClient) GetCertificateRevocationList(ctx context.Context, in *GetCertificateRevocationListRequest, opts ...grpc.CallOption) (*CertificateRevocationList, error) { - out := new(CertificateRevocationList) - err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/GetCertificateRevocationList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *certificateAuthorityServiceClient) GetCertificate(ctx context.Context, in *GetCertificateRequest, opts ...grpc.CallOption) (*Certificate, error) { - out := new(Certificate) - err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/GetCertificate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *certificateAuthorityServiceClient) GetReusableConfig(ctx context.Context, in *GetReusableConfigRequest, opts ...grpc.CallOption) (*ReusableConfig, error) { - out := new(ReusableConfig) - err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/GetReusableConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *certificateAuthorityServiceClient) CreateCertificateAuthority(ctx context.Context, in *CreateCertificateAuthorityRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/CreateCertificateAuthority", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *certificateAuthorityServiceClient) CreateCertificateRevocationList(ctx context.Context, in *CreateCertificateRevocationListRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/CreateCertificateRevocationList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *certificateAuthorityServiceClient) CreateCertificate(ctx context.Context, in *CreateCertificateRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/CreateCertificate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *certificateAuthorityServiceClient) CreateReusableConfig(ctx context.Context, in *CreateReusableConfigRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/CreateReusableConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *certificateAuthorityServiceClient) UpdateCertificateAuthority(ctx context.Context, in *UpdateCertificateAuthorityRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/UpdateCertificateAuthority", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *certificateAuthorityServiceClient) UpdateCertificateRevocationList(ctx context.Context, in *UpdateCertificateRevocationListRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/UpdateCertificateRevocationList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *certificateAuthorityServiceClient) UpdateCertificate(ctx context.Context, in *UpdateCertificateRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/UpdateCertificate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *certificateAuthorityServiceClient) UpdateReusableConfig(ctx context.Context, in *UpdateReusableConfigRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/UpdateReusableConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *certificateAuthorityServiceClient) DeleteCertificateAuthority(ctx context.Context, in *DeleteCertificateAuthorityRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/DeleteCertificateAuthority", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *certificateAuthorityServiceClient) GetCertificateAuthorityCsr(ctx context.Context, in *GetCertificateAuthorityCsrRequest, opts ...grpc.CallOption) (*GetCertificateAuthorityCsrResponse, error) { - out := new(GetCertificateAuthorityCsrResponse) - err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/GetCertificateAuthorityCsr", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *certificateAuthorityServiceClient) ActivateCertificateAuthority(ctx context.Context, in *ActivateCertificateAuthorityRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/ActivateCertificateAuthority", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *certificateAuthorityServiceClient) DisableCertificateAuthority(ctx context.Context, in *DisableCertificateAuthorityRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/DisableCertificateAuthority", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *certificateAuthorityServiceClient) EnableCertificateAuthority(ctx context.Context, in *EnableCertificateAuthorityRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/EnableCertificateAuthority", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *certificateAuthorityServiceClient) ScheduleDeleteCertificateAuthority(ctx context.Context, in *ScheduleDeleteCertificateAuthorityRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/ScheduleDeleteCertificateAuthority", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *certificateAuthorityServiceClient) RestoreCertificateAuthority(ctx context.Context, in *RestoreCertificateAuthorityRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/RestoreCertificateAuthority", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *certificateAuthorityServiceClient) RevokeCertificate(ctx context.Context, in *RevokeCertificateRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/RevokeCertificate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *certificateAuthorityServiceClient) PublishCertificateRevocationList(ctx context.Context, in *PublishCertificateRevocationListRequest, opts ...grpc.CallOption) (*PublishCertificateRevocationListResponse, error) { - out := new(PublishCertificateRevocationListResponse) - err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/PublishCertificateRevocationList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// CertificateAuthorityServiceServer is the server API for CertificateAuthorityService service. -type CertificateAuthorityServiceServer interface { - // Lists [CertificateAuthorities][google.cloud.security.privateca.v1alpha1.CertificateAuthority]. - ListCertificateAuthorities(context.Context, *ListCertificateAuthoritiesRequest) (*ListCertificateAuthoritiesResponse, error) - // Lists [CertificateRevocationLists][google.cloud.security.privateca.v1alpha1.CertificateRevocationList]. - ListCertificateRevocationLists(context.Context, *ListCertificateRevocationListsRequest) (*ListCertificateRevocationListsResponse, error) - // Lists [Certificates][google.cloud.security.privateca.v1alpha1.Certificate]. - ListCertificates(context.Context, *ListCertificatesRequest) (*ListCertificatesResponse, error) - // Lists [ReusableConfigs][google.cloud.security.privateca.v1alpha1.ReusableConfig]. - ListReusableConfigs(context.Context, *ListReusableConfigsRequest) (*ListReusableConfigsResponse, error) - // Returns a [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority]. - GetCertificateAuthority(context.Context, *GetCertificateAuthorityRequest) (*CertificateAuthority, error) - // Returns a [CertificateRevocationList][google.cloud.security.privateca.v1alpha1.CertificateRevocationList]. - GetCertificateRevocationList(context.Context, *GetCertificateRevocationListRequest) (*CertificateRevocationList, error) - // Returns a [Certificate][google.cloud.security.privateca.v1alpha1.Certificate]. - GetCertificate(context.Context, *GetCertificateRequest) (*Certificate, error) - // Returns a [ReusableConfig][google.cloud.security.privateca.v1alpha1.ReusableConfig]. - GetReusableConfig(context.Context, *GetReusableConfigRequest) (*ReusableConfig, error) - // Create a new [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] in a given Project and Location. - CreateCertificateAuthority(context.Context, *CreateCertificateAuthorityRequest) (*longrunning.Operation, error) - // Create a new [CertificateRevocationList][google.cloud.security.privateca.v1alpha1.CertificateRevocationList] in a given Project, Location - // for a particular [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority]. - CreateCertificateRevocationList(context.Context, *CreateCertificateRevocationListRequest) (*longrunning.Operation, error) - // Create a new [Certificate][google.cloud.security.privateca.v1alpha1.Certificate] in a given Project, Location from a particular - // [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority]. - CreateCertificate(context.Context, *CreateCertificateRequest) (*longrunning.Operation, error) - // Create a new [ReusableConfig][google.cloud.security.privateca.v1alpha1.ReusableConfig] in a given Project and Location. - CreateReusableConfig(context.Context, *CreateReusableConfigRequest) (*longrunning.Operation, error) - // Update a [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority]. - UpdateCertificateAuthority(context.Context, *UpdateCertificateAuthorityRequest) (*longrunning.Operation, error) - // Update a [CertificateRevocationList][google.cloud.security.privateca.v1alpha1.CertificateRevocationList]. - UpdateCertificateRevocationList(context.Context, *UpdateCertificateRevocationListRequest) (*longrunning.Operation, error) - // Update a [Certificate][google.cloud.security.privateca.v1alpha1.Certificate]. - UpdateCertificate(context.Context, *UpdateCertificateRequest) (*longrunning.Operation, error) - // Update a [ReusableConfig][google.cloud.security.privateca.v1alpha1.ReusableConfig]. - UpdateReusableConfig(context.Context, *UpdateReusableConfigRequest) (*longrunning.Operation, error) - // Deletes a specific [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority]. Once deleted, the - // [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] will no longer issue [Certificates][google.cloud.security.privateca.v1alpha1.Certificate] - // and [CertificateRevocationLists][google.cloud.security.privateca.v1alpha1.CertificateRevocationList]. - DeleteCertificateAuthority(context.Context, *DeleteCertificateAuthorityRequest) (*longrunning.Operation, error) - // Get the CSR for a pending [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority]. - GetCertificateAuthorityCsr(context.Context, *GetCertificateAuthorityCsrRequest) (*GetCertificateAuthorityCsrResponse, error) - // Activate a pending [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority]. - ActivateCertificateAuthority(context.Context, *ActivateCertificateAuthorityRequest) (*longrunning.Operation, error) - // Disable a [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority]. - DisableCertificateAuthority(context.Context, *DisableCertificateAuthorityRequest) (*longrunning.Operation, error) - // Enable a [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority]. - EnableCertificateAuthority(context.Context, *EnableCertificateAuthorityRequest) (*longrunning.Operation, error) - // Schedule a [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] for deletion. - ScheduleDeleteCertificateAuthority(context.Context, *ScheduleDeleteCertificateAuthorityRequest) (*longrunning.Operation, error) - // Restore a [CertificateAuthority][google.cloud.security.privateca.v1alpha1.CertificateAuthority] that is scheduled for deletion. - RestoreCertificateAuthority(context.Context, *RestoreCertificateAuthorityRequest) (*longrunning.Operation, error) - // Revoke a [Certificate][google.cloud.security.privateca.v1alpha1.Certificate]. - RevokeCertificate(context.Context, *RevokeCertificateRequest) (*longrunning.Operation, error) - // Publish a [CertificateRevocationList][google.cloud.security.privateca.v1alpha1.CertificateRevocationList]. - PublishCertificateRevocationList(context.Context, *PublishCertificateRevocationListRequest) (*PublishCertificateRevocationListResponse, error) -} - -// UnimplementedCertificateAuthorityServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCertificateAuthorityServiceServer struct { -} - -func (*UnimplementedCertificateAuthorityServiceServer) ListCertificateAuthorities(ctx context.Context, req *ListCertificateAuthoritiesRequest) (*ListCertificateAuthoritiesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListCertificateAuthorities not implemented") -} -func (*UnimplementedCertificateAuthorityServiceServer) ListCertificateRevocationLists(ctx context.Context, req *ListCertificateRevocationListsRequest) (*ListCertificateRevocationListsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListCertificateRevocationLists not implemented") -} -func (*UnimplementedCertificateAuthorityServiceServer) ListCertificates(ctx context.Context, req *ListCertificatesRequest) (*ListCertificatesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListCertificates not implemented") -} -func (*UnimplementedCertificateAuthorityServiceServer) ListReusableConfigs(ctx context.Context, req *ListReusableConfigsRequest) (*ListReusableConfigsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListReusableConfigs not implemented") -} -func (*UnimplementedCertificateAuthorityServiceServer) GetCertificateAuthority(ctx context.Context, req *GetCertificateAuthorityRequest) (*CertificateAuthority, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCertificateAuthority not implemented") -} -func (*UnimplementedCertificateAuthorityServiceServer) GetCertificateRevocationList(ctx context.Context, req *GetCertificateRevocationListRequest) (*CertificateRevocationList, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCertificateRevocationList not implemented") -} -func (*UnimplementedCertificateAuthorityServiceServer) GetCertificate(ctx context.Context, req *GetCertificateRequest) (*Certificate, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCertificate not implemented") -} -func (*UnimplementedCertificateAuthorityServiceServer) GetReusableConfig(ctx context.Context, req *GetReusableConfigRequest) (*ReusableConfig, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetReusableConfig not implemented") -} -func (*UnimplementedCertificateAuthorityServiceServer) CreateCertificateAuthority(ctx context.Context, req *CreateCertificateAuthorityRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateCertificateAuthority not implemented") -} -func (*UnimplementedCertificateAuthorityServiceServer) CreateCertificateRevocationList(ctx context.Context, req *CreateCertificateRevocationListRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateCertificateRevocationList not implemented") -} -func (*UnimplementedCertificateAuthorityServiceServer) CreateCertificate(ctx context.Context, req *CreateCertificateRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateCertificate not implemented") -} -func (*UnimplementedCertificateAuthorityServiceServer) CreateReusableConfig(ctx context.Context, req *CreateReusableConfigRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateReusableConfig not implemented") -} -func (*UnimplementedCertificateAuthorityServiceServer) UpdateCertificateAuthority(ctx context.Context, req *UpdateCertificateAuthorityRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateCertificateAuthority not implemented") -} -func (*UnimplementedCertificateAuthorityServiceServer) UpdateCertificateRevocationList(ctx context.Context, req *UpdateCertificateRevocationListRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateCertificateRevocationList not implemented") -} -func (*UnimplementedCertificateAuthorityServiceServer) UpdateCertificate(ctx context.Context, req *UpdateCertificateRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateCertificate not implemented") -} -func (*UnimplementedCertificateAuthorityServiceServer) UpdateReusableConfig(ctx context.Context, req *UpdateReusableConfigRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateReusableConfig not implemented") -} -func (*UnimplementedCertificateAuthorityServiceServer) DeleteCertificateAuthority(ctx context.Context, req *DeleteCertificateAuthorityRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteCertificateAuthority not implemented") -} -func (*UnimplementedCertificateAuthorityServiceServer) GetCertificateAuthorityCsr(ctx context.Context, req *GetCertificateAuthorityCsrRequest) (*GetCertificateAuthorityCsrResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCertificateAuthorityCsr not implemented") -} -func (*UnimplementedCertificateAuthorityServiceServer) ActivateCertificateAuthority(ctx context.Context, req *ActivateCertificateAuthorityRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ActivateCertificateAuthority not implemented") -} -func (*UnimplementedCertificateAuthorityServiceServer) DisableCertificateAuthority(ctx context.Context, req *DisableCertificateAuthorityRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DisableCertificateAuthority not implemented") -} -func (*UnimplementedCertificateAuthorityServiceServer) EnableCertificateAuthority(ctx context.Context, req *EnableCertificateAuthorityRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method EnableCertificateAuthority not implemented") -} -func (*UnimplementedCertificateAuthorityServiceServer) ScheduleDeleteCertificateAuthority(ctx context.Context, req *ScheduleDeleteCertificateAuthorityRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ScheduleDeleteCertificateAuthority not implemented") -} -func (*UnimplementedCertificateAuthorityServiceServer) RestoreCertificateAuthority(ctx context.Context, req *RestoreCertificateAuthorityRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method RestoreCertificateAuthority not implemented") -} -func (*UnimplementedCertificateAuthorityServiceServer) RevokeCertificate(ctx context.Context, req *RevokeCertificateRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method RevokeCertificate not implemented") -} -func (*UnimplementedCertificateAuthorityServiceServer) PublishCertificateRevocationList(ctx context.Context, req *PublishCertificateRevocationListRequest) (*PublishCertificateRevocationListResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PublishCertificateRevocationList not implemented") -} - -func RegisterCertificateAuthorityServiceServer(s *grpc.Server, srv CertificateAuthorityServiceServer) { - s.RegisterService(&_CertificateAuthorityService_serviceDesc, srv) -} - -func _CertificateAuthorityService_ListCertificateAuthorities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListCertificateAuthoritiesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CertificateAuthorityServiceServer).ListCertificateAuthorities(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/ListCertificateAuthorities", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CertificateAuthorityServiceServer).ListCertificateAuthorities(ctx, req.(*ListCertificateAuthoritiesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CertificateAuthorityService_ListCertificateRevocationLists_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListCertificateRevocationListsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CertificateAuthorityServiceServer).ListCertificateRevocationLists(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/ListCertificateRevocationLists", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CertificateAuthorityServiceServer).ListCertificateRevocationLists(ctx, req.(*ListCertificateRevocationListsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CertificateAuthorityService_ListCertificates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListCertificatesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CertificateAuthorityServiceServer).ListCertificates(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/ListCertificates", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CertificateAuthorityServiceServer).ListCertificates(ctx, req.(*ListCertificatesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CertificateAuthorityService_ListReusableConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListReusableConfigsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CertificateAuthorityServiceServer).ListReusableConfigs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/ListReusableConfigs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CertificateAuthorityServiceServer).ListReusableConfigs(ctx, req.(*ListReusableConfigsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CertificateAuthorityService_GetCertificateAuthority_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetCertificateAuthorityRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CertificateAuthorityServiceServer).GetCertificateAuthority(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/GetCertificateAuthority", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CertificateAuthorityServiceServer).GetCertificateAuthority(ctx, req.(*GetCertificateAuthorityRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CertificateAuthorityService_GetCertificateRevocationList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetCertificateRevocationListRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CertificateAuthorityServiceServer).GetCertificateRevocationList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/GetCertificateRevocationList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CertificateAuthorityServiceServer).GetCertificateRevocationList(ctx, req.(*GetCertificateRevocationListRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CertificateAuthorityService_GetCertificate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetCertificateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CertificateAuthorityServiceServer).GetCertificate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/GetCertificate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CertificateAuthorityServiceServer).GetCertificate(ctx, req.(*GetCertificateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CertificateAuthorityService_GetReusableConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetReusableConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CertificateAuthorityServiceServer).GetReusableConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/GetReusableConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CertificateAuthorityServiceServer).GetReusableConfig(ctx, req.(*GetReusableConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CertificateAuthorityService_CreateCertificateAuthority_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateCertificateAuthorityRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CertificateAuthorityServiceServer).CreateCertificateAuthority(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/CreateCertificateAuthority", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CertificateAuthorityServiceServer).CreateCertificateAuthority(ctx, req.(*CreateCertificateAuthorityRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CertificateAuthorityService_CreateCertificateRevocationList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateCertificateRevocationListRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CertificateAuthorityServiceServer).CreateCertificateRevocationList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/CreateCertificateRevocationList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CertificateAuthorityServiceServer).CreateCertificateRevocationList(ctx, req.(*CreateCertificateRevocationListRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CertificateAuthorityService_CreateCertificate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateCertificateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CertificateAuthorityServiceServer).CreateCertificate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/CreateCertificate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CertificateAuthorityServiceServer).CreateCertificate(ctx, req.(*CreateCertificateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CertificateAuthorityService_CreateReusableConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateReusableConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CertificateAuthorityServiceServer).CreateReusableConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/CreateReusableConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CertificateAuthorityServiceServer).CreateReusableConfig(ctx, req.(*CreateReusableConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CertificateAuthorityService_UpdateCertificateAuthority_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateCertificateAuthorityRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CertificateAuthorityServiceServer).UpdateCertificateAuthority(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/UpdateCertificateAuthority", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CertificateAuthorityServiceServer).UpdateCertificateAuthority(ctx, req.(*UpdateCertificateAuthorityRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CertificateAuthorityService_UpdateCertificateRevocationList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateCertificateRevocationListRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CertificateAuthorityServiceServer).UpdateCertificateRevocationList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/UpdateCertificateRevocationList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CertificateAuthorityServiceServer).UpdateCertificateRevocationList(ctx, req.(*UpdateCertificateRevocationListRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CertificateAuthorityService_UpdateCertificate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateCertificateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CertificateAuthorityServiceServer).UpdateCertificate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/UpdateCertificate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CertificateAuthorityServiceServer).UpdateCertificate(ctx, req.(*UpdateCertificateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CertificateAuthorityService_UpdateReusableConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateReusableConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CertificateAuthorityServiceServer).UpdateReusableConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/UpdateReusableConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CertificateAuthorityServiceServer).UpdateReusableConfig(ctx, req.(*UpdateReusableConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CertificateAuthorityService_DeleteCertificateAuthority_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteCertificateAuthorityRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CertificateAuthorityServiceServer).DeleteCertificateAuthority(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/DeleteCertificateAuthority", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CertificateAuthorityServiceServer).DeleteCertificateAuthority(ctx, req.(*DeleteCertificateAuthorityRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CertificateAuthorityService_GetCertificateAuthorityCsr_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetCertificateAuthorityCsrRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CertificateAuthorityServiceServer).GetCertificateAuthorityCsr(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/GetCertificateAuthorityCsr", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CertificateAuthorityServiceServer).GetCertificateAuthorityCsr(ctx, req.(*GetCertificateAuthorityCsrRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CertificateAuthorityService_ActivateCertificateAuthority_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ActivateCertificateAuthorityRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CertificateAuthorityServiceServer).ActivateCertificateAuthority(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/ActivateCertificateAuthority", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CertificateAuthorityServiceServer).ActivateCertificateAuthority(ctx, req.(*ActivateCertificateAuthorityRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CertificateAuthorityService_DisableCertificateAuthority_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DisableCertificateAuthorityRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CertificateAuthorityServiceServer).DisableCertificateAuthority(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/DisableCertificateAuthority", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CertificateAuthorityServiceServer).DisableCertificateAuthority(ctx, req.(*DisableCertificateAuthorityRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CertificateAuthorityService_EnableCertificateAuthority_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EnableCertificateAuthorityRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CertificateAuthorityServiceServer).EnableCertificateAuthority(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/EnableCertificateAuthority", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CertificateAuthorityServiceServer).EnableCertificateAuthority(ctx, req.(*EnableCertificateAuthorityRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CertificateAuthorityService_ScheduleDeleteCertificateAuthority_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ScheduleDeleteCertificateAuthorityRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CertificateAuthorityServiceServer).ScheduleDeleteCertificateAuthority(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/ScheduleDeleteCertificateAuthority", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CertificateAuthorityServiceServer).ScheduleDeleteCertificateAuthority(ctx, req.(*ScheduleDeleteCertificateAuthorityRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CertificateAuthorityService_RestoreCertificateAuthority_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RestoreCertificateAuthorityRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CertificateAuthorityServiceServer).RestoreCertificateAuthority(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/RestoreCertificateAuthority", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CertificateAuthorityServiceServer).RestoreCertificateAuthority(ctx, req.(*RestoreCertificateAuthorityRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CertificateAuthorityService_RevokeCertificate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RevokeCertificateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CertificateAuthorityServiceServer).RevokeCertificate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/RevokeCertificate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CertificateAuthorityServiceServer).RevokeCertificate(ctx, req.(*RevokeCertificateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CertificateAuthorityService_PublishCertificateRevocationList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PublishCertificateRevocationListRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CertificateAuthorityServiceServer).PublishCertificateRevocationList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.security.privateca.v1alpha1.CertificateAuthorityService/PublishCertificateRevocationList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CertificateAuthorityServiceServer).PublishCertificateRevocationList(ctx, req.(*PublishCertificateRevocationListRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _CertificateAuthorityService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.security.privateca.v1alpha1.CertificateAuthorityService", - HandlerType: (*CertificateAuthorityServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListCertificateAuthorities", - Handler: _CertificateAuthorityService_ListCertificateAuthorities_Handler, - }, - { - MethodName: "ListCertificateRevocationLists", - Handler: _CertificateAuthorityService_ListCertificateRevocationLists_Handler, - }, - { - MethodName: "ListCertificates", - Handler: _CertificateAuthorityService_ListCertificates_Handler, - }, - { - MethodName: "ListReusableConfigs", - Handler: _CertificateAuthorityService_ListReusableConfigs_Handler, - }, - { - MethodName: "GetCertificateAuthority", - Handler: _CertificateAuthorityService_GetCertificateAuthority_Handler, - }, - { - MethodName: "GetCertificateRevocationList", - Handler: _CertificateAuthorityService_GetCertificateRevocationList_Handler, - }, - { - MethodName: "GetCertificate", - Handler: _CertificateAuthorityService_GetCertificate_Handler, - }, - { - MethodName: "GetReusableConfig", - Handler: _CertificateAuthorityService_GetReusableConfig_Handler, - }, - { - MethodName: "CreateCertificateAuthority", - Handler: _CertificateAuthorityService_CreateCertificateAuthority_Handler, - }, - { - MethodName: "CreateCertificateRevocationList", - Handler: _CertificateAuthorityService_CreateCertificateRevocationList_Handler, - }, - { - MethodName: "CreateCertificate", - Handler: _CertificateAuthorityService_CreateCertificate_Handler, - }, - { - MethodName: "CreateReusableConfig", - Handler: _CertificateAuthorityService_CreateReusableConfig_Handler, - }, - { - MethodName: "UpdateCertificateAuthority", - Handler: _CertificateAuthorityService_UpdateCertificateAuthority_Handler, - }, - { - MethodName: "UpdateCertificateRevocationList", - Handler: _CertificateAuthorityService_UpdateCertificateRevocationList_Handler, - }, - { - MethodName: "UpdateCertificate", - Handler: _CertificateAuthorityService_UpdateCertificate_Handler, - }, - { - MethodName: "UpdateReusableConfig", - Handler: _CertificateAuthorityService_UpdateReusableConfig_Handler, - }, - { - MethodName: "DeleteCertificateAuthority", - Handler: _CertificateAuthorityService_DeleteCertificateAuthority_Handler, - }, - { - MethodName: "GetCertificateAuthorityCsr", - Handler: _CertificateAuthorityService_GetCertificateAuthorityCsr_Handler, - }, - { - MethodName: "ActivateCertificateAuthority", - Handler: _CertificateAuthorityService_ActivateCertificateAuthority_Handler, - }, - { - MethodName: "DisableCertificateAuthority", - Handler: _CertificateAuthorityService_DisableCertificateAuthority_Handler, - }, - { - MethodName: "EnableCertificateAuthority", - Handler: _CertificateAuthorityService_EnableCertificateAuthority_Handler, - }, - { - MethodName: "ScheduleDeleteCertificateAuthority", - Handler: _CertificateAuthorityService_ScheduleDeleteCertificateAuthority_Handler, - }, - { - MethodName: "RestoreCertificateAuthority", - Handler: _CertificateAuthorityService_RestoreCertificateAuthority_Handler, - }, - { - MethodName: "RevokeCertificate", - Handler: _CertificateAuthorityService_RevokeCertificate_Handler, - }, - { - MethodName: "PublishCertificateRevocationList", - Handler: _CertificateAuthorityService_PublishCertificateRevocationList_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/security/privateca/v1alpha1/service.proto", -} diff --git a/lib/cloud.google.com/go/security/privateca/apiv1alpha1/go.mod b/lib/google.golang.org/genproto/googleapis/cloud/security/privateca/v1beta1/go.mod similarity index 96% rename from lib/cloud.google.com/go/security/privateca/apiv1alpha1/go.mod rename to lib/google.golang.org/genproto/googleapis/cloud/security/privateca/v1beta1/go.mod index 27a2b44..8bffeee 100644 --- a/lib/cloud.google.com/go/security/privateca/apiv1alpha1/go.mod +++ b/lib/google.golang.org/genproto/googleapis/cloud/security/privateca/v1beta1/go.mod @@ -1,4 +1,3 @@ module privateca go 1.14 - diff --git a/lib/google.golang.org/genproto/googleapis/cloud/security/privateca/v1beta1/resources.pb.go b/lib/google.golang.org/genproto/googleapis/cloud/security/privateca/v1beta1/resources.pb.go new file mode 100644 index 0000000..481498f --- /dev/null +++ b/lib/google.golang.org/genproto/googleapis/cloud/security/privateca/v1beta1/resources.pb.go @@ -0,0 +1,4711 @@ +// Copyright 2020 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.22.0 +// protoc v3.13.0 +// source: google/cloud/security/privateca/v1beta1/resources.proto + +package privateca + +import ( + proto "github.com/golang/protobuf/proto" + duration "github.com/golang/protobuf/ptypes/duration" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + wrappers "github.com/golang/protobuf/ptypes/wrappers" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// A [RevocationReason][google.cloud.security.privateca.v1beta1.RevocationReason] indicates whether a [Certificate][google.cloud.security.privateca.v1beta1.Certificate] has been revoked, +// and the reason for revocation. These are standard revocation reasons from RFC +// 5280. +type RevocationReason int32 + +const ( + // Default unspecified value. This value does indicate that a [Certificate][google.cloud.security.privateca.v1beta1.Certificate] + // has been revoked, but that a reason has not been recorded. + RevocationReason_REVOCATION_REASON_UNSPECIFIED RevocationReason = 0 + // Key material for this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] may have leaked. + RevocationReason_KEY_COMPROMISE RevocationReason = 1 + // The key material for a certificate authority in the issuing path may have + // leaked. + RevocationReason_CERTIFICATE_AUTHORITY_COMPROMISE RevocationReason = 2 + // The subject or other attributes in this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] have changed. + RevocationReason_AFFILIATION_CHANGED RevocationReason = 3 + // This [Certificate][google.cloud.security.privateca.v1beta1.Certificate] has been superseded. + RevocationReason_SUPERSEDED RevocationReason = 4 + // This [Certificate][google.cloud.security.privateca.v1beta1.Certificate] or entities in the issuing path have ceased to + // operate. + RevocationReason_CESSATION_OF_OPERATION RevocationReason = 5 + // This [Certificate][google.cloud.security.privateca.v1beta1.Certificate] should not be considered valid, it is expected that it + // may become valid in the future. + RevocationReason_CERTIFICATE_HOLD RevocationReason = 6 + // This [Certificate][google.cloud.security.privateca.v1beta1.Certificate] no longer has permission to assert the listed + // attributes. + RevocationReason_PRIVILEGE_WITHDRAWN RevocationReason = 7 + // The authority which determines appropriate attributes for a [Certificate][google.cloud.security.privateca.v1beta1.Certificate] + // may have been compromised. + RevocationReason_ATTRIBUTE_AUTHORITY_COMPROMISE RevocationReason = 8 +) + +// Enum value maps for RevocationReason. +var ( + RevocationReason_name = map[int32]string{ + 0: "REVOCATION_REASON_UNSPECIFIED", + 1: "KEY_COMPROMISE", + 2: "CERTIFICATE_AUTHORITY_COMPROMISE", + 3: "AFFILIATION_CHANGED", + 4: "SUPERSEDED", + 5: "CESSATION_OF_OPERATION", + 6: "CERTIFICATE_HOLD", + 7: "PRIVILEGE_WITHDRAWN", + 8: "ATTRIBUTE_AUTHORITY_COMPROMISE", + } + RevocationReason_value = map[string]int32{ + "REVOCATION_REASON_UNSPECIFIED": 0, + "KEY_COMPROMISE": 1, + "CERTIFICATE_AUTHORITY_COMPROMISE": 2, + "AFFILIATION_CHANGED": 3, + "SUPERSEDED": 4, + "CESSATION_OF_OPERATION": 5, + "CERTIFICATE_HOLD": 6, + "PRIVILEGE_WITHDRAWN": 7, + "ATTRIBUTE_AUTHORITY_COMPROMISE": 8, + } +) + +func (x RevocationReason) Enum() *RevocationReason { + p := new(RevocationReason) + *p = x + return p +} + +func (x RevocationReason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (RevocationReason) Descriptor() protoreflect.EnumDescriptor { + return file_google_cloud_security_privateca_v1beta1_resources_proto_enumTypes[0].Descriptor() +} + +func (RevocationReason) Type() protoreflect.EnumType { + return &file_google_cloud_security_privateca_v1beta1_resources_proto_enumTypes[0] +} + +func (x RevocationReason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use RevocationReason.Descriptor instead. +func (RevocationReason) EnumDescriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{0} +} + +// The type of a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority], indicating its issuing chain. +type CertificateAuthority_Type int32 + +const ( + // Not specified. + CertificateAuthority_TYPE_UNSPECIFIED CertificateAuthority_Type = 0 + // Self-signed CA. + CertificateAuthority_SELF_SIGNED CertificateAuthority_Type = 1 + // Subordinate CA. Could be issued by a Private CA [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] + // or an unmanaged CA. + CertificateAuthority_SUBORDINATE CertificateAuthority_Type = 2 +) + +// Enum value maps for CertificateAuthority_Type. +var ( + CertificateAuthority_Type_name = map[int32]string{ + 0: "TYPE_UNSPECIFIED", + 1: "SELF_SIGNED", + 2: "SUBORDINATE", + } + CertificateAuthority_Type_value = map[string]int32{ + "TYPE_UNSPECIFIED": 0, + "SELF_SIGNED": 1, + "SUBORDINATE": 2, + } +) + +func (x CertificateAuthority_Type) Enum() *CertificateAuthority_Type { + p := new(CertificateAuthority_Type) + *p = x + return p +} + +func (x CertificateAuthority_Type) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (CertificateAuthority_Type) Descriptor() protoreflect.EnumDescriptor { + return file_google_cloud_security_privateca_v1beta1_resources_proto_enumTypes[1].Descriptor() +} + +func (CertificateAuthority_Type) Type() protoreflect.EnumType { + return &file_google_cloud_security_privateca_v1beta1_resources_proto_enumTypes[1] +} + +func (x CertificateAuthority_Type) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use CertificateAuthority_Type.Descriptor instead. +func (CertificateAuthority_Type) EnumDescriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{0, 0} +} + +// The tier of a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority], indicating its supported +// functionality and/or billing SKU. +type CertificateAuthority_Tier int32 + +const ( + // Not specified. + CertificateAuthority_TIER_UNSPECIFIED CertificateAuthority_Tier = 0 + // Enterprise tier. + CertificateAuthority_ENTERPRISE CertificateAuthority_Tier = 1 + // DevOps tier. + CertificateAuthority_DEVOPS CertificateAuthority_Tier = 2 +) + +// Enum value maps for CertificateAuthority_Tier. +var ( + CertificateAuthority_Tier_name = map[int32]string{ + 0: "TIER_UNSPECIFIED", + 1: "ENTERPRISE", + 2: "DEVOPS", + } + CertificateAuthority_Tier_value = map[string]int32{ + "TIER_UNSPECIFIED": 0, + "ENTERPRISE": 1, + "DEVOPS": 2, + } +) + +func (x CertificateAuthority_Tier) Enum() *CertificateAuthority_Tier { + p := new(CertificateAuthority_Tier) + *p = x + return p +} + +func (x CertificateAuthority_Tier) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (CertificateAuthority_Tier) Descriptor() protoreflect.EnumDescriptor { + return file_google_cloud_security_privateca_v1beta1_resources_proto_enumTypes[2].Descriptor() +} + +func (CertificateAuthority_Tier) Type() protoreflect.EnumType { + return &file_google_cloud_security_privateca_v1beta1_resources_proto_enumTypes[2] +} + +func (x CertificateAuthority_Tier) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use CertificateAuthority_Tier.Descriptor instead. +func (CertificateAuthority_Tier) EnumDescriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{0, 1} +} + +// The state of a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority], indicating if it can be used. +type CertificateAuthority_State int32 + +const ( + // Not specified. + CertificateAuthority_STATE_UNSPECIFIED CertificateAuthority_State = 0 + // Certificates can be issued from this CA. CRLs will be generated for this + // CA. + CertificateAuthority_ENABLED CertificateAuthority_State = 1 + // Certificates cannot be issued from this CA. CRLs will still be generated. + CertificateAuthority_DISABLED CertificateAuthority_State = 2 + // Certificates cannot be issued from this CA. CRLs will not be generated. + CertificateAuthority_PENDING_ACTIVATION CertificateAuthority_State = 3 + // Certificates cannot be issued from this CA. CRLs will not be generated. + CertificateAuthority_PENDING_DELETION CertificateAuthority_State = 4 +) + +// Enum value maps for CertificateAuthority_State. +var ( + CertificateAuthority_State_name = map[int32]string{ + 0: "STATE_UNSPECIFIED", + 1: "ENABLED", + 2: "DISABLED", + 3: "PENDING_ACTIVATION", + 4: "PENDING_DELETION", + } + CertificateAuthority_State_value = map[string]int32{ + "STATE_UNSPECIFIED": 0, + "ENABLED": 1, + "DISABLED": 2, + "PENDING_ACTIVATION": 3, + "PENDING_DELETION": 4, + } +) + +func (x CertificateAuthority_State) Enum() *CertificateAuthority_State { + p := new(CertificateAuthority_State) + *p = x + return p +} + +func (x CertificateAuthority_State) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (CertificateAuthority_State) Descriptor() protoreflect.EnumDescriptor { + return file_google_cloud_security_privateca_v1beta1_resources_proto_enumTypes[3].Descriptor() +} + +func (CertificateAuthority_State) Type() protoreflect.EnumType { + return &file_google_cloud_security_privateca_v1beta1_resources_proto_enumTypes[3] +} + +func (x CertificateAuthority_State) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use CertificateAuthority_State.Descriptor instead. +func (CertificateAuthority_State) EnumDescriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{0, 2} +} + +// The algorithm of a Cloud KMS CryptoKeyVersion of a +// [CryptoKey][google.cloud.kms.v1.CryptoKey] with the +// [CryptoKeyPurpose][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose] value +// `ASYMMETRIC_SIGN`. These values correspond to the +// [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKey.CryptoKeyVersion.CryptoKeyVersionAlgorithm]. +// values. +type CertificateAuthority_SignHashAlgorithm int32 + +const ( + // Not specified. + CertificateAuthority_SIGN_HASH_ALGORITHM_UNSPECIFIED CertificateAuthority_SignHashAlgorithm = 0 + // maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PSS_2048_SHA256 + CertificateAuthority_RSA_PSS_2048_SHA_256 CertificateAuthority_SignHashAlgorithm = 1 + // maps to CryptoKeyVersionAlgorithm. RSA_SIGN_PSS_3072_SHA256 + CertificateAuthority_RSA_PSS_3072_SHA_256 CertificateAuthority_SignHashAlgorithm = 2 + // maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PSS_4096_SHA256 + CertificateAuthority_RSA_PSS_4096_SHA_256 CertificateAuthority_SignHashAlgorithm = 3 + // maps to CryptoKeyVersionAlgorithm.EC_SIGN_P256_SHA256 + CertificateAuthority_EC_P256_SHA256 CertificateAuthority_SignHashAlgorithm = 4 + // maps to CryptoKeyVersionAlgorithm.EC_SIGN_P384_SHA384 + CertificateAuthority_EC_P384_SHA384 CertificateAuthority_SignHashAlgorithm = 5 +) + +// Enum value maps for CertificateAuthority_SignHashAlgorithm. +var ( + CertificateAuthority_SignHashAlgorithm_name = map[int32]string{ + 0: "SIGN_HASH_ALGORITHM_UNSPECIFIED", + 1: "RSA_PSS_2048_SHA_256", + 2: "RSA_PSS_3072_SHA_256", + 3: "RSA_PSS_4096_SHA_256", + 4: "EC_P256_SHA256", + 5: "EC_P384_SHA384", + } + CertificateAuthority_SignHashAlgorithm_value = map[string]int32{ + "SIGN_HASH_ALGORITHM_UNSPECIFIED": 0, + "RSA_PSS_2048_SHA_256": 1, + "RSA_PSS_3072_SHA_256": 2, + "RSA_PSS_4096_SHA_256": 3, + "EC_P256_SHA256": 4, + "EC_P384_SHA384": 5, + } +) + +func (x CertificateAuthority_SignHashAlgorithm) Enum() *CertificateAuthority_SignHashAlgorithm { + p := new(CertificateAuthority_SignHashAlgorithm) + *p = x + return p +} + +func (x CertificateAuthority_SignHashAlgorithm) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (CertificateAuthority_SignHashAlgorithm) Descriptor() protoreflect.EnumDescriptor { + return file_google_cloud_security_privateca_v1beta1_resources_proto_enumTypes[4].Descriptor() +} + +func (CertificateAuthority_SignHashAlgorithm) Type() protoreflect.EnumType { + return &file_google_cloud_security_privateca_v1beta1_resources_proto_enumTypes[4] +} + +func (x CertificateAuthority_SignHashAlgorithm) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use CertificateAuthority_SignHashAlgorithm.Descriptor instead. +func (CertificateAuthority_SignHashAlgorithm) EnumDescriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{0, 3} +} + +// The state of a [CertificateRevocationList][google.cloud.security.privateca.v1beta1.CertificateRevocationList], indicating if it is current. +type CertificateRevocationList_State int32 + +const ( + // Not specified. + CertificateRevocationList_STATE_UNSPECIFIED CertificateRevocationList_State = 0 + // The [CertificateRevocationList][google.cloud.security.privateca.v1beta1.CertificateRevocationList] is up to date. + CertificateRevocationList_ACTIVE CertificateRevocationList_State = 1 + // The [CertificateRevocationList][google.cloud.security.privateca.v1beta1.CertificateRevocationList] is no longer current. + CertificateRevocationList_SUPERSEDED CertificateRevocationList_State = 2 +) + +// Enum value maps for CertificateRevocationList_State. +var ( + CertificateRevocationList_State_name = map[int32]string{ + 0: "STATE_UNSPECIFIED", + 1: "ACTIVE", + 2: "SUPERSEDED", + } + CertificateRevocationList_State_value = map[string]int32{ + "STATE_UNSPECIFIED": 0, + "ACTIVE": 1, + "SUPERSEDED": 2, + } +) + +func (x CertificateRevocationList_State) Enum() *CertificateRevocationList_State { + p := new(CertificateRevocationList_State) + *p = x + return p +} + +func (x CertificateRevocationList_State) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (CertificateRevocationList_State) Descriptor() protoreflect.EnumDescriptor { + return file_google_cloud_security_privateca_v1beta1_resources_proto_enumTypes[5].Descriptor() +} + +func (CertificateRevocationList_State) Type() protoreflect.EnumType { + return &file_google_cloud_security_privateca_v1beta1_resources_proto_enumTypes[5] +} + +func (x CertificateRevocationList_State) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use CertificateRevocationList_State.Descriptor instead. +func (CertificateRevocationList_State) EnumDescriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{1, 0} +} + +// Types of public keys that are supported. +// At a minimum, we support RSA and ECDSA, for the key sizes or curves listed: +// https://cloud.google.com/kms/docs/algorithms#asymmetric_signing_algorithms +type PublicKey_KeyType int32 + +const ( + // Default unspecified value. + PublicKey_KEY_TYPE_UNSPECIFIED PublicKey_KeyType = 0 + // A PEM-encoded PKCS#1/RFC 3447 RSAPrivateKey structure. + PublicKey_PEM_RSA_KEY PublicKey_KeyType = 1 + // A PEM-encoded compressed NIST P-256/secp256r1/prime256v1 or P-384 key. + PublicKey_PEM_EC_KEY PublicKey_KeyType = 2 +) + +// Enum value maps for PublicKey_KeyType. +var ( + PublicKey_KeyType_name = map[int32]string{ + 0: "KEY_TYPE_UNSPECIFIED", + 1: "PEM_RSA_KEY", + 2: "PEM_EC_KEY", + } + PublicKey_KeyType_value = map[string]int32{ + "KEY_TYPE_UNSPECIFIED": 0, + "PEM_RSA_KEY": 1, + "PEM_EC_KEY": 2, + } +) + +func (x PublicKey_KeyType) Enum() *PublicKey_KeyType { + p := new(PublicKey_KeyType) + *p = x + return p +} + +func (x PublicKey_KeyType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PublicKey_KeyType) Descriptor() protoreflect.EnumDescriptor { + return file_google_cloud_security_privateca_v1beta1_resources_proto_enumTypes[6].Descriptor() +} + +func (PublicKey_KeyType) Type() protoreflect.EnumType { + return &file_google_cloud_security_privateca_v1beta1_resources_proto_enumTypes[6] +} + +func (x PublicKey_KeyType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PublicKey_KeyType.Descriptor instead. +func (PublicKey_KeyType) EnumDescriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{7, 0} +} + +// A [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] represents an individual Certificate Authority. +// A [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] can be used to create [Certificates][google.cloud.security.privateca.v1beta1.Certificate]. +type CertificateAuthority struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Output only. The resource name for this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] in the + // format `projects/*/locations/*/certificateAuthorities/*`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Required. Immutable. The [Type][google.cloud.security.privateca.v1beta1.CertificateAuthority.Type] of this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. + Type CertificateAuthority_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.security.privateca.v1beta1.CertificateAuthority_Type" json:"type,omitempty"` + // Required. Immutable. The [Tier][google.cloud.security.privateca.v1beta1.CertificateAuthority.Tier] of this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. + Tier CertificateAuthority_Tier `protobuf:"varint,3,opt,name=tier,proto3,enum=google.cloud.security.privateca.v1beta1.CertificateAuthority_Tier" json:"tier,omitempty"` + // Required. Immutable. The config used to create a self-signed X.509 certificate or CSR. + Config *CertificateConfig `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"` + // Required. The desired lifetime of the CA certificate. Used to create the + // "not_before_time" and "not_after_time" fields inside an X.509 + // certificate. + Lifetime *duration.Duration `protobuf:"bytes,5,opt,name=lifetime,proto3" json:"lifetime,omitempty"` + // Required. Immutable. Used when issuing certificates for this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. If this + // [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] is a self-signed CertificateAuthority, this key + // is also used to sign the self-signed CA certificate. Otherwise, it + // is used to sign a CSR. + KeySpec *CertificateAuthority_KeyVersionSpec `protobuf:"bytes,6,opt,name=key_spec,json=keySpec,proto3" json:"key_spec,omitempty"` + // Optional. The [CertificateAuthorityPolicy][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy] to enforce when issuing + // [Certificates][google.cloud.security.privateca.v1beta1.Certificate] from this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. + CertificatePolicy *CertificateAuthority_CertificateAuthorityPolicy `protobuf:"bytes,7,opt,name=certificate_policy,json=certificatePolicy,proto3" json:"certificate_policy,omitempty"` + // Optional. The [IssuingOptions][google.cloud.security.privateca.v1beta1.CertificateAuthority.IssuingOptions] to follow when issuing [Certificates][google.cloud.security.privateca.v1beta1.Certificate] + // from this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. + IssuingOptions *CertificateAuthority_IssuingOptions `protobuf:"bytes,8,opt,name=issuing_options,json=issuingOptions,proto3" json:"issuing_options,omitempty"` + // Optional. If this is a subordinate [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority], this field will be set + // with the subordinate configuration, which describes its issuers. This may + // be updated, but this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] must continue to validate. + SubordinateConfig *SubordinateConfig `protobuf:"bytes,19,opt,name=subordinate_config,json=subordinateConfig,proto3" json:"subordinate_config,omitempty"` + // Output only. The [State][google.cloud.security.privateca.v1beta1.CertificateAuthority.State] for this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. + State CertificateAuthority_State `protobuf:"varint,10,opt,name=state,proto3,enum=google.cloud.security.privateca.v1beta1.CertificateAuthority_State" json:"state,omitempty"` + // Output only. This [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]'s certificate chain, including the current + // [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]'s certificate. Ordered such that the root issuer + // is the final element (consistent with RFC 5246). For a self-signed CA, this + // will only list the current [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]'s certificate. + PemCaCertificates []string `protobuf:"bytes,9,rep,name=pem_ca_certificates,json=pemCaCertificates,proto3" json:"pem_ca_certificates,omitempty"` + // Output only. A structured description of this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]'s CA certificate + // and its issuers. Ordered as self-to-root. + CaCertificateDescriptions []*CertificateDescription `protobuf:"bytes,12,rep,name=ca_certificate_descriptions,json=caCertificateDescriptions,proto3" json:"ca_certificate_descriptions,omitempty"` + // Immutable. The name of a Cloud Storage bucket where this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] will + // publish content, such as the CA certificate and CRLs. This must be a bucket + // name, without any prefixes (such as `gs://`) or suffixes (such as + // `.googleapis.com`). For example, to use a bucket named `my-bucket`, you + // would simply specify `my-bucket`. If not specified, a managed bucket will + // be created. + GcsBucket string `protobuf:"bytes,13,opt,name=gcs_bucket,json=gcsBucket,proto3" json:"gcs_bucket,omitempty"` + // Output only. URLs for accessing content published by this CA, such as the CA certificate + // and CRLs. + AccessUrls *CertificateAuthority_AccessUrls `protobuf:"bytes,14,opt,name=access_urls,json=accessUrls,proto3" json:"access_urls,omitempty"` + // Output only. The time at which this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] was created. + CreateTime *timestamp.Timestamp `protobuf:"bytes,15,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + // Output only. The time at which this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] was updated. + UpdateTime *timestamp.Timestamp `protobuf:"bytes,16,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + // Output only. The time at which this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] will be deleted, if + // scheduled for deletion. + DeleteTime *timestamp.Timestamp `protobuf:"bytes,17,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"` + // Optional. Labels with user-defined metadata. + Labels map[string]string `protobuf:"bytes,18,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *CertificateAuthority) Reset() { + *x = CertificateAuthority{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CertificateAuthority) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CertificateAuthority) ProtoMessage() {} + +func (x *CertificateAuthority) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CertificateAuthority.ProtoReflect.Descriptor instead. +func (*CertificateAuthority) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{0} +} + +func (x *CertificateAuthority) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *CertificateAuthority) GetType() CertificateAuthority_Type { + if x != nil { + return x.Type + } + return CertificateAuthority_TYPE_UNSPECIFIED +} + +func (x *CertificateAuthority) GetTier() CertificateAuthority_Tier { + if x != nil { + return x.Tier + } + return CertificateAuthority_TIER_UNSPECIFIED +} + +func (x *CertificateAuthority) GetConfig() *CertificateConfig { + if x != nil { + return x.Config + } + return nil +} + +func (x *CertificateAuthority) GetLifetime() *duration.Duration { + if x != nil { + return x.Lifetime + } + return nil +} + +func (x *CertificateAuthority) GetKeySpec() *CertificateAuthority_KeyVersionSpec { + if x != nil { + return x.KeySpec + } + return nil +} + +func (x *CertificateAuthority) GetCertificatePolicy() *CertificateAuthority_CertificateAuthorityPolicy { + if x != nil { + return x.CertificatePolicy + } + return nil +} + +func (x *CertificateAuthority) GetIssuingOptions() *CertificateAuthority_IssuingOptions { + if x != nil { + return x.IssuingOptions + } + return nil +} + +func (x *CertificateAuthority) GetSubordinateConfig() *SubordinateConfig { + if x != nil { + return x.SubordinateConfig + } + return nil +} + +func (x *CertificateAuthority) GetState() CertificateAuthority_State { + if x != nil { + return x.State + } + return CertificateAuthority_STATE_UNSPECIFIED +} + +func (x *CertificateAuthority) GetPemCaCertificates() []string { + if x != nil { + return x.PemCaCertificates + } + return nil +} + +func (x *CertificateAuthority) GetCaCertificateDescriptions() []*CertificateDescription { + if x != nil { + return x.CaCertificateDescriptions + } + return nil +} + +func (x *CertificateAuthority) GetGcsBucket() string { + if x != nil { + return x.GcsBucket + } + return "" +} + +func (x *CertificateAuthority) GetAccessUrls() *CertificateAuthority_AccessUrls { + if x != nil { + return x.AccessUrls + } + return nil +} + +func (x *CertificateAuthority) GetCreateTime() *timestamp.Timestamp { + if x != nil { + return x.CreateTime + } + return nil +} + +func (x *CertificateAuthority) GetUpdateTime() *timestamp.Timestamp { + if x != nil { + return x.UpdateTime + } + return nil +} + +func (x *CertificateAuthority) GetDeleteTime() *timestamp.Timestamp { + if x != nil { + return x.DeleteTime + } + return nil +} + +func (x *CertificateAuthority) GetLabels() map[string]string { + if x != nil { + return x.Labels + } + return nil +} + +// A [CertificateRevocationList][google.cloud.security.privateca.v1beta1.CertificateRevocationList] corresponds to a signed X.509 certificate +// Revocation List (CRL). A CRL contains the serial numbers of certificates that +// should no longer be trusted. +type CertificateRevocationList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Output only. The resource path for this [CertificateRevocationList][google.cloud.security.privateca.v1beta1.CertificateRevocationList] in + // the format + // `projects/*/locations/*/certificateAuthorities/*/ + // certificateRevocationLists/*`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Output only. The CRL sequence number that appears in pem_crl. + SequenceNumber int64 `protobuf:"varint,2,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"` + // Output only. The revoked serial numbers that appear in pem_crl. + RevokedCertificates []*CertificateRevocationList_RevokedCertificate `protobuf:"bytes,3,rep,name=revoked_certificates,json=revokedCertificates,proto3" json:"revoked_certificates,omitempty"` + // Output only. The PEM-encoded X.509 CRL. + PemCrl string `protobuf:"bytes,4,opt,name=pem_crl,json=pemCrl,proto3" json:"pem_crl,omitempty"` + // Output only. The location where 'pem_crl' can be accessed. + AccessUrl string `protobuf:"bytes,5,opt,name=access_url,json=accessUrl,proto3" json:"access_url,omitempty"` + // Output only. The [State][google.cloud.security.privateca.v1beta1.CertificateRevocationList.State] for this [CertificateRevocationList][google.cloud.security.privateca.v1beta1.CertificateRevocationList]. + State CertificateRevocationList_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.cloud.security.privateca.v1beta1.CertificateRevocationList_State" json:"state,omitempty"` + // Output only. The time at which this [CertificateRevocationList][google.cloud.security.privateca.v1beta1.CertificateRevocationList] was created. + CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + // Output only. The time at which this [CertificateRevocationList][google.cloud.security.privateca.v1beta1.CertificateRevocationList] was updated. + UpdateTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + // Optional. Labels with user-defined metadata. + Labels map[string]string `protobuf:"bytes,9,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *CertificateRevocationList) Reset() { + *x = CertificateRevocationList{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CertificateRevocationList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CertificateRevocationList) ProtoMessage() {} + +func (x *CertificateRevocationList) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CertificateRevocationList.ProtoReflect.Descriptor instead. +func (*CertificateRevocationList) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{1} +} + +func (x *CertificateRevocationList) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *CertificateRevocationList) GetSequenceNumber() int64 { + if x != nil { + return x.SequenceNumber + } + return 0 +} + +func (x *CertificateRevocationList) GetRevokedCertificates() []*CertificateRevocationList_RevokedCertificate { + if x != nil { + return x.RevokedCertificates + } + return nil +} + +func (x *CertificateRevocationList) GetPemCrl() string { + if x != nil { + return x.PemCrl + } + return "" +} + +func (x *CertificateRevocationList) GetAccessUrl() string { + if x != nil { + return x.AccessUrl + } + return "" +} + +func (x *CertificateRevocationList) GetState() CertificateRevocationList_State { + if x != nil { + return x.State + } + return CertificateRevocationList_STATE_UNSPECIFIED +} + +func (x *CertificateRevocationList) GetCreateTime() *timestamp.Timestamp { + if x != nil { + return x.CreateTime + } + return nil +} + +func (x *CertificateRevocationList) GetUpdateTime() *timestamp.Timestamp { + if x != nil { + return x.UpdateTime + } + return nil +} + +func (x *CertificateRevocationList) GetLabels() map[string]string { + if x != nil { + return x.Labels + } + return nil +} + +// A [Certificate][google.cloud.security.privateca.v1beta1.Certificate] corresponds to a signed X.509 certificate issued by a +// [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. +type Certificate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Output only. The resource path for this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] in the format + // `projects/*/locations/*/certificateAuthorities/*/certificates/*`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The config used to create a signed X.509 certificate. + // + // Types that are assignable to CertificateConfig: + // *Certificate_PemCsr + // *Certificate_Config + CertificateConfig isCertificate_CertificateConfig `protobuf_oneof:"certificate_config"` + // Required. The desired lifetime of a certificate. Used to create the + // "not_before_time" and "not_after_time" fields inside an X.509 + // certificate. Note that the lifetime may be truncated if it would extend + // past the life of any certificate authority in the issuing chain. + Lifetime *duration.Duration `protobuf:"bytes,4,opt,name=lifetime,proto3" json:"lifetime,omitempty"` + // Output only. Details regarding the revocation of this [Certificate][google.cloud.security.privateca.v1beta1.Certificate]. This + // [Certificate][google.cloud.security.privateca.v1beta1.Certificate] is considered revoked if and only if this field is present. + RevocationDetails *Certificate_RevocationDetails `protobuf:"bytes,5,opt,name=revocation_details,json=revocationDetails,proto3" json:"revocation_details,omitempty"` + // Output only. The pem-encoded, signed X.509 certificate. + PemCertificate string `protobuf:"bytes,6,opt,name=pem_certificate,json=pemCertificate,proto3" json:"pem_certificate,omitempty"` + // Output only. A structured description of the issued X.509 certificate. + CertificateDescription *CertificateDescription `protobuf:"bytes,7,opt,name=certificate_description,json=certificateDescription,proto3" json:"certificate_description,omitempty"` + // Output only. The chain that may be used to verify the X.509 certificate. Expected to be + // in issuer-to-root order according to RFC 5246. + PemCertificateChain []string `protobuf:"bytes,8,rep,name=pem_certificate_chain,json=pemCertificateChain,proto3" json:"pem_certificate_chain,omitempty"` + // Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was created. + CreateTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + // Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was updated. + UpdateTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + // Optional. Labels with user-defined metadata. + Labels map[string]string `protobuf:"bytes,11,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *Certificate) Reset() { + *x = Certificate{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Certificate) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Certificate) ProtoMessage() {} + +func (x *Certificate) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Certificate.ProtoReflect.Descriptor instead. +func (*Certificate) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{2} +} + +func (x *Certificate) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (m *Certificate) GetCertificateConfig() isCertificate_CertificateConfig { + if m != nil { + return m.CertificateConfig + } + return nil +} + +func (x *Certificate) GetPemCsr() string { + if x, ok := x.GetCertificateConfig().(*Certificate_PemCsr); ok { + return x.PemCsr + } + return "" +} + +func (x *Certificate) GetConfig() *CertificateConfig { + if x, ok := x.GetCertificateConfig().(*Certificate_Config); ok { + return x.Config + } + return nil +} + +func (x *Certificate) GetLifetime() *duration.Duration { + if x != nil { + return x.Lifetime + } + return nil +} + +func (x *Certificate) GetRevocationDetails() *Certificate_RevocationDetails { + if x != nil { + return x.RevocationDetails + } + return nil +} + +func (x *Certificate) GetPemCertificate() string { + if x != nil { + return x.PemCertificate + } + return "" +} + +func (x *Certificate) GetCertificateDescription() *CertificateDescription { + if x != nil { + return x.CertificateDescription + } + return nil +} + +func (x *Certificate) GetPemCertificateChain() []string { + if x != nil { + return x.PemCertificateChain + } + return nil +} + +func (x *Certificate) GetCreateTime() *timestamp.Timestamp { + if x != nil { + return x.CreateTime + } + return nil +} + +func (x *Certificate) GetUpdateTime() *timestamp.Timestamp { + if x != nil { + return x.UpdateTime + } + return nil +} + +func (x *Certificate) GetLabels() map[string]string { + if x != nil { + return x.Labels + } + return nil +} + +type isCertificate_CertificateConfig interface { + isCertificate_CertificateConfig() +} + +type Certificate_PemCsr struct { + // Immutable. A pem-encoded X.509 certificate signing request (CSR). + PemCsr string `protobuf:"bytes,2,opt,name=pem_csr,json=pemCsr,proto3,oneof"` +} + +type Certificate_Config struct { + // Immutable. A description of the certificate and key that does not require X.509 or + // ASN.1. + Config *CertificateConfig `protobuf:"bytes,3,opt,name=config,proto3,oneof"` +} + +func (*Certificate_PemCsr) isCertificate_CertificateConfig() {} + +func (*Certificate_Config) isCertificate_CertificateConfig() {} + +// A [ReusableConfig][google.cloud.security.privateca.v1beta1.ReusableConfig] refers to a managed [ReusableConfigValues][google.cloud.security.privateca.v1beta1.ReusableConfigValues]. Those, in +// turn, are used to describe certain fields of an X.509 certificate, such as +// the key usage fields, fields specific to CA certificates, certificate policy +// extensions and custom extensions. +type ReusableConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Output only. The resource path for this [ReusableConfig][google.cloud.security.privateca.v1beta1.ReusableConfig] in the format + // `projects/*/locations/*/reusableConfigs/*`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Required. The config values. + Values *ReusableConfigValues `protobuf:"bytes,2,opt,name=values,proto3" json:"values,omitempty"` + // Optional. A human-readable description of scenarios these ReusableConfigValues may be + // compatible with. + Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` + // Output only. The time at which this [ReusableConfig][google.cloud.security.privateca.v1beta1.ReusableConfig] was created. + CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + // Output only. The time at which this [ReusableConfig][google.cloud.security.privateca.v1beta1.ReusableConfig] was updated. + UpdateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + // Optional. Labels with user-defined metadata. + Labels map[string]string `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *ReusableConfig) Reset() { + *x = ReusableConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReusableConfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReusableConfig) ProtoMessage() {} + +func (x *ReusableConfig) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReusableConfig.ProtoReflect.Descriptor instead. +func (*ReusableConfig) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{3} +} + +func (x *ReusableConfig) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *ReusableConfig) GetValues() *ReusableConfigValues { + if x != nil { + return x.Values + } + return nil +} + +func (x *ReusableConfig) GetDescription() string { + if x != nil { + return x.Description + } + return "" +} + +func (x *ReusableConfig) GetCreateTime() *timestamp.Timestamp { + if x != nil { + return x.CreateTime + } + return nil +} + +func (x *ReusableConfig) GetUpdateTime() *timestamp.Timestamp { + if x != nil { + return x.UpdateTime + } + return nil +} + +func (x *ReusableConfig) GetLabels() map[string]string { + if x != nil { + return x.Labels + } + return nil +} + +// A [ReusableConfigValues][google.cloud.security.privateca.v1beta1.ReusableConfigValues] is used to describe certain fields of an +// X.509 certificate, such as the key usage fields, fields specific to CA +// certificates, certificate policy extensions and custom extensions. +type ReusableConfigValues struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Optional. Indicates the intended use for keys that correspond to a certificate. + KeyUsage *KeyUsage `protobuf:"bytes,1,opt,name=key_usage,json=keyUsage,proto3" json:"key_usage,omitempty"` + // Optional. Describes options in this [ReusableConfigValues][google.cloud.security.privateca.v1beta1.ReusableConfigValues] that are + // relevant in a CA certificate. + CaOptions *ReusableConfigValues_CaOptions `protobuf:"bytes,2,opt,name=ca_options,json=caOptions,proto3" json:"ca_options,omitempty"` + // Optional. Describes the X.509 certificate policy object identifiers, per + // https://tools.ietf.org/html/rfc5280#section-4.2.1.4rfc5280 + PolicyIds []*ObjectId `protobuf:"bytes,3,rep,name=policy_ids,json=policyIds,proto3" json:"policy_ids,omitempty"` + // Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses + // that appear in the "Authority Information Access" extension in the + // certificate. + AiaOcspServers []string `protobuf:"bytes,4,rep,name=aia_ocsp_servers,json=aiaOcspServers,proto3" json:"aia_ocsp_servers,omitempty"` + // Optional. Describes custom X.509 extensions. + AdditionalExtensions []*X509Extension `protobuf:"bytes,5,rep,name=additional_extensions,json=additionalExtensions,proto3" json:"additional_extensions,omitempty"` +} + +func (x *ReusableConfigValues) Reset() { + *x = ReusableConfigValues{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReusableConfigValues) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReusableConfigValues) ProtoMessage() {} + +func (x *ReusableConfigValues) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReusableConfigValues.ProtoReflect.Descriptor instead. +func (*ReusableConfigValues) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{4} +} + +func (x *ReusableConfigValues) GetKeyUsage() *KeyUsage { + if x != nil { + return x.KeyUsage + } + return nil +} + +func (x *ReusableConfigValues) GetCaOptions() *ReusableConfigValues_CaOptions { + if x != nil { + return x.CaOptions + } + return nil +} + +func (x *ReusableConfigValues) GetPolicyIds() []*ObjectId { + if x != nil { + return x.PolicyIds + } + return nil +} + +func (x *ReusableConfigValues) GetAiaOcspServers() []string { + if x != nil { + return x.AiaOcspServers + } + return nil +} + +func (x *ReusableConfigValues) GetAdditionalExtensions() []*X509Extension { + if x != nil { + return x.AdditionalExtensions + } + return nil +} + +// A [ReusableConfigWrapper][google.cloud.security.privateca.v1beta1.ReusableConfigWrapper] describes values that may assist in creating an +// X.509 certificate, or a reference to a pre-defined set of values. +type ReusableConfigWrapper struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Reusable or inline config values. + // + // Types that are assignable to ConfigValues: + // *ReusableConfigWrapper_ReusableConfig + // *ReusableConfigWrapper_ReusableConfigValues + ConfigValues isReusableConfigWrapper_ConfigValues `protobuf_oneof:"config_values"` +} + +func (x *ReusableConfigWrapper) Reset() { + *x = ReusableConfigWrapper{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReusableConfigWrapper) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReusableConfigWrapper) ProtoMessage() {} + +func (x *ReusableConfigWrapper) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReusableConfigWrapper.ProtoReflect.Descriptor instead. +func (*ReusableConfigWrapper) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{5} +} + +func (m *ReusableConfigWrapper) GetConfigValues() isReusableConfigWrapper_ConfigValues { + if m != nil { + return m.ConfigValues + } + return nil +} + +func (x *ReusableConfigWrapper) GetReusableConfig() string { + if x, ok := x.GetConfigValues().(*ReusableConfigWrapper_ReusableConfig); ok { + return x.ReusableConfig + } + return "" +} + +func (x *ReusableConfigWrapper) GetReusableConfigValues() *ReusableConfigValues { + if x, ok := x.GetConfigValues().(*ReusableConfigWrapper_ReusableConfigValues); ok { + return x.ReusableConfigValues + } + return nil +} + +type isReusableConfigWrapper_ConfigValues interface { + isReusableConfigWrapper_ConfigValues() +} + +type ReusableConfigWrapper_ReusableConfig struct { + // Required. A resource path to a [ReusableConfig][google.cloud.security.privateca.v1beta1.ReusableConfig] in the format + // `projects/*/locations/*/reusableConfigs/*`. + ReusableConfig string `protobuf:"bytes,1,opt,name=reusable_config,json=reusableConfig,proto3,oneof"` +} + +type ReusableConfigWrapper_ReusableConfigValues struct { + // Required. A user-specified inline [ReusableConfigValues][google.cloud.security.privateca.v1beta1.ReusableConfigValues]. + ReusableConfigValues *ReusableConfigValues `protobuf:"bytes,2,opt,name=reusable_config_values,json=reusableConfigValues,proto3,oneof"` +} + +func (*ReusableConfigWrapper_ReusableConfig) isReusableConfigWrapper_ConfigValues() {} + +func (*ReusableConfigWrapper_ReusableConfigValues) isReusableConfigWrapper_ConfigValues() {} + +// Describes a subordinate CA's issuers. This is either a resource path to a +// known issuing [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority], or a PEM issuer certificate chain. +type SubordinateConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to SubordinateConfig: + // *SubordinateConfig_CertificateAuthority + // *SubordinateConfig_PemIssuerChain + SubordinateConfig isSubordinateConfig_SubordinateConfig `protobuf_oneof:"subordinate_config"` +} + +func (x *SubordinateConfig) Reset() { + *x = SubordinateConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SubordinateConfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SubordinateConfig) ProtoMessage() {} + +func (x *SubordinateConfig) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SubordinateConfig.ProtoReflect.Descriptor instead. +func (*SubordinateConfig) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{6} +} + +func (m *SubordinateConfig) GetSubordinateConfig() isSubordinateConfig_SubordinateConfig { + if m != nil { + return m.SubordinateConfig + } + return nil +} + +func (x *SubordinateConfig) GetCertificateAuthority() string { + if x, ok := x.GetSubordinateConfig().(*SubordinateConfig_CertificateAuthority); ok { + return x.CertificateAuthority + } + return "" +} + +func (x *SubordinateConfig) GetPemIssuerChain() *SubordinateConfig_SubordinateConfigChain { + if x, ok := x.GetSubordinateConfig().(*SubordinateConfig_PemIssuerChain); ok { + return x.PemIssuerChain + } + return nil +} + +type isSubordinateConfig_SubordinateConfig interface { + isSubordinateConfig_SubordinateConfig() +} + +type SubordinateConfig_CertificateAuthority struct { + // Required. This can refer to a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] in the same project that + // was used to create a subordinate [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. This field + // is used for information and usability purposes only. The resource name + // is in the format `projects/*/locations/*/certificateAuthorities/*`. + CertificateAuthority string `protobuf:"bytes,1,opt,name=certificate_authority,json=certificateAuthority,proto3,oneof"` +} + +type SubordinateConfig_PemIssuerChain struct { + // Required. Contains the PEM certificate chain for the issuers of this + // [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority], but not pem certificate for this CA itself. + PemIssuerChain *SubordinateConfig_SubordinateConfigChain `protobuf:"bytes,2,opt,name=pem_issuer_chain,json=pemIssuerChain,proto3,oneof"` +} + +func (*SubordinateConfig_CertificateAuthority) isSubordinateConfig_SubordinateConfig() {} + +func (*SubordinateConfig_PemIssuerChain) isSubordinateConfig_SubordinateConfig() {} + +// A [PublicKey][google.cloud.security.privateca.v1beta1.PublicKey] describes a public key. +type PublicKey struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. The type of public key. + Type PublicKey_KeyType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.security.privateca.v1beta1.PublicKey_KeyType" json:"type,omitempty"` + // Required. A public key. Padding and encoding varies by 'KeyType' and is described + // along with the KeyType values. + Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` +} + +func (x *PublicKey) Reset() { + *x = PublicKey{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PublicKey) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PublicKey) ProtoMessage() {} + +func (x *PublicKey) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PublicKey.ProtoReflect.Descriptor instead. +func (*PublicKey) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{7} +} + +func (x *PublicKey) GetType() PublicKey_KeyType { + if x != nil { + return x.Type + } + return PublicKey_KEY_TYPE_UNSPECIFIED +} + +func (x *PublicKey) GetKey() []byte { + if x != nil { + return x.Key + } + return nil +} + +// A [CertificateConfig][google.cloud.security.privateca.v1beta1.CertificateConfig] describes an X.509 certificate or CSR that is to be +// created, as an alternative to using ASN.1. +type CertificateConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. Specifies some of the values in a certificate that are related to the + // subject. + SubjectConfig *CertificateConfig_SubjectConfig `protobuf:"bytes,1,opt,name=subject_config,json=subjectConfig,proto3" json:"subject_config,omitempty"` + // Required. Describes how some of the technical fields in a certificate should be + // populated. + ReusableConfig *ReusableConfigWrapper `protobuf:"bytes,2,opt,name=reusable_config,json=reusableConfig,proto3" json:"reusable_config,omitempty"` + // Optional. The public key that corresponds to this config. This is, for example, used + // when issuing [Certificates][google.cloud.security.privateca.v1beta1.Certificate], but not when creating a + // self-signed [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] or [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] CSR. + PublicKey *PublicKey `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` +} + +func (x *CertificateConfig) Reset() { + *x = CertificateConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CertificateConfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CertificateConfig) ProtoMessage() {} + +func (x *CertificateConfig) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CertificateConfig.ProtoReflect.Descriptor instead. +func (*CertificateConfig) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{8} +} + +func (x *CertificateConfig) GetSubjectConfig() *CertificateConfig_SubjectConfig { + if x != nil { + return x.SubjectConfig + } + return nil +} + +func (x *CertificateConfig) GetReusableConfig() *ReusableConfigWrapper { + if x != nil { + return x.ReusableConfig + } + return nil +} + +func (x *CertificateConfig) GetPublicKey() *PublicKey { + if x != nil { + return x.PublicKey + } + return nil +} + +// A [CertificateDescription][google.cloud.security.privateca.v1beta1.CertificateDescription] describes an X.509 certificate or CSR that has +// been issued, as an alternative to using ASN.1 / X.509. +type CertificateDescription struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Describes some of the values in a certificate that are related to the + // subject and lifetime. + SubjectDescription *CertificateDescription_SubjectDescription `protobuf:"bytes,1,opt,name=subject_description,json=subjectDescription,proto3" json:"subject_description,omitempty"` + // Describes some of the technical fields in a certificate. + ConfigValues *ReusableConfigValues `protobuf:"bytes,2,opt,name=config_values,json=configValues,proto3" json:"config_values,omitempty"` + // The public key that corresponds to an issued certificate. + PublicKey *PublicKey `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` + // Provides a means of identifiying certificates that contain a particular + // public key, per https://tools.ietf.org/html/rfc5280#section-4.2.1.2. + SubjectKeyId *CertificateDescription_KeyId `protobuf:"bytes,4,opt,name=subject_key_id,json=subjectKeyId,proto3" json:"subject_key_id,omitempty"` + // Identifies the subject_key_id of the parent certificate, per + // https://tools.ietf.org/html/rfc5280#section-4.2.1.1 + AuthorityKeyId *CertificateDescription_KeyId `protobuf:"bytes,5,opt,name=authority_key_id,json=authorityKeyId,proto3" json:"authority_key_id,omitempty"` + // Describes a list of locations to obtain CRL information, i.e. + // the DistributionPoint.fullName described by + // https://tools.ietf.org/html/rfc5280#section-4.2.1.13 + CrlDistributionPoints []string `protobuf:"bytes,6,rep,name=crl_distribution_points,json=crlDistributionPoints,proto3" json:"crl_distribution_points,omitempty"` + // Describes lists of issuer CA certificate URLs that appear in the + // "Authority Information Access" extension in the certificate. + AiaIssuingCertificateUrls []string `protobuf:"bytes,7,rep,name=aia_issuing_certificate_urls,json=aiaIssuingCertificateUrls,proto3" json:"aia_issuing_certificate_urls,omitempty"` + // The hash of the x.509 certificate. + CertFingerprint *CertificateDescription_CertificateFingerprint `protobuf:"bytes,8,opt,name=cert_fingerprint,json=certFingerprint,proto3" json:"cert_fingerprint,omitempty"` +} + +func (x *CertificateDescription) Reset() { + *x = CertificateDescription{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CertificateDescription) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CertificateDescription) ProtoMessage() {} + +func (x *CertificateDescription) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CertificateDescription.ProtoReflect.Descriptor instead. +func (*CertificateDescription) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{9} +} + +func (x *CertificateDescription) GetSubjectDescription() *CertificateDescription_SubjectDescription { + if x != nil { + return x.SubjectDescription + } + return nil +} + +func (x *CertificateDescription) GetConfigValues() *ReusableConfigValues { + if x != nil { + return x.ConfigValues + } + return nil +} + +func (x *CertificateDescription) GetPublicKey() *PublicKey { + if x != nil { + return x.PublicKey + } + return nil +} + +func (x *CertificateDescription) GetSubjectKeyId() *CertificateDescription_KeyId { + if x != nil { + return x.SubjectKeyId + } + return nil +} + +func (x *CertificateDescription) GetAuthorityKeyId() *CertificateDescription_KeyId { + if x != nil { + return x.AuthorityKeyId + } + return nil +} + +func (x *CertificateDescription) GetCrlDistributionPoints() []string { + if x != nil { + return x.CrlDistributionPoints + } + return nil +} + +func (x *CertificateDescription) GetAiaIssuingCertificateUrls() []string { + if x != nil { + return x.AiaIssuingCertificateUrls + } + return nil +} + +func (x *CertificateDescription) GetCertFingerprint() *CertificateDescription_CertificateFingerprint { + if x != nil { + return x.CertFingerprint + } + return nil +} + +// An [ObjectId][google.cloud.security.privateca.v1beta1.ObjectId] specifies an object identifier (OID). These provide context +// and describe types in ASN.1 messages. +type ObjectId struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. The parts of an OID path. The most significant parts of the path come + // first. + ObjectIdPath []int32 `protobuf:"varint,1,rep,packed,name=object_id_path,json=objectIdPath,proto3" json:"object_id_path,omitempty"` +} + +func (x *ObjectId) Reset() { + *x = ObjectId{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ObjectId) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ObjectId) ProtoMessage() {} + +func (x *ObjectId) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ObjectId.ProtoReflect.Descriptor instead. +func (*ObjectId) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{10} +} + +func (x *ObjectId) GetObjectIdPath() []int32 { + if x != nil { + return x.ObjectIdPath + } + return nil +} + +// An [X509Extension][google.cloud.security.privateca.v1beta1.X509Extension] specifies an X.509 extension, which may be used in +// different parts of X.509 objects like certificates, CSRs, and CRLs. +type X509Extension struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. The OID for this X.509 extension. + ObjectId *ObjectId `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` + // Required. Indicates whether or not this extension is critical (i.e., if the client + // does not know how to handle this extension, the client should consider this + // to be an error). + Critical bool `protobuf:"varint,2,opt,name=critical,proto3" json:"critical,omitempty"` + // Required. The value of this X.509 extension. + Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *X509Extension) Reset() { + *x = X509Extension{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *X509Extension) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*X509Extension) ProtoMessage() {} + +func (x *X509Extension) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use X509Extension.ProtoReflect.Descriptor instead. +func (*X509Extension) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{11} +} + +func (x *X509Extension) GetObjectId() *ObjectId { + if x != nil { + return x.ObjectId + } + return nil +} + +func (x *X509Extension) GetCritical() bool { + if x != nil { + return x.Critical + } + return false +} + +func (x *X509Extension) GetValue() []byte { + if x != nil { + return x.Value + } + return nil +} + +// A [KeyUsage][google.cloud.security.privateca.v1beta1.KeyUsage] describes key usage values that may appear in an X.509 +// certificate. +type KeyUsage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Describes high-level ways in which a key may be used. + BaseKeyUsage *KeyUsage_KeyUsageOptions `protobuf:"bytes,1,opt,name=base_key_usage,json=baseKeyUsage,proto3" json:"base_key_usage,omitempty"` + // Detailed scenarios in which a key may be used. + ExtendedKeyUsage *KeyUsage_ExtendedKeyUsageOptions `protobuf:"bytes,2,opt,name=extended_key_usage,json=extendedKeyUsage,proto3" json:"extended_key_usage,omitempty"` + // Used to describe extended key usages that are not listed in the + // [KeyUsage.ExtendedKeyUsageOptions][google.cloud.security.privateca.v1beta1.KeyUsage.ExtendedKeyUsageOptions] message. + UnknownExtendedKeyUsages []*ObjectId `protobuf:"bytes,3,rep,name=unknown_extended_key_usages,json=unknownExtendedKeyUsages,proto3" json:"unknown_extended_key_usages,omitempty"` +} + +func (x *KeyUsage) Reset() { + *x = KeyUsage{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *KeyUsage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*KeyUsage) ProtoMessage() {} + +func (x *KeyUsage) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use KeyUsage.ProtoReflect.Descriptor instead. +func (*KeyUsage) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{12} +} + +func (x *KeyUsage) GetBaseKeyUsage() *KeyUsage_KeyUsageOptions { + if x != nil { + return x.BaseKeyUsage + } + return nil +} + +func (x *KeyUsage) GetExtendedKeyUsage() *KeyUsage_ExtendedKeyUsageOptions { + if x != nil { + return x.ExtendedKeyUsage + } + return nil +} + +func (x *KeyUsage) GetUnknownExtendedKeyUsages() []*ObjectId { + if x != nil { + return x.UnknownExtendedKeyUsages + } + return nil +} + +// [Subject][google.cloud.security.privateca.v1beta1.Subject] describes parts of a distinguished name that, in turn, +// describes the subject of the certificate. +type Subject struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The country code of the subject. + CountryCode string `protobuf:"bytes,1,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` + // The organization of the subject. + Organization string `protobuf:"bytes,2,opt,name=organization,proto3" json:"organization,omitempty"` + // The organizational_unit of the subject. + OrganizationalUnit string `protobuf:"bytes,3,opt,name=organizational_unit,json=organizationalUnit,proto3" json:"organizational_unit,omitempty"` + // The locality or city of the subject. + Locality string `protobuf:"bytes,4,opt,name=locality,proto3" json:"locality,omitempty"` + // The province, territory, or regional state of the subject. + Province string `protobuf:"bytes,5,opt,name=province,proto3" json:"province,omitempty"` + // The street address of the subject. + StreetAddress string `protobuf:"bytes,6,opt,name=street_address,json=streetAddress,proto3" json:"street_address,omitempty"` + // The postal code of the subject. + PostalCode string `protobuf:"bytes,7,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"` +} + +func (x *Subject) Reset() { + *x = Subject{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Subject) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Subject) ProtoMessage() {} + +func (x *Subject) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Subject.ProtoReflect.Descriptor instead. +func (*Subject) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{13} +} + +func (x *Subject) GetCountryCode() string { + if x != nil { + return x.CountryCode + } + return "" +} + +func (x *Subject) GetOrganization() string { + if x != nil { + return x.Organization + } + return "" +} + +func (x *Subject) GetOrganizationalUnit() string { + if x != nil { + return x.OrganizationalUnit + } + return "" +} + +func (x *Subject) GetLocality() string { + if x != nil { + return x.Locality + } + return "" +} + +func (x *Subject) GetProvince() string { + if x != nil { + return x.Province + } + return "" +} + +func (x *Subject) GetStreetAddress() string { + if x != nil { + return x.StreetAddress + } + return "" +} + +func (x *Subject) GetPostalCode() string { + if x != nil { + return x.PostalCode + } + return "" +} + +// [SubjectAltNames][google.cloud.security.privateca.v1beta1.SubjectAltNames] corresponds to a more modern way of listing what +// the asserted identity is in a certificate (i.e., compared to the "common +// name" in the distinguished name). +type SubjectAltNames struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Contains only valid, fully-qualified host names. + DnsNames []string `protobuf:"bytes,1,rep,name=dns_names,json=dnsNames,proto3" json:"dns_names,omitempty"` + // Contains only valid RFC 3986 URIs. + Uris []string `protobuf:"bytes,2,rep,name=uris,proto3" json:"uris,omitempty"` + // Contains only valid RFC 2822 E-mail addresses. + EmailAddresses []string `protobuf:"bytes,3,rep,name=email_addresses,json=emailAddresses,proto3" json:"email_addresses,omitempty"` + // Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses. + IpAddresses []string `protobuf:"bytes,4,rep,name=ip_addresses,json=ipAddresses,proto3" json:"ip_addresses,omitempty"` + // Contains additional subject alternative name values. + CustomSans []*X509Extension `protobuf:"bytes,5,rep,name=custom_sans,json=customSans,proto3" json:"custom_sans,omitempty"` +} + +func (x *SubjectAltNames) Reset() { + *x = SubjectAltNames{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SubjectAltNames) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SubjectAltNames) ProtoMessage() {} + +func (x *SubjectAltNames) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SubjectAltNames.ProtoReflect.Descriptor instead. +func (*SubjectAltNames) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{14} +} + +func (x *SubjectAltNames) GetDnsNames() []string { + if x != nil { + return x.DnsNames + } + return nil +} + +func (x *SubjectAltNames) GetUris() []string { + if x != nil { + return x.Uris + } + return nil +} + +func (x *SubjectAltNames) GetEmailAddresses() []string { + if x != nil { + return x.EmailAddresses + } + return nil +} + +func (x *SubjectAltNames) GetIpAddresses() []string { + if x != nil { + return x.IpAddresses + } + return nil +} + +func (x *SubjectAltNames) GetCustomSans() []*X509Extension { + if x != nil { + return x.CustomSans + } + return nil +} + +// Options that affect all certificates issued by a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. +type CertificateAuthority_IssuingOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. When true, includes a URL to the issuing CA certificate in the + // "authority information access" X.509 extension. + IncludeCaCertUrl bool `protobuf:"varint,1,opt,name=include_ca_cert_url,json=includeCaCertUrl,proto3" json:"include_ca_cert_url,omitempty"` + // Required. When true, includes a URL to the CRL corresponding to certificates + // issued from a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. + // CRLs will expire 7 days from their creation. However, we will rebuild + // daily. CRLs are also rebuilt shortly after a certificate is revoked. + IncludeCrlAccessUrl bool `protobuf:"varint,2,opt,name=include_crl_access_url,json=includeCrlAccessUrl,proto3" json:"include_crl_access_url,omitempty"` +} + +func (x *CertificateAuthority_IssuingOptions) Reset() { + *x = CertificateAuthority_IssuingOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CertificateAuthority_IssuingOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CertificateAuthority_IssuingOptions) ProtoMessage() {} + +func (x *CertificateAuthority_IssuingOptions) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CertificateAuthority_IssuingOptions.ProtoReflect.Descriptor instead. +func (*CertificateAuthority_IssuingOptions) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *CertificateAuthority_IssuingOptions) GetIncludeCaCertUrl() bool { + if x != nil { + return x.IncludeCaCertUrl + } + return false +} + +func (x *CertificateAuthority_IssuingOptions) GetIncludeCrlAccessUrl() bool { + if x != nil { + return x.IncludeCrlAccessUrl + } + return false +} + +// The issuing policy for a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. +// [Certificates][google.cloud.security.privateca.v1beta1.Certificate] will not be successfully issued from this +// [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] if they violate the policy. +type CertificateAuthority_CertificateAuthorityPolicy struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Allowed configurations or a single configuration for all issued + // certificates. + // + // Types that are assignable to ConfigPolicy: + // *CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList_ + // *CertificateAuthority_CertificateAuthorityPolicy_OverwriteConfigValues + ConfigPolicy isCertificateAuthority_CertificateAuthorityPolicy_ConfigPolicy `protobuf_oneof:"config_policy"` + // Optional. If any [Subject][google.cloud.security.privateca.v1beta1.Subject] is specified here, then all + // [Certificates][google.cloud.security.privateca.v1beta1.Certificate] issued by the [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] must + // match at least one listed [Subject][google.cloud.security.privateca.v1beta1.Subject]. If a [Subject][google.cloud.security.privateca.v1beta1.Subject] has an empty + // field, any value will be allowed for that field. + AllowedLocationsAndOrganizations []*Subject `protobuf:"bytes,3,rep,name=allowed_locations_and_organizations,json=allowedLocationsAndOrganizations,proto3" json:"allowed_locations_and_organizations,omitempty"` + // Optional. If any value is specified here, then all + // [Certificates][google.cloud.security.privateca.v1beta1.Certificate] issued by the [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] must + // match at least one listed value. If no value is specified, all values + // will be allowed for this fied. Glob patterns are also supported. + AllowedCommonNames []string `protobuf:"bytes,4,rep,name=allowed_common_names,json=allowedCommonNames,proto3" json:"allowed_common_names,omitempty"` + // Optional. If a [AllowedSubjectAltNames][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames] is specified here, then all + // [Certificates][google.cloud.security.privateca.v1beta1.Certificate] issued by the [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] must + // match [AllowedSubjectAltNames][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames]. If no value or an empty value + // is specified, any value will be allowed for the [SubjectAltNames][google.cloud.security.privateca.v1beta1.SubjectAltNames] + // field. + AllowedSans *CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames `protobuf:"bytes,5,opt,name=allowed_sans,json=allowedSans,proto3" json:"allowed_sans,omitempty"` + // Optional. The maximum lifetime allowed by the [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. Note that + // if the any part if the issuing chain expires before a [Certificate][google.cloud.security.privateca.v1beta1.Certificate]'s + // requested maximum_lifetime, the effective lifetime will be explicitly + // truncated. + MaximumLifetime *duration.Duration `protobuf:"bytes,6,opt,name=maximum_lifetime,json=maximumLifetime,proto3" json:"maximum_lifetime,omitempty"` + // Optional. If specified, then only methods allowed in the [IssuanceModes][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes] may be + // used to issue [Certificates][google.cloud.security.privateca.v1beta1.Certificate]. + AllowedIssuanceModes *CertificateAuthority_CertificateAuthorityPolicy_IssuanceModes `protobuf:"bytes,8,opt,name=allowed_issuance_modes,json=allowedIssuanceModes,proto3" json:"allowed_issuance_modes,omitempty"` +} + +func (x *CertificateAuthority_CertificateAuthorityPolicy) Reset() { + *x = CertificateAuthority_CertificateAuthorityPolicy{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CertificateAuthority_CertificateAuthorityPolicy) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CertificateAuthority_CertificateAuthorityPolicy) ProtoMessage() {} + +func (x *CertificateAuthority_CertificateAuthorityPolicy) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CertificateAuthority_CertificateAuthorityPolicy.ProtoReflect.Descriptor instead. +func (*CertificateAuthority_CertificateAuthorityPolicy) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{0, 1} +} + +func (m *CertificateAuthority_CertificateAuthorityPolicy) GetConfigPolicy() isCertificateAuthority_CertificateAuthorityPolicy_ConfigPolicy { + if m != nil { + return m.ConfigPolicy + } + return nil +} + +func (x *CertificateAuthority_CertificateAuthorityPolicy) GetAllowedConfigList() *CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList { + if x, ok := x.GetConfigPolicy().(*CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList_); ok { + return x.AllowedConfigList + } + return nil +} + +func (x *CertificateAuthority_CertificateAuthorityPolicy) GetOverwriteConfigValues() *ReusableConfigWrapper { + if x, ok := x.GetConfigPolicy().(*CertificateAuthority_CertificateAuthorityPolicy_OverwriteConfigValues); ok { + return x.OverwriteConfigValues + } + return nil +} + +func (x *CertificateAuthority_CertificateAuthorityPolicy) GetAllowedLocationsAndOrganizations() []*Subject { + if x != nil { + return x.AllowedLocationsAndOrganizations + } + return nil +} + +func (x *CertificateAuthority_CertificateAuthorityPolicy) GetAllowedCommonNames() []string { + if x != nil { + return x.AllowedCommonNames + } + return nil +} + +func (x *CertificateAuthority_CertificateAuthorityPolicy) GetAllowedSans() *CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames { + if x != nil { + return x.AllowedSans + } + return nil +} + +func (x *CertificateAuthority_CertificateAuthorityPolicy) GetMaximumLifetime() *duration.Duration { + if x != nil { + return x.MaximumLifetime + } + return nil +} + +func (x *CertificateAuthority_CertificateAuthorityPolicy) GetAllowedIssuanceModes() *CertificateAuthority_CertificateAuthorityPolicy_IssuanceModes { + if x != nil { + return x.AllowedIssuanceModes + } + return nil +} + +type isCertificateAuthority_CertificateAuthorityPolicy_ConfigPolicy interface { + isCertificateAuthority_CertificateAuthorityPolicy_ConfigPolicy() +} + +type CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList_ struct { + // Optional. All [Certificates][google.cloud.security.privateca.v1beta1.Certificate] issued by the [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] + // must match at least one listed [ReusableConfigWrapper][google.cloud.security.privateca.v1beta1.ReusableConfigWrapper] in the list. + AllowedConfigList *CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList `protobuf:"bytes,1,opt,name=allowed_config_list,json=allowedConfigList,proto3,oneof"` +} + +type CertificateAuthority_CertificateAuthorityPolicy_OverwriteConfigValues struct { + // Optional. All [Certificates][google.cloud.security.privateca.v1beta1.Certificate] issued by the [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] + // will use the provided configuration values, overwriting any requested + // configuration values. + OverwriteConfigValues *ReusableConfigWrapper `protobuf:"bytes,2,opt,name=overwrite_config_values,json=overwriteConfigValues,proto3,oneof"` +} + +func (*CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList_) isCertificateAuthority_CertificateAuthorityPolicy_ConfigPolicy() { +} + +func (*CertificateAuthority_CertificateAuthorityPolicy_OverwriteConfigValues) isCertificateAuthority_CertificateAuthorityPolicy_ConfigPolicy() { +} + +// URLs where a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] will publish content. +type CertificateAuthority_AccessUrls struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The URL where this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]'s CA certificate is + // published. This will only be set for CAs that have been activated. + CaCertificateAccessUrl string `protobuf:"bytes,1,opt,name=ca_certificate_access_url,json=caCertificateAccessUrl,proto3" json:"ca_certificate_access_url,omitempty"` + // The URL where this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]'s CRLs are published. This + // will only be set for CAs that have been activated. + CrlAccessUrl string `protobuf:"bytes,2,opt,name=crl_access_url,json=crlAccessUrl,proto3" json:"crl_access_url,omitempty"` +} + +func (x *CertificateAuthority_AccessUrls) Reset() { + *x = CertificateAuthority_AccessUrls{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CertificateAuthority_AccessUrls) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CertificateAuthority_AccessUrls) ProtoMessage() {} + +func (x *CertificateAuthority_AccessUrls) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CertificateAuthority_AccessUrls.ProtoReflect.Descriptor instead. +func (*CertificateAuthority_AccessUrls) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{0, 2} +} + +func (x *CertificateAuthority_AccessUrls) GetCaCertificateAccessUrl() string { + if x != nil { + return x.CaCertificateAccessUrl + } + return "" +} + +func (x *CertificateAuthority_AccessUrls) GetCrlAccessUrl() string { + if x != nil { + return x.CrlAccessUrl + } + return "" +} + +// A Cloud KMS key configuration that a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] will use. +type CertificateAuthority_KeyVersionSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to KeyVersion: + // *CertificateAuthority_KeyVersionSpec_CloudKmsKeyVersion + // *CertificateAuthority_KeyVersionSpec_Algorithm + KeyVersion isCertificateAuthority_KeyVersionSpec_KeyVersion `protobuf_oneof:"KeyVersion"` +} + +func (x *CertificateAuthority_KeyVersionSpec) Reset() { + *x = CertificateAuthority_KeyVersionSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CertificateAuthority_KeyVersionSpec) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CertificateAuthority_KeyVersionSpec) ProtoMessage() {} + +func (x *CertificateAuthority_KeyVersionSpec) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CertificateAuthority_KeyVersionSpec.ProtoReflect.Descriptor instead. +func (*CertificateAuthority_KeyVersionSpec) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{0, 3} +} + +func (m *CertificateAuthority_KeyVersionSpec) GetKeyVersion() isCertificateAuthority_KeyVersionSpec_KeyVersion { + if m != nil { + return m.KeyVersion + } + return nil +} + +func (x *CertificateAuthority_KeyVersionSpec) GetCloudKmsKeyVersion() string { + if x, ok := x.GetKeyVersion().(*CertificateAuthority_KeyVersionSpec_CloudKmsKeyVersion); ok { + return x.CloudKmsKeyVersion + } + return "" +} + +func (x *CertificateAuthority_KeyVersionSpec) GetAlgorithm() CertificateAuthority_SignHashAlgorithm { + if x, ok := x.GetKeyVersion().(*CertificateAuthority_KeyVersionSpec_Algorithm); ok { + return x.Algorithm + } + return CertificateAuthority_SIGN_HASH_ALGORITHM_UNSPECIFIED +} + +type isCertificateAuthority_KeyVersionSpec_KeyVersion interface { + isCertificateAuthority_KeyVersionSpec_KeyVersion() +} + +type CertificateAuthority_KeyVersionSpec_CloudKmsKeyVersion struct { + // Required. The resource name for an existing Cloud KMS CryptoKeyVersion in the + // format`projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`. + // This option enables full flexibility in the key's capabilities and + // properties. + CloudKmsKeyVersion string `protobuf:"bytes,1,opt,name=cloud_kms_key_version,json=cloudKmsKeyVersion,proto3,oneof"` +} + +type CertificateAuthority_KeyVersionSpec_Algorithm struct { + // Required. The algorithm to use for creating a managed Cloud KMS key for a for a + // simplified experience. All managed keys will be have their + // [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] as `HSM`. + Algorithm CertificateAuthority_SignHashAlgorithm `protobuf:"varint,2,opt,name=algorithm,proto3,enum=google.cloud.security.privateca.v1beta1.CertificateAuthority_SignHashAlgorithm,oneof"` +} + +func (*CertificateAuthority_KeyVersionSpec_CloudKmsKeyVersion) isCertificateAuthority_KeyVersionSpec_KeyVersion() { +} + +func (*CertificateAuthority_KeyVersionSpec_Algorithm) isCertificateAuthority_KeyVersionSpec_KeyVersion() { +} + +type CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. All [Certificates][google.cloud.security.privateca.v1beta1.Certificate] issued by the [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] + // must match at least one listed [ReusableConfigWrapper][google.cloud.security.privateca.v1beta1.ReusableConfigWrapper]. If a + // [ReusableConfigWrapper][google.cloud.security.privateca.v1beta1.ReusableConfigWrapper] has an empty field, any value will be + // allowed for that field. + AllowedConfigValues []*ReusableConfigWrapper `protobuf:"bytes,1,rep,name=allowed_config_values,json=allowedConfigValues,proto3" json:"allowed_config_values,omitempty"` +} + +func (x *CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList) Reset() { + *x = CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList) ProtoMessage() {} + +func (x *CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList.ProtoReflect.Descriptor instead. +func (*CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{0, 1, 0} +} + +func (x *CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList) GetAllowedConfigValues() []*ReusableConfigWrapper { + if x != nil { + return x.AllowedConfigValues + } + return nil +} + +// [AllowedSubjectAltNames][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames] specifies the allowed values for +// [SubjectAltNames][google.cloud.security.privateca.v1beta1.SubjectAltNames] by the [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] when issuing +// [Certificates][google.cloud.security.privateca.v1beta1.Certificate]. +type CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Optional. Contains valid, fully-qualified host names. Glob patterns are also + // supported. To allow an explicit wildcard certificate, escape with + // backlash (i.e. "\*"). + // E.g. for globbed entries: '*bar.com' will allow foo.bar.com, but not + // *.bar.com, unless the [allow_globbing_dns_wildcards][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.allow_globbing_dns_wildcards] field is set. + // E.g. for wildcard entries: '\*.bar.com' will allow '*.bar.com', but not + // 'foo.bar.com'. + AllowedDnsNames []string `protobuf:"bytes,1,rep,name=allowed_dns_names,json=allowedDnsNames,proto3" json:"allowed_dns_names,omitempty"` + // Optional. Contains valid RFC 3986 URIs. Glob patterns are also supported. To + // match across path seperators (i.e. '/') use the double star glob + // pattern (i.e. '**'). + AllowedUris []string `protobuf:"bytes,2,rep,name=allowed_uris,json=allowedUris,proto3" json:"allowed_uris,omitempty"` + // Optional. Contains valid RFC 2822 E-mail addresses. Glob patterns are also + // supported. + AllowedEmailAddresses []string `protobuf:"bytes,3,rep,name=allowed_email_addresses,json=allowedEmailAddresses,proto3" json:"allowed_email_addresses,omitempty"` + // Optional. Contains valid 32-bit IPv4 addresses and subnet ranges or RFC 4291 IPv6 + // addresses and subnet ranges. Subnet ranges are specified using the + // '/' notation (e.g. 10.0.0.0/8, 2001:700:300:1800::/64). Glob patterns + // are supported only for ip address entries (i.e. not for subnet ranges). + AllowedIps []string `protobuf:"bytes,4,rep,name=allowed_ips,json=allowedIps,proto3" json:"allowed_ips,omitempty"` + // Optional. Specifies if glob patterns used for [allowed_dns_names][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.allowed_dns_names] allows + // wildcard certificates. + AllowGlobbingDnsWildcards bool `protobuf:"varint,5,opt,name=allow_globbing_dns_wildcards,json=allowGlobbingDnsWildcards,proto3" json:"allow_globbing_dns_wildcards,omitempty"` + // Optional. Specifies if to allow custom X509Extension values. + AllowCustomSans bool `protobuf:"varint,6,opt,name=allow_custom_sans,json=allowCustomSans,proto3" json:"allow_custom_sans,omitempty"` +} + +func (x *CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames) Reset() { + *x = CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames) ProtoMessage() {} + +func (x *CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames.ProtoReflect.Descriptor instead. +func (*CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{0, 1, 1} +} + +func (x *CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames) GetAllowedDnsNames() []string { + if x != nil { + return x.AllowedDnsNames + } + return nil +} + +func (x *CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames) GetAllowedUris() []string { + if x != nil { + return x.AllowedUris + } + return nil +} + +func (x *CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames) GetAllowedEmailAddresses() []string { + if x != nil { + return x.AllowedEmailAddresses + } + return nil +} + +func (x *CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames) GetAllowedIps() []string { + if x != nil { + return x.AllowedIps + } + return nil +} + +func (x *CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames) GetAllowGlobbingDnsWildcards() bool { + if x != nil { + return x.AllowGlobbingDnsWildcards + } + return false +} + +func (x *CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames) GetAllowCustomSans() bool { + if x != nil { + return x.AllowCustomSans + } + return false +} + +// [IssuanceModes][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes] specifies the allowed ways in which +// [Certificates][google.cloud.security.privateca.v1beta1.Certificate] may be requested from this +// [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. +type CertificateAuthority_CertificateAuthorityPolicy_IssuanceModes struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. When true, allows callers to create [Certificates][google.cloud.security.privateca.v1beta1.Certificate] by + // specifying a CSR. + AllowCsrBasedIssuance bool `protobuf:"varint,1,opt,name=allow_csr_based_issuance,json=allowCsrBasedIssuance,proto3" json:"allow_csr_based_issuance,omitempty"` + // Required. When true, allows callers to create [Certificates][google.cloud.security.privateca.v1beta1.Certificate] by + // specifying a [CertificateConfig][google.cloud.security.privateca.v1beta1.CertificateConfig]. + AllowConfigBasedIssuance bool `protobuf:"varint,2,opt,name=allow_config_based_issuance,json=allowConfigBasedIssuance,proto3" json:"allow_config_based_issuance,omitempty"` +} + +func (x *CertificateAuthority_CertificateAuthorityPolicy_IssuanceModes) Reset() { + *x = CertificateAuthority_CertificateAuthorityPolicy_IssuanceModes{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CertificateAuthority_CertificateAuthorityPolicy_IssuanceModes) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CertificateAuthority_CertificateAuthorityPolicy_IssuanceModes) ProtoMessage() {} + +func (x *CertificateAuthority_CertificateAuthorityPolicy_IssuanceModes) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CertificateAuthority_CertificateAuthorityPolicy_IssuanceModes.ProtoReflect.Descriptor instead. +func (*CertificateAuthority_CertificateAuthorityPolicy_IssuanceModes) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{0, 1, 2} +} + +func (x *CertificateAuthority_CertificateAuthorityPolicy_IssuanceModes) GetAllowCsrBasedIssuance() bool { + if x != nil { + return x.AllowCsrBasedIssuance + } + return false +} + +func (x *CertificateAuthority_CertificateAuthorityPolicy_IssuanceModes) GetAllowConfigBasedIssuance() bool { + if x != nil { + return x.AllowConfigBasedIssuance + } + return false +} + +// Describes a revoked [Certificate][google.cloud.security.privateca.v1beta1.Certificate]. +type CertificateRevocationList_RevokedCertificate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The resource path for the [Certificate][google.cloud.security.privateca.v1beta1.Certificate] in the format + // `projects/*/locations/*/certificateAuthorities/*/certificates/*`. + Certificate string `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"` + // The serial number of the [Certificate][google.cloud.security.privateca.v1beta1.Certificate]. + HexSerialNumber string `protobuf:"bytes,2,opt,name=hex_serial_number,json=hexSerialNumber,proto3" json:"hex_serial_number,omitempty"` + // The reason the [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was revoked. + RevocationReason RevocationReason `protobuf:"varint,3,opt,name=revocation_reason,json=revocationReason,proto3,enum=google.cloud.security.privateca.v1beta1.RevocationReason" json:"revocation_reason,omitempty"` +} + +func (x *CertificateRevocationList_RevokedCertificate) Reset() { + *x = CertificateRevocationList_RevokedCertificate{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CertificateRevocationList_RevokedCertificate) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CertificateRevocationList_RevokedCertificate) ProtoMessage() {} + +func (x *CertificateRevocationList_RevokedCertificate) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CertificateRevocationList_RevokedCertificate.ProtoReflect.Descriptor instead. +func (*CertificateRevocationList_RevokedCertificate) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{1, 0} +} + +func (x *CertificateRevocationList_RevokedCertificate) GetCertificate() string { + if x != nil { + return x.Certificate + } + return "" +} + +func (x *CertificateRevocationList_RevokedCertificate) GetHexSerialNumber() string { + if x != nil { + return x.HexSerialNumber + } + return "" +} + +func (x *CertificateRevocationList_RevokedCertificate) GetRevocationReason() RevocationReason { + if x != nil { + return x.RevocationReason + } + return RevocationReason_REVOCATION_REASON_UNSPECIFIED +} + +// Describes fields that are relavent to the revocation of a [Certificate][google.cloud.security.privateca.v1beta1.Certificate]. +type Certificate_RevocationDetails struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Indicates why a [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was revoked. + RevocationState RevocationReason `protobuf:"varint,1,opt,name=revocation_state,json=revocationState,proto3,enum=google.cloud.security.privateca.v1beta1.RevocationReason" json:"revocation_state,omitempty"` + // The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was revoked. + RevocationTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=revocation_time,json=revocationTime,proto3" json:"revocation_time,omitempty"` +} + +func (x *Certificate_RevocationDetails) Reset() { + *x = Certificate_RevocationDetails{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Certificate_RevocationDetails) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Certificate_RevocationDetails) ProtoMessage() {} + +func (x *Certificate_RevocationDetails) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[25] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Certificate_RevocationDetails.ProtoReflect.Descriptor instead. +func (*Certificate_RevocationDetails) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{2, 0} +} + +func (x *Certificate_RevocationDetails) GetRevocationState() RevocationReason { + if x != nil { + return x.RevocationState + } + return RevocationReason_REVOCATION_REASON_UNSPECIFIED +} + +func (x *Certificate_RevocationDetails) GetRevocationTime() *timestamp.Timestamp { + if x != nil { + return x.RevocationTime + } + return nil +} + +// Describes values that are relevant in a CA certificate. +type ReusableConfigValues_CaOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Optional. Refers to the "CA" X.509 extension, which is a boolean value. When this + // value is missing, the extension will be omitted from the CA certificate. + IsCa *wrappers.BoolValue `protobuf:"bytes,1,opt,name=is_ca,json=isCa,proto3" json:"is_ca,omitempty"` + // Optional. Refers to the path length restriction X.509 extension. For a CA + // certificate, this value describes the depth of subordinate CA + // certificates that are allowed. + // If this value is less than 0, the request will fail. + // If this value is missing, the max path length will be omitted from the + // CA certificate. + MaxIssuerPathLength *wrappers.Int32Value `protobuf:"bytes,2,opt,name=max_issuer_path_length,json=maxIssuerPathLength,proto3" json:"max_issuer_path_length,omitempty"` +} + +func (x *ReusableConfigValues_CaOptions) Reset() { + *x = ReusableConfigValues_CaOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReusableConfigValues_CaOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReusableConfigValues_CaOptions) ProtoMessage() {} + +func (x *ReusableConfigValues_CaOptions) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[28] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReusableConfigValues_CaOptions.ProtoReflect.Descriptor instead. +func (*ReusableConfigValues_CaOptions) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{4, 0} +} + +func (x *ReusableConfigValues_CaOptions) GetIsCa() *wrappers.BoolValue { + if x != nil { + return x.IsCa + } + return nil +} + +func (x *ReusableConfigValues_CaOptions) GetMaxIssuerPathLength() *wrappers.Int32Value { + if x != nil { + return x.MaxIssuerPathLength + } + return nil +} + +// This message describes a subordinate CA's issuer certificate chain. This +// wrapper exists for compatibility reasons. +type SubordinateConfig_SubordinateConfigChain struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. Expected to be in leaf-to-root order according to RFC 5246. + PemCertificates []string `protobuf:"bytes,1,rep,name=pem_certificates,json=pemCertificates,proto3" json:"pem_certificates,omitempty"` +} + +func (x *SubordinateConfig_SubordinateConfigChain) Reset() { + *x = SubordinateConfig_SubordinateConfigChain{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SubordinateConfig_SubordinateConfigChain) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SubordinateConfig_SubordinateConfigChain) ProtoMessage() {} + +func (x *SubordinateConfig_SubordinateConfigChain) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[29] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SubordinateConfig_SubordinateConfigChain.ProtoReflect.Descriptor instead. +func (*SubordinateConfig_SubordinateConfigChain) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{6, 0} +} + +func (x *SubordinateConfig_SubordinateConfigChain) GetPemCertificates() []string { + if x != nil { + return x.PemCertificates + } + return nil +} + +// These values are used to create the distinguished name and subject +// alternative name fields in an X.509 certificate. +type CertificateConfig_SubjectConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. Contains distinguished name fields such as the location and organization. + Subject *Subject `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` + // Optional. The "common name" of the distinguished name. + CommonName string `protobuf:"bytes,2,opt,name=common_name,json=commonName,proto3" json:"common_name,omitempty"` + // Optional. The subject alternative name fields. + SubjectAltName *SubjectAltNames `protobuf:"bytes,3,opt,name=subject_alt_name,json=subjectAltName,proto3" json:"subject_alt_name,omitempty"` +} + +func (x *CertificateConfig_SubjectConfig) Reset() { + *x = CertificateConfig_SubjectConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CertificateConfig_SubjectConfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CertificateConfig_SubjectConfig) ProtoMessage() {} + +func (x *CertificateConfig_SubjectConfig) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[30] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CertificateConfig_SubjectConfig.ProtoReflect.Descriptor instead. +func (*CertificateConfig_SubjectConfig) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{8, 0} +} + +func (x *CertificateConfig_SubjectConfig) GetSubject() *Subject { + if x != nil { + return x.Subject + } + return nil +} + +func (x *CertificateConfig_SubjectConfig) GetCommonName() string { + if x != nil { + return x.CommonName + } + return "" +} + +func (x *CertificateConfig_SubjectConfig) GetSubjectAltName() *SubjectAltNames { + if x != nil { + return x.SubjectAltName + } + return nil +} + +// These values describe fields in an issued X.509 certificate such as the +// distinguished name, subject alternative names, serial number, and lifetime. +type CertificateDescription_SubjectDescription struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Contains distinguished name fields such as the location and organization. + Subject *Subject `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` + // The "common name" of the distinguished name. + CommonName string `protobuf:"bytes,2,opt,name=common_name,json=commonName,proto3" json:"common_name,omitempty"` + // The subject alternative name fields. + SubjectAltName *SubjectAltNames `protobuf:"bytes,3,opt,name=subject_alt_name,json=subjectAltName,proto3" json:"subject_alt_name,omitempty"` + // The serial number encoded in lowercase hexadecimal. + HexSerialNumber string `protobuf:"bytes,4,opt,name=hex_serial_number,json=hexSerialNumber,proto3" json:"hex_serial_number,omitempty"` + // For convenience, the actual lifetime of an issued certificate. + // Corresponds to 'not_after_time' - 'not_before_time'. + Lifetime *duration.Duration `protobuf:"bytes,5,opt,name=lifetime,proto3" json:"lifetime,omitempty"` + // The time at which the certificate becomes valid. + NotBeforeTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=not_before_time,json=notBeforeTime,proto3" json:"not_before_time,omitempty"` + // The time at which the certificate expires. + NotAfterTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=not_after_time,json=notAfterTime,proto3" json:"not_after_time,omitempty"` +} + +func (x *CertificateDescription_SubjectDescription) Reset() { + *x = CertificateDescription_SubjectDescription{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CertificateDescription_SubjectDescription) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CertificateDescription_SubjectDescription) ProtoMessage() {} + +func (x *CertificateDescription_SubjectDescription) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[31] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CertificateDescription_SubjectDescription.ProtoReflect.Descriptor instead. +func (*CertificateDescription_SubjectDescription) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{9, 0} +} + +func (x *CertificateDescription_SubjectDescription) GetSubject() *Subject { + if x != nil { + return x.Subject + } + return nil +} + +func (x *CertificateDescription_SubjectDescription) GetCommonName() string { + if x != nil { + return x.CommonName + } + return "" +} + +func (x *CertificateDescription_SubjectDescription) GetSubjectAltName() *SubjectAltNames { + if x != nil { + return x.SubjectAltName + } + return nil +} + +func (x *CertificateDescription_SubjectDescription) GetHexSerialNumber() string { + if x != nil { + return x.HexSerialNumber + } + return "" +} + +func (x *CertificateDescription_SubjectDescription) GetLifetime() *duration.Duration { + if x != nil { + return x.Lifetime + } + return nil +} + +func (x *CertificateDescription_SubjectDescription) GetNotBeforeTime() *timestamp.Timestamp { + if x != nil { + return x.NotBeforeTime + } + return nil +} + +func (x *CertificateDescription_SubjectDescription) GetNotAfterTime() *timestamp.Timestamp { + if x != nil { + return x.NotAfterTime + } + return nil +} + +// A KeyId identifies a specific public key, usually by hashing the public +// key. +type CertificateDescription_KeyId struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Optional. The value of this KeyId encoded in lowercase hexadecimal. This is most + // likely the 160 bit SHA-1 hash of the public key. + KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` +} + +func (x *CertificateDescription_KeyId) Reset() { + *x = CertificateDescription_KeyId{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CertificateDescription_KeyId) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CertificateDescription_KeyId) ProtoMessage() {} + +func (x *CertificateDescription_KeyId) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[32] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CertificateDescription_KeyId.ProtoReflect.Descriptor instead. +func (*CertificateDescription_KeyId) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{9, 1} +} + +func (x *CertificateDescription_KeyId) GetKeyId() string { + if x != nil { + return x.KeyId + } + return "" +} + +// A group of fingerprints for the x509 certificate. +type CertificateDescription_CertificateFingerprint struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The SHA 256 hash, encoded in hexadecimal, of the DER x509 certificate. + Sha256Hash string `protobuf:"bytes,1,opt,name=sha256_hash,json=sha256Hash,proto3" json:"sha256_hash,omitempty"` +} + +func (x *CertificateDescription_CertificateFingerprint) Reset() { + *x = CertificateDescription_CertificateFingerprint{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CertificateDescription_CertificateFingerprint) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CertificateDescription_CertificateFingerprint) ProtoMessage() {} + +func (x *CertificateDescription_CertificateFingerprint) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[33] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CertificateDescription_CertificateFingerprint.ProtoReflect.Descriptor instead. +func (*CertificateDescription_CertificateFingerprint) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{9, 2} +} + +func (x *CertificateDescription_CertificateFingerprint) GetSha256Hash() string { + if x != nil { + return x.Sha256Hash + } + return "" +} + +// [KeyUsage.KeyUsageOptions][google.cloud.security.privateca.v1beta1.KeyUsage.KeyUsageOptions] corresponds to the key usage values +// described in https://tools.ietf.org/html/rfc5280#section-4.2.1.3. +type KeyUsage_KeyUsageOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The key may be used for digital signatures. + DigitalSignature bool `protobuf:"varint,1,opt,name=digital_signature,json=digitalSignature,proto3" json:"digital_signature,omitempty"` + // The key may be used for cryptographic commitments. Note that this may + // also be referred to as "non-repudiation". + ContentCommitment bool `protobuf:"varint,2,opt,name=content_commitment,json=contentCommitment,proto3" json:"content_commitment,omitempty"` + // The key may be used to encipher other keys. + KeyEncipherment bool `protobuf:"varint,3,opt,name=key_encipherment,json=keyEncipherment,proto3" json:"key_encipherment,omitempty"` + // The key may be used to encipher data. + DataEncipherment bool `protobuf:"varint,4,opt,name=data_encipherment,json=dataEncipherment,proto3" json:"data_encipherment,omitempty"` + // The key may be used in a key agreement protocol. + KeyAgreement bool `protobuf:"varint,5,opt,name=key_agreement,json=keyAgreement,proto3" json:"key_agreement,omitempty"` + // The key may be used to sign certificates. + CertSign bool `protobuf:"varint,6,opt,name=cert_sign,json=certSign,proto3" json:"cert_sign,omitempty"` + // The key may be used sign certificate revocation lists. + CrlSign bool `protobuf:"varint,7,opt,name=crl_sign,json=crlSign,proto3" json:"crl_sign,omitempty"` + // The key may be used to encipher only. + EncipherOnly bool `protobuf:"varint,8,opt,name=encipher_only,json=encipherOnly,proto3" json:"encipher_only,omitempty"` + // The key may be used to decipher only. + DecipherOnly bool `protobuf:"varint,9,opt,name=decipher_only,json=decipherOnly,proto3" json:"decipher_only,omitempty"` +} + +func (x *KeyUsage_KeyUsageOptions) Reset() { + *x = KeyUsage_KeyUsageOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *KeyUsage_KeyUsageOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*KeyUsage_KeyUsageOptions) ProtoMessage() {} + +func (x *KeyUsage_KeyUsageOptions) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[34] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use KeyUsage_KeyUsageOptions.ProtoReflect.Descriptor instead. +func (*KeyUsage_KeyUsageOptions) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{12, 0} +} + +func (x *KeyUsage_KeyUsageOptions) GetDigitalSignature() bool { + if x != nil { + return x.DigitalSignature + } + return false +} + +func (x *KeyUsage_KeyUsageOptions) GetContentCommitment() bool { + if x != nil { + return x.ContentCommitment + } + return false +} + +func (x *KeyUsage_KeyUsageOptions) GetKeyEncipherment() bool { + if x != nil { + return x.KeyEncipherment + } + return false +} + +func (x *KeyUsage_KeyUsageOptions) GetDataEncipherment() bool { + if x != nil { + return x.DataEncipherment + } + return false +} + +func (x *KeyUsage_KeyUsageOptions) GetKeyAgreement() bool { + if x != nil { + return x.KeyAgreement + } + return false +} + +func (x *KeyUsage_KeyUsageOptions) GetCertSign() bool { + if x != nil { + return x.CertSign + } + return false +} + +func (x *KeyUsage_KeyUsageOptions) GetCrlSign() bool { + if x != nil { + return x.CrlSign + } + return false +} + +func (x *KeyUsage_KeyUsageOptions) GetEncipherOnly() bool { + if x != nil { + return x.EncipherOnly + } + return false +} + +func (x *KeyUsage_KeyUsageOptions) GetDecipherOnly() bool { + if x != nil { + return x.DecipherOnly + } + return false +} + +// [KeyUsage.ExtendedKeyUsageOptions][google.cloud.security.privateca.v1beta1.KeyUsage.ExtendedKeyUsageOptions] has fields that correspond to +// certain common OIDs that could be specified as an extended key usage value. +type KeyUsage_ExtendedKeyUsageOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as "TLS WWW + // server authentication", though regularly used for non-WWW TLS. + ServerAuth bool `protobuf:"varint,1,opt,name=server_auth,json=serverAuth,proto3" json:"server_auth,omitempty"` + // Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as "TLS WWW + // client authentication", though regularly used for non-WWW TLS. + ClientAuth bool `protobuf:"varint,2,opt,name=client_auth,json=clientAuth,proto3" json:"client_auth,omitempty"` + // Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as "Signing of + // downloadable executable code client authentication". + CodeSigning bool `protobuf:"varint,3,opt,name=code_signing,json=codeSigning,proto3" json:"code_signing,omitempty"` + // Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as "Email + // protection". + EmailProtection bool `protobuf:"varint,4,opt,name=email_protection,json=emailProtection,proto3" json:"email_protection,omitempty"` + // Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as "Binding + // the hash of an object to a time". + TimeStamping bool `protobuf:"varint,5,opt,name=time_stamping,json=timeStamping,proto3" json:"time_stamping,omitempty"` + // Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as "Signing + // OCSP responses". + OcspSigning bool `protobuf:"varint,6,opt,name=ocsp_signing,json=ocspSigning,proto3" json:"ocsp_signing,omitempty"` +} + +func (x *KeyUsage_ExtendedKeyUsageOptions) Reset() { + *x = KeyUsage_ExtendedKeyUsageOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *KeyUsage_ExtendedKeyUsageOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*KeyUsage_ExtendedKeyUsageOptions) ProtoMessage() {} + +func (x *KeyUsage_ExtendedKeyUsageOptions) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[35] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use KeyUsage_ExtendedKeyUsageOptions.ProtoReflect.Descriptor instead. +func (*KeyUsage_ExtendedKeyUsageOptions) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP(), []int{12, 1} +} + +func (x *KeyUsage_ExtendedKeyUsageOptions) GetServerAuth() bool { + if x != nil { + return x.ServerAuth + } + return false +} + +func (x *KeyUsage_ExtendedKeyUsageOptions) GetClientAuth() bool { + if x != nil { + return x.ClientAuth + } + return false +} + +func (x *KeyUsage_ExtendedKeyUsageOptions) GetCodeSigning() bool { + if x != nil { + return x.CodeSigning + } + return false +} + +func (x *KeyUsage_ExtendedKeyUsageOptions) GetEmailProtection() bool { + if x != nil { + return x.EmailProtection + } + return false +} + +func (x *KeyUsage_ExtendedKeyUsageOptions) GetTimeStamping() bool { + if x != nil { + return x.TimeStamping + } + return false +} + +func (x *KeyUsage_ExtendedKeyUsageOptions) GetOcspSigning() bool { + if x != nil { + return x.OcspSigning + } + return false +} + +var File_google_cloud_security_privateca_v1beta1_resources_proto protoreflect.FileDescriptor + +var file_google_cloud_security_privateca_v1beta1_resources_proto_rawDesc = []byte{ + 0x0a, 0x37, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, + 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, + 0x61, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, + 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, + 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, + 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, + 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf9, 0x20, + 0x0a, 0x14, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x5e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x42, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, + 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x54, 0x79, 0x70, + 0x65, 0x42, 0x06, 0xe0, 0x41, 0x02, 0xe0, 0x41, 0x05, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, + 0x5e, 0x0a, 0x04, 0x74, 0x69, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x42, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, + 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x54, 0x69, 0x65, + 0x72, 0x42, 0x06, 0xe0, 0x41, 0x02, 0xe0, 0x41, 0x05, 0x52, 0x04, 0x74, 0x69, 0x65, 0x72, 0x12, + 0x5a, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, + 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, + 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x06, 0xe0, 0x41, 0x02, + 0xe0, 0x41, 0x05, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3a, 0x0a, 0x08, 0x6c, + 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x6c, + 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x6f, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x5f, 0x73, + 0x70, 0x65, 0x63, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, + 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x42, 0x06, 0xe0, 0x41, 0x02, 0xe0, 0x41, 0x05, 0x52, + 0x07, 0x6b, 0x65, 0x79, 0x53, 0x70, 0x65, 0x63, 0x12, 0x8c, 0x01, 0x0a, 0x12, 0x63, 0x65, 0x72, + 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x58, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, + 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x74, 0x79, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, + 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, + 0x03, 0xe0, 0x41, 0x01, 0x52, 0x11, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, + 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x7a, 0x0a, 0x0f, 0x69, 0x73, 0x73, 0x75, 0x69, + 0x6e, 0x67, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x4c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, + 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x2e, + 0x49, 0x73, 0x73, 0x75, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x03, + 0xe0, 0x41, 0x01, 0x52, 0x0e, 0x69, 0x73, 0x73, 0x75, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x6e, 0x0a, 0x12, 0x73, 0x75, 0x62, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, + 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, + 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, + 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6f, 0x72, 0x64, + 0x69, 0x6e, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x01, + 0x52, 0x11, 0x73, 0x75, 0x62, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x12, 0x5e, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x43, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, + 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x65, 0x72, + 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, + 0x79, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x33, 0x0a, 0x13, 0x70, 0x65, 0x6d, 0x5f, 0x63, 0x61, 0x5f, 0x63, 0x65, + 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, + 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x11, 0x70, 0x65, 0x6d, 0x43, 0x61, 0x43, 0x65, 0x72, 0x74, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x12, 0x84, 0x01, 0x0a, 0x1b, 0x63, 0x61, 0x5f, + 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x64, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, + 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, + 0x63, 0x61, 0x74, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, + 0x03, 0xe0, 0x41, 0x03, 0x52, 0x19, 0x63, 0x61, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, + 0x22, 0x0a, 0x0a, 0x67, 0x63, 0x73, 0x5f, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x09, 0x67, 0x63, 0x73, 0x42, 0x75, 0x63, + 0x6b, 0x65, 0x74, 0x12, 0x6e, 0x0a, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x75, 0x72, + 0x6c, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x48, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, + 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, + 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x55, 0x72, + 0x6c, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x55, + 0x72, 0x6c, 0x73, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x64, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x64, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x66, 0x0a, 0x06, 0x6c, 0x61, 0x62, + 0x65, 0x6c, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x49, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, + 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, + 0x73, 0x1a, 0x7e, 0x0a, 0x0e, 0x49, 0x73, 0x73, 0x75, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x32, 0x0a, 0x13, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x63, + 0x61, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, + 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x10, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x43, 0x61, + 0x43, 0x65, 0x72, 0x74, 0x55, 0x72, 0x6c, 0x12, 0x38, 0x0a, 0x16, 0x69, 0x6e, 0x63, 0x6c, 0x75, + 0x64, 0x65, 0x5f, 0x63, 0x72, 0x6c, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x75, 0x72, + 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x13, 0x69, 0x6e, + 0x63, 0x6c, 0x75, 0x64, 0x65, 0x43, 0x72, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x55, 0x72, + 0x6c, 0x1a, 0x88, 0x0c, 0x0a, 0x1a, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, + 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, + 0x12, 0xa1, 0x01, 0x0a, 0x13, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x6a, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, + 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, + 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x43, 0x65, + 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, + 0x74, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, + 0x00, 0x52, 0x11, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x7d, 0x0a, 0x17, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, + 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, + 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x52, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x57, 0x72, + 0x61, 0x70, 0x70, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x00, 0x52, 0x15, 0x6f, 0x76, + 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x73, 0x12, 0x84, 0x01, 0x0a, 0x23, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, + 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x61, 0x6e, 0x64, 0x5f, 0x6f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, + 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6a, + 0x65, 0x63, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x20, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, + 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x41, 0x6e, 0x64, 0x4f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x35, 0x0a, 0x14, 0x61, 0x6c, + 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x12, 0x61, + 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x12, 0x97, 0x01, 0x0a, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x73, 0x61, + 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x6f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, + 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, + 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x50, 0x6f, 0x6c, 0x69, + 0x63, 0x79, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x41, 0x6c, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, + 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x53, 0x61, 0x6e, 0x73, 0x12, 0x49, 0x0a, 0x10, 0x6d, + 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x6c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0f, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x4c, 0x69, + 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0xa1, 0x01, 0x0a, 0x16, 0x61, 0x6c, 0x6c, 0x6f, 0x77, + 0x65, 0x64, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x65, + 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x66, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, + 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, + 0x79, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x61, 0x6e, 0x63, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x73, 0x42, + 0x03, 0xe0, 0x41, 0x01, 0x52, 0x14, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x49, 0x73, 0x73, + 0x75, 0x61, 0x6e, 0x63, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x73, 0x1a, 0x8c, 0x01, 0x0a, 0x11, 0x41, + 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x77, 0x0a, 0x15, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, + 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, + 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x75, 0x73, 0x61, 0x62, + 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x57, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x42, + 0x03, 0xe0, 0x41, 0x02, 0x52, 0x13, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x1a, 0xcb, 0x02, 0x0a, 0x16, 0x41, 0x6c, + 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6c, 0x74, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x12, 0x2f, 0x0a, 0x11, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, + 0x64, 0x6e, 0x73, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x42, + 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x6e, 0x73, + 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, + 0x5f, 0x75, 0x72, 0x69, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, + 0x52, 0x0b, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x55, 0x72, 0x69, 0x73, 0x12, 0x3b, 0x0a, + 0x17, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x42, 0x03, + 0xe0, 0x41, 0x01, 0x52, 0x15, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x45, 0x6d, 0x61, 0x69, + 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x24, 0x0a, 0x0b, 0x61, 0x6c, + 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x69, 0x70, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x42, + 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x49, 0x70, 0x73, + 0x12, 0x44, 0x0a, 0x1c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x67, 0x6c, 0x6f, 0x62, 0x62, 0x69, + 0x6e, 0x67, 0x5f, 0x64, 0x6e, 0x73, 0x5f, 0x77, 0x69, 0x6c, 0x64, 0x63, 0x61, 0x72, 0x64, 0x73, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x19, 0x61, 0x6c, 0x6c, + 0x6f, 0x77, 0x47, 0x6c, 0x6f, 0x62, 0x62, 0x69, 0x6e, 0x67, 0x44, 0x6e, 0x73, 0x57, 0x69, 0x6c, + 0x64, 0x63, 0x61, 0x72, 0x64, 0x73, 0x12, 0x2f, 0x0a, 0x11, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, + 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x73, 0x61, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x43, 0x75, 0x73, + 0x74, 0x6f, 0x6d, 0x53, 0x61, 0x6e, 0x73, 0x1a, 0x91, 0x01, 0x0a, 0x0d, 0x49, 0x73, 0x73, 0x75, + 0x61, 0x6e, 0x63, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x18, 0x61, 0x6c, 0x6c, + 0x6f, 0x77, 0x5f, 0x63, 0x73, 0x72, 0x5f, 0x62, 0x61, 0x73, 0x65, 0x64, 0x5f, 0x69, 0x73, 0x73, + 0x75, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x02, + 0x52, 0x15, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x43, 0x73, 0x72, 0x42, 0x61, 0x73, 0x65, 0x64, 0x49, + 0x73, 0x73, 0x75, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x42, 0x0a, 0x1b, 0x61, 0x6c, 0x6c, 0x6f, 0x77, + 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x62, 0x61, 0x73, 0x65, 0x64, 0x5f, 0x69, 0x73, + 0x73, 0x75, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, + 0x02, 0x52, 0x18, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x61, + 0x73, 0x65, 0x64, 0x49, 0x73, 0x73, 0x75, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x0f, 0x0a, 0x0d, 0x63, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x1a, 0x6d, 0x0a, 0x0a, + 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x55, 0x72, 0x6c, 0x73, 0x12, 0x39, 0x0a, 0x19, 0x63, 0x61, + 0x5f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x61, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x63, + 0x61, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x55, 0x72, 0x6c, 0x12, 0x24, 0x0a, 0x0e, 0x63, 0x72, 0x6c, 0x5f, 0x61, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, + 0x72, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x55, 0x72, 0x6c, 0x1a, 0xce, 0x01, 0x0a, 0x0e, + 0x4b, 0x65, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x12, 0x38, + 0x0a, 0x15, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x6b, 0x6d, 0x73, 0x5f, 0x6b, 0x65, 0x79, 0x5f, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, + 0x41, 0x02, 0x48, 0x00, 0x52, 0x12, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x4b, 0x6d, 0x73, 0x4b, 0x65, + 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x74, 0x0a, 0x09, 0x61, 0x6c, 0x67, 0x6f, + 0x72, 0x69, 0x74, 0x68, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x4f, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, + 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, + 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x48, + 0x61, 0x73, 0x68, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x42, 0x03, 0xe0, 0x41, + 0x02, 0x48, 0x00, 0x52, 0x09, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x42, 0x0c, + 0x0a, 0x0a, 0x4b, 0x65, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0x39, 0x0a, 0x0b, + 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x3e, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, + 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x45, 0x4c, 0x46, 0x5f, 0x53, 0x49, + 0x47, 0x4e, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x55, 0x42, 0x4f, 0x52, 0x44, + 0x49, 0x4e, 0x41, 0x54, 0x45, 0x10, 0x02, 0x22, 0x38, 0x0a, 0x04, 0x54, 0x69, 0x65, 0x72, 0x12, + 0x14, 0x0a, 0x10, 0x54, 0x49, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, + 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x50, 0x52, + 0x49, 0x53, 0x45, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x45, 0x56, 0x4f, 0x50, 0x53, 0x10, + 0x02, 0x22, 0x67, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, + 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, + 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, + 0x0a, 0x08, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x12, 0x16, 0x0a, 0x12, + 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x41, 0x54, 0x49, + 0x4f, 0x4e, 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x5f, + 0x44, 0x45, 0x4c, 0x45, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x04, 0x22, 0xae, 0x01, 0x0a, 0x11, 0x53, + 0x69, 0x67, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, + 0x12, 0x23, 0x0a, 0x1f, 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x5f, 0x41, 0x4c, + 0x47, 0x4f, 0x52, 0x49, 0x54, 0x48, 0x4d, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, + 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x52, 0x53, 0x41, 0x5f, 0x50, 0x53, 0x53, + 0x5f, 0x32, 0x30, 0x34, 0x38, 0x5f, 0x53, 0x48, 0x41, 0x5f, 0x32, 0x35, 0x36, 0x10, 0x01, 0x12, + 0x18, 0x0a, 0x14, 0x52, 0x53, 0x41, 0x5f, 0x50, 0x53, 0x53, 0x5f, 0x33, 0x30, 0x37, 0x32, 0x5f, + 0x53, 0x48, 0x41, 0x5f, 0x32, 0x35, 0x36, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x52, 0x53, 0x41, + 0x5f, 0x50, 0x53, 0x53, 0x5f, 0x34, 0x30, 0x39, 0x36, 0x5f, 0x53, 0x48, 0x41, 0x5f, 0x32, 0x35, + 0x36, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x45, 0x43, 0x5f, 0x50, 0x32, 0x35, 0x36, 0x5f, 0x53, + 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x45, 0x43, 0x5f, 0x50, 0x33, + 0x38, 0x34, 0x5f, 0x53, 0x48, 0x41, 0x33, 0x38, 0x34, 0x10, 0x05, 0x3a, 0x8b, 0x01, 0xea, 0x41, + 0x87, 0x01, 0x0a, 0x2d, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x65, 0x72, + 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, + 0x79, 0x12, 0x56, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, + 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x63, 0x65, 0x72, 0x74, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x69, 0x65, + 0x73, 0x2f, 0x7b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x61, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x7d, 0x22, 0x9b, 0x09, 0x0a, 0x19, 0x43, 0x65, + 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x2c, 0x0a, 0x0f, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x6e, 0x75, 0x6d, + 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0e, + 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x8d, + 0x01, 0x0a, 0x14, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x55, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, + 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, + 0x74, 0x2e, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, + 0x63, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x13, 0x72, 0x65, 0x76, 0x6f, 0x6b, + 0x65, 0x64, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x12, 0x1c, + 0x0a, 0x07, 0x70, 0x65, 0x6d, 0x5f, 0x63, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x03, 0xe0, 0x41, 0x03, 0x52, 0x06, 0x70, 0x65, 0x6d, 0x43, 0x72, 0x6c, 0x12, 0x22, 0x0a, 0x0a, + 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x55, 0x72, 0x6c, + 0x12, 0x63, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x48, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, + 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, + 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, + 0x69, 0x73, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x6b, 0x0a, 0x06, 0x6c, 0x61, 0x62, + 0x65, 0x6c, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, + 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x2e, 0x4c, 0x61, + 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, + 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0xca, 0x01, 0x0a, 0x12, 0x52, 0x65, 0x76, 0x6f, 0x6b, + 0x65, 0x64, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x20, 0x0a, + 0x0b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, + 0x2a, 0x0a, 0x11, 0x68, 0x65, 0x78, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x6e, 0x75, + 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x68, 0x65, 0x78, 0x53, + 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x66, 0x0a, 0x11, 0x72, + 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, + 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x52, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x61, 0x73, 0x6f, + 0x6e, 0x52, 0x10, 0x72, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x61, + 0x73, 0x6f, 0x6e, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x3a, + 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, + 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, + 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x55, + 0x50, 0x45, 0x52, 0x53, 0x45, 0x44, 0x45, 0x44, 0x10, 0x02, 0x3a, 0xca, 0x01, 0xea, 0x41, 0xc6, + 0x01, 0x0a, 0x32, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x65, 0x72, 0x74, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x8f, 0x01, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, + 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, + 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x65, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x7d, 0x2f, 0x63, + 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x73, 0x2f, 0x7b, 0x63, 0x65, 0x72, 0x74, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x7d, 0x22, 0xd4, 0x09, 0x0a, 0x0b, 0x43, 0x65, 0x72, 0x74, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x1e, 0x0a, 0x07, 0x70, 0x65, 0x6d, 0x5f, 0x63, 0x73, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x48, 0x00, 0x52, 0x06, 0x70, 0x65, 0x6d, 0x43, 0x73, 0x72, + 0x12, 0x59, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, + 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, + 0x05, 0x48, 0x00, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3a, 0x0a, 0x08, 0x6c, + 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x6c, + 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x7a, 0x0a, 0x12, 0x72, 0x65, 0x76, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x46, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, + 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x65, + 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x2e, 0x52, 0x65, 0x76, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x03, + 0x52, 0x11, 0x72, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x73, 0x12, 0x2c, 0x0a, 0x0f, 0x70, 0x65, 0x6d, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, + 0x03, 0x52, 0x0e, 0x70, 0x65, 0x6d, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, + 0x65, 0x12, 0x7d, 0x0a, 0x17, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, + 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, + 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x65, 0x72, + 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x16, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x37, 0x0a, 0x15, 0x70, 0x65, 0x6d, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x42, + 0x03, 0xe0, 0x41, 0x03, 0x52, 0x13, 0x70, 0x65, 0x6d, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, + 0x63, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, + 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, + 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x5d, 0x0a, + 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, + 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x65, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, + 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0xbe, 0x01, 0x0a, + 0x11, 0x52, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x73, 0x12, 0x64, 0x0a, 0x10, 0x72, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x39, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, + 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x0f, 0x72, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x43, 0x0a, 0x0f, 0x72, 0x65, 0x76, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0e, 0x72, + 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x1a, 0x39, 0x0a, + 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x9d, 0x01, 0xea, 0x41, 0x99, 0x01, 0x0a, + 0x24, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x71, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, + 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x63, + 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, + 0x69, 0x74, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x65, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x7d, 0x2f, 0x63, 0x65, + 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x2f, 0x7b, 0x63, 0x65, 0x72, 0x74, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x7d, 0x42, 0x14, 0x0a, 0x12, 0x63, 0x65, 0x72, 0x74, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xc6, + 0x04, 0x0a, 0x0e, 0x52, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x5a, 0x0a, 0x06, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, + 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, + 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, + 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, + 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, + 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, + 0x65, 0x12, 0x60, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x43, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, + 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x75, 0x73, + 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x6c, 0x61, 0x62, + 0x65, 0x6c, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x77, + 0xea, 0x41, 0x74, 0x0a, 0x27, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x65, + 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x49, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, + 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x72, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x7d, 0x22, 0xeb, 0x04, 0x0a, 0x14, 0x52, 0x65, 0x75, 0x73, + 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, + 0x12, 0x53, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, + 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4b, 0x65, + 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x6b, 0x65, 0x79, + 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x6b, 0x0a, 0x0a, 0x63, 0x61, 0x5f, 0x6f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x47, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, + 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x2e, 0x43, 0x61, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x63, 0x61, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x55, 0x0a, 0x0a, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x69, 0x64, 0x73, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, + 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, + 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x73, 0x12, 0x2d, 0x0a, 0x10, 0x61, 0x69, 0x61, + 0x5f, 0x6f, 0x63, 0x73, 0x70, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, + 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0e, 0x61, 0x69, 0x61, 0x4f, 0x63, 0x73, + 0x70, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x12, 0x70, 0x0a, 0x15, 0x61, 0x64, 0x64, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, + 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x58, 0x35, 0x30, 0x39, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x42, + 0x03, 0xe0, 0x41, 0x01, 0x52, 0x14, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, + 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x98, 0x01, 0x0a, 0x09, 0x43, + 0x61, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x34, 0x0a, 0x05, 0x69, 0x73, 0x5f, 0x63, + 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x04, 0x69, 0x73, 0x43, 0x61, 0x12, 0x55, + 0x0a, 0x16, 0x6d, 0x61, 0x78, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x5f, 0x70, 0x61, 0x74, + 0x68, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, + 0x52, 0x13, 0x6d, 0x61, 0x78, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x50, 0x61, 0x74, 0x68, 0x4c, + 0x65, 0x6e, 0x67, 0x74, 0x68, 0x22, 0xd4, 0x01, 0x0a, 0x15, 0x52, 0x65, 0x75, 0x73, 0x61, 0x62, + 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x57, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x12, + 0x2e, 0x0a, 0x0f, 0x72, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x48, 0x00, 0x52, + 0x0e, 0x72, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, + 0x7a, 0x0a, 0x16, 0x72, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, + 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, + 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x75, 0x73, 0x61, 0x62, + 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x42, 0x03, + 0xe0, 0x41, 0x02, 0x48, 0x00, 0x52, 0x14, 0x72, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x42, 0x0f, 0x0a, 0x0d, 0x63, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0xb4, 0x02, 0x0a, + 0x11, 0x53, 0x75, 0x62, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x12, 0x3a, 0x0a, 0x15, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, + 0x65, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x48, 0x00, 0x52, 0x14, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x82, + 0x01, 0x0a, 0x10, 0x70, 0x65, 0x6d, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x5f, 0x63, 0x68, + 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x51, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, + 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x53, 0x75, 0x62, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x74, + 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x42, 0x03, 0xe0, 0x41, + 0x02, 0x48, 0x00, 0x52, 0x0e, 0x70, 0x65, 0x6d, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x43, 0x68, + 0x61, 0x69, 0x6e, 0x1a, 0x48, 0x0a, 0x16, 0x53, 0x75, 0x62, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, + 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x12, 0x2e, 0x0a, + 0x10, 0x70, 0x65, 0x6d, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0f, 0x70, 0x65, + 0x6d, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x42, 0x14, 0x0a, + 0x12, 0x73, 0x75, 0x62, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x22, 0xbd, 0x01, 0x0a, 0x09, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, + 0x79, 0x12, 0x53, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, + 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, + 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, + 0x4b, 0x65, 0x79, 0x2e, 0x4b, 0x65, 0x79, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, + 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0c, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x44, 0x0a, + 0x07, 0x4b, 0x65, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x14, 0x4b, 0x45, 0x59, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, + 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x50, 0x45, 0x4d, 0x5f, 0x52, 0x53, 0x41, 0x5f, 0x4b, 0x45, + 0x59, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x45, 0x4d, 0x5f, 0x45, 0x43, 0x5f, 0x4b, 0x45, + 0x59, 0x10, 0x02, 0x22, 0xc1, 0x04, 0x0a, 0x11, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x74, 0x0a, 0x0e, 0x73, 0x75, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x48, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, + 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x53, 0x75, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, + 0x52, 0x0d, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, + 0x6c, 0x0a, 0x0f, 0x72, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, + 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x52, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x57, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0e, 0x72, + 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x56, 0x0a, + 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, + 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x75, 0x62, 0x6c, + 0x69, 0x63, 0x4b, 0x65, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, + 0x69, 0x63, 0x4b, 0x65, 0x79, 0x1a, 0xef, 0x01, 0x0a, 0x0d, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4f, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, + 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, + 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x24, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, + 0x41, 0x01, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x67, + 0x0a, 0x10, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x61, 0x6c, 0x74, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, + 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6c, 0x74, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0e, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x41, 0x6c, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xe1, 0x0a, 0x0a, 0x16, 0x43, 0x65, 0x72, 0x74, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x83, 0x01, 0x0a, 0x13, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x64, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x52, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, + 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x65, 0x73, + 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x62, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, + 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, + 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x75, 0x73, 0x61, 0x62, + 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x0c, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x51, 0x0a, 0x0a, + 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, + 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, + 0x63, 0x4b, 0x65, 0x79, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, + 0x6b, 0x0a, 0x0e, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x69, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, + 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x44, 0x65, 0x73, + 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4b, 0x65, 0x79, 0x49, 0x64, 0x52, 0x0c, + 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x49, 0x64, 0x12, 0x6f, 0x0a, 0x10, + 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, + 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x44, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4b, 0x65, 0x79, 0x49, 0x64, 0x52, 0x0e, 0x61, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x4b, 0x65, 0x79, 0x49, 0x64, 0x12, 0x36, 0x0a, + 0x17, 0x63, 0x72, 0x6c, 0x5f, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x15, + 0x63, 0x72, 0x6c, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x50, + 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x3f, 0x0a, 0x1c, 0x61, 0x69, 0x61, 0x5f, 0x69, 0x73, 0x73, + 0x75, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, + 0x5f, 0x75, 0x72, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x19, 0x61, 0x69, 0x61, + 0x49, 0x73, 0x73, 0x75, 0x69, 0x6e, 0x67, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x65, 0x55, 0x72, 0x6c, 0x73, 0x12, 0x81, 0x01, 0x0a, 0x10, 0x63, 0x65, 0x72, 0x74, 0x5f, + 0x66, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x56, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, + 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x46, 0x69, + 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x52, 0x0f, 0x63, 0x65, 0x72, 0x74, 0x46, + 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x1a, 0xce, 0x03, 0x0a, 0x12, 0x53, + 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x4a, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, + 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x75, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x1f, 0x0a, + 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x62, + 0x0a, 0x10, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x61, 0x6c, 0x74, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, + 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6c, 0x74, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x52, 0x0e, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6c, 0x74, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x68, 0x65, 0x78, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, + 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x68, + 0x65, 0x78, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x35, + 0x0a, 0x08, 0x6c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x69, 0x66, + 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x0f, 0x6e, 0x6f, 0x74, 0x5f, 0x62, 0x65, 0x66, + 0x6f, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0d, 0x6e, 0x6f, 0x74, 0x42, + 0x65, 0x66, 0x6f, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0e, 0x6e, 0x6f, 0x74, + 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x6e, + 0x6f, 0x74, 0x41, 0x66, 0x74, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x1a, 0x23, 0x0a, 0x05, 0x4b, + 0x65, 0x79, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x06, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x05, 0x6b, 0x65, 0x79, 0x49, 0x64, + 0x1a, 0x39, 0x0a, 0x16, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x46, + 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x68, + 0x61, 0x32, 0x35, 0x36, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0a, 0x73, 0x68, 0x61, 0x32, 0x35, 0x36, 0x48, 0x61, 0x73, 0x68, 0x22, 0x35, 0x0a, 0x08, 0x4f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x0e, 0x6f, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x5f, 0x69, 0x64, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x42, + 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0c, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x50, 0x61, + 0x74, 0x68, 0x22, 0xa0, 0x01, 0x0a, 0x0d, 0x58, 0x35, 0x30, 0x39, 0x45, 0x78, 0x74, 0x65, 0x6e, + 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x53, 0x0a, 0x09, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, + 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, + 0x08, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x08, 0x63, 0x72, 0x69, + 0x74, 0x69, 0x63, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x02, + 0x52, 0x08, 0x63, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x12, 0x19, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xc1, 0x07, 0x0a, 0x08, 0x4b, 0x65, 0x79, 0x55, 0x73, 0x61, + 0x67, 0x65, 0x12, 0x67, 0x0a, 0x0e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x75, + 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, + 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4b, 0x65, + 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0c, 0x62, + 0x61, 0x73, 0x65, 0x4b, 0x65, 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x77, 0x0a, 0x12, 0x65, + 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x75, 0x73, 0x61, 0x67, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x49, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, + 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, + 0x64, 0x65, 0x64, 0x4b, 0x65, 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x52, 0x10, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x4b, 0x65, 0x79, 0x55, + 0x73, 0x61, 0x67, 0x65, 0x12, 0x70, 0x0a, 0x1b, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, + 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x75, 0x73, 0x61, + 0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, + 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x52, 0x18, 0x75, 0x6e, + 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x4b, 0x65, 0x79, + 0x55, 0x73, 0x61, 0x67, 0x65, 0x73, 0x1a, 0xec, 0x02, 0x0a, 0x0f, 0x4b, 0x65, 0x79, 0x55, 0x73, + 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x64, 0x69, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x64, 0x69, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x53, 0x69, + 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x74, 0x65, + 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x6b, 0x65, 0x79, 0x5f, 0x65, 0x6e, + 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0f, 0x6b, 0x65, 0x79, 0x45, 0x6e, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x6d, 0x65, 0x6e, + 0x74, 0x12, 0x2b, 0x0a, 0x11, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x65, 0x6e, 0x63, 0x69, 0x70, 0x68, + 0x65, 0x72, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x64, 0x61, + 0x74, 0x61, 0x45, 0x6e, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x23, + 0x0a, 0x0d, 0x6b, 0x65, 0x79, 0x5f, 0x61, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x6b, 0x65, 0x79, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, + 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x69, 0x67, 0x6e, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x63, 0x65, 0x72, 0x74, 0x53, 0x69, 0x67, 0x6e, + 0x12, 0x19, 0x0a, 0x08, 0x63, 0x72, 0x6c, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x07, 0x63, 0x72, 0x6c, 0x53, 0x69, 0x67, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x65, + 0x6e, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0c, 0x65, 0x6e, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x4f, 0x6e, 0x6c, 0x79, + 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x65, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x5f, 0x6f, 0x6e, 0x6c, + 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x64, 0x65, 0x63, 0x69, 0x70, 0x68, 0x65, + 0x72, 0x4f, 0x6e, 0x6c, 0x79, 0x1a, 0xf1, 0x01, 0x0a, 0x17, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, + 0x65, 0x64, 0x4b, 0x65, 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x75, 0x74, 0x68, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x41, 0x75, + 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x75, 0x74, + 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x41, + 0x75, 0x74, 0x68, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x73, 0x69, 0x67, 0x6e, + 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x63, 0x6f, 0x64, 0x65, 0x53, + 0x69, 0x67, 0x6e, 0x69, 0x6e, 0x67, 0x12, 0x29, 0x0a, 0x10, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, + 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x69, + 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x74, + 0x61, 0x6d, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x63, 0x73, 0x70, 0x5f, 0x73, + 0x69, 0x67, 0x6e, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x6f, 0x63, + 0x73, 0x70, 0x53, 0x69, 0x67, 0x6e, 0x69, 0x6e, 0x67, 0x22, 0x81, 0x02, 0x0a, 0x07, 0x53, 0x75, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, + 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x6f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, + 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x13, + 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x75, + 0x6e, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6f, 0x72, 0x67, 0x61, 0x6e, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x1a, 0x0a, + 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x6e, 0x63, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x5f, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, + 0x74, 0x72, 0x65, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, + 0x70, 0x6f, 0x73, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x70, 0x6f, 0x73, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x64, 0x65, 0x22, 0xe7, 0x01, + 0x0a, 0x0f, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6c, 0x74, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x6e, 0x73, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x64, 0x6e, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x12, + 0x0a, 0x04, 0x75, 0x72, 0x69, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x75, 0x72, + 0x69, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x65, 0x6d, 0x61, + 0x69, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x69, + 0x70, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x0b, 0x69, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x57, + 0x0a, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x73, 0x61, 0x6e, 0x73, 0x18, 0x05, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, + 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x58, 0x35, + 0x30, 0x39, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x75, 0x73, + 0x74, 0x6f, 0x6d, 0x53, 0x61, 0x6e, 0x73, 0x2a, 0x87, 0x02, 0x0a, 0x10, 0x52, 0x65, 0x76, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x1d, + 0x52, 0x45, 0x56, 0x4f, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, + 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, + 0x12, 0x0a, 0x0e, 0x4b, 0x45, 0x59, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x52, 0x4f, 0x4d, 0x49, 0x53, + 0x45, 0x10, 0x01, 0x12, 0x24, 0x0a, 0x20, 0x43, 0x45, 0x52, 0x54, 0x49, 0x46, 0x49, 0x43, 0x41, + 0x54, 0x45, 0x5f, 0x41, 0x55, 0x54, 0x48, 0x4f, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x43, 0x4f, 0x4d, + 0x50, 0x52, 0x4f, 0x4d, 0x49, 0x53, 0x45, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x41, 0x46, 0x46, + 0x49, 0x4c, 0x49, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x44, + 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x55, 0x50, 0x45, 0x52, 0x53, 0x45, 0x44, 0x45, 0x44, + 0x10, 0x04, 0x12, 0x1a, 0x0a, 0x16, 0x43, 0x45, 0x53, 0x53, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, + 0x4f, 0x46, 0x5f, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x05, 0x12, 0x14, + 0x0a, 0x10, 0x43, 0x45, 0x52, 0x54, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x45, 0x5f, 0x48, 0x4f, + 0x4c, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x52, 0x49, 0x56, 0x49, 0x4c, 0x45, 0x47, + 0x45, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x44, 0x52, 0x41, 0x57, 0x4e, 0x10, 0x07, 0x12, 0x22, 0x0a, + 0x1e, 0x41, 0x54, 0x54, 0x52, 0x49, 0x42, 0x55, 0x54, 0x45, 0x5f, 0x41, 0x55, 0x54, 0x48, 0x4f, + 0x52, 0x49, 0x54, 0x59, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x52, 0x4f, 0x4d, 0x49, 0x53, 0x45, 0x10, + 0x08, 0x42, 0xc7, 0x01, 0x0a, 0x2b, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, + 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x42, 0x17, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x43, 0x61, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x50, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, + 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, + 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, + 0x74, 0x79, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2f, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x3b, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0xf8, 0x01, + 0x01, 0xaa, 0x02, 0x27, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, + 0x65, 0x43, 0x41, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescOnce sync.Once + file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescData = file_google_cloud_security_privateca_v1beta1_resources_proto_rawDesc +) + +func file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescGZIP() []byte { + file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescOnce.Do(func() { + file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescData) + }) + return file_google_cloud_security_privateca_v1beta1_resources_proto_rawDescData +} + +var file_google_cloud_security_privateca_v1beta1_resources_proto_enumTypes = make([]protoimpl.EnumInfo, 7) +var file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes = make([]protoimpl.MessageInfo, 36) +var file_google_cloud_security_privateca_v1beta1_resources_proto_goTypes = []interface{}{ + (RevocationReason)(0), // 0: google.cloud.security.privateca.v1beta1.RevocationReason + (CertificateAuthority_Type)(0), // 1: google.cloud.security.privateca.v1beta1.CertificateAuthority.Type + (CertificateAuthority_Tier)(0), // 2: google.cloud.security.privateca.v1beta1.CertificateAuthority.Tier + (CertificateAuthority_State)(0), // 3: google.cloud.security.privateca.v1beta1.CertificateAuthority.State + (CertificateAuthority_SignHashAlgorithm)(0), // 4: google.cloud.security.privateca.v1beta1.CertificateAuthority.SignHashAlgorithm + (CertificateRevocationList_State)(0), // 5: google.cloud.security.privateca.v1beta1.CertificateRevocationList.State + (PublicKey_KeyType)(0), // 6: google.cloud.security.privateca.v1beta1.PublicKey.KeyType + (*CertificateAuthority)(nil), // 7: google.cloud.security.privateca.v1beta1.CertificateAuthority + (*CertificateRevocationList)(nil), // 8: google.cloud.security.privateca.v1beta1.CertificateRevocationList + (*Certificate)(nil), // 9: google.cloud.security.privateca.v1beta1.Certificate + (*ReusableConfig)(nil), // 10: google.cloud.security.privateca.v1beta1.ReusableConfig + (*ReusableConfigValues)(nil), // 11: google.cloud.security.privateca.v1beta1.ReusableConfigValues + (*ReusableConfigWrapper)(nil), // 12: google.cloud.security.privateca.v1beta1.ReusableConfigWrapper + (*SubordinateConfig)(nil), // 13: google.cloud.security.privateca.v1beta1.SubordinateConfig + (*PublicKey)(nil), // 14: google.cloud.security.privateca.v1beta1.PublicKey + (*CertificateConfig)(nil), // 15: google.cloud.security.privateca.v1beta1.CertificateConfig + (*CertificateDescription)(nil), // 16: google.cloud.security.privateca.v1beta1.CertificateDescription + (*ObjectId)(nil), // 17: google.cloud.security.privateca.v1beta1.ObjectId + (*X509Extension)(nil), // 18: google.cloud.security.privateca.v1beta1.X509Extension + (*KeyUsage)(nil), // 19: google.cloud.security.privateca.v1beta1.KeyUsage + (*Subject)(nil), // 20: google.cloud.security.privateca.v1beta1.Subject + (*SubjectAltNames)(nil), // 21: google.cloud.security.privateca.v1beta1.SubjectAltNames + (*CertificateAuthority_IssuingOptions)(nil), // 22: google.cloud.security.privateca.v1beta1.CertificateAuthority.IssuingOptions + (*CertificateAuthority_CertificateAuthorityPolicy)(nil), // 23: google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy + (*CertificateAuthority_AccessUrls)(nil), // 24: google.cloud.security.privateca.v1beta1.CertificateAuthority.AccessUrls + (*CertificateAuthority_KeyVersionSpec)(nil), // 25: google.cloud.security.privateca.v1beta1.CertificateAuthority.KeyVersionSpec + nil, // 26: google.cloud.security.privateca.v1beta1.CertificateAuthority.LabelsEntry + (*CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList)(nil), // 27: google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList + (*CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames)(nil), // 28: google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames + (*CertificateAuthority_CertificateAuthorityPolicy_IssuanceModes)(nil), // 29: google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes + (*CertificateRevocationList_RevokedCertificate)(nil), // 30: google.cloud.security.privateca.v1beta1.CertificateRevocationList.RevokedCertificate + nil, // 31: google.cloud.security.privateca.v1beta1.CertificateRevocationList.LabelsEntry + (*Certificate_RevocationDetails)(nil), // 32: google.cloud.security.privateca.v1beta1.Certificate.RevocationDetails + nil, // 33: google.cloud.security.privateca.v1beta1.Certificate.LabelsEntry + nil, // 34: google.cloud.security.privateca.v1beta1.ReusableConfig.LabelsEntry + (*ReusableConfigValues_CaOptions)(nil), // 35: google.cloud.security.privateca.v1beta1.ReusableConfigValues.CaOptions + (*SubordinateConfig_SubordinateConfigChain)(nil), // 36: google.cloud.security.privateca.v1beta1.SubordinateConfig.SubordinateConfigChain + (*CertificateConfig_SubjectConfig)(nil), // 37: google.cloud.security.privateca.v1beta1.CertificateConfig.SubjectConfig + (*CertificateDescription_SubjectDescription)(nil), // 38: google.cloud.security.privateca.v1beta1.CertificateDescription.SubjectDescription + (*CertificateDescription_KeyId)(nil), // 39: google.cloud.security.privateca.v1beta1.CertificateDescription.KeyId + (*CertificateDescription_CertificateFingerprint)(nil), // 40: google.cloud.security.privateca.v1beta1.CertificateDescription.CertificateFingerprint + (*KeyUsage_KeyUsageOptions)(nil), // 41: google.cloud.security.privateca.v1beta1.KeyUsage.KeyUsageOptions + (*KeyUsage_ExtendedKeyUsageOptions)(nil), // 42: google.cloud.security.privateca.v1beta1.KeyUsage.ExtendedKeyUsageOptions + (*duration.Duration)(nil), // 43: google.protobuf.Duration + (*timestamp.Timestamp)(nil), // 44: google.protobuf.Timestamp + (*wrappers.BoolValue)(nil), // 45: google.protobuf.BoolValue + (*wrappers.Int32Value)(nil), // 46: google.protobuf.Int32Value +} +var file_google_cloud_security_privateca_v1beta1_resources_proto_depIdxs = []int32{ + 1, // 0: google.cloud.security.privateca.v1beta1.CertificateAuthority.type:type_name -> google.cloud.security.privateca.v1beta1.CertificateAuthority.Type + 2, // 1: google.cloud.security.privateca.v1beta1.CertificateAuthority.tier:type_name -> google.cloud.security.privateca.v1beta1.CertificateAuthority.Tier + 15, // 2: google.cloud.security.privateca.v1beta1.CertificateAuthority.config:type_name -> google.cloud.security.privateca.v1beta1.CertificateConfig + 43, // 3: google.cloud.security.privateca.v1beta1.CertificateAuthority.lifetime:type_name -> google.protobuf.Duration + 25, // 4: google.cloud.security.privateca.v1beta1.CertificateAuthority.key_spec:type_name -> google.cloud.security.privateca.v1beta1.CertificateAuthority.KeyVersionSpec + 23, // 5: google.cloud.security.privateca.v1beta1.CertificateAuthority.certificate_policy:type_name -> google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy + 22, // 6: google.cloud.security.privateca.v1beta1.CertificateAuthority.issuing_options:type_name -> google.cloud.security.privateca.v1beta1.CertificateAuthority.IssuingOptions + 13, // 7: google.cloud.security.privateca.v1beta1.CertificateAuthority.subordinate_config:type_name -> google.cloud.security.privateca.v1beta1.SubordinateConfig + 3, // 8: google.cloud.security.privateca.v1beta1.CertificateAuthority.state:type_name -> google.cloud.security.privateca.v1beta1.CertificateAuthority.State + 16, // 9: google.cloud.security.privateca.v1beta1.CertificateAuthority.ca_certificate_descriptions:type_name -> google.cloud.security.privateca.v1beta1.CertificateDescription + 24, // 10: google.cloud.security.privateca.v1beta1.CertificateAuthority.access_urls:type_name -> google.cloud.security.privateca.v1beta1.CertificateAuthority.AccessUrls + 44, // 11: google.cloud.security.privateca.v1beta1.CertificateAuthority.create_time:type_name -> google.protobuf.Timestamp + 44, // 12: google.cloud.security.privateca.v1beta1.CertificateAuthority.update_time:type_name -> google.protobuf.Timestamp + 44, // 13: google.cloud.security.privateca.v1beta1.CertificateAuthority.delete_time:type_name -> google.protobuf.Timestamp + 26, // 14: google.cloud.security.privateca.v1beta1.CertificateAuthority.labels:type_name -> google.cloud.security.privateca.v1beta1.CertificateAuthority.LabelsEntry + 30, // 15: google.cloud.security.privateca.v1beta1.CertificateRevocationList.revoked_certificates:type_name -> google.cloud.security.privateca.v1beta1.CertificateRevocationList.RevokedCertificate + 5, // 16: google.cloud.security.privateca.v1beta1.CertificateRevocationList.state:type_name -> google.cloud.security.privateca.v1beta1.CertificateRevocationList.State + 44, // 17: google.cloud.security.privateca.v1beta1.CertificateRevocationList.create_time:type_name -> google.protobuf.Timestamp + 44, // 18: google.cloud.security.privateca.v1beta1.CertificateRevocationList.update_time:type_name -> google.protobuf.Timestamp + 31, // 19: google.cloud.security.privateca.v1beta1.CertificateRevocationList.labels:type_name -> google.cloud.security.privateca.v1beta1.CertificateRevocationList.LabelsEntry + 15, // 20: google.cloud.security.privateca.v1beta1.Certificate.config:type_name -> google.cloud.security.privateca.v1beta1.CertificateConfig + 43, // 21: google.cloud.security.privateca.v1beta1.Certificate.lifetime:type_name -> google.protobuf.Duration + 32, // 22: google.cloud.security.privateca.v1beta1.Certificate.revocation_details:type_name -> google.cloud.security.privateca.v1beta1.Certificate.RevocationDetails + 16, // 23: google.cloud.security.privateca.v1beta1.Certificate.certificate_description:type_name -> google.cloud.security.privateca.v1beta1.CertificateDescription + 44, // 24: google.cloud.security.privateca.v1beta1.Certificate.create_time:type_name -> google.protobuf.Timestamp + 44, // 25: google.cloud.security.privateca.v1beta1.Certificate.update_time:type_name -> google.protobuf.Timestamp + 33, // 26: google.cloud.security.privateca.v1beta1.Certificate.labels:type_name -> google.cloud.security.privateca.v1beta1.Certificate.LabelsEntry + 11, // 27: google.cloud.security.privateca.v1beta1.ReusableConfig.values:type_name -> google.cloud.security.privateca.v1beta1.ReusableConfigValues + 44, // 28: google.cloud.security.privateca.v1beta1.ReusableConfig.create_time:type_name -> google.protobuf.Timestamp + 44, // 29: google.cloud.security.privateca.v1beta1.ReusableConfig.update_time:type_name -> google.protobuf.Timestamp + 34, // 30: google.cloud.security.privateca.v1beta1.ReusableConfig.labels:type_name -> google.cloud.security.privateca.v1beta1.ReusableConfig.LabelsEntry + 19, // 31: google.cloud.security.privateca.v1beta1.ReusableConfigValues.key_usage:type_name -> google.cloud.security.privateca.v1beta1.KeyUsage + 35, // 32: google.cloud.security.privateca.v1beta1.ReusableConfigValues.ca_options:type_name -> google.cloud.security.privateca.v1beta1.ReusableConfigValues.CaOptions + 17, // 33: google.cloud.security.privateca.v1beta1.ReusableConfigValues.policy_ids:type_name -> google.cloud.security.privateca.v1beta1.ObjectId + 18, // 34: google.cloud.security.privateca.v1beta1.ReusableConfigValues.additional_extensions:type_name -> google.cloud.security.privateca.v1beta1.X509Extension + 11, // 35: google.cloud.security.privateca.v1beta1.ReusableConfigWrapper.reusable_config_values:type_name -> google.cloud.security.privateca.v1beta1.ReusableConfigValues + 36, // 36: google.cloud.security.privateca.v1beta1.SubordinateConfig.pem_issuer_chain:type_name -> google.cloud.security.privateca.v1beta1.SubordinateConfig.SubordinateConfigChain + 6, // 37: google.cloud.security.privateca.v1beta1.PublicKey.type:type_name -> google.cloud.security.privateca.v1beta1.PublicKey.KeyType + 37, // 38: google.cloud.security.privateca.v1beta1.CertificateConfig.subject_config:type_name -> google.cloud.security.privateca.v1beta1.CertificateConfig.SubjectConfig + 12, // 39: google.cloud.security.privateca.v1beta1.CertificateConfig.reusable_config:type_name -> google.cloud.security.privateca.v1beta1.ReusableConfigWrapper + 14, // 40: google.cloud.security.privateca.v1beta1.CertificateConfig.public_key:type_name -> google.cloud.security.privateca.v1beta1.PublicKey + 38, // 41: google.cloud.security.privateca.v1beta1.CertificateDescription.subject_description:type_name -> google.cloud.security.privateca.v1beta1.CertificateDescription.SubjectDescription + 11, // 42: google.cloud.security.privateca.v1beta1.CertificateDescription.config_values:type_name -> google.cloud.security.privateca.v1beta1.ReusableConfigValues + 14, // 43: google.cloud.security.privateca.v1beta1.CertificateDescription.public_key:type_name -> google.cloud.security.privateca.v1beta1.PublicKey + 39, // 44: google.cloud.security.privateca.v1beta1.CertificateDescription.subject_key_id:type_name -> google.cloud.security.privateca.v1beta1.CertificateDescription.KeyId + 39, // 45: google.cloud.security.privateca.v1beta1.CertificateDescription.authority_key_id:type_name -> google.cloud.security.privateca.v1beta1.CertificateDescription.KeyId + 40, // 46: google.cloud.security.privateca.v1beta1.CertificateDescription.cert_fingerprint:type_name -> google.cloud.security.privateca.v1beta1.CertificateDescription.CertificateFingerprint + 17, // 47: google.cloud.security.privateca.v1beta1.X509Extension.object_id:type_name -> google.cloud.security.privateca.v1beta1.ObjectId + 41, // 48: google.cloud.security.privateca.v1beta1.KeyUsage.base_key_usage:type_name -> google.cloud.security.privateca.v1beta1.KeyUsage.KeyUsageOptions + 42, // 49: google.cloud.security.privateca.v1beta1.KeyUsage.extended_key_usage:type_name -> google.cloud.security.privateca.v1beta1.KeyUsage.ExtendedKeyUsageOptions + 17, // 50: google.cloud.security.privateca.v1beta1.KeyUsage.unknown_extended_key_usages:type_name -> google.cloud.security.privateca.v1beta1.ObjectId + 18, // 51: google.cloud.security.privateca.v1beta1.SubjectAltNames.custom_sans:type_name -> google.cloud.security.privateca.v1beta1.X509Extension + 27, // 52: google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.allowed_config_list:type_name -> google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList + 12, // 53: google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.overwrite_config_values:type_name -> google.cloud.security.privateca.v1beta1.ReusableConfigWrapper + 20, // 54: google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.allowed_locations_and_organizations:type_name -> google.cloud.security.privateca.v1beta1.Subject + 28, // 55: google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.allowed_sans:type_name -> google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames + 43, // 56: google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.maximum_lifetime:type_name -> google.protobuf.Duration + 29, // 57: google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.allowed_issuance_modes:type_name -> google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes + 4, // 58: google.cloud.security.privateca.v1beta1.CertificateAuthority.KeyVersionSpec.algorithm:type_name -> google.cloud.security.privateca.v1beta1.CertificateAuthority.SignHashAlgorithm + 12, // 59: google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList.allowed_config_values:type_name -> google.cloud.security.privateca.v1beta1.ReusableConfigWrapper + 0, // 60: google.cloud.security.privateca.v1beta1.CertificateRevocationList.RevokedCertificate.revocation_reason:type_name -> google.cloud.security.privateca.v1beta1.RevocationReason + 0, // 61: google.cloud.security.privateca.v1beta1.Certificate.RevocationDetails.revocation_state:type_name -> google.cloud.security.privateca.v1beta1.RevocationReason + 44, // 62: google.cloud.security.privateca.v1beta1.Certificate.RevocationDetails.revocation_time:type_name -> google.protobuf.Timestamp + 45, // 63: google.cloud.security.privateca.v1beta1.ReusableConfigValues.CaOptions.is_ca:type_name -> google.protobuf.BoolValue + 46, // 64: google.cloud.security.privateca.v1beta1.ReusableConfigValues.CaOptions.max_issuer_path_length:type_name -> google.protobuf.Int32Value + 20, // 65: google.cloud.security.privateca.v1beta1.CertificateConfig.SubjectConfig.subject:type_name -> google.cloud.security.privateca.v1beta1.Subject + 21, // 66: google.cloud.security.privateca.v1beta1.CertificateConfig.SubjectConfig.subject_alt_name:type_name -> google.cloud.security.privateca.v1beta1.SubjectAltNames + 20, // 67: google.cloud.security.privateca.v1beta1.CertificateDescription.SubjectDescription.subject:type_name -> google.cloud.security.privateca.v1beta1.Subject + 21, // 68: google.cloud.security.privateca.v1beta1.CertificateDescription.SubjectDescription.subject_alt_name:type_name -> google.cloud.security.privateca.v1beta1.SubjectAltNames + 43, // 69: google.cloud.security.privateca.v1beta1.CertificateDescription.SubjectDescription.lifetime:type_name -> google.protobuf.Duration + 44, // 70: google.cloud.security.privateca.v1beta1.CertificateDescription.SubjectDescription.not_before_time:type_name -> google.protobuf.Timestamp + 44, // 71: google.cloud.security.privateca.v1beta1.CertificateDescription.SubjectDescription.not_after_time:type_name -> google.protobuf.Timestamp + 72, // [72:72] is the sub-list for method output_type + 72, // [72:72] is the sub-list for method input_type + 72, // [72:72] is the sub-list for extension type_name + 72, // [72:72] is the sub-list for extension extendee + 0, // [0:72] is the sub-list for field type_name +} + +func init() { file_google_cloud_security_privateca_v1beta1_resources_proto_init() } +func file_google_cloud_security_privateca_v1beta1_resources_proto_init() { + if File_google_cloud_security_privateca_v1beta1_resources_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CertificateAuthority); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CertificateRevocationList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Certificate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReusableConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReusableConfigValues); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReusableConfigWrapper); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SubordinateConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PublicKey); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CertificateConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CertificateDescription); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ObjectId); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*X509Extension); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*KeyUsage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Subject); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SubjectAltNames); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CertificateAuthority_IssuingOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CertificateAuthority_CertificateAuthorityPolicy); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CertificateAuthority_AccessUrls); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CertificateAuthority_KeyVersionSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CertificateAuthority_CertificateAuthorityPolicy_AllowedSubjectAltNames); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CertificateAuthority_CertificateAuthorityPolicy_IssuanceModes); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CertificateRevocationList_RevokedCertificate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Certificate_RevocationDetails); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReusableConfigValues_CaOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SubordinateConfig_SubordinateConfigChain); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CertificateConfig_SubjectConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CertificateDescription_SubjectDescription); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CertificateDescription_KeyId); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CertificateDescription_CertificateFingerprint); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*KeyUsage_KeyUsageOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*KeyUsage_ExtendedKeyUsageOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[2].OneofWrappers = []interface{}{ + (*Certificate_PemCsr)(nil), + (*Certificate_Config)(nil), + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[5].OneofWrappers = []interface{}{ + (*ReusableConfigWrapper_ReusableConfig)(nil), + (*ReusableConfigWrapper_ReusableConfigValues)(nil), + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[6].OneofWrappers = []interface{}{ + (*SubordinateConfig_CertificateAuthority)(nil), + (*SubordinateConfig_PemIssuerChain)(nil), + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[16].OneofWrappers = []interface{}{ + (*CertificateAuthority_CertificateAuthorityPolicy_AllowedConfigList_)(nil), + (*CertificateAuthority_CertificateAuthorityPolicy_OverwriteConfigValues)(nil), + } + file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes[18].OneofWrappers = []interface{}{ + (*CertificateAuthority_KeyVersionSpec_CloudKmsKeyVersion)(nil), + (*CertificateAuthority_KeyVersionSpec_Algorithm)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_security_privateca_v1beta1_resources_proto_rawDesc, + NumEnums: 7, + NumMessages: 36, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_security_privateca_v1beta1_resources_proto_goTypes, + DependencyIndexes: file_google_cloud_security_privateca_v1beta1_resources_proto_depIdxs, + EnumInfos: file_google_cloud_security_privateca_v1beta1_resources_proto_enumTypes, + MessageInfos: file_google_cloud_security_privateca_v1beta1_resources_proto_msgTypes, + }.Build() + File_google_cloud_security_privateca_v1beta1_resources_proto = out.File + file_google_cloud_security_privateca_v1beta1_resources_proto_rawDesc = nil + file_google_cloud_security_privateca_v1beta1_resources_proto_goTypes = nil + file_google_cloud_security_privateca_v1beta1_resources_proto_depIdxs = nil +} diff --git a/lib/google.golang.org/genproto/googleapis/cloud/security/privateca/v1beta1/service.pb.go b/lib/google.golang.org/genproto/googleapis/cloud/security/privateca/v1beta1/service.pb.go new file mode 100644 index 0000000..5d20eda --- /dev/null +++ b/lib/google.golang.org/genproto/googleapis/cloud/security/privateca/v1beta1/service.pb.go @@ -0,0 +1,4704 @@ +// Copyright 2020 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.22.0 +// protoc v3.13.0 +// source: google/cloud/security/privateca/v1beta1/service.proto + +package privateca + +import ( + context "context" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + _ "google.golang.org/genproto/googleapis/api/annotations" + longrunning "google.golang.org/genproto/googleapis/longrunning" + field_mask "google.golang.org/genproto/protobuf/field_mask" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// Request message for [CertificateAuthorityService.CreateCertificate][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.CreateCertificate]. +type CreateCertificateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. The resource name of the location and [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] + // associated with the [Certificate][google.cloud.security.privateca.v1beta1.Certificate], in the format + // `projects/*/locations/*/certificateAuthorities/*`. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // Optional. It must be unique within a location and match the regular + // expression `[a-zA-Z0-9-]{1,63}`. This field is required when using a + // [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] in the Enterprise [CertificateAuthority.Tier][google.cloud.security.privateca.v1beta1.CertificateAuthority.Tier], + // but is optional and its value is ignored otherwise. + CertificateId string `protobuf:"bytes,2,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"` + // Required. A [Certificate][google.cloud.security.privateca.v1beta1.Certificate] with initial field values. + Certificate *Certificate `protobuf:"bytes,3,opt,name=certificate,proto3" json:"certificate,omitempty"` + // Optional. An ID to identify requests. Specify a unique request ID so that if you must + // retry your request, the server will know to ignore the request if it has + // already been completed. The server will guarantee that for at least 60 + // minutes since the first request. + // + // For example, consider a situation where you make an initial request and t + // he request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` +} + +func (x *CreateCertificateRequest) Reset() { + *x = CreateCertificateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateCertificateRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateCertificateRequest) ProtoMessage() {} + +func (x *CreateCertificateRequest) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateCertificateRequest.ProtoReflect.Descriptor instead. +func (*CreateCertificateRequest) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_service_proto_rawDescGZIP(), []int{0} +} + +func (x *CreateCertificateRequest) GetParent() string { + if x != nil { + return x.Parent + } + return "" +} + +func (x *CreateCertificateRequest) GetCertificateId() string { + if x != nil { + return x.CertificateId + } + return "" +} + +func (x *CreateCertificateRequest) GetCertificate() *Certificate { + if x != nil { + return x.Certificate + } + return nil +} + +func (x *CreateCertificateRequest) GetRequestId() string { + if x != nil { + return x.RequestId + } + return "" +} + +// Request message for +// [CertificateAuthorityService.GetCertificate][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.GetCertificate]. +type GetCertificateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. The [name][google.cloud.security.privateca.v1beta1.Certificate.name] of the [Certificate][google.cloud.security.privateca.v1beta1.Certificate] to get. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` +} + +func (x *GetCertificateRequest) Reset() { + *x = GetCertificateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCertificateRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCertificateRequest) ProtoMessage() {} + +func (x *GetCertificateRequest) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetCertificateRequest.ProtoReflect.Descriptor instead. +func (*GetCertificateRequest) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_service_proto_rawDescGZIP(), []int{1} +} + +func (x *GetCertificateRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +// Request message for [CertificateAuthorityService.ListCertificates][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ListCertificates]. +type ListCertificatesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. The resource name of the location associated with the + // [Certificates][google.cloud.security.privateca.v1beta1.Certificate], in the format + // `projects/*/locations/*/certificateauthorities/*`. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // Optional. Limit on the number of + // [Certificates][google.cloud.security.privateca.v1beta1.Certificate] to include in the + // response. Further [Certificates][google.cloud.security.privateca.v1beta1.Certificate] can subsequently be obtained + // by including the + // [ListCertificatesResponse.next_page_token][google.cloud.security.privateca.v1beta1.ListCertificatesResponse.next_page_token] in a subsequent + // request. If unspecified, the server will pick an appropriate default. + PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // Optional. Pagination token, returned earlier via + // [ListCertificatesResponse.next_page_token][google.cloud.security.privateca.v1beta1.ListCertificatesResponse.next_page_token]. + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + // Optional. Only include resources that match the filter in the response. + Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` + // Optional. Specify how the results should be sorted. + OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` +} + +func (x *ListCertificatesRequest) Reset() { + *x = ListCertificatesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListCertificatesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListCertificatesRequest) ProtoMessage() {} + +func (x *ListCertificatesRequest) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListCertificatesRequest.ProtoReflect.Descriptor instead. +func (*ListCertificatesRequest) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_service_proto_rawDescGZIP(), []int{2} +} + +func (x *ListCertificatesRequest) GetParent() string { + if x != nil { + return x.Parent + } + return "" +} + +func (x *ListCertificatesRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize + } + return 0 +} + +func (x *ListCertificatesRequest) GetPageToken() string { + if x != nil { + return x.PageToken + } + return "" +} + +func (x *ListCertificatesRequest) GetFilter() string { + if x != nil { + return x.Filter + } + return "" +} + +func (x *ListCertificatesRequest) GetOrderBy() string { + if x != nil { + return x.OrderBy + } + return "" +} + +// Response message for [CertificateAuthorityService.ListCertificates][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ListCertificates]. +type ListCertificatesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The list of [Certificates][google.cloud.security.privateca.v1beta1.Certificate]. + Certificates []*Certificate `protobuf:"bytes,1,rep,name=certificates,proto3" json:"certificates,omitempty"` + // A token to retrieve next page of results. Pass this value in + // [ListCertificatesRequest.next_page_token][] to retrieve the + // next page of results. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + // A list of locations (e.g. "us-west1") that could not be reached. + Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"` +} + +func (x *ListCertificatesResponse) Reset() { + *x = ListCertificatesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListCertificatesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListCertificatesResponse) ProtoMessage() {} + +func (x *ListCertificatesResponse) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListCertificatesResponse.ProtoReflect.Descriptor instead. +func (*ListCertificatesResponse) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_service_proto_rawDescGZIP(), []int{3} +} + +func (x *ListCertificatesResponse) GetCertificates() []*Certificate { + if x != nil { + return x.Certificates + } + return nil +} + +func (x *ListCertificatesResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken + } + return "" +} + +func (x *ListCertificatesResponse) GetUnreachable() []string { + if x != nil { + return x.Unreachable + } + return nil +} + +// Request message for +// [CertificateAuthorityService.RevokeCertificate][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.RevokeCertificate]. +type RevokeCertificateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. The resource name for this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] in the + // format `projects/*/locations/*/certificateAuthorities/*/certificates/*`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Required. The [RevocationReason][google.cloud.security.privateca.v1beta1.RevocationReason] for revoking this certificate. + Reason RevocationReason `protobuf:"varint,2,opt,name=reason,proto3,enum=google.cloud.security.privateca.v1beta1.RevocationReason" json:"reason,omitempty"` + // Optional. An ID to identify requests. Specify a unique request ID so that if you must + // retry your request, the server will know to ignore the request if it has + // already been completed. The server will guarantee that for at least 60 + // minutes since the first request. + // + // For example, consider a situation where you make an initial request and t + // he request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` +} + +func (x *RevokeCertificateRequest) Reset() { + *x = RevokeCertificateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RevokeCertificateRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RevokeCertificateRequest) ProtoMessage() {} + +func (x *RevokeCertificateRequest) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RevokeCertificateRequest.ProtoReflect.Descriptor instead. +func (*RevokeCertificateRequest) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_service_proto_rawDescGZIP(), []int{4} +} + +func (x *RevokeCertificateRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *RevokeCertificateRequest) GetReason() RevocationReason { + if x != nil { + return x.Reason + } + return RevocationReason_REVOCATION_REASON_UNSPECIFIED +} + +func (x *RevokeCertificateRequest) GetRequestId() string { + if x != nil { + return x.RequestId + } + return "" +} + +// Request message for [CertificateAuthorityService.UpdateCertificate][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.UpdateCertificate]. +type UpdateCertificateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. [Certificate][google.cloud.security.privateca.v1beta1.Certificate] with updated values. + Certificate *Certificate `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"` + // Required. A list of fields to be updated in this request. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // Optional. An ID to identify requests. Specify a unique request ID so that if you must + // retry your request, the server will know to ignore the request if it has + // already been completed. The server will guarantee that for at least 60 + // minutes since the first request. + // + // For example, consider a situation where you make an initial request and t + // he request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` +} + +func (x *UpdateCertificateRequest) Reset() { + *x = UpdateCertificateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateCertificateRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateCertificateRequest) ProtoMessage() {} + +func (x *UpdateCertificateRequest) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateCertificateRequest.ProtoReflect.Descriptor instead. +func (*UpdateCertificateRequest) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_service_proto_rawDescGZIP(), []int{5} +} + +func (x *UpdateCertificateRequest) GetCertificate() *Certificate { + if x != nil { + return x.Certificate + } + return nil +} + +func (x *UpdateCertificateRequest) GetUpdateMask() *field_mask.FieldMask { + if x != nil { + return x.UpdateMask + } + return nil +} + +func (x *UpdateCertificateRequest) GetRequestId() string { + if x != nil { + return x.RequestId + } + return "" +} + +// Request message for +// [CertificateAuthorityService.ActivateCertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ActivateCertificateAuthority]. +type ActivateCertificateAuthorityRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. The resource name for this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] in the + // format `projects/*/locations/*/certificateAuthorities/*`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Required. The signed CA certificate issued from + // [FetchCertificateAuthorityCsrResponse.pem_csr][google.cloud.security.privateca.v1beta1.FetchCertificateAuthorityCsrResponse.pem_csr]. + PemCaCertificate string `protobuf:"bytes,2,opt,name=pem_ca_certificate,json=pemCaCertificate,proto3" json:"pem_ca_certificate,omitempty"` + // Required. Must include information about the issuer of 'pem_ca_certificate', and any + // further issuers until the self-signed CA. + SubordinateConfig *SubordinateConfig `protobuf:"bytes,3,opt,name=subordinate_config,json=subordinateConfig,proto3" json:"subordinate_config,omitempty"` + // Optional. An ID to identify requests. Specify a unique request ID so that if you must + // retry your request, the server will know to ignore the request if it has + // already been completed. The server will guarantee that for at least 60 + // minutes since the first request. + // + // For example, consider a situation where you make an initial request and t + // he request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` +} + +func (x *ActivateCertificateAuthorityRequest) Reset() { + *x = ActivateCertificateAuthorityRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ActivateCertificateAuthorityRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ActivateCertificateAuthorityRequest) ProtoMessage() {} + +func (x *ActivateCertificateAuthorityRequest) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ActivateCertificateAuthorityRequest.ProtoReflect.Descriptor instead. +func (*ActivateCertificateAuthorityRequest) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_service_proto_rawDescGZIP(), []int{6} +} + +func (x *ActivateCertificateAuthorityRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *ActivateCertificateAuthorityRequest) GetPemCaCertificate() string { + if x != nil { + return x.PemCaCertificate + } + return "" +} + +func (x *ActivateCertificateAuthorityRequest) GetSubordinateConfig() *SubordinateConfig { + if x != nil { + return x.SubordinateConfig + } + return nil +} + +func (x *ActivateCertificateAuthorityRequest) GetRequestId() string { + if x != nil { + return x.RequestId + } + return "" +} + +// Request message for +// [CertificateAuthorityService.CreateCertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.CreateCertificateAuthority]. +type CreateCertificateAuthorityRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. The resource name of the location associated with the + // [CertificateAuthorities][google.cloud.security.privateca.v1beta1.CertificateAuthority], in the format + // `projects/*/locations/*`. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // Required. It must be unique within a location and match the regular + // expression `[a-zA-Z0-9-]{1,63}` + CertificateAuthorityId string `protobuf:"bytes,2,opt,name=certificate_authority_id,json=certificateAuthorityId,proto3" json:"certificate_authority_id,omitempty"` + // Required. A [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] with initial field values. + CertificateAuthority *CertificateAuthority `protobuf:"bytes,3,opt,name=certificate_authority,json=certificateAuthority,proto3" json:"certificate_authority,omitempty"` + // Optional. An ID to identify requests. Specify a unique request ID so that if you must + // retry your request, the server will know to ignore the request if it has + // already been completed. The server will guarantee that for at least 60 + // minutes since the first request. + // + // For example, consider a situation where you make an initial request and t + // he request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` +} + +func (x *CreateCertificateAuthorityRequest) Reset() { + *x = CreateCertificateAuthorityRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateCertificateAuthorityRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateCertificateAuthorityRequest) ProtoMessage() {} + +func (x *CreateCertificateAuthorityRequest) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateCertificateAuthorityRequest.ProtoReflect.Descriptor instead. +func (*CreateCertificateAuthorityRequest) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_service_proto_rawDescGZIP(), []int{7} +} + +func (x *CreateCertificateAuthorityRequest) GetParent() string { + if x != nil { + return x.Parent + } + return "" +} + +func (x *CreateCertificateAuthorityRequest) GetCertificateAuthorityId() string { + if x != nil { + return x.CertificateAuthorityId + } + return "" +} + +func (x *CreateCertificateAuthorityRequest) GetCertificateAuthority() *CertificateAuthority { + if x != nil { + return x.CertificateAuthority + } + return nil +} + +func (x *CreateCertificateAuthorityRequest) GetRequestId() string { + if x != nil { + return x.RequestId + } + return "" +} + +// Request message for +// [CertificateAuthorityService.DisableCertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.DisableCertificateAuthority]. +type DisableCertificateAuthorityRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. The resource name for this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] in the + // format `projects/*/locations/*/certificateAuthorities/*`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Optional. An ID to identify requests. Specify a unique request ID so that if you must + // retry your request, the server will know to ignore the request if it has + // already been completed. The server will guarantee that for at least 60 + // minutes since the first request. + // + // For example, consider a situation where you make an initial request and t + // he request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` +} + +func (x *DisableCertificateAuthorityRequest) Reset() { + *x = DisableCertificateAuthorityRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DisableCertificateAuthorityRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DisableCertificateAuthorityRequest) ProtoMessage() {} + +func (x *DisableCertificateAuthorityRequest) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DisableCertificateAuthorityRequest.ProtoReflect.Descriptor instead. +func (*DisableCertificateAuthorityRequest) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_service_proto_rawDescGZIP(), []int{8} +} + +func (x *DisableCertificateAuthorityRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *DisableCertificateAuthorityRequest) GetRequestId() string { + if x != nil { + return x.RequestId + } + return "" +} + +// Request message for +// [CertificateAuthorityService.EnableCertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.EnableCertificateAuthority]. +type EnableCertificateAuthorityRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. The resource name for this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] in the + // format `projects/*/locations/*/certificateAuthorities/*`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Optional. An ID to identify requests. Specify a unique request ID so that if you must + // retry your request, the server will know to ignore the request if it has + // already been completed. The server will guarantee that for at least 60 + // minutes since the first request. + // + // For example, consider a situation where you make an initial request and t + // he request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` +} + +func (x *EnableCertificateAuthorityRequest) Reset() { + *x = EnableCertificateAuthorityRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EnableCertificateAuthorityRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnableCertificateAuthorityRequest) ProtoMessage() {} + +func (x *EnableCertificateAuthorityRequest) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnableCertificateAuthorityRequest.ProtoReflect.Descriptor instead. +func (*EnableCertificateAuthorityRequest) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_service_proto_rawDescGZIP(), []int{9} +} + +func (x *EnableCertificateAuthorityRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *EnableCertificateAuthorityRequest) GetRequestId() string { + if x != nil { + return x.RequestId + } + return "" +} + +// Request message for +// [CertificateAuthorityService.FetchCertificateAuthorityCsr][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.FetchCertificateAuthorityCsr]. +type FetchCertificateAuthorityCsrRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. The resource name for this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] in the + // format `projects/*/locations/*/certificateAuthorities/*`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` +} + +func (x *FetchCertificateAuthorityCsrRequest) Reset() { + *x = FetchCertificateAuthorityCsrRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FetchCertificateAuthorityCsrRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FetchCertificateAuthorityCsrRequest) ProtoMessage() {} + +func (x *FetchCertificateAuthorityCsrRequest) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FetchCertificateAuthorityCsrRequest.ProtoReflect.Descriptor instead. +func (*FetchCertificateAuthorityCsrRequest) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_service_proto_rawDescGZIP(), []int{10} +} + +func (x *FetchCertificateAuthorityCsrRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +// Response message for +// [CertificateAuthorityService.FetchCertificateAuthorityCsr][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.FetchCertificateAuthorityCsr]. +type FetchCertificateAuthorityCsrResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Output only. The PEM-encoded signed certificate signing request (CSR). + PemCsr string `protobuf:"bytes,1,opt,name=pem_csr,json=pemCsr,proto3" json:"pem_csr,omitempty"` +} + +func (x *FetchCertificateAuthorityCsrResponse) Reset() { + *x = FetchCertificateAuthorityCsrResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FetchCertificateAuthorityCsrResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FetchCertificateAuthorityCsrResponse) ProtoMessage() {} + +func (x *FetchCertificateAuthorityCsrResponse) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FetchCertificateAuthorityCsrResponse.ProtoReflect.Descriptor instead. +func (*FetchCertificateAuthorityCsrResponse) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_service_proto_rawDescGZIP(), []int{11} +} + +func (x *FetchCertificateAuthorityCsrResponse) GetPemCsr() string { + if x != nil { + return x.PemCsr + } + return "" +} + +// Request message for [CertificateAuthorityService.GetCertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.GetCertificateAuthority]. +type GetCertificateAuthorityRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. The [name][google.cloud.security.privateca.v1beta1.CertificateAuthority.name] of the [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] to + // get. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` +} + +func (x *GetCertificateAuthorityRequest) Reset() { + *x = GetCertificateAuthorityRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCertificateAuthorityRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCertificateAuthorityRequest) ProtoMessage() {} + +func (x *GetCertificateAuthorityRequest) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetCertificateAuthorityRequest.ProtoReflect.Descriptor instead. +func (*GetCertificateAuthorityRequest) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_service_proto_rawDescGZIP(), []int{12} +} + +func (x *GetCertificateAuthorityRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +// Request message for +// [CertificateAuthorityService.ListCertificateAuthorities][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ListCertificateAuthorities]. +type ListCertificateAuthoritiesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. The resource name of the location associated with the + // [CertificateAuthorities][google.cloud.security.privateca.v1beta1.CertificateAuthority], in the format + // `projects/*/locations/*`. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // Optional. Limit on the number of [CertificateAuthorities][google.cloud.security.privateca.v1beta1.CertificateAuthority] to + // include in the response. + // Further [CertificateAuthorities][google.cloud.security.privateca.v1beta1.CertificateAuthority] can subsequently be + // obtained by including the + // [ListCertificateAuthoritiesResponse.next_page_token][google.cloud.security.privateca.v1beta1.ListCertificateAuthoritiesResponse.next_page_token] in a subsequent + // request. If unspecified, the server will pick an appropriate default. + PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // Optional. Pagination token, returned earlier via + // [ListCertificateAuthoritiesResponse.next_page_token][google.cloud.security.privateca.v1beta1.ListCertificateAuthoritiesResponse.next_page_token]. + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + // Optional. Only include resources that match the filter in the response. + Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` + // Optional. Specify how the results should be sorted. + OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` +} + +func (x *ListCertificateAuthoritiesRequest) Reset() { + *x = ListCertificateAuthoritiesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListCertificateAuthoritiesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListCertificateAuthoritiesRequest) ProtoMessage() {} + +func (x *ListCertificateAuthoritiesRequest) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListCertificateAuthoritiesRequest.ProtoReflect.Descriptor instead. +func (*ListCertificateAuthoritiesRequest) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_service_proto_rawDescGZIP(), []int{13} +} + +func (x *ListCertificateAuthoritiesRequest) GetParent() string { + if x != nil { + return x.Parent + } + return "" +} + +func (x *ListCertificateAuthoritiesRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize + } + return 0 +} + +func (x *ListCertificateAuthoritiesRequest) GetPageToken() string { + if x != nil { + return x.PageToken + } + return "" +} + +func (x *ListCertificateAuthoritiesRequest) GetFilter() string { + if x != nil { + return x.Filter + } + return "" +} + +func (x *ListCertificateAuthoritiesRequest) GetOrderBy() string { + if x != nil { + return x.OrderBy + } + return "" +} + +// Response message for +// [CertificateAuthorityService.ListCertificateAuthorities][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ListCertificateAuthorities]. +type ListCertificateAuthoritiesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The list of [CertificateAuthorities][google.cloud.security.privateca.v1beta1.CertificateAuthority]. + CertificateAuthorities []*CertificateAuthority `protobuf:"bytes,1,rep,name=certificate_authorities,json=certificateAuthorities,proto3" json:"certificate_authorities,omitempty"` + // A token to retrieve next page of results. Pass this value in + // [ListCertificateAuthoritiesRequest.next_page_token][] to retrieve the next + // page of results. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + // A list of locations (e.g. "us-west1") that could not be reached. + Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"` +} + +func (x *ListCertificateAuthoritiesResponse) Reset() { + *x = ListCertificateAuthoritiesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListCertificateAuthoritiesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListCertificateAuthoritiesResponse) ProtoMessage() {} + +func (x *ListCertificateAuthoritiesResponse) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListCertificateAuthoritiesResponse.ProtoReflect.Descriptor instead. +func (*ListCertificateAuthoritiesResponse) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_service_proto_rawDescGZIP(), []int{14} +} + +func (x *ListCertificateAuthoritiesResponse) GetCertificateAuthorities() []*CertificateAuthority { + if x != nil { + return x.CertificateAuthorities + } + return nil +} + +func (x *ListCertificateAuthoritiesResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken + } + return "" +} + +func (x *ListCertificateAuthoritiesResponse) GetUnreachable() []string { + if x != nil { + return x.Unreachable + } + return nil +} + +// Request message for +// [CertificateAuthorityService.RestoreCertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.RestoreCertificateAuthority]. +type RestoreCertificateAuthorityRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. The resource name for this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] in the + // format `projects/*/locations/*/certificateAuthorities/*`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Optional. An ID to identify requests. Specify a unique request ID so that if you must + // retry your request, the server will know to ignore the request if it has + // already been completed. The server will guarantee that for at least 60 + // minutes since the first request. + // + // For example, consider a situation where you make an initial request and t + // he request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` +} + +func (x *RestoreCertificateAuthorityRequest) Reset() { + *x = RestoreCertificateAuthorityRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RestoreCertificateAuthorityRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RestoreCertificateAuthorityRequest) ProtoMessage() {} + +func (x *RestoreCertificateAuthorityRequest) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RestoreCertificateAuthorityRequest.ProtoReflect.Descriptor instead. +func (*RestoreCertificateAuthorityRequest) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_service_proto_rawDescGZIP(), []int{15} +} + +func (x *RestoreCertificateAuthorityRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *RestoreCertificateAuthorityRequest) GetRequestId() string { + if x != nil { + return x.RequestId + } + return "" +} + +// Request message for +// [CertificateAuthorityService.ScheduleDeleteCertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ScheduleDeleteCertificateAuthority]. +type ScheduleDeleteCertificateAuthorityRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. The resource name for this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] in the + // format `projects/*/locations/*/certificateAuthorities/*`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Optional. An ID to identify requests. Specify a unique request ID so that if you must + // retry your request, the server will know to ignore the request if it has + // already been completed. The server will guarantee that for at least 60 + // minutes since the first request. + // + // For example, consider a situation where you make an initial request and t + // he request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` +} + +func (x *ScheduleDeleteCertificateAuthorityRequest) Reset() { + *x = ScheduleDeleteCertificateAuthorityRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ScheduleDeleteCertificateAuthorityRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ScheduleDeleteCertificateAuthorityRequest) ProtoMessage() {} + +func (x *ScheduleDeleteCertificateAuthorityRequest) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ScheduleDeleteCertificateAuthorityRequest.ProtoReflect.Descriptor instead. +func (*ScheduleDeleteCertificateAuthorityRequest) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_service_proto_rawDescGZIP(), []int{16} +} + +func (x *ScheduleDeleteCertificateAuthorityRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *ScheduleDeleteCertificateAuthorityRequest) GetRequestId() string { + if x != nil { + return x.RequestId + } + return "" +} + +// Request message for +// [CertificateAuthorityService.UpdateCertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.UpdateCertificateAuthority]. +type UpdateCertificateAuthorityRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] with updated values. + CertificateAuthority *CertificateAuthority `protobuf:"bytes,1,opt,name=certificate_authority,json=certificateAuthority,proto3" json:"certificate_authority,omitempty"` + // Required. A list of fields to be updated in this request. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // Optional. An ID to identify requests. Specify a unique request ID so that if you must + // retry your request, the server will know to ignore the request if it has + // already been completed. The server will guarantee that for at least 60 + // minutes since the first request. + // + // For example, consider a situation where you make an initial request and t + // he request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` +} + +func (x *UpdateCertificateAuthorityRequest) Reset() { + *x = UpdateCertificateAuthorityRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateCertificateAuthorityRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateCertificateAuthorityRequest) ProtoMessage() {} + +func (x *UpdateCertificateAuthorityRequest) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateCertificateAuthorityRequest.ProtoReflect.Descriptor instead. +func (*UpdateCertificateAuthorityRequest) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_service_proto_rawDescGZIP(), []int{17} +} + +func (x *UpdateCertificateAuthorityRequest) GetCertificateAuthority() *CertificateAuthority { + if x != nil { + return x.CertificateAuthority + } + return nil +} + +func (x *UpdateCertificateAuthorityRequest) GetUpdateMask() *field_mask.FieldMask { + if x != nil { + return x.UpdateMask + } + return nil +} + +func (x *UpdateCertificateAuthorityRequest) GetRequestId() string { + if x != nil { + return x.RequestId + } + return "" +} + +// Request message for +// [CertificateAuthorityService.CreateCertificateRevocationList][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.CreateCertificateRevocationList]. +type CreateCertificateRevocationListRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. The resource name of the location and [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] + // associated with the [CertificateRevocationList][google.cloud.security.privateca.v1beta1.CertificateRevocationList], in the format + // `projects/*/locations/*/certificateAuthorities/*`. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // Required. It must be unique within a location and match the regular expression + // `[a-zA-Z0-9-]{1,63}` + CertificateRevocationListId string `protobuf:"bytes,2,opt,name=certificate_revocation_list_id,json=certificateRevocationListId,proto3" json:"certificate_revocation_list_id,omitempty"` + // Required. A [CertificateRevocationList][google.cloud.security.privateca.v1beta1.CertificateRevocationList] with initial field values. + CertificateRevocationList *CertificateRevocationList `protobuf:"bytes,3,opt,name=certificate_revocation_list,json=certificateRevocationList,proto3" json:"certificate_revocation_list,omitempty"` + // Optional. An ID to identify requests. Specify a unique request ID so that if you must + // retry your request, the server will know to ignore the request if it has + // already been completed. The server will guarantee that for at least 60 + // minutes since the first request. + // + // For example, consider a situation where you make an initial request and t + // he request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` +} + +func (x *CreateCertificateRevocationListRequest) Reset() { + *x = CreateCertificateRevocationListRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateCertificateRevocationListRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateCertificateRevocationListRequest) ProtoMessage() {} + +func (x *CreateCertificateRevocationListRequest) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateCertificateRevocationListRequest.ProtoReflect.Descriptor instead. +func (*CreateCertificateRevocationListRequest) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_service_proto_rawDescGZIP(), []int{18} +} + +func (x *CreateCertificateRevocationListRequest) GetParent() string { + if x != nil { + return x.Parent + } + return "" +} + +func (x *CreateCertificateRevocationListRequest) GetCertificateRevocationListId() string { + if x != nil { + return x.CertificateRevocationListId + } + return "" +} + +func (x *CreateCertificateRevocationListRequest) GetCertificateRevocationList() *CertificateRevocationList { + if x != nil { + return x.CertificateRevocationList + } + return nil +} + +func (x *CreateCertificateRevocationListRequest) GetRequestId() string { + if x != nil { + return x.RequestId + } + return "" +} + +// Request message for +// [CertificateAuthorityService.GetCertificateRevocationList][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.GetCertificateRevocationList]. +type GetCertificateRevocationListRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. The [name][google.cloud.security.privateca.v1beta1.CertificateRevocationList.name] of the + // [CertificateRevocationList][google.cloud.security.privateca.v1beta1.CertificateRevocationList] to get. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` +} + +func (x *GetCertificateRevocationListRequest) Reset() { + *x = GetCertificateRevocationListRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCertificateRevocationListRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCertificateRevocationListRequest) ProtoMessage() {} + +func (x *GetCertificateRevocationListRequest) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetCertificateRevocationListRequest.ProtoReflect.Descriptor instead. +func (*GetCertificateRevocationListRequest) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_service_proto_rawDescGZIP(), []int{19} +} + +func (x *GetCertificateRevocationListRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +// Request message for +// [CertificateAuthorityService.ListCertificateRevocationLists][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ListCertificateRevocationLists]. +type ListCertificateRevocationListsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. The resource name of the location associated with the + // [CertificateRevocationLists][google.cloud.security.privateca.v1beta1.CertificateRevocationList], in the format + // `projects/*/locations/*/certificateauthorities/*`. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // Optional. Limit on the number of + // [CertificateRevocationLists][google.cloud.security.privateca.v1beta1.CertificateRevocationList] to include in the + // response. Further [CertificateRevocationLists][google.cloud.security.privateca.v1beta1.CertificateRevocationList] + // can subsequently be obtained by including the + // [ListCertificateRevocationListsResponse.next_page_token][google.cloud.security.privateca.v1beta1.ListCertificateRevocationListsResponse.next_page_token] in a subsequent + // request. If unspecified, the server will pick an appropriate default. + PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // Optional. Pagination token, returned earlier via + // [ListCertificateRevocationListsResponse.next_page_token][google.cloud.security.privateca.v1beta1.ListCertificateRevocationListsResponse.next_page_token]. + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + // Optional. Only include resources that match the filter in the response. + Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` + // Optional. Specify how the results should be sorted. + OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` +} + +func (x *ListCertificateRevocationListsRequest) Reset() { + *x = ListCertificateRevocationListsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListCertificateRevocationListsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListCertificateRevocationListsRequest) ProtoMessage() {} + +func (x *ListCertificateRevocationListsRequest) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListCertificateRevocationListsRequest.ProtoReflect.Descriptor instead. +func (*ListCertificateRevocationListsRequest) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_service_proto_rawDescGZIP(), []int{20} +} + +func (x *ListCertificateRevocationListsRequest) GetParent() string { + if x != nil { + return x.Parent + } + return "" +} + +func (x *ListCertificateRevocationListsRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize + } + return 0 +} + +func (x *ListCertificateRevocationListsRequest) GetPageToken() string { + if x != nil { + return x.PageToken + } + return "" +} + +func (x *ListCertificateRevocationListsRequest) GetFilter() string { + if x != nil { + return x.Filter + } + return "" +} + +func (x *ListCertificateRevocationListsRequest) GetOrderBy() string { + if x != nil { + return x.OrderBy + } + return "" +} + +// Response message for +// [CertificateAuthorityService.ListCertificateRevocationLists][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ListCertificateRevocationLists]. +type ListCertificateRevocationListsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The list of [CertificateRevocationLists][google.cloud.security.privateca.v1beta1.CertificateRevocationList]. + CertificateRevocationLists []*CertificateRevocationList `protobuf:"bytes,1,rep,name=certificate_revocation_lists,json=certificateRevocationLists,proto3" json:"certificate_revocation_lists,omitempty"` + // A token to retrieve next page of results. Pass this value in + // [ListCertificateRevocationListsRequest.next_page_token][] to retrieve the + // next page of results. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + // A list of locations (e.g. "us-west1") that could not be reached. + Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"` +} + +func (x *ListCertificateRevocationListsResponse) Reset() { + *x = ListCertificateRevocationListsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListCertificateRevocationListsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListCertificateRevocationListsResponse) ProtoMessage() {} + +func (x *ListCertificateRevocationListsResponse) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListCertificateRevocationListsResponse.ProtoReflect.Descriptor instead. +func (*ListCertificateRevocationListsResponse) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_service_proto_rawDescGZIP(), []int{21} +} + +func (x *ListCertificateRevocationListsResponse) GetCertificateRevocationLists() []*CertificateRevocationList { + if x != nil { + return x.CertificateRevocationLists + } + return nil +} + +func (x *ListCertificateRevocationListsResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken + } + return "" +} + +func (x *ListCertificateRevocationListsResponse) GetUnreachable() []string { + if x != nil { + return x.Unreachable + } + return nil +} + +// Request message for +// [CertificateAuthorityService.UpdateCertificateRevocationList][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.UpdateCertificateRevocationList]. +type UpdateCertificateRevocationListRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. [CertificateRevocationList][google.cloud.security.privateca.v1beta1.CertificateRevocationList] with updated values. + CertificateRevocationList *CertificateRevocationList `protobuf:"bytes,1,opt,name=certificate_revocation_list,json=certificateRevocationList,proto3" json:"certificate_revocation_list,omitempty"` + // Required. A list of fields to be updated in this request. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // Optional. An ID to identify requests. Specify a unique request ID so that if you must + // retry your request, the server will know to ignore the request if it has + // already been completed. The server will guarantee that for at least 60 + // minutes since the first request. + // + // For example, consider a situation where you make an initial request and t + // he request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` +} + +func (x *UpdateCertificateRevocationListRequest) Reset() { + *x = UpdateCertificateRevocationListRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateCertificateRevocationListRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateCertificateRevocationListRequest) ProtoMessage() {} + +func (x *UpdateCertificateRevocationListRequest) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateCertificateRevocationListRequest.ProtoReflect.Descriptor instead. +func (*UpdateCertificateRevocationListRequest) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_service_proto_rawDescGZIP(), []int{22} +} + +func (x *UpdateCertificateRevocationListRequest) GetCertificateRevocationList() *CertificateRevocationList { + if x != nil { + return x.CertificateRevocationList + } + return nil +} + +func (x *UpdateCertificateRevocationListRequest) GetUpdateMask() *field_mask.FieldMask { + if x != nil { + return x.UpdateMask + } + return nil +} + +func (x *UpdateCertificateRevocationListRequest) GetRequestId() string { + if x != nil { + return x.RequestId + } + return "" +} + +// Request message for +// [CertificateAuthorityService.CreateReusableConfig][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.CreateReusableConfig]. +type CreateReusableConfigRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. The resource name of the location associated with the + // [ReusableConfig][google.cloud.security.privateca.v1beta1.ReusableConfig], in the format + // `projects/*/locations/*`. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // Required. It must be unique within a location and match the regular + // expression `[a-zA-Z0-9-]{1,63}` + ReusableConfigId string `protobuf:"bytes,2,opt,name=reusable_config_id,json=reusableConfigId,proto3" json:"reusable_config_id,omitempty"` + // Required. A [ReusableConfig][google.cloud.security.privateca.v1beta1.ReusableConfig] with initial field values. + ReusableConfig *ReusableConfig `protobuf:"bytes,3,opt,name=reusable_config,json=reusableConfig,proto3" json:"reusable_config,omitempty"` + // Optional. An ID to identify requests. Specify a unique request ID so that if you must + // retry your request, the server will know to ignore the request if it has + // already been completed. The server will guarantee that for at least 60 + // minutes since the first request. + // + // For example, consider a situation where you make an initial request and t + // he request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` +} + +func (x *CreateReusableConfigRequest) Reset() { + *x = CreateReusableConfigRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateReusableConfigRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateReusableConfigRequest) ProtoMessage() {} + +func (x *CreateReusableConfigRequest) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateReusableConfigRequest.ProtoReflect.Descriptor instead. +func (*CreateReusableConfigRequest) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_service_proto_rawDescGZIP(), []int{23} +} + +func (x *CreateReusableConfigRequest) GetParent() string { + if x != nil { + return x.Parent + } + return "" +} + +func (x *CreateReusableConfigRequest) GetReusableConfigId() string { + if x != nil { + return x.ReusableConfigId + } + return "" +} + +func (x *CreateReusableConfigRequest) GetReusableConfig() *ReusableConfig { + if x != nil { + return x.ReusableConfig + } + return nil +} + +func (x *CreateReusableConfigRequest) GetRequestId() string { + if x != nil { + return x.RequestId + } + return "" +} + +// Request message for +// [CertificateAuthorityService.DeleteReusableConfig][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.DeleteReusableConfig]. +type DeleteReusableConfigRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. The resource name for this [ReusableConfig][google.cloud.security.privateca.v1beta1.ReusableConfig] in the format + // `projects/*/locations/*/reusableConfigs/*`. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Optional. An ID to identify requests. Specify a unique request ID so that if you must + // retry your request, the server will know to ignore the request if it has + // already been completed. The server will guarantee that for at least 60 + // minutes since the first request. + // + // For example, consider a situation where you make an initial request and t + // he request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` +} + +func (x *DeleteReusableConfigRequest) Reset() { + *x = DeleteReusableConfigRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteReusableConfigRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteReusableConfigRequest) ProtoMessage() {} + +func (x *DeleteReusableConfigRequest) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[24] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeleteReusableConfigRequest.ProtoReflect.Descriptor instead. +func (*DeleteReusableConfigRequest) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_service_proto_rawDescGZIP(), []int{24} +} + +func (x *DeleteReusableConfigRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *DeleteReusableConfigRequest) GetRequestId() string { + if x != nil { + return x.RequestId + } + return "" +} + +// Request message for +// [CertificateAuthorityService.GetReusableConfig][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.GetReusableConfig]. +type GetReusableConfigRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. The [name][ReusableConfigs.name] of the [ReusableConfigs][] to get. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` +} + +func (x *GetReusableConfigRequest) Reset() { + *x = GetReusableConfigRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetReusableConfigRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetReusableConfigRequest) ProtoMessage() {} + +func (x *GetReusableConfigRequest) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[25] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetReusableConfigRequest.ProtoReflect.Descriptor instead. +func (*GetReusableConfigRequest) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_service_proto_rawDescGZIP(), []int{25} +} + +func (x *GetReusableConfigRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +// Request message for +// [CertificateAuthorityService.ListReusableConfigs][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ListReusableConfigs]. +type ListReusableConfigsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. The resource name of the location associated with the + // [ReusableConfigs][google.cloud.security.privateca.v1beta1.ReusableConfig], in the format + // `projects/*/locations/*`. + Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` + // Optional. Limit on the number of + // [ReusableConfigs][google.cloud.security.privateca.v1beta1.ReusableConfig] to include in the response. + // Further [ReusableConfigs][google.cloud.security.privateca.v1beta1.ReusableConfig] can subsequently be + // obtained by including the + // [ListReusableConfigsResponse.next_page_token][google.cloud.security.privateca.v1beta1.ListReusableConfigsResponse.next_page_token] in a subsequent request. If + // unspecified, the server will pick an appropriate default. + PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // Optional. Pagination token, returned earlier via + // [ListReusableConfigsResponse.next_page_token][google.cloud.security.privateca.v1beta1.ListReusableConfigsResponse.next_page_token]. + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + // Optional. Only include resources that match the filter in the response. + Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` + // Optional. Specify how the results should be sorted. + OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` +} + +func (x *ListReusableConfigsRequest) Reset() { + *x = ListReusableConfigsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListReusableConfigsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListReusableConfigsRequest) ProtoMessage() {} + +func (x *ListReusableConfigsRequest) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[26] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListReusableConfigsRequest.ProtoReflect.Descriptor instead. +func (*ListReusableConfigsRequest) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_service_proto_rawDescGZIP(), []int{26} +} + +func (x *ListReusableConfigsRequest) GetParent() string { + if x != nil { + return x.Parent + } + return "" +} + +func (x *ListReusableConfigsRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize + } + return 0 +} + +func (x *ListReusableConfigsRequest) GetPageToken() string { + if x != nil { + return x.PageToken + } + return "" +} + +func (x *ListReusableConfigsRequest) GetFilter() string { + if x != nil { + return x.Filter + } + return "" +} + +func (x *ListReusableConfigsRequest) GetOrderBy() string { + if x != nil { + return x.OrderBy + } + return "" +} + +// Response message for +// [CertificateAuthorityService.ListReusableConfigs][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ListReusableConfigs]. +type ListReusableConfigsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The list of [ReusableConfigs][google.cloud.security.privateca.v1beta1.ReusableConfig]. + ReusableConfigs []*ReusableConfig `protobuf:"bytes,1,rep,name=reusable_configs,json=reusableConfigs,proto3" json:"reusable_configs,omitempty"` + // A token to retrieve next page of results. Pass this value in + // [ListReusableConfigsRequest.next_page_token][] to retrieve + // the next page of results. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + // A list of locations (e.g. "us-west1") that could not be reached. + Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"` +} + +func (x *ListReusableConfigsResponse) Reset() { + *x = ListReusableConfigsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListReusableConfigsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListReusableConfigsResponse) ProtoMessage() {} + +func (x *ListReusableConfigsResponse) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[27] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListReusableConfigsResponse.ProtoReflect.Descriptor instead. +func (*ListReusableConfigsResponse) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_service_proto_rawDescGZIP(), []int{27} +} + +func (x *ListReusableConfigsResponse) GetReusableConfigs() []*ReusableConfig { + if x != nil { + return x.ReusableConfigs + } + return nil +} + +func (x *ListReusableConfigsResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken + } + return "" +} + +func (x *ListReusableConfigsResponse) GetUnreachable() []string { + if x != nil { + return x.Unreachable + } + return nil +} + +// Request message for +// [CertificateAuthorityService.UpdateReusableConfig][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.UpdateReusableConfig]. +type UpdateReusableConfigRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. [ReusableConfig][google.cloud.security.privateca.v1beta1.ReusableConfig] with updated values. + ReusableConfig *ReusableConfig `protobuf:"bytes,1,opt,name=reusable_config,json=reusableConfig,proto3" json:"reusable_config,omitempty"` + // Required. A list of fields to be updated in this request. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // Optional. An ID to identify requests. Specify a unique request ID so that if you must + // retry your request, the server will know to ignore the request if it has + // already been completed. The server will guarantee that for at least 60 + // minutes since the first request. + // + // For example, consider a situation where you make an initial request and t + // he request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` +} + +func (x *UpdateReusableConfigRequest) Reset() { + *x = UpdateReusableConfigRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateReusableConfigRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateReusableConfigRequest) ProtoMessage() {} + +func (x *UpdateReusableConfigRequest) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[28] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateReusableConfigRequest.ProtoReflect.Descriptor instead. +func (*UpdateReusableConfigRequest) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_service_proto_rawDescGZIP(), []int{28} +} + +func (x *UpdateReusableConfigRequest) GetReusableConfig() *ReusableConfig { + if x != nil { + return x.ReusableConfig + } + return nil +} + +func (x *UpdateReusableConfigRequest) GetUpdateMask() *field_mask.FieldMask { + if x != nil { + return x.UpdateMask + } + return nil +} + +func (x *UpdateReusableConfigRequest) GetRequestId() string { + if x != nil { + return x.RequestId + } + return "" +} + +// Represents the metadata of the long-running operation. +type OperationMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Output only. The time the operation was created. + CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + // Output only. The time the operation finished running. + EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + // Output only. Server-defined resource path for the target of the operation. + Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` + // Output only. Name of the verb executed by the operation. + Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"` + // Output only. Human-readable status of the operation, if any. + StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` + // Output only. Identifies whether the user has requested cancellation + // of the operation. Operations that have successfully been cancelled + // have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, + // corresponding to `Code.CANCELLED`. + RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"` + // Output only. API version used to start the operation. + ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` +} + +func (x *OperationMetadata) Reset() { + *x = OperationMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *OperationMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OperationMetadata) ProtoMessage() {} + +func (x *OperationMetadata) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[29] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead. +func (*OperationMetadata) Descriptor() ([]byte, []int) { + return file_google_cloud_security_privateca_v1beta1_service_proto_rawDescGZIP(), []int{29} +} + +func (x *OperationMetadata) GetCreateTime() *timestamp.Timestamp { + if x != nil { + return x.CreateTime + } + return nil +} + +func (x *OperationMetadata) GetEndTime() *timestamp.Timestamp { + if x != nil { + return x.EndTime + } + return nil +} + +func (x *OperationMetadata) GetTarget() string { + if x != nil { + return x.Target + } + return "" +} + +func (x *OperationMetadata) GetVerb() string { + if x != nil { + return x.Verb + } + return "" +} + +func (x *OperationMetadata) GetStatusMessage() string { + if x != nil { + return x.StatusMessage + } + return "" +} + +func (x *OperationMetadata) GetRequestedCancellation() bool { + if x != nil { + return x.RequestedCancellation + } + return false +} + +func (x *OperationMetadata) GetApiVersion() string { + if x != nil { + return x.ApiVersion + } + return "" +} + +var File_google_cloud_security_privateca_v1beta1_service_proto protoreflect.FileDescriptor + +var file_google_cloud_security_privateca_v1beta1_service_proto_rawDesc = []byte{ + 0x0a, 0x35, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, + 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, + 0x61, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, + 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, + 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, + 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, + 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, + 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x37, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, + 0x74, 0x65, 0x63, 0x61, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, + 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x96, 0x02, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, + 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x4d, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x35, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2f, 0x0a, 0x2d, 0x70, 0x72, 0x69, 0x76, 0x61, + 0x74, 0x65, 0x63, 0x61, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, + 0x12, 0x2a, 0x0a, 0x0e, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0d, 0x63, + 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x49, 0x64, 0x12, 0x5b, 0x0a, 0x0b, + 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, + 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x63, 0x65, + 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x72, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, + 0x41, 0x01, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x59, 0x0a, + 0x15, 0x47, 0x65, 0x74, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x26, 0x0a, 0x24, 0x70, 0x72, + 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xeb, 0x01, 0x0a, 0x17, 0x4c, 0x69, 0x73, + 0x74, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x4d, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x35, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2f, 0x0a, 0x2d, 0x70, 0x72, + 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, + 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x70, 0x61, 0x67, + 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, + 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, + 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x06, 0x66, 0x69, 0x6c, + 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, + 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, + 0x62, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x07, 0x6f, + 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x22, 0xbe, 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x43, + 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0c, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, + 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, + 0x0c, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x12, 0x26, 0x0a, + 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, + 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x75, 0x6e, 0x72, 0x65, 0x61, 0x63, 0x68, + 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x75, 0x6e, 0x72, 0x65, + 0x61, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x22, 0xd8, 0x01, 0x0a, 0x18, 0x52, 0x65, 0x76, 0x6f, + 0x6b, 0x65, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x2c, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x26, 0x0a, 0x24, 0x70, 0x72, 0x69, 0x76, + 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x56, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, + 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x52, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x61, 0x73, 0x6f, + 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x22, + 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x49, 0x64, 0x22, 0xdd, 0x01, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x65, 0x72, + 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x5b, 0x0a, 0x0b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, + 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, + 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, + 0x0b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x40, 0x0a, 0x0b, + 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, + 0x41, 0x02, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x22, + 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x49, 0x64, 0x22, 0xb7, 0x02, 0x0a, 0x23, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x43, + 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, + 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x49, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x35, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2f, + 0x0a, 0x2d, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x65, 0x72, 0x74, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x12, 0x70, 0x65, 0x6d, 0x5f, 0x63, 0x61, 0x5f, + 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x10, 0x70, 0x65, 0x6d, 0x43, 0x61, 0x43, 0x65, 0x72, + 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x6e, 0x0a, 0x12, 0x73, 0x75, 0x62, 0x6f, + 0x72, 0x64, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, + 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, + 0x75, 0x62, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x11, 0x73, 0x75, 0x62, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, + 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x22, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, + 0x01, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0xc2, 0x02, 0x0a, + 0x21, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x6c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x70, + 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x3d, 0x0a, 0x18, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, + 0x63, 0x61, 0x74, 0x65, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x16, 0x63, 0x65, + 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, + 0x74, 0x79, 0x49, 0x64, 0x12, 0x77, 0x0a, 0x15, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x65, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, + 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x65, + 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, + 0x74, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x14, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, + 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x22, 0x0a, + 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, + 0x64, 0x22, 0x93, 0x01, 0x0a, 0x22, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x65, 0x72, + 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, + 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x49, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x35, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2f, 0x0a, 0x2d, + 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, + 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x92, 0x01, 0x0a, 0x21, 0x45, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x49, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x35, 0xe0, 0x41, 0x02, + 0xfa, 0x41, 0x2f, 0x0a, 0x2d, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x65, + 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, + 0x74, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, + 0x01, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x70, 0x0a, 0x23, + 0x46, 0x65, 0x74, 0x63, 0x68, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, + 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x43, 0x73, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x49, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x35, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2f, 0x0a, 0x2d, 0x70, 0x72, 0x69, 0x76, 0x61, + 0x74, 0x65, 0x63, 0x61, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x44, + 0x0a, 0x24, 0x46, 0x65, 0x74, 0x63, 0x68, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x43, 0x73, 0x72, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x07, 0x70, 0x65, 0x6d, 0x5f, 0x63, 0x73, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x06, 0x70, 0x65, + 0x6d, 0x43, 0x73, 0x72, 0x22, 0x6b, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x43, 0x65, 0x72, 0x74, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x49, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x35, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2f, 0x0a, 0x2d, 0x70, 0x72, + 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x22, 0xe9, 0x01, 0x0a, 0x21, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x69, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, + 0x21, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x70, 0x61, + 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, + 0x41, 0x01, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0a, + 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, + 0x12, 0x1b, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1e, 0x0a, + 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x03, 0xe0, 0x41, 0x01, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x22, 0xe6, 0x01, + 0x0a, 0x22, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, + 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x76, 0x0a, 0x17, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x65, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, + 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x74, 0x79, 0x52, 0x16, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, + 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, + 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x75, 0x6e, 0x72, 0x65, 0x61, 0x63, 0x68, 0x61, + 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x75, 0x6e, 0x72, 0x65, 0x61, + 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x93, 0x01, 0x0a, 0x22, 0x52, 0x65, 0x73, 0x74, 0x6f, + 0x72, 0x65, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x49, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x35, 0xe0, 0x41, 0x02, + 0xfa, 0x41, 0x2f, 0x0a, 0x2d, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x65, + 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, + 0x74, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, + 0x01, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x9a, 0x01, 0x0a, + 0x29, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, + 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, + 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x49, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x35, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2f, + 0x0a, 0x2d, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x65, 0x72, 0x74, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, + 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x82, 0x02, 0x0a, 0x21, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x77, 0x0a, 0x15, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x61, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, + 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, + 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x42, 0x03, 0xe0, + 0x41, 0x02, 0x52, 0x14, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, + 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x22, 0x0a, 0x0a, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, + 0xe0, 0x41, 0x01, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0xef, + 0x02, 0x0a, 0x26, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, + 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, + 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4d, 0x0a, 0x06, 0x70, 0x61, 0x72, + 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x35, 0xe0, 0x41, 0x02, 0xfa, 0x41, + 0x2f, 0x0a, 0x2d, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x65, 0x72, 0x74, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, + 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x48, 0x0a, 0x1e, 0x63, 0x65, 0x72, 0x74, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x1b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, + 0x49, 0x64, 0x12, 0x87, 0x01, 0x0a, 0x1b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x65, 0x5f, 0x72, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, + 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x03, 0xe0, 0x41, + 0x02, 0x52, 0x19, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0a, + 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, + 0x22, 0x75, 0x0a, 0x23, 0x47, 0x65, 0x74, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4e, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x3a, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x34, 0x0a, 0x32, 0x70, + 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, + 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, + 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xf9, 0x01, 0x0a, 0x25, 0x4c, 0x69, 0x73, 0x74, + 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x4d, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x35, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2f, 0x0a, 0x2d, 0x70, 0x72, 0x69, 0x76, 0x61, + 0x74, 0x65, 0x63, 0x61, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, + 0x12, 0x20, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, + 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67, + 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x66, 0x69, 0x6c, + 0x74, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, + 0x72, 0x42, 0x79, 0x22, 0xf9, 0x01, 0x0a, 0x26, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x65, 0x72, 0x74, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x84, + 0x01, 0x0a, 0x1c, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x72, + 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, + 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x1a, 0x63, 0x65, 0x72, 0x74, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x4c, 0x69, 0x73, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, + 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, + 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x20, 0x0a, + 0x0b, 0x75, 0x6e, 0x72, 0x65, 0x61, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x0b, 0x75, 0x6e, 0x72, 0x65, 0x61, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x22, + 0x98, 0x02, 0x0a, 0x26, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, + 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x87, 0x01, 0x0a, 0x1b, 0x63, + 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x76, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x42, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, + 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x4c, 0x69, 0x73, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x19, 0x63, 0x65, 0x72, 0x74, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, + 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, + 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x22, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, + 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x9e, 0x02, 0x0a, 0x1b, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61, + 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, + 0x41, 0x23, 0x0a, 0x21, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x31, 0x0a, + 0x12, 0x72, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x10, + 0x72, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, + 0x12, 0x65, 0x0a, 0x0f, 0x72, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, + 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0e, 0x72, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, + 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x22, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, + 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x86, 0x01, 0x0a, 0x1b, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2f, 0xe0, 0x41, 0x02, 0xfa, 0x41, + 0x29, 0x0a, 0x27, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x65, 0x75, 0x73, + 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x22, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x49, 0x64, 0x22, 0x5f, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x52, 0x65, 0x75, 0x73, 0x61, + 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x43, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2f, + 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x29, 0x0a, 0x27, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, + 0x61, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x52, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xe2, 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, + 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x6c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, + 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, + 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, + 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, + 0x41, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1b, 0x0a, + 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, + 0x41, 0x01, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x08, 0x6f, 0x72, + 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, + 0x01, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x22, 0xcb, 0x01, 0x0a, 0x1b, 0x4c, + 0x69, 0x73, 0x74, 0x52, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x10, 0x72, 0x65, + 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, + 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, + 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0f, 0x72, + 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x26, + 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, + 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x75, 0x6e, 0x72, 0x65, 0x61, 0x63, + 0x68, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x75, 0x6e, 0x72, + 0x65, 0x61, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x22, 0xea, 0x01, 0x0a, 0x1b, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x65, 0x0a, 0x0f, 0x72, 0x65, 0x75, 0x73, + 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, + 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x75, 0x73, + 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, + 0x0e, 0x72, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, + 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, + 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, + 0x6b, 0x12, 0x22, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0xd5, 0x02, 0x0a, 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x40, 0x0a, 0x0b, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, + 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3a, 0x0a, + 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, + 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x06, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x06, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x76, 0x65, 0x72, 0x62, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x76, 0x65, 0x72, 0x62, 0x12, + 0x2a, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0d, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x3a, 0x0a, 0x16, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x6c, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x03, + 0x52, 0x15, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x43, 0x61, 0x6e, 0x63, 0x65, + 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x0b, 0x61, 0x70, 0x69, 0x5f, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, + 0x03, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0xc5, 0x36, + 0x0a, 0x1b, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x96, 0x02, + 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x65, 0x12, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, + 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, + 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x22, 0x87, 0x01, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x5d, 0x22, 0x4e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, + 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, + 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, + 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, + 0x69, 0x74, 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, + 0x63, 0x61, 0x74, 0x65, 0x73, 0x3a, 0x0b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x65, 0xda, 0x41, 0x21, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x63, 0x65, 0x72, 0x74, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x2c, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x12, 0xe5, 0x01, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x43, 0x65, + 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, + 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, + 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x22, + 0x5d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x50, 0x12, 0x4e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, + 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, + 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, + 0x69, 0x74, 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xf8, + 0x01, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x65, 0x73, 0x12, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, + 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, + 0x73, 0x74, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, + 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x50, + 0x12, 0x4e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, + 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x69, 0x65, 0x73, + 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, + 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0xf5, 0x01, 0x0a, 0x11, 0x52, 0x65, + 0x76, 0x6f, 0x6b, 0x65, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, + 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, + 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, + 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, + 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, + 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x65, 0x72, + 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x22, 0x67, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x5a, + 0x22, 0x55, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, + 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2f, 0x2a, + 0x2f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x2f, 0x2a, 0x7d, + 0x3a, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x3a, 0x01, 0x2a, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0x98, 0x02, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x65, 0x72, 0x74, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, + 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, + 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, + 0x22, 0x89, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x69, 0x32, 0x5a, 0x2f, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, + 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, + 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x65, 0x72, + 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, + 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x0b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x65, 0xda, 0x41, 0x17, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, + 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x12, 0x94, 0x02, 0x0a, + 0x1c, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, + 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x4c, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, + 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, + 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, + 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x86, 0x01, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x4d, 0x22, 0x48, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, + 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x65, 0x72, 0x74, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x69, 0x65, + 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, + 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0xca, 0x41, 0x29, 0x0a, 0x14, 0x43, 0x65, 0x72, 0x74, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, + 0x12, 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x12, 0xcc, 0x02, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x65, + 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, + 0x74, 0x79, 0x12, 0x4a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, + 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, + 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, + 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xc2, 0x01, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x58, 0x22, 0x3f, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, + 0x2f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, + 0x6f, 0x72, 0x69, 0x74, 0x69, 0x65, 0x73, 0x3a, 0x15, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, + 0x63, 0x61, 0x74, 0x65, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0xda, 0x41, + 0x35, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x65, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x2c, 0x63, 0x65, + 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, + 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0xca, 0x41, 0x29, 0x0a, 0x14, 0x43, 0x65, 0x72, 0x74, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, + 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x12, 0x91, 0x02, 0x0a, 0x1b, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x65, + 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, + 0x74, 0x79, 0x12, 0x4b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, + 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, + 0x61, 0x62, 0x6c, 0x65, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, + 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x85, + 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4c, 0x22, 0x47, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, + 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, + 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, + 0x69, 0x74, 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, + 0x3a, 0x01, 0x2a, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0xca, 0x41, 0x29, 0x0a, 0x14, 0x43, + 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, + 0x69, 0x74, 0x79, 0x12, 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x8e, 0x02, 0x0a, 0x1a, 0x45, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, + 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x4a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, + 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, + 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, + 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x84, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4b, 0x22, 0x46, 0x2f, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, + 0x2f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, + 0x6f, 0x72, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x65, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x3a, 0x01, 0x2a, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0xca, 0x41, 0x29, 0x0a, 0x14, + 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x74, 0x79, 0x12, 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x91, 0x02, 0x0a, 0x1c, 0x46, 0x65, 0x74, 0x63, + 0x68, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, + 0x6f, 0x72, 0x69, 0x74, 0x79, 0x43, 0x73, 0x72, 0x12, 0x4c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, + 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x43, 0x73, 0x72, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x4d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, + 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, + 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x43, 0x73, 0x72, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x54, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x47, 0x12, 0x45, 0x2f, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, + 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x66, + 0x65, 0x74, 0x63, 0x68, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xf1, 0x01, 0x0a, 0x17, + 0x47, 0x65, 0x74, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, + 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x47, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, + 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, + 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, + 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, + 0x4e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x41, 0x12, 0x3f, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, + 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, + 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, + 0x69, 0x74, 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x87, 0x02, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x4a, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, + 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x65, 0x72, + 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x4b, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, + 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, + 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x50, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x41, 0x12, + 0x3f, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, + 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x69, 0x65, 0x73, + 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x91, 0x02, 0x0a, 0x1b, 0x52, 0x65, + 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, + 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x4b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, + 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x65, 0x72, 0x74, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x85, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4c, 0x22, 0x47, + 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, + 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, + 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x3a, 0x01, 0x2a, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0xca, 0x41, 0x29, 0x0a, 0x14, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, + 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x11, 0x4f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0xa6, 0x02, + 0x0a, 0x22, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x74, 0x79, 0x12, 0x52, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, + 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, + 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x65, 0x72, + 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, + 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x8c, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x53, + 0x22, 0x4e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, + 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2f, 0x2a, + 0x7d, 0x3a, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x3a, 0x01, 0x2a, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0xca, 0x41, 0x29, 0x0a, 0x14, 0x43, + 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, + 0x69, 0x74, 0x79, 0x12, 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0xce, 0x02, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, + 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x4a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, + 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, + 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, + 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0xc4, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x6e, 0x32, 0x55, 0x2f, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, + 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, + 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, + 0x3a, 0x15, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x61, 0x75, + 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0xda, 0x41, 0x21, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x2c, + 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0xca, 0x41, 0x29, 0x0a, 0x14, + 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x74, 0x79, 0x12, 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x8a, 0x03, 0x0a, 0x1f, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4f, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, + 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x65, 0x72, 0x74, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, + 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xf6, 0x01, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x7b, 0x22, 0x5c, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, + 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, + 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x65, + 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, + 0x74, 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, + 0x74, 0x73, 0x3a, 0x1b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, + 0x72, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0xda, + 0x41, 0x41, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, + 0x63, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x2c, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, + 0x5f, 0x72, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x69, 0x73, 0x74, + 0x5f, 0x69, 0x64, 0xca, 0x41, 0x2e, 0x0a, 0x19, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x12, 0x9d, 0x02, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x43, 0x65, 0x72, 0x74, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, + 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x47, 0x65, 0x74, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x42, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, + 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x65, + 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x5e, 0x12, + 0x5c, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, + 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x2f, + 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xb0, 0x02, 0x0a, 0x1e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x65, 0x72, + 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x73, 0x12, 0x4e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, + 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x4f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, + 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x6d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x5e, + 0x12, 0x5c, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, + 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x69, 0x65, 0x73, + 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x73, 0xda, 0x41, + 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x8d, 0x03, 0x0a, 0x1f, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4f, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, + 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x65, 0x72, 0x74, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, + 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xf9, 0x01, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x97, 0x01, 0x32, 0x78, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, + 0x7b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x76, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x2e, 0x6e, 0x61, 0x6d, + 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, + 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2f, + 0x2a, 0x2f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, + 0x1b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x76, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0xda, 0x41, 0x27, 0x63, + 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x76, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0xca, 0x41, 0x2e, 0x0a, 0x19, 0x43, 0x65, 0x72, 0x74, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0xa1, 0x02, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x12, 0x44, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, + 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa3, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4b, 0x22, 0x38, + 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, + 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, + 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x3a, 0x0f, 0x72, 0x65, 0x75, 0x73, 0x61, 0x62, + 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0xda, 0x41, 0x29, 0x70, 0x61, 0x72, 0x65, + 0x6e, 0x74, 0x2c, 0x72, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x2c, 0x72, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x5f, 0x69, 0x64, 0xca, 0x41, 0x23, 0x0a, 0x0e, 0x52, 0x65, 0x75, 0x73, 0x61, 0x62, + 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x9a, 0x02, 0x0a, 0x14, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x12, 0x44, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, + 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, + 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x9c, 0x01, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x3a, 0x2a, 0x38, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, + 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x75, 0x73, 0x61, 0x62, + 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0xca, 0x41, 0x52, 0x0a, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x39, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, + 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0xd8, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, + 0x52, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x41, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, + 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x75, 0x73, + 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, + 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x75, 0x73, + 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x47, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x3a, 0x12, 0x38, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, + 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x75, 0x73, 0x61, 0x62, + 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0xeb, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x75, 0x73, + 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x43, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, + 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x75, 0x73, 0x61, 0x62, + 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x44, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, + 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, + 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x49, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3a, 0x12, 0x38, + 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, + 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, + 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, + 0x74, 0x12, 0xa3, 0x02, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x75, 0x73, + 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x44, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, + 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x75, 0x73, 0x61, + 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, + 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, + 0xa5, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x5b, 0x32, 0x48, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, + 0x72, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2f, + 0x2a, 0x7d, 0x3a, 0x0f, 0x72, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0xda, 0x41, 0x1b, 0x72, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, + 0x6b, 0xca, 0x41, 0x23, 0x0a, 0x0e, 0x52, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x12, 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x4c, 0xca, 0x41, 0x18, 0x70, 0x72, 0x69, 0x76, + 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, + 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, + 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0xbe, 0x01, 0x0a, 0x2b, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, + 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0e, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x43, 0x61, + 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x50, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2f, 0x70, 0x72, + 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, + 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x63, 0x61, 0xf8, 0x01, 0x01, 0xaa, 0x02, 0x27, 0x47, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x65, 0x63, 0x75, + 0x72, 0x69, 0x74, 0x79, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x43, 0x41, 0x2e, 0x56, + 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_security_privateca_v1beta1_service_proto_rawDescOnce sync.Once + file_google_cloud_security_privateca_v1beta1_service_proto_rawDescData = file_google_cloud_security_privateca_v1beta1_service_proto_rawDesc +) + +func file_google_cloud_security_privateca_v1beta1_service_proto_rawDescGZIP() []byte { + file_google_cloud_security_privateca_v1beta1_service_proto_rawDescOnce.Do(func() { + file_google_cloud_security_privateca_v1beta1_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_security_privateca_v1beta1_service_proto_rawDescData) + }) + return file_google_cloud_security_privateca_v1beta1_service_proto_rawDescData +} + +var file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes = make([]protoimpl.MessageInfo, 30) +var file_google_cloud_security_privateca_v1beta1_service_proto_goTypes = []interface{}{ + (*CreateCertificateRequest)(nil), // 0: google.cloud.security.privateca.v1beta1.CreateCertificateRequest + (*GetCertificateRequest)(nil), // 1: google.cloud.security.privateca.v1beta1.GetCertificateRequest + (*ListCertificatesRequest)(nil), // 2: google.cloud.security.privateca.v1beta1.ListCertificatesRequest + (*ListCertificatesResponse)(nil), // 3: google.cloud.security.privateca.v1beta1.ListCertificatesResponse + (*RevokeCertificateRequest)(nil), // 4: google.cloud.security.privateca.v1beta1.RevokeCertificateRequest + (*UpdateCertificateRequest)(nil), // 5: google.cloud.security.privateca.v1beta1.UpdateCertificateRequest + (*ActivateCertificateAuthorityRequest)(nil), // 6: google.cloud.security.privateca.v1beta1.ActivateCertificateAuthorityRequest + (*CreateCertificateAuthorityRequest)(nil), // 7: google.cloud.security.privateca.v1beta1.CreateCertificateAuthorityRequest + (*DisableCertificateAuthorityRequest)(nil), // 8: google.cloud.security.privateca.v1beta1.DisableCertificateAuthorityRequest + (*EnableCertificateAuthorityRequest)(nil), // 9: google.cloud.security.privateca.v1beta1.EnableCertificateAuthorityRequest + (*FetchCertificateAuthorityCsrRequest)(nil), // 10: google.cloud.security.privateca.v1beta1.FetchCertificateAuthorityCsrRequest + (*FetchCertificateAuthorityCsrResponse)(nil), // 11: google.cloud.security.privateca.v1beta1.FetchCertificateAuthorityCsrResponse + (*GetCertificateAuthorityRequest)(nil), // 12: google.cloud.security.privateca.v1beta1.GetCertificateAuthorityRequest + (*ListCertificateAuthoritiesRequest)(nil), // 13: google.cloud.security.privateca.v1beta1.ListCertificateAuthoritiesRequest + (*ListCertificateAuthoritiesResponse)(nil), // 14: google.cloud.security.privateca.v1beta1.ListCertificateAuthoritiesResponse + (*RestoreCertificateAuthorityRequest)(nil), // 15: google.cloud.security.privateca.v1beta1.RestoreCertificateAuthorityRequest + (*ScheduleDeleteCertificateAuthorityRequest)(nil), // 16: google.cloud.security.privateca.v1beta1.ScheduleDeleteCertificateAuthorityRequest + (*UpdateCertificateAuthorityRequest)(nil), // 17: google.cloud.security.privateca.v1beta1.UpdateCertificateAuthorityRequest + (*CreateCertificateRevocationListRequest)(nil), // 18: google.cloud.security.privateca.v1beta1.CreateCertificateRevocationListRequest + (*GetCertificateRevocationListRequest)(nil), // 19: google.cloud.security.privateca.v1beta1.GetCertificateRevocationListRequest + (*ListCertificateRevocationListsRequest)(nil), // 20: google.cloud.security.privateca.v1beta1.ListCertificateRevocationListsRequest + (*ListCertificateRevocationListsResponse)(nil), // 21: google.cloud.security.privateca.v1beta1.ListCertificateRevocationListsResponse + (*UpdateCertificateRevocationListRequest)(nil), // 22: google.cloud.security.privateca.v1beta1.UpdateCertificateRevocationListRequest + (*CreateReusableConfigRequest)(nil), // 23: google.cloud.security.privateca.v1beta1.CreateReusableConfigRequest + (*DeleteReusableConfigRequest)(nil), // 24: google.cloud.security.privateca.v1beta1.DeleteReusableConfigRequest + (*GetReusableConfigRequest)(nil), // 25: google.cloud.security.privateca.v1beta1.GetReusableConfigRequest + (*ListReusableConfigsRequest)(nil), // 26: google.cloud.security.privateca.v1beta1.ListReusableConfigsRequest + (*ListReusableConfigsResponse)(nil), // 27: google.cloud.security.privateca.v1beta1.ListReusableConfigsResponse + (*UpdateReusableConfigRequest)(nil), // 28: google.cloud.security.privateca.v1beta1.UpdateReusableConfigRequest + (*OperationMetadata)(nil), // 29: google.cloud.security.privateca.v1beta1.OperationMetadata + (*Certificate)(nil), // 30: google.cloud.security.privateca.v1beta1.Certificate + (RevocationReason)(0), // 31: google.cloud.security.privateca.v1beta1.RevocationReason + (*field_mask.FieldMask)(nil), // 32: google.protobuf.FieldMask + (*SubordinateConfig)(nil), // 33: google.cloud.security.privateca.v1beta1.SubordinateConfig + (*CertificateAuthority)(nil), // 34: google.cloud.security.privateca.v1beta1.CertificateAuthority + (*CertificateRevocationList)(nil), // 35: google.cloud.security.privateca.v1beta1.CertificateRevocationList + (*ReusableConfig)(nil), // 36: google.cloud.security.privateca.v1beta1.ReusableConfig + (*timestamp.Timestamp)(nil), // 37: google.protobuf.Timestamp + (*longrunning.Operation)(nil), // 38: google.longrunning.Operation +} +var file_google_cloud_security_privateca_v1beta1_service_proto_depIdxs = []int32{ + 30, // 0: google.cloud.security.privateca.v1beta1.CreateCertificateRequest.certificate:type_name -> google.cloud.security.privateca.v1beta1.Certificate + 30, // 1: google.cloud.security.privateca.v1beta1.ListCertificatesResponse.certificates:type_name -> google.cloud.security.privateca.v1beta1.Certificate + 31, // 2: google.cloud.security.privateca.v1beta1.RevokeCertificateRequest.reason:type_name -> google.cloud.security.privateca.v1beta1.RevocationReason + 30, // 3: google.cloud.security.privateca.v1beta1.UpdateCertificateRequest.certificate:type_name -> google.cloud.security.privateca.v1beta1.Certificate + 32, // 4: google.cloud.security.privateca.v1beta1.UpdateCertificateRequest.update_mask:type_name -> google.protobuf.FieldMask + 33, // 5: google.cloud.security.privateca.v1beta1.ActivateCertificateAuthorityRequest.subordinate_config:type_name -> google.cloud.security.privateca.v1beta1.SubordinateConfig + 34, // 6: google.cloud.security.privateca.v1beta1.CreateCertificateAuthorityRequest.certificate_authority:type_name -> google.cloud.security.privateca.v1beta1.CertificateAuthority + 34, // 7: google.cloud.security.privateca.v1beta1.ListCertificateAuthoritiesResponse.certificate_authorities:type_name -> google.cloud.security.privateca.v1beta1.CertificateAuthority + 34, // 8: google.cloud.security.privateca.v1beta1.UpdateCertificateAuthorityRequest.certificate_authority:type_name -> google.cloud.security.privateca.v1beta1.CertificateAuthority + 32, // 9: google.cloud.security.privateca.v1beta1.UpdateCertificateAuthorityRequest.update_mask:type_name -> google.protobuf.FieldMask + 35, // 10: google.cloud.security.privateca.v1beta1.CreateCertificateRevocationListRequest.certificate_revocation_list:type_name -> google.cloud.security.privateca.v1beta1.CertificateRevocationList + 35, // 11: google.cloud.security.privateca.v1beta1.ListCertificateRevocationListsResponse.certificate_revocation_lists:type_name -> google.cloud.security.privateca.v1beta1.CertificateRevocationList + 35, // 12: google.cloud.security.privateca.v1beta1.UpdateCertificateRevocationListRequest.certificate_revocation_list:type_name -> google.cloud.security.privateca.v1beta1.CertificateRevocationList + 32, // 13: google.cloud.security.privateca.v1beta1.UpdateCertificateRevocationListRequest.update_mask:type_name -> google.protobuf.FieldMask + 36, // 14: google.cloud.security.privateca.v1beta1.CreateReusableConfigRequest.reusable_config:type_name -> google.cloud.security.privateca.v1beta1.ReusableConfig + 36, // 15: google.cloud.security.privateca.v1beta1.ListReusableConfigsResponse.reusable_configs:type_name -> google.cloud.security.privateca.v1beta1.ReusableConfig + 36, // 16: google.cloud.security.privateca.v1beta1.UpdateReusableConfigRequest.reusable_config:type_name -> google.cloud.security.privateca.v1beta1.ReusableConfig + 32, // 17: google.cloud.security.privateca.v1beta1.UpdateReusableConfigRequest.update_mask:type_name -> google.protobuf.FieldMask + 37, // 18: google.cloud.security.privateca.v1beta1.OperationMetadata.create_time:type_name -> google.protobuf.Timestamp + 37, // 19: google.cloud.security.privateca.v1beta1.OperationMetadata.end_time:type_name -> google.protobuf.Timestamp + 0, // 20: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.CreateCertificate:input_type -> google.cloud.security.privateca.v1beta1.CreateCertificateRequest + 1, // 21: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.GetCertificate:input_type -> google.cloud.security.privateca.v1beta1.GetCertificateRequest + 2, // 22: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ListCertificates:input_type -> google.cloud.security.privateca.v1beta1.ListCertificatesRequest + 4, // 23: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.RevokeCertificate:input_type -> google.cloud.security.privateca.v1beta1.RevokeCertificateRequest + 5, // 24: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.UpdateCertificate:input_type -> google.cloud.security.privateca.v1beta1.UpdateCertificateRequest + 6, // 25: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ActivateCertificateAuthority:input_type -> google.cloud.security.privateca.v1beta1.ActivateCertificateAuthorityRequest + 7, // 26: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.CreateCertificateAuthority:input_type -> google.cloud.security.privateca.v1beta1.CreateCertificateAuthorityRequest + 8, // 27: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.DisableCertificateAuthority:input_type -> google.cloud.security.privateca.v1beta1.DisableCertificateAuthorityRequest + 9, // 28: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.EnableCertificateAuthority:input_type -> google.cloud.security.privateca.v1beta1.EnableCertificateAuthorityRequest + 10, // 29: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.FetchCertificateAuthorityCsr:input_type -> google.cloud.security.privateca.v1beta1.FetchCertificateAuthorityCsrRequest + 12, // 30: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.GetCertificateAuthority:input_type -> google.cloud.security.privateca.v1beta1.GetCertificateAuthorityRequest + 13, // 31: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ListCertificateAuthorities:input_type -> google.cloud.security.privateca.v1beta1.ListCertificateAuthoritiesRequest + 15, // 32: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.RestoreCertificateAuthority:input_type -> google.cloud.security.privateca.v1beta1.RestoreCertificateAuthorityRequest + 16, // 33: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ScheduleDeleteCertificateAuthority:input_type -> google.cloud.security.privateca.v1beta1.ScheduleDeleteCertificateAuthorityRequest + 17, // 34: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.UpdateCertificateAuthority:input_type -> google.cloud.security.privateca.v1beta1.UpdateCertificateAuthorityRequest + 18, // 35: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.CreateCertificateRevocationList:input_type -> google.cloud.security.privateca.v1beta1.CreateCertificateRevocationListRequest + 19, // 36: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.GetCertificateRevocationList:input_type -> google.cloud.security.privateca.v1beta1.GetCertificateRevocationListRequest + 20, // 37: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ListCertificateRevocationLists:input_type -> google.cloud.security.privateca.v1beta1.ListCertificateRevocationListsRequest + 22, // 38: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.UpdateCertificateRevocationList:input_type -> google.cloud.security.privateca.v1beta1.UpdateCertificateRevocationListRequest + 23, // 39: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.CreateReusableConfig:input_type -> google.cloud.security.privateca.v1beta1.CreateReusableConfigRequest + 24, // 40: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.DeleteReusableConfig:input_type -> google.cloud.security.privateca.v1beta1.DeleteReusableConfigRequest + 25, // 41: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.GetReusableConfig:input_type -> google.cloud.security.privateca.v1beta1.GetReusableConfigRequest + 26, // 42: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ListReusableConfigs:input_type -> google.cloud.security.privateca.v1beta1.ListReusableConfigsRequest + 28, // 43: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.UpdateReusableConfig:input_type -> google.cloud.security.privateca.v1beta1.UpdateReusableConfigRequest + 30, // 44: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.CreateCertificate:output_type -> google.cloud.security.privateca.v1beta1.Certificate + 30, // 45: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.GetCertificate:output_type -> google.cloud.security.privateca.v1beta1.Certificate + 3, // 46: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ListCertificates:output_type -> google.cloud.security.privateca.v1beta1.ListCertificatesResponse + 30, // 47: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.RevokeCertificate:output_type -> google.cloud.security.privateca.v1beta1.Certificate + 30, // 48: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.UpdateCertificate:output_type -> google.cloud.security.privateca.v1beta1.Certificate + 38, // 49: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ActivateCertificateAuthority:output_type -> google.longrunning.Operation + 38, // 50: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.CreateCertificateAuthority:output_type -> google.longrunning.Operation + 38, // 51: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.DisableCertificateAuthority:output_type -> google.longrunning.Operation + 38, // 52: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.EnableCertificateAuthority:output_type -> google.longrunning.Operation + 11, // 53: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.FetchCertificateAuthorityCsr:output_type -> google.cloud.security.privateca.v1beta1.FetchCertificateAuthorityCsrResponse + 34, // 54: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.GetCertificateAuthority:output_type -> google.cloud.security.privateca.v1beta1.CertificateAuthority + 14, // 55: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ListCertificateAuthorities:output_type -> google.cloud.security.privateca.v1beta1.ListCertificateAuthoritiesResponse + 38, // 56: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.RestoreCertificateAuthority:output_type -> google.longrunning.Operation + 38, // 57: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ScheduleDeleteCertificateAuthority:output_type -> google.longrunning.Operation + 38, // 58: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.UpdateCertificateAuthority:output_type -> google.longrunning.Operation + 38, // 59: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.CreateCertificateRevocationList:output_type -> google.longrunning.Operation + 35, // 60: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.GetCertificateRevocationList:output_type -> google.cloud.security.privateca.v1beta1.CertificateRevocationList + 21, // 61: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ListCertificateRevocationLists:output_type -> google.cloud.security.privateca.v1beta1.ListCertificateRevocationListsResponse + 38, // 62: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.UpdateCertificateRevocationList:output_type -> google.longrunning.Operation + 38, // 63: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.CreateReusableConfig:output_type -> google.longrunning.Operation + 38, // 64: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.DeleteReusableConfig:output_type -> google.longrunning.Operation + 36, // 65: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.GetReusableConfig:output_type -> google.cloud.security.privateca.v1beta1.ReusableConfig + 27, // 66: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ListReusableConfigs:output_type -> google.cloud.security.privateca.v1beta1.ListReusableConfigsResponse + 38, // 67: google.cloud.security.privateca.v1beta1.CertificateAuthorityService.UpdateReusableConfig:output_type -> google.longrunning.Operation + 44, // [44:68] is the sub-list for method output_type + 20, // [20:44] is the sub-list for method input_type + 20, // [20:20] is the sub-list for extension type_name + 20, // [20:20] is the sub-list for extension extendee + 0, // [0:20] is the sub-list for field type_name +} + +func init() { file_google_cloud_security_privateca_v1beta1_service_proto_init() } +func file_google_cloud_security_privateca_v1beta1_service_proto_init() { + if File_google_cloud_security_privateca_v1beta1_service_proto != nil { + return + } + file_google_cloud_security_privateca_v1beta1_resources_proto_init() + if !protoimpl.UnsafeEnabled { + file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateCertificateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCertificateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListCertificatesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListCertificatesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RevokeCertificateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateCertificateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ActivateCertificateAuthorityRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateCertificateAuthorityRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisableCertificateAuthorityRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnableCertificateAuthorityRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FetchCertificateAuthorityCsrRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FetchCertificateAuthorityCsrResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCertificateAuthorityRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListCertificateAuthoritiesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListCertificateAuthoritiesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RestoreCertificateAuthorityRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ScheduleDeleteCertificateAuthorityRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateCertificateAuthorityRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateCertificateRevocationListRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCertificateRevocationListRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListCertificateRevocationListsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListCertificateRevocationListsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateCertificateRevocationListRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateReusableConfigRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteReusableConfigRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetReusableConfigRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListReusableConfigsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListReusableConfigsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateReusableConfigRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OperationMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_security_privateca_v1beta1_service_proto_rawDesc, + NumEnums: 0, + NumMessages: 30, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_google_cloud_security_privateca_v1beta1_service_proto_goTypes, + DependencyIndexes: file_google_cloud_security_privateca_v1beta1_service_proto_depIdxs, + MessageInfos: file_google_cloud_security_privateca_v1beta1_service_proto_msgTypes, + }.Build() + File_google_cloud_security_privateca_v1beta1_service_proto = out.File + file_google_cloud_security_privateca_v1beta1_service_proto_rawDesc = nil + file_google_cloud_security_privateca_v1beta1_service_proto_goTypes = nil + file_google_cloud_security_privateca_v1beta1_service_proto_depIdxs = nil +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConnInterface + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion6 + +// CertificateAuthorityServiceClient is the client API for CertificateAuthorityService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type CertificateAuthorityServiceClient interface { + // Create a new [Certificate][google.cloud.security.privateca.v1beta1.Certificate] in a given Project, Location from a particular + // [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. + CreateCertificate(ctx context.Context, in *CreateCertificateRequest, opts ...grpc.CallOption) (*Certificate, error) + // Returns a [Certificate][google.cloud.security.privateca.v1beta1.Certificate]. + GetCertificate(ctx context.Context, in *GetCertificateRequest, opts ...grpc.CallOption) (*Certificate, error) + // Lists [Certificates][google.cloud.security.privateca.v1beta1.Certificate]. + ListCertificates(ctx context.Context, in *ListCertificatesRequest, opts ...grpc.CallOption) (*ListCertificatesResponse, error) + // Revoke a [Certificate][google.cloud.security.privateca.v1beta1.Certificate]. + RevokeCertificate(ctx context.Context, in *RevokeCertificateRequest, opts ...grpc.CallOption) (*Certificate, error) + // Update a [Certificate][google.cloud.security.privateca.v1beta1.Certificate]. + UpdateCertificate(ctx context.Context, in *UpdateCertificateRequest, opts ...grpc.CallOption) (*Certificate, error) + // Activate a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] that is in state + // [PENDING_ACTIVATION][google.cloud.security.privateca.v1beta1.CertificateAuthority.State.PENDING_ACTIVATION] and is + // of type [SUBORDINATE][google.cloud.security.privateca.v1beta1.CertificateAuthority.Type.SUBORDINATE]. After the + // parent Certificate Authority signs a certificate signing request from + // [FetchCertificateAuthorityCsr][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.FetchCertificateAuthorityCsr], this method can complete the activation + // process. + ActivateCertificateAuthority(ctx context.Context, in *ActivateCertificateAuthorityRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) + // Create a new [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] in a given Project and Location. + CreateCertificateAuthority(ctx context.Context, in *CreateCertificateAuthorityRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) + // Disable a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. + DisableCertificateAuthority(ctx context.Context, in *DisableCertificateAuthorityRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) + // Enable a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. + EnableCertificateAuthority(ctx context.Context, in *EnableCertificateAuthorityRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) + // Fetch a certificate signing request (CSR) from a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] + // that is in state + // [PENDING_ACTIVATION][google.cloud.security.privateca.v1beta1.CertificateAuthority.State.PENDING_ACTIVATION] and is + // of type [SUBORDINATE][google.cloud.security.privateca.v1beta1.CertificateAuthority.Type.SUBORDINATE]. The CSR must + // then be signed by the desired parent Certificate Authority, which could be + // another [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] resource, or could be an on-prem + // certificate authority. See also [ActivateCertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ActivateCertificateAuthority]. + FetchCertificateAuthorityCsr(ctx context.Context, in *FetchCertificateAuthorityCsrRequest, opts ...grpc.CallOption) (*FetchCertificateAuthorityCsrResponse, error) + // Returns a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. + GetCertificateAuthority(ctx context.Context, in *GetCertificateAuthorityRequest, opts ...grpc.CallOption) (*CertificateAuthority, error) + // Lists [CertificateAuthorities][google.cloud.security.privateca.v1beta1.CertificateAuthority]. + ListCertificateAuthorities(ctx context.Context, in *ListCertificateAuthoritiesRequest, opts ...grpc.CallOption) (*ListCertificateAuthoritiesResponse, error) + // Restore a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] that is scheduled for deletion. + RestoreCertificateAuthority(ctx context.Context, in *RestoreCertificateAuthorityRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) + // Schedule a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] for deletion. + ScheduleDeleteCertificateAuthority(ctx context.Context, in *ScheduleDeleteCertificateAuthorityRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) + // Update a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. + UpdateCertificateAuthority(ctx context.Context, in *UpdateCertificateAuthorityRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) + // Create a new [CertificateRevocationList][google.cloud.security.privateca.v1beta1.CertificateRevocationList] in a given Project, Location + // for a particular [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. + CreateCertificateRevocationList(ctx context.Context, in *CreateCertificateRevocationListRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) + // Returns a [CertificateRevocationList][google.cloud.security.privateca.v1beta1.CertificateRevocationList]. + GetCertificateRevocationList(ctx context.Context, in *GetCertificateRevocationListRequest, opts ...grpc.CallOption) (*CertificateRevocationList, error) + // Lists [CertificateRevocationLists][google.cloud.security.privateca.v1beta1.CertificateRevocationList]. + ListCertificateRevocationLists(ctx context.Context, in *ListCertificateRevocationListsRequest, opts ...grpc.CallOption) (*ListCertificateRevocationListsResponse, error) + // Update a [CertificateRevocationList][google.cloud.security.privateca.v1beta1.CertificateRevocationList]. + UpdateCertificateRevocationList(ctx context.Context, in *UpdateCertificateRevocationListRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) + // Create a new [ReusableConfig][google.cloud.security.privateca.v1beta1.ReusableConfig] in a given Project and Location. + CreateReusableConfig(ctx context.Context, in *CreateReusableConfigRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) + // DeleteReusableConfig deletes a [ReusableConfig][google.cloud.security.privateca.v1beta1.ReusableConfig]. + DeleteReusableConfig(ctx context.Context, in *DeleteReusableConfigRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) + // Returns a [ReusableConfig][google.cloud.security.privateca.v1beta1.ReusableConfig]. + GetReusableConfig(ctx context.Context, in *GetReusableConfigRequest, opts ...grpc.CallOption) (*ReusableConfig, error) + // Lists [ReusableConfigs][google.cloud.security.privateca.v1beta1.ReusableConfig]. + ListReusableConfigs(ctx context.Context, in *ListReusableConfigsRequest, opts ...grpc.CallOption) (*ListReusableConfigsResponse, error) + // Update a [ReusableConfig][google.cloud.security.privateca.v1beta1.ReusableConfig]. + UpdateReusableConfig(ctx context.Context, in *UpdateReusableConfigRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) +} + +type certificateAuthorityServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewCertificateAuthorityServiceClient(cc grpc.ClientConnInterface) CertificateAuthorityServiceClient { + return &certificateAuthorityServiceClient{cc} +} + +func (c *certificateAuthorityServiceClient) CreateCertificate(ctx context.Context, in *CreateCertificateRequest, opts ...grpc.CallOption) (*Certificate, error) { + out := new(Certificate) + err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/CreateCertificate", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *certificateAuthorityServiceClient) GetCertificate(ctx context.Context, in *GetCertificateRequest, opts ...grpc.CallOption) (*Certificate, error) { + out := new(Certificate) + err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/GetCertificate", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *certificateAuthorityServiceClient) ListCertificates(ctx context.Context, in *ListCertificatesRequest, opts ...grpc.CallOption) (*ListCertificatesResponse, error) { + out := new(ListCertificatesResponse) + err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/ListCertificates", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *certificateAuthorityServiceClient) RevokeCertificate(ctx context.Context, in *RevokeCertificateRequest, opts ...grpc.CallOption) (*Certificate, error) { + out := new(Certificate) + err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/RevokeCertificate", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *certificateAuthorityServiceClient) UpdateCertificate(ctx context.Context, in *UpdateCertificateRequest, opts ...grpc.CallOption) (*Certificate, error) { + out := new(Certificate) + err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/UpdateCertificate", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *certificateAuthorityServiceClient) ActivateCertificateAuthority(ctx context.Context, in *ActivateCertificateAuthorityRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { + out := new(longrunning.Operation) + err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/ActivateCertificateAuthority", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *certificateAuthorityServiceClient) CreateCertificateAuthority(ctx context.Context, in *CreateCertificateAuthorityRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { + out := new(longrunning.Operation) + err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/CreateCertificateAuthority", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *certificateAuthorityServiceClient) DisableCertificateAuthority(ctx context.Context, in *DisableCertificateAuthorityRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { + out := new(longrunning.Operation) + err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/DisableCertificateAuthority", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *certificateAuthorityServiceClient) EnableCertificateAuthority(ctx context.Context, in *EnableCertificateAuthorityRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { + out := new(longrunning.Operation) + err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/EnableCertificateAuthority", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *certificateAuthorityServiceClient) FetchCertificateAuthorityCsr(ctx context.Context, in *FetchCertificateAuthorityCsrRequest, opts ...grpc.CallOption) (*FetchCertificateAuthorityCsrResponse, error) { + out := new(FetchCertificateAuthorityCsrResponse) + err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/FetchCertificateAuthorityCsr", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *certificateAuthorityServiceClient) GetCertificateAuthority(ctx context.Context, in *GetCertificateAuthorityRequest, opts ...grpc.CallOption) (*CertificateAuthority, error) { + out := new(CertificateAuthority) + err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/GetCertificateAuthority", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *certificateAuthorityServiceClient) ListCertificateAuthorities(ctx context.Context, in *ListCertificateAuthoritiesRequest, opts ...grpc.CallOption) (*ListCertificateAuthoritiesResponse, error) { + out := new(ListCertificateAuthoritiesResponse) + err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/ListCertificateAuthorities", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *certificateAuthorityServiceClient) RestoreCertificateAuthority(ctx context.Context, in *RestoreCertificateAuthorityRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { + out := new(longrunning.Operation) + err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/RestoreCertificateAuthority", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *certificateAuthorityServiceClient) ScheduleDeleteCertificateAuthority(ctx context.Context, in *ScheduleDeleteCertificateAuthorityRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { + out := new(longrunning.Operation) + err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/ScheduleDeleteCertificateAuthority", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *certificateAuthorityServiceClient) UpdateCertificateAuthority(ctx context.Context, in *UpdateCertificateAuthorityRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { + out := new(longrunning.Operation) + err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/UpdateCertificateAuthority", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *certificateAuthorityServiceClient) CreateCertificateRevocationList(ctx context.Context, in *CreateCertificateRevocationListRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { + out := new(longrunning.Operation) + err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/CreateCertificateRevocationList", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *certificateAuthorityServiceClient) GetCertificateRevocationList(ctx context.Context, in *GetCertificateRevocationListRequest, opts ...grpc.CallOption) (*CertificateRevocationList, error) { + out := new(CertificateRevocationList) + err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/GetCertificateRevocationList", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *certificateAuthorityServiceClient) ListCertificateRevocationLists(ctx context.Context, in *ListCertificateRevocationListsRequest, opts ...grpc.CallOption) (*ListCertificateRevocationListsResponse, error) { + out := new(ListCertificateRevocationListsResponse) + err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/ListCertificateRevocationLists", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *certificateAuthorityServiceClient) UpdateCertificateRevocationList(ctx context.Context, in *UpdateCertificateRevocationListRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { + out := new(longrunning.Operation) + err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/UpdateCertificateRevocationList", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *certificateAuthorityServiceClient) CreateReusableConfig(ctx context.Context, in *CreateReusableConfigRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { + out := new(longrunning.Operation) + err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/CreateReusableConfig", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *certificateAuthorityServiceClient) DeleteReusableConfig(ctx context.Context, in *DeleteReusableConfigRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { + out := new(longrunning.Operation) + err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/DeleteReusableConfig", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *certificateAuthorityServiceClient) GetReusableConfig(ctx context.Context, in *GetReusableConfigRequest, opts ...grpc.CallOption) (*ReusableConfig, error) { + out := new(ReusableConfig) + err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/GetReusableConfig", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *certificateAuthorityServiceClient) ListReusableConfigs(ctx context.Context, in *ListReusableConfigsRequest, opts ...grpc.CallOption) (*ListReusableConfigsResponse, error) { + out := new(ListReusableConfigsResponse) + err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/ListReusableConfigs", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *certificateAuthorityServiceClient) UpdateReusableConfig(ctx context.Context, in *UpdateReusableConfigRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { + out := new(longrunning.Operation) + err := c.cc.Invoke(ctx, "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/UpdateReusableConfig", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// CertificateAuthorityServiceServer is the server API for CertificateAuthorityService service. +type CertificateAuthorityServiceServer interface { + // Create a new [Certificate][google.cloud.security.privateca.v1beta1.Certificate] in a given Project, Location from a particular + // [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. + CreateCertificate(context.Context, *CreateCertificateRequest) (*Certificate, error) + // Returns a [Certificate][google.cloud.security.privateca.v1beta1.Certificate]. + GetCertificate(context.Context, *GetCertificateRequest) (*Certificate, error) + // Lists [Certificates][google.cloud.security.privateca.v1beta1.Certificate]. + ListCertificates(context.Context, *ListCertificatesRequest) (*ListCertificatesResponse, error) + // Revoke a [Certificate][google.cloud.security.privateca.v1beta1.Certificate]. + RevokeCertificate(context.Context, *RevokeCertificateRequest) (*Certificate, error) + // Update a [Certificate][google.cloud.security.privateca.v1beta1.Certificate]. + UpdateCertificate(context.Context, *UpdateCertificateRequest) (*Certificate, error) + // Activate a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] that is in state + // [PENDING_ACTIVATION][google.cloud.security.privateca.v1beta1.CertificateAuthority.State.PENDING_ACTIVATION] and is + // of type [SUBORDINATE][google.cloud.security.privateca.v1beta1.CertificateAuthority.Type.SUBORDINATE]. After the + // parent Certificate Authority signs a certificate signing request from + // [FetchCertificateAuthorityCsr][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.FetchCertificateAuthorityCsr], this method can complete the activation + // process. + ActivateCertificateAuthority(context.Context, *ActivateCertificateAuthorityRequest) (*longrunning.Operation, error) + // Create a new [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] in a given Project and Location. + CreateCertificateAuthority(context.Context, *CreateCertificateAuthorityRequest) (*longrunning.Operation, error) + // Disable a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. + DisableCertificateAuthority(context.Context, *DisableCertificateAuthorityRequest) (*longrunning.Operation, error) + // Enable a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. + EnableCertificateAuthority(context.Context, *EnableCertificateAuthorityRequest) (*longrunning.Operation, error) + // Fetch a certificate signing request (CSR) from a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] + // that is in state + // [PENDING_ACTIVATION][google.cloud.security.privateca.v1beta1.CertificateAuthority.State.PENDING_ACTIVATION] and is + // of type [SUBORDINATE][google.cloud.security.privateca.v1beta1.CertificateAuthority.Type.SUBORDINATE]. The CSR must + // then be signed by the desired parent Certificate Authority, which could be + // another [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] resource, or could be an on-prem + // certificate authority. See also [ActivateCertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ActivateCertificateAuthority]. + FetchCertificateAuthorityCsr(context.Context, *FetchCertificateAuthorityCsrRequest) (*FetchCertificateAuthorityCsrResponse, error) + // Returns a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. + GetCertificateAuthority(context.Context, *GetCertificateAuthorityRequest) (*CertificateAuthority, error) + // Lists [CertificateAuthorities][google.cloud.security.privateca.v1beta1.CertificateAuthority]. + ListCertificateAuthorities(context.Context, *ListCertificateAuthoritiesRequest) (*ListCertificateAuthoritiesResponse, error) + // Restore a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] that is scheduled for deletion. + RestoreCertificateAuthority(context.Context, *RestoreCertificateAuthorityRequest) (*longrunning.Operation, error) + // Schedule a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] for deletion. + ScheduleDeleteCertificateAuthority(context.Context, *ScheduleDeleteCertificateAuthorityRequest) (*longrunning.Operation, error) + // Update a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. + UpdateCertificateAuthority(context.Context, *UpdateCertificateAuthorityRequest) (*longrunning.Operation, error) + // Create a new [CertificateRevocationList][google.cloud.security.privateca.v1beta1.CertificateRevocationList] in a given Project, Location + // for a particular [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. + CreateCertificateRevocationList(context.Context, *CreateCertificateRevocationListRequest) (*longrunning.Operation, error) + // Returns a [CertificateRevocationList][google.cloud.security.privateca.v1beta1.CertificateRevocationList]. + GetCertificateRevocationList(context.Context, *GetCertificateRevocationListRequest) (*CertificateRevocationList, error) + // Lists [CertificateRevocationLists][google.cloud.security.privateca.v1beta1.CertificateRevocationList]. + ListCertificateRevocationLists(context.Context, *ListCertificateRevocationListsRequest) (*ListCertificateRevocationListsResponse, error) + // Update a [CertificateRevocationList][google.cloud.security.privateca.v1beta1.CertificateRevocationList]. + UpdateCertificateRevocationList(context.Context, *UpdateCertificateRevocationListRequest) (*longrunning.Operation, error) + // Create a new [ReusableConfig][google.cloud.security.privateca.v1beta1.ReusableConfig] in a given Project and Location. + CreateReusableConfig(context.Context, *CreateReusableConfigRequest) (*longrunning.Operation, error) + // DeleteReusableConfig deletes a [ReusableConfig][google.cloud.security.privateca.v1beta1.ReusableConfig]. + DeleteReusableConfig(context.Context, *DeleteReusableConfigRequest) (*longrunning.Operation, error) + // Returns a [ReusableConfig][google.cloud.security.privateca.v1beta1.ReusableConfig]. + GetReusableConfig(context.Context, *GetReusableConfigRequest) (*ReusableConfig, error) + // Lists [ReusableConfigs][google.cloud.security.privateca.v1beta1.ReusableConfig]. + ListReusableConfigs(context.Context, *ListReusableConfigsRequest) (*ListReusableConfigsResponse, error) + // Update a [ReusableConfig][google.cloud.security.privateca.v1beta1.ReusableConfig]. + UpdateReusableConfig(context.Context, *UpdateReusableConfigRequest) (*longrunning.Operation, error) +} + +// UnimplementedCertificateAuthorityServiceServer can be embedded to have forward compatible implementations. +type UnimplementedCertificateAuthorityServiceServer struct { +} + +func (*UnimplementedCertificateAuthorityServiceServer) CreateCertificate(context.Context, *CreateCertificateRequest) (*Certificate, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateCertificate not implemented") +} +func (*UnimplementedCertificateAuthorityServiceServer) GetCertificate(context.Context, *GetCertificateRequest) (*Certificate, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetCertificate not implemented") +} +func (*UnimplementedCertificateAuthorityServiceServer) ListCertificates(context.Context, *ListCertificatesRequest) (*ListCertificatesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListCertificates not implemented") +} +func (*UnimplementedCertificateAuthorityServiceServer) RevokeCertificate(context.Context, *RevokeCertificateRequest) (*Certificate, error) { + return nil, status.Errorf(codes.Unimplemented, "method RevokeCertificate not implemented") +} +func (*UnimplementedCertificateAuthorityServiceServer) UpdateCertificate(context.Context, *UpdateCertificateRequest) (*Certificate, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateCertificate not implemented") +} +func (*UnimplementedCertificateAuthorityServiceServer) ActivateCertificateAuthority(context.Context, *ActivateCertificateAuthorityRequest) (*longrunning.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method ActivateCertificateAuthority not implemented") +} +func (*UnimplementedCertificateAuthorityServiceServer) CreateCertificateAuthority(context.Context, *CreateCertificateAuthorityRequest) (*longrunning.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateCertificateAuthority not implemented") +} +func (*UnimplementedCertificateAuthorityServiceServer) DisableCertificateAuthority(context.Context, *DisableCertificateAuthorityRequest) (*longrunning.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method DisableCertificateAuthority not implemented") +} +func (*UnimplementedCertificateAuthorityServiceServer) EnableCertificateAuthority(context.Context, *EnableCertificateAuthorityRequest) (*longrunning.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method EnableCertificateAuthority not implemented") +} +func (*UnimplementedCertificateAuthorityServiceServer) FetchCertificateAuthorityCsr(context.Context, *FetchCertificateAuthorityCsrRequest) (*FetchCertificateAuthorityCsrResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FetchCertificateAuthorityCsr not implemented") +} +func (*UnimplementedCertificateAuthorityServiceServer) GetCertificateAuthority(context.Context, *GetCertificateAuthorityRequest) (*CertificateAuthority, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetCertificateAuthority not implemented") +} +func (*UnimplementedCertificateAuthorityServiceServer) ListCertificateAuthorities(context.Context, *ListCertificateAuthoritiesRequest) (*ListCertificateAuthoritiesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListCertificateAuthorities not implemented") +} +func (*UnimplementedCertificateAuthorityServiceServer) RestoreCertificateAuthority(context.Context, *RestoreCertificateAuthorityRequest) (*longrunning.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method RestoreCertificateAuthority not implemented") +} +func (*UnimplementedCertificateAuthorityServiceServer) ScheduleDeleteCertificateAuthority(context.Context, *ScheduleDeleteCertificateAuthorityRequest) (*longrunning.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method ScheduleDeleteCertificateAuthority not implemented") +} +func (*UnimplementedCertificateAuthorityServiceServer) UpdateCertificateAuthority(context.Context, *UpdateCertificateAuthorityRequest) (*longrunning.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateCertificateAuthority not implemented") +} +func (*UnimplementedCertificateAuthorityServiceServer) CreateCertificateRevocationList(context.Context, *CreateCertificateRevocationListRequest) (*longrunning.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateCertificateRevocationList not implemented") +} +func (*UnimplementedCertificateAuthorityServiceServer) GetCertificateRevocationList(context.Context, *GetCertificateRevocationListRequest) (*CertificateRevocationList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetCertificateRevocationList not implemented") +} +func (*UnimplementedCertificateAuthorityServiceServer) ListCertificateRevocationLists(context.Context, *ListCertificateRevocationListsRequest) (*ListCertificateRevocationListsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListCertificateRevocationLists not implemented") +} +func (*UnimplementedCertificateAuthorityServiceServer) UpdateCertificateRevocationList(context.Context, *UpdateCertificateRevocationListRequest) (*longrunning.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateCertificateRevocationList not implemented") +} +func (*UnimplementedCertificateAuthorityServiceServer) CreateReusableConfig(context.Context, *CreateReusableConfigRequest) (*longrunning.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateReusableConfig not implemented") +} +func (*UnimplementedCertificateAuthorityServiceServer) DeleteReusableConfig(context.Context, *DeleteReusableConfigRequest) (*longrunning.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteReusableConfig not implemented") +} +func (*UnimplementedCertificateAuthorityServiceServer) GetReusableConfig(context.Context, *GetReusableConfigRequest) (*ReusableConfig, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetReusableConfig not implemented") +} +func (*UnimplementedCertificateAuthorityServiceServer) ListReusableConfigs(context.Context, *ListReusableConfigsRequest) (*ListReusableConfigsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListReusableConfigs not implemented") +} +func (*UnimplementedCertificateAuthorityServiceServer) UpdateReusableConfig(context.Context, *UpdateReusableConfigRequest) (*longrunning.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateReusableConfig not implemented") +} + +func RegisterCertificateAuthorityServiceServer(s *grpc.Server, srv CertificateAuthorityServiceServer) { + s.RegisterService(&_CertificateAuthorityService_serviceDesc, srv) +} + +func _CertificateAuthorityService_CreateCertificate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateCertificateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CertificateAuthorityServiceServer).CreateCertificate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/CreateCertificate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CertificateAuthorityServiceServer).CreateCertificate(ctx, req.(*CreateCertificateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CertificateAuthorityService_GetCertificate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetCertificateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CertificateAuthorityServiceServer).GetCertificate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/GetCertificate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CertificateAuthorityServiceServer).GetCertificate(ctx, req.(*GetCertificateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CertificateAuthorityService_ListCertificates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListCertificatesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CertificateAuthorityServiceServer).ListCertificates(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/ListCertificates", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CertificateAuthorityServiceServer).ListCertificates(ctx, req.(*ListCertificatesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CertificateAuthorityService_RevokeCertificate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RevokeCertificateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CertificateAuthorityServiceServer).RevokeCertificate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/RevokeCertificate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CertificateAuthorityServiceServer).RevokeCertificate(ctx, req.(*RevokeCertificateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CertificateAuthorityService_UpdateCertificate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateCertificateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CertificateAuthorityServiceServer).UpdateCertificate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/UpdateCertificate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CertificateAuthorityServiceServer).UpdateCertificate(ctx, req.(*UpdateCertificateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CertificateAuthorityService_ActivateCertificateAuthority_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ActivateCertificateAuthorityRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CertificateAuthorityServiceServer).ActivateCertificateAuthority(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/ActivateCertificateAuthority", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CertificateAuthorityServiceServer).ActivateCertificateAuthority(ctx, req.(*ActivateCertificateAuthorityRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CertificateAuthorityService_CreateCertificateAuthority_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateCertificateAuthorityRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CertificateAuthorityServiceServer).CreateCertificateAuthority(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/CreateCertificateAuthority", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CertificateAuthorityServiceServer).CreateCertificateAuthority(ctx, req.(*CreateCertificateAuthorityRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CertificateAuthorityService_DisableCertificateAuthority_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DisableCertificateAuthorityRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CertificateAuthorityServiceServer).DisableCertificateAuthority(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/DisableCertificateAuthority", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CertificateAuthorityServiceServer).DisableCertificateAuthority(ctx, req.(*DisableCertificateAuthorityRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CertificateAuthorityService_EnableCertificateAuthority_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EnableCertificateAuthorityRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CertificateAuthorityServiceServer).EnableCertificateAuthority(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/EnableCertificateAuthority", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CertificateAuthorityServiceServer).EnableCertificateAuthority(ctx, req.(*EnableCertificateAuthorityRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CertificateAuthorityService_FetchCertificateAuthorityCsr_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FetchCertificateAuthorityCsrRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CertificateAuthorityServiceServer).FetchCertificateAuthorityCsr(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/FetchCertificateAuthorityCsr", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CertificateAuthorityServiceServer).FetchCertificateAuthorityCsr(ctx, req.(*FetchCertificateAuthorityCsrRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CertificateAuthorityService_GetCertificateAuthority_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetCertificateAuthorityRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CertificateAuthorityServiceServer).GetCertificateAuthority(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/GetCertificateAuthority", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CertificateAuthorityServiceServer).GetCertificateAuthority(ctx, req.(*GetCertificateAuthorityRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CertificateAuthorityService_ListCertificateAuthorities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListCertificateAuthoritiesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CertificateAuthorityServiceServer).ListCertificateAuthorities(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/ListCertificateAuthorities", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CertificateAuthorityServiceServer).ListCertificateAuthorities(ctx, req.(*ListCertificateAuthoritiesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CertificateAuthorityService_RestoreCertificateAuthority_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RestoreCertificateAuthorityRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CertificateAuthorityServiceServer).RestoreCertificateAuthority(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/RestoreCertificateAuthority", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CertificateAuthorityServiceServer).RestoreCertificateAuthority(ctx, req.(*RestoreCertificateAuthorityRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CertificateAuthorityService_ScheduleDeleteCertificateAuthority_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ScheduleDeleteCertificateAuthorityRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CertificateAuthorityServiceServer).ScheduleDeleteCertificateAuthority(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/ScheduleDeleteCertificateAuthority", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CertificateAuthorityServiceServer).ScheduleDeleteCertificateAuthority(ctx, req.(*ScheduleDeleteCertificateAuthorityRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CertificateAuthorityService_UpdateCertificateAuthority_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateCertificateAuthorityRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CertificateAuthorityServiceServer).UpdateCertificateAuthority(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/UpdateCertificateAuthority", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CertificateAuthorityServiceServer).UpdateCertificateAuthority(ctx, req.(*UpdateCertificateAuthorityRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CertificateAuthorityService_CreateCertificateRevocationList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateCertificateRevocationListRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CertificateAuthorityServiceServer).CreateCertificateRevocationList(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/CreateCertificateRevocationList", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CertificateAuthorityServiceServer).CreateCertificateRevocationList(ctx, req.(*CreateCertificateRevocationListRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CertificateAuthorityService_GetCertificateRevocationList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetCertificateRevocationListRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CertificateAuthorityServiceServer).GetCertificateRevocationList(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/GetCertificateRevocationList", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CertificateAuthorityServiceServer).GetCertificateRevocationList(ctx, req.(*GetCertificateRevocationListRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CertificateAuthorityService_ListCertificateRevocationLists_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListCertificateRevocationListsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CertificateAuthorityServiceServer).ListCertificateRevocationLists(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/ListCertificateRevocationLists", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CertificateAuthorityServiceServer).ListCertificateRevocationLists(ctx, req.(*ListCertificateRevocationListsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CertificateAuthorityService_UpdateCertificateRevocationList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateCertificateRevocationListRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CertificateAuthorityServiceServer).UpdateCertificateRevocationList(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/UpdateCertificateRevocationList", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CertificateAuthorityServiceServer).UpdateCertificateRevocationList(ctx, req.(*UpdateCertificateRevocationListRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CertificateAuthorityService_CreateReusableConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateReusableConfigRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CertificateAuthorityServiceServer).CreateReusableConfig(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/CreateReusableConfig", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CertificateAuthorityServiceServer).CreateReusableConfig(ctx, req.(*CreateReusableConfigRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CertificateAuthorityService_DeleteReusableConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteReusableConfigRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CertificateAuthorityServiceServer).DeleteReusableConfig(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/DeleteReusableConfig", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CertificateAuthorityServiceServer).DeleteReusableConfig(ctx, req.(*DeleteReusableConfigRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CertificateAuthorityService_GetReusableConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetReusableConfigRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CertificateAuthorityServiceServer).GetReusableConfig(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/GetReusableConfig", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CertificateAuthorityServiceServer).GetReusableConfig(ctx, req.(*GetReusableConfigRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CertificateAuthorityService_ListReusableConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListReusableConfigsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CertificateAuthorityServiceServer).ListReusableConfigs(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/ListReusableConfigs", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CertificateAuthorityServiceServer).ListReusableConfigs(ctx, req.(*ListReusableConfigsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CertificateAuthorityService_UpdateReusableConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateReusableConfigRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CertificateAuthorityServiceServer).UpdateReusableConfig(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/google.cloud.security.privateca.v1beta1.CertificateAuthorityService/UpdateReusableConfig", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CertificateAuthorityServiceServer).UpdateReusableConfig(ctx, req.(*UpdateReusableConfigRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _CertificateAuthorityService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "google.cloud.security.privateca.v1beta1.CertificateAuthorityService", + HandlerType: (*CertificateAuthorityServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "CreateCertificate", + Handler: _CertificateAuthorityService_CreateCertificate_Handler, + }, + { + MethodName: "GetCertificate", + Handler: _CertificateAuthorityService_GetCertificate_Handler, + }, + { + MethodName: "ListCertificates", + Handler: _CertificateAuthorityService_ListCertificates_Handler, + }, + { + MethodName: "RevokeCertificate", + Handler: _CertificateAuthorityService_RevokeCertificate_Handler, + }, + { + MethodName: "UpdateCertificate", + Handler: _CertificateAuthorityService_UpdateCertificate_Handler, + }, + { + MethodName: "ActivateCertificateAuthority", + Handler: _CertificateAuthorityService_ActivateCertificateAuthority_Handler, + }, + { + MethodName: "CreateCertificateAuthority", + Handler: _CertificateAuthorityService_CreateCertificateAuthority_Handler, + }, + { + MethodName: "DisableCertificateAuthority", + Handler: _CertificateAuthorityService_DisableCertificateAuthority_Handler, + }, + { + MethodName: "EnableCertificateAuthority", + Handler: _CertificateAuthorityService_EnableCertificateAuthority_Handler, + }, + { + MethodName: "FetchCertificateAuthorityCsr", + Handler: _CertificateAuthorityService_FetchCertificateAuthorityCsr_Handler, + }, + { + MethodName: "GetCertificateAuthority", + Handler: _CertificateAuthorityService_GetCertificateAuthority_Handler, + }, + { + MethodName: "ListCertificateAuthorities", + Handler: _CertificateAuthorityService_ListCertificateAuthorities_Handler, + }, + { + MethodName: "RestoreCertificateAuthority", + Handler: _CertificateAuthorityService_RestoreCertificateAuthority_Handler, + }, + { + MethodName: "ScheduleDeleteCertificateAuthority", + Handler: _CertificateAuthorityService_ScheduleDeleteCertificateAuthority_Handler, + }, + { + MethodName: "UpdateCertificateAuthority", + Handler: _CertificateAuthorityService_UpdateCertificateAuthority_Handler, + }, + { + MethodName: "CreateCertificateRevocationList", + Handler: _CertificateAuthorityService_CreateCertificateRevocationList_Handler, + }, + { + MethodName: "GetCertificateRevocationList", + Handler: _CertificateAuthorityService_GetCertificateRevocationList_Handler, + }, + { + MethodName: "ListCertificateRevocationLists", + Handler: _CertificateAuthorityService_ListCertificateRevocationLists_Handler, + }, + { + MethodName: "UpdateCertificateRevocationList", + Handler: _CertificateAuthorityService_UpdateCertificateRevocationList_Handler, + }, + { + MethodName: "CreateReusableConfig", + Handler: _CertificateAuthorityService_CreateReusableConfig_Handler, + }, + { + MethodName: "DeleteReusableConfig", + Handler: _CertificateAuthorityService_DeleteReusableConfig_Handler, + }, + { + MethodName: "GetReusableConfig", + Handler: _CertificateAuthorityService_GetReusableConfig_Handler, + }, + { + MethodName: "ListReusableConfigs", + Handler: _CertificateAuthorityService_ListReusableConfigs_Handler, + }, + { + MethodName: "UpdateReusableConfig", + Handler: _CertificateAuthorityService_UpdateReusableConfig_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "google/cloud/security/privateca/v1beta1/service.proto", +} diff --git a/path_csr.go b/path_csr.go index ec8d7b4..8d9ed2e 100644 --- a/path_csr.go +++ b/path_csr.go @@ -24,7 +24,7 @@ import ( "github.com/golang/protobuf/ptypes" "github.com/hashicorp/vault/sdk/framework" "github.com/hashicorp/vault/sdk/logical" - privatecapb "google.golang.org/genproto/googleapis/cloud/security/privateca/v1alpha1" + privatecapb "google.golang.org/genproto/googleapis/cloud/security/privateca/v1beta1" ) func (b *backend) pathCSR() *framework.Path { @@ -126,16 +126,11 @@ func (b *backend) pathCSRWrite(ctx context.Context, req *logical.Request, d *fra }, } - op, err := pcaClient.CreateCertificate(ctx, creq) + cresp, err := pcaClient.CreateCertificate(ctx, creq) if err != nil { return logical.ErrorResponse(err.Error()), logical.ErrInvalidRequest } - cresp, err := op.Wait(ctx) - if err != nil { - return logical.ErrorResponse(fmt.Sprintf("Could not create CSR based Certificate: %s certspec: %v", name, err)), logical.ErrInvalidRequest - } - return &logical.Response{ Data: map[string]interface{}{ "pubcert": cresp.GetPemCertificate(), @@ -191,15 +186,11 @@ func (b *backend) pathCSRDelete(ctx context.Context, req *logical.Request, d *fr Name: parent, Reason: privatecapb.RevocationReason_CESSATION_OF_OPERATION, } - op, err := pcaClient.RevokeCertificate(ctx, crev) + crevresp, err := pcaClient.RevokeCertificate(ctx, crev) if err != nil { return logical.ErrorResponse("Error revoking certificate"), logical.ErrInvalidRequest } - crevresp, err := op.Wait(ctx) - if err != nil { - return logical.ErrorResponse("Error revoking certificate"), logical.ErrInvalidRequest - } b.Logger().Debug("Certificate Revoked %s", crevresp.Name) return &logical.Response{}, nil diff --git a/path_generatekey.go b/path_generatekey.go index 5c9e8e4..667d61d 100644 --- a/path_generatekey.go +++ b/path_generatekey.go @@ -26,13 +26,13 @@ import ( "strings" "time" - privateca "cloud.google.com/go/security/privateca/apialpha1" + privateca "cloud.google.com/go/security/privateca/apiv1beta1" "github.com/golang/protobuf/ptypes" "github.com/golang/protobuf/ptypes/wrappers" "github.com/hashicorp/vault/sdk/framework" "github.com/hashicorp/vault/sdk/logical" "google.golang.org/api/iterator" - privatecapb "google.golang.org/genproto/googleapis/cloud/security/privateca/v1alpha1" + privatecapb "google.golang.org/genproto/googleapis/cloud/security/privateca/v1beta1" ) const ( @@ -437,16 +437,10 @@ func (b *backend) pathGenerateKeyWrite(ctx context.Context, req *logical.Request }, } - op, err := pcaClient.CreateCertificate(ctx, creq) + cresp, err := pcaClient.CreateCertificate(ctx, creq) if err != nil { return logical.ErrorResponse(err.Error()), logical.ErrInvalidRequest } - - cresp, err := op.Wait(ctx) - if err != nil { - return logical.ErrorResponse(fmt.Sprintf("Could not create Certificate: [%s] certspec %v", name, err)), logical.ErrInvalidRequest - } - return &logical.Response{ Data: map[string]interface{}{ "pubcert": cresp.GetPemCertificate(), @@ -500,15 +494,11 @@ func (b *backend) pathGenerateKeyDelete(ctx context.Context, req *logical.Reques Name: parent, Reason: privatecapb.RevocationReason_CESSATION_OF_OPERATION, } - op, err := pcaClient.RevokeCertificate(ctx, crev) + crevresp, err := pcaClient.RevokeCertificate(ctx, crev) if err != nil { return logical.ErrorResponse("Error revoking certificate +v", err), logical.ErrInvalidRequest } - crevresp, err := op.Wait(ctx) - if err != nil { - return logical.ErrorResponse(fmt.Sprintf("Error Revoking Certificate %v", err)), logical.ErrInvalidRequest - } b.Logger().Debug("Certificate Revoked %s", crevresp.Name) return &logical.Response{}, nil