• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/cloud/confidentialcomputing/v1/service.proto
18 
19 package com.google.cloud.confidentialcomputing.v1;
20 
21 public final class ServiceProto {
ServiceProto()22   private ServiceProto() {}
23 
registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)24   public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
25 
registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)26   public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
27     registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
28   }
29 
30   static final com.google.protobuf.Descriptors.Descriptor
31       internal_static_google_cloud_confidentialcomputing_v1_Challenge_descriptor;
32   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
33       internal_static_google_cloud_confidentialcomputing_v1_Challenge_fieldAccessorTable;
34   static final com.google.protobuf.Descriptors.Descriptor
35       internal_static_google_cloud_confidentialcomputing_v1_CreateChallengeRequest_descriptor;
36   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
37       internal_static_google_cloud_confidentialcomputing_v1_CreateChallengeRequest_fieldAccessorTable;
38   static final com.google.protobuf.Descriptors.Descriptor
39       internal_static_google_cloud_confidentialcomputing_v1_VerifyAttestationRequest_descriptor;
40   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
41       internal_static_google_cloud_confidentialcomputing_v1_VerifyAttestationRequest_fieldAccessorTable;
42   static final com.google.protobuf.Descriptors.Descriptor
43       internal_static_google_cloud_confidentialcomputing_v1_VerifyAttestationResponse_descriptor;
44   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
45       internal_static_google_cloud_confidentialcomputing_v1_VerifyAttestationResponse_fieldAccessorTable;
46   static final com.google.protobuf.Descriptors.Descriptor
47       internal_static_google_cloud_confidentialcomputing_v1_GcpCredentials_descriptor;
48   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
49       internal_static_google_cloud_confidentialcomputing_v1_GcpCredentials_fieldAccessorTable;
50   static final com.google.protobuf.Descriptors.Descriptor
51       internal_static_google_cloud_confidentialcomputing_v1_TpmAttestation_descriptor;
52   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
53       internal_static_google_cloud_confidentialcomputing_v1_TpmAttestation_fieldAccessorTable;
54   static final com.google.protobuf.Descriptors.Descriptor
55       internal_static_google_cloud_confidentialcomputing_v1_TpmAttestation_Quote_descriptor;
56   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
57       internal_static_google_cloud_confidentialcomputing_v1_TpmAttestation_Quote_fieldAccessorTable;
58   static final com.google.protobuf.Descriptors.Descriptor
59       internal_static_google_cloud_confidentialcomputing_v1_TpmAttestation_Quote_PcrValuesEntry_descriptor;
60   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
61       internal_static_google_cloud_confidentialcomputing_v1_TpmAttestation_Quote_PcrValuesEntry_fieldAccessorTable;
62 
getDescriptor()63   public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
64     return descriptor;
65   }
66 
67   private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
68 
69   static {
70     java.lang.String[] descriptorData = {
71       "\n3google/cloud/confidentialcomputing/v1/"
72           + "service.proto\022%google.cloud.confidential"
73           + "computing.v1\032\034google/api/annotations.pro"
74           + "to\032\027google/api/client.proto\032\037google/api/"
75           + "field_behavior.proto\032\031google/api/resourc"
76           + "e.proto\032\037google/protobuf/timestamp.proto"
77           + "\"\245\002\n\tChallenge\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013cre"
78           + "ate_time\030\002 \001(\0132\032.google.protobuf.Timesta"
79           + "mpB\003\340A\003\0224\n\013expire_time\030\003 \001(\0132\032.google.pr"
80           + "otobuf.TimestampB\003\340A\003\022\021\n\004used\030\004 \001(\010B\003\340A\003"
81           + "\022\026\n\ttpm_nonce\030\006 \001(\tB\003\340A\003:n\352Ak\n.confident"
82           + "ialcomputing.googleapis.com/Challenge\0229p"
83           + "rojects/{project}/locations/{location}/c"
84           + "hallenges/{uuid}\"\235\001\n\026CreateChallengeRequ"
85           + "est\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.g"
86           + "oogleapis.com/Location\022H\n\tchallenge\030\002 \001("
87           + "\01320.google.cloud.confidentialcomputing.v"
88           + "1.ChallengeB\003\340A\002\"\217\002\n\030VerifyAttestationRe"
89           + "quest\022I\n\tchallenge\030\001 \001(\tB6\340A\002\372A0\n.confid"
90           + "entialcomputing.googleapis.com/Challenge"
91           + "\022S\n\017gcp_credentials\030\002 \001(\01325.google.cloud"
92           + ".confidentialcomputing.v1.GcpCredentials"
93           + "B\003\340A\001\022S\n\017tpm_attestation\030\003 \001(\01325.google."
94           + "cloud.confidentialcomputing.v1.TpmAttest"
95           + "ationB\003\340A\002\";\n\031VerifyAttestationResponse\022"
96           + "\036\n\021oidc_claims_token\030\002 \001(\tB\003\340A\003\"3\n\016GcpCr"
97           + "edentials\022!\n\031service_account_id_tokens\030\002"
98           + " \003(\t\"\217\003\n\016TpmAttestation\022K\n\006quotes\030\001 \003(\0132"
99           + ";.google.cloud.confidentialcomputing.v1."
100           + "TpmAttestation.Quote\022\025\n\rtcg_event_log\030\002 "
101           + "\001(\014\022\033\n\023canonical_event_log\030\003 \001(\014\022\017\n\007ak_c"
102           + "ert\030\004 \001(\014\022\022\n\ncert_chain\030\005 \003(\014\032\326\001\n\005Quote\022"
103           + "\021\n\thash_algo\030\001 \001(\005\022^\n\npcr_values\030\002 \003(\0132J"
104           + ".google.cloud.confidentialcomputing.v1.T"
105           + "pmAttestation.Quote.PcrValuesEntry\022\021\n\tra"
106           + "w_quote\030\003 \001(\014\022\025\n\rraw_signature\030\004 \001(\014\0320\n\016"
107           + "PcrValuesEntry\022\013\n\003key\030\001 \001(\005\022\r\n\005value\030\002 \001"
108           + "(\014:\0028\0012\267\004\n\025ConfidentialComputing\022\330\001\n\017Cre"
109           + "ateChallenge\022=.google.cloud.confidential"
110           + "computing.v1.CreateChallengeRequest\0320.go"
111           + "ogle.cloud.confidentialcomputing.v1.Chal"
112           + "lenge\"T\202\323\344\223\002;\"./v1/{parent=projects/*/lo"
113           + "cations/*}/challenges:\tchallenge\332A\020paren"
114           + "t,challenge\022\350\001\n\021VerifyAttestation\022?.goog"
115           + "le.cloud.confidentialcomputing.v1.Verify"
116           + "AttestationRequest\032@.google.cloud.confid"
117           + "entialcomputing.v1.VerifyAttestationResp"
118           + "onse\"P\202\323\344\223\002J\"E/v1/{challenge=projects/*/"
119           + "locations/*/challenges/*}:verifyAttestat"
120           + "ion:\001*\032X\312A$confidentialcomputing.googlea"
121           + "pis.com\322A.https://www.googleapis.com/aut"
122           + "h/cloud-platformB\227\002\n)com.google.cloud.co"
123           + "nfidentialcomputing.v1B\014ServiceProtoP\001Z_"
124           + "cloud.google.com/go/confidentialcomputin"
125           + "g/apiv1/confidentialcomputingpb;confiden"
126           + "tialcomputingpb\252\002%Google.Cloud.Confident"
127           + "ialComputing.V1\312\002%Google\\Cloud\\Confident"
128           + "ialComputing\\V1\352\002(Google::Cloud::Confide"
129           + "ntialComputing::V1b\006proto3"
130     };
131     descriptor =
132         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
133             descriptorData,
134             new com.google.protobuf.Descriptors.FileDescriptor[] {
135               com.google.api.AnnotationsProto.getDescriptor(),
136               com.google.api.ClientProto.getDescriptor(),
137               com.google.api.FieldBehaviorProto.getDescriptor(),
138               com.google.api.ResourceProto.getDescriptor(),
139               com.google.protobuf.TimestampProto.getDescriptor(),
140             });
141     internal_static_google_cloud_confidentialcomputing_v1_Challenge_descriptor =
142         getDescriptor().getMessageTypes().get(0);
143     internal_static_google_cloud_confidentialcomputing_v1_Challenge_fieldAccessorTable =
144         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
145             internal_static_google_cloud_confidentialcomputing_v1_Challenge_descriptor,
146             new java.lang.String[] {
147               "Name", "CreateTime", "ExpireTime", "Used", "TpmNonce",
148             });
149     internal_static_google_cloud_confidentialcomputing_v1_CreateChallengeRequest_descriptor =
150         getDescriptor().getMessageTypes().get(1);
151     internal_static_google_cloud_confidentialcomputing_v1_CreateChallengeRequest_fieldAccessorTable =
152         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
153             internal_static_google_cloud_confidentialcomputing_v1_CreateChallengeRequest_descriptor,
154             new java.lang.String[] {
155               "Parent", "Challenge",
156             });
157     internal_static_google_cloud_confidentialcomputing_v1_VerifyAttestationRequest_descriptor =
158         getDescriptor().getMessageTypes().get(2);
159     internal_static_google_cloud_confidentialcomputing_v1_VerifyAttestationRequest_fieldAccessorTable =
160         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
161             internal_static_google_cloud_confidentialcomputing_v1_VerifyAttestationRequest_descriptor,
162             new java.lang.String[] {
163               "Challenge", "GcpCredentials", "TpmAttestation",
164             });
165     internal_static_google_cloud_confidentialcomputing_v1_VerifyAttestationResponse_descriptor =
166         getDescriptor().getMessageTypes().get(3);
167     internal_static_google_cloud_confidentialcomputing_v1_VerifyAttestationResponse_fieldAccessorTable =
168         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
169             internal_static_google_cloud_confidentialcomputing_v1_VerifyAttestationResponse_descriptor,
170             new java.lang.String[] {
171               "OidcClaimsToken",
172             });
173     internal_static_google_cloud_confidentialcomputing_v1_GcpCredentials_descriptor =
174         getDescriptor().getMessageTypes().get(4);
175     internal_static_google_cloud_confidentialcomputing_v1_GcpCredentials_fieldAccessorTable =
176         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
177             internal_static_google_cloud_confidentialcomputing_v1_GcpCredentials_descriptor,
178             new java.lang.String[] {
179               "ServiceAccountIdTokens",
180             });
181     internal_static_google_cloud_confidentialcomputing_v1_TpmAttestation_descriptor =
182         getDescriptor().getMessageTypes().get(5);
183     internal_static_google_cloud_confidentialcomputing_v1_TpmAttestation_fieldAccessorTable =
184         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
185             internal_static_google_cloud_confidentialcomputing_v1_TpmAttestation_descriptor,
186             new java.lang.String[] {
187               "Quotes", "TcgEventLog", "CanonicalEventLog", "AkCert", "CertChain",
188             });
189     internal_static_google_cloud_confidentialcomputing_v1_TpmAttestation_Quote_descriptor =
190         internal_static_google_cloud_confidentialcomputing_v1_TpmAttestation_descriptor
191             .getNestedTypes()
192             .get(0);
193     internal_static_google_cloud_confidentialcomputing_v1_TpmAttestation_Quote_fieldAccessorTable =
194         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
195             internal_static_google_cloud_confidentialcomputing_v1_TpmAttestation_Quote_descriptor,
196             new java.lang.String[] {
197               "HashAlgo", "PcrValues", "RawQuote", "RawSignature",
198             });
199     internal_static_google_cloud_confidentialcomputing_v1_TpmAttestation_Quote_PcrValuesEntry_descriptor =
200         internal_static_google_cloud_confidentialcomputing_v1_TpmAttestation_Quote_descriptor
201             .getNestedTypes()
202             .get(0);
203     internal_static_google_cloud_confidentialcomputing_v1_TpmAttestation_Quote_PcrValuesEntry_fieldAccessorTable =
204         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
205             internal_static_google_cloud_confidentialcomputing_v1_TpmAttestation_Quote_PcrValuesEntry_descriptor,
206             new java.lang.String[] {
207               "Key", "Value",
208             });
209     com.google.protobuf.ExtensionRegistry registry =
210         com.google.protobuf.ExtensionRegistry.newInstance();
211     registry.add(com.google.api.ClientProto.defaultHost);
212     registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
213     registry.add(com.google.api.AnnotationsProto.http);
214     registry.add(com.google.api.ClientProto.methodSignature);
215     registry.add(com.google.api.ClientProto.oauthScopes);
216     registry.add(com.google.api.ResourceProto.resource);
217     registry.add(com.google.api.ResourceProto.resourceReference);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry)218     com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
219         descriptor, registry);
com.google.api.AnnotationsProto.getDescriptor()220     com.google.api.AnnotationsProto.getDescriptor();
com.google.api.ClientProto.getDescriptor()221     com.google.api.ClientProto.getDescriptor();
com.google.api.FieldBehaviorProto.getDescriptor()222     com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor()223     com.google.api.ResourceProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor()224     com.google.protobuf.TimestampProto.getDescriptor();
225   }
226 
227   // @@protoc_insertion_point(outer_class_scope)
228 }
229