• 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/api/auth.proto
18 
19 package com.google.api;
20 
21 public final class AuthProto {
AuthProto()22   private AuthProto() {}
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_api_Authentication_descriptor;
32   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
33       internal_static_google_api_Authentication_fieldAccessorTable;
34   static final com.google.protobuf.Descriptors.Descriptor
35       internal_static_google_api_AuthenticationRule_descriptor;
36   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
37       internal_static_google_api_AuthenticationRule_fieldAccessorTable;
38   static final com.google.protobuf.Descriptors.Descriptor
39       internal_static_google_api_JwtLocation_descriptor;
40   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
41       internal_static_google_api_JwtLocation_fieldAccessorTable;
42   static final com.google.protobuf.Descriptors.Descriptor
43       internal_static_google_api_AuthProvider_descriptor;
44   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
45       internal_static_google_api_AuthProvider_fieldAccessorTable;
46   static final com.google.protobuf.Descriptors.Descriptor
47       internal_static_google_api_OAuthRequirements_descriptor;
48   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
49       internal_static_google_api_OAuthRequirements_fieldAccessorTable;
50   static final com.google.protobuf.Descriptors.Descriptor
51       internal_static_google_api_AuthRequirement_descriptor;
52   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
53       internal_static_google_api_AuthRequirement_fieldAccessorTable;
54 
getDescriptor()55   public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
56     return descriptor;
57   }
58 
59   private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
60 
61   static {
62     java.lang.String[] descriptorData = {
63       "\n\025google/api/auth.proto\022\ngoogle.api\"l\n\016A"
64           + "uthentication\022-\n\005rules\030\003 \003(\0132\036.google.ap"
65           + "i.AuthenticationRule\022+\n\tproviders\030\004 \003(\0132"
66           + "\030.google.api.AuthProvider\"\251\001\n\022Authentica"
67           + "tionRule\022\020\n\010selector\030\001 \001(\t\022,\n\005oauth\030\002 \001("
68           + "\0132\035.google.api.OAuthRequirements\022 \n\030allo"
69           + "w_without_credential\030\005 \001(\010\0221\n\014requiremen"
70           + "ts\030\007 \003(\0132\033.google.api.AuthRequirement\"^\n"
71           + "\013JwtLocation\022\020\n\006header\030\001 \001(\tH\000\022\017\n\005query\030"
72           + "\002 \001(\tH\000\022\020\n\006cookie\030\004 \001(\tH\000\022\024\n\014value_prefi"
73           + "x\030\003 \001(\tB\004\n\002in\"\232\001\n\014AuthProvider\022\n\n\002id\030\001 \001"
74           + "(\t\022\016\n\006issuer\030\002 \001(\t\022\020\n\010jwks_uri\030\003 \001(\t\022\021\n\t"
75           + "audiences\030\004 \001(\t\022\031\n\021authorization_url\030\005 \001"
76           + "(\t\022.\n\rjwt_locations\030\006 \003(\0132\027.google.api.J"
77           + "wtLocation\"-\n\021OAuthRequirements\022\030\n\020canon"
78           + "ical_scopes\030\001 \001(\t\"9\n\017AuthRequirement\022\023\n\013"
79           + "provider_id\030\001 \001(\t\022\021\n\taudiences\030\002 \001(\tBk\n\016"
80           + "com.google.apiB\tAuthProtoP\001ZEgoogle.gola"
81           + "ng.org/genproto/googleapis/api/serviceco"
82           + "nfig;serviceconfig\242\002\004GAPIb\006proto3"
83     };
84     descriptor =
85         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
86             descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
87     internal_static_google_api_Authentication_descriptor = getDescriptor().getMessageTypes().get(0);
88     internal_static_google_api_Authentication_fieldAccessorTable =
89         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
90             internal_static_google_api_Authentication_descriptor,
91             new java.lang.String[] {
92               "Rules", "Providers",
93             });
94     internal_static_google_api_AuthenticationRule_descriptor =
95         getDescriptor().getMessageTypes().get(1);
96     internal_static_google_api_AuthenticationRule_fieldAccessorTable =
97         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
98             internal_static_google_api_AuthenticationRule_descriptor,
99             new java.lang.String[] {
100               "Selector", "Oauth", "AllowWithoutCredential", "Requirements",
101             });
102     internal_static_google_api_JwtLocation_descriptor = getDescriptor().getMessageTypes().get(2);
103     internal_static_google_api_JwtLocation_fieldAccessorTable =
104         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
105             internal_static_google_api_JwtLocation_descriptor,
106             new java.lang.String[] {
107               "Header", "Query", "Cookie", "ValuePrefix", "In",
108             });
109     internal_static_google_api_AuthProvider_descriptor = getDescriptor().getMessageTypes().get(3);
110     internal_static_google_api_AuthProvider_fieldAccessorTable =
111         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
112             internal_static_google_api_AuthProvider_descriptor,
113             new java.lang.String[] {
114               "Id", "Issuer", "JwksUri", "Audiences", "AuthorizationUrl", "JwtLocations",
115             });
116     internal_static_google_api_OAuthRequirements_descriptor =
117         getDescriptor().getMessageTypes().get(4);
118     internal_static_google_api_OAuthRequirements_fieldAccessorTable =
119         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
120             internal_static_google_api_OAuthRequirements_descriptor,
121             new java.lang.String[] {
122               "CanonicalScopes",
123             });
124     internal_static_google_api_AuthRequirement_descriptor =
125         getDescriptor().getMessageTypes().get(5);
126     internal_static_google_api_AuthRequirement_fieldAccessorTable =
127         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
128             internal_static_google_api_AuthRequirement_descriptor,
129             new java.lang.String[] {
130               "ProviderId", "Audiences",
131             });
132   }
133 
134   // @@protoc_insertion_point(outer_class_scope)
135 }
136