public static final class Authentication.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Authentication.Builder> implements AuthenticationOrBuilder
`Authentication` defines the authentication configuration for an API. Example for an API targeted for external use: name: calendar.googleapis.com authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: "*" requirements: provider_id: google_calendar_authProtobuf type
google.api.Authentication
Modifier and Type | Method and Description |
---|---|
Authentication.Builder |
addAllProviders(java.lang.Iterable<? extends AuthProvider> values)
Defines a set of authentication providers that a service supports.
|
Authentication.Builder |
addAllRules(java.lang.Iterable<? extends AuthenticationRule> values)
A list of authentication rules that apply to individual API methods.
|
Authentication.Builder |
addProviders(AuthProvider.Builder builderForValue)
Defines a set of authentication providers that a service supports.
|
Authentication.Builder |
addProviders(AuthProvider value)
Defines a set of authentication providers that a service supports.
|
Authentication.Builder |
addProviders(int index,
AuthProvider.Builder builderForValue)
Defines a set of authentication providers that a service supports.
|
Authentication.Builder |
addProviders(int index,
AuthProvider value)
Defines a set of authentication providers that a service supports.
|
AuthProvider.Builder |
addProvidersBuilder()
Defines a set of authentication providers that a service supports.
|
AuthProvider.Builder |
addProvidersBuilder(int index)
Defines a set of authentication providers that a service supports.
|
Authentication.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Authentication.Builder |
addRules(AuthenticationRule.Builder builderForValue)
A list of authentication rules that apply to individual API methods.
|
Authentication.Builder |
addRules(AuthenticationRule value)
A list of authentication rules that apply to individual API methods.
|
Authentication.Builder |
addRules(int index,
AuthenticationRule.Builder builderForValue)
A list of authentication rules that apply to individual API methods.
|
Authentication.Builder |
addRules(int index,
AuthenticationRule value)
A list of authentication rules that apply to individual API methods.
|
AuthenticationRule.Builder |
addRulesBuilder()
A list of authentication rules that apply to individual API methods.
|
AuthenticationRule.Builder |
addRulesBuilder(int index)
A list of authentication rules that apply to individual API methods.
|
Authentication |
build() |
Authentication |
buildPartial() |
Authentication.Builder |
clear() |
Authentication.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Authentication.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Authentication.Builder |
clearProviders()
Defines a set of authentication providers that a service supports.
|
Authentication.Builder |
clearRules()
A list of authentication rules that apply to individual API methods.
|
Authentication.Builder |
clone() |
Authentication |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
AuthProvider |
getProviders(int index)
Defines a set of authentication providers that a service supports.
|
AuthProvider.Builder |
getProvidersBuilder(int index)
Defines a set of authentication providers that a service supports.
|
java.util.List<AuthProvider.Builder> |
getProvidersBuilderList()
Defines a set of authentication providers that a service supports.
|
int |
getProvidersCount()
Defines a set of authentication providers that a service supports.
|
java.util.List<AuthProvider> |
getProvidersList()
Defines a set of authentication providers that a service supports.
|
AuthProviderOrBuilder |
getProvidersOrBuilder(int index)
Defines a set of authentication providers that a service supports.
|
java.util.List<? extends AuthProviderOrBuilder> |
getProvidersOrBuilderList()
Defines a set of authentication providers that a service supports.
|
AuthenticationRule |
getRules(int index)
A list of authentication rules that apply to individual API methods.
|
AuthenticationRule.Builder |
getRulesBuilder(int index)
A list of authentication rules that apply to individual API methods.
|
java.util.List<AuthenticationRule.Builder> |
getRulesBuilderList()
A list of authentication rules that apply to individual API methods.
|
int |
getRulesCount()
A list of authentication rules that apply to individual API methods.
|
java.util.List<AuthenticationRule> |
getRulesList()
A list of authentication rules that apply to individual API methods.
|
AuthenticationRuleOrBuilder |
getRulesOrBuilder(int index)
A list of authentication rules that apply to individual API methods.
|
java.util.List<? extends AuthenticationRuleOrBuilder> |
getRulesOrBuilderList()
A list of authentication rules that apply to individual API methods.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Authentication.Builder |
mergeFrom(Authentication other) |
Authentication.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Authentication.Builder |
mergeFrom(com.google.protobuf.Message other) |
Authentication.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Authentication.Builder |
removeProviders(int index)
Defines a set of authentication providers that a service supports.
|
Authentication.Builder |
removeRules(int index)
A list of authentication rules that apply to individual API methods.
|
Authentication.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Authentication.Builder |
setProviders(int index,
AuthProvider.Builder builderForValue)
Defines a set of authentication providers that a service supports.
|
Authentication.Builder |
setProviders(int index,
AuthProvider value)
Defines a set of authentication providers that a service supports.
|
Authentication.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Authentication.Builder |
setRules(int index,
AuthenticationRule.Builder builderForValue)
A list of authentication rules that apply to individual API methods.
|
Authentication.Builder |
setRules(int index,
AuthenticationRule value)
A list of authentication rules that apply to individual API methods.
|
Authentication.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Authentication.Builder>
public Authentication.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Authentication.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Authentication.Builder>
public Authentication getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Authentication build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Authentication buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Authentication.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Authentication.Builder>
public Authentication.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Authentication.Builder>
public Authentication.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Authentication.Builder>
public Authentication.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Authentication.Builder>
public Authentication.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Authentication.Builder>
public Authentication.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Authentication.Builder>
public Authentication.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Authentication.Builder>
public Authentication.Builder mergeFrom(Authentication other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Authentication.Builder>
public Authentication.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Authentication.Builder>
java.io.IOException
public java.util.List<AuthenticationRule> getRulesList()
A list of authentication rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.AuthenticationRule rules = 3;
getRulesList
in interface AuthenticationOrBuilder
public int getRulesCount()
A list of authentication rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.AuthenticationRule rules = 3;
getRulesCount
in interface AuthenticationOrBuilder
public AuthenticationRule getRules(int index)
A list of authentication rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.AuthenticationRule rules = 3;
getRules
in interface AuthenticationOrBuilder
public Authentication.Builder setRules(int index, AuthenticationRule value)
A list of authentication rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.AuthenticationRule rules = 3;
public Authentication.Builder setRules(int index, AuthenticationRule.Builder builderForValue)
A list of authentication rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.AuthenticationRule rules = 3;
public Authentication.Builder addRules(AuthenticationRule value)
A list of authentication rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.AuthenticationRule rules = 3;
public Authentication.Builder addRules(int index, AuthenticationRule value)
A list of authentication rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.AuthenticationRule rules = 3;
public Authentication.Builder addRules(AuthenticationRule.Builder builderForValue)
A list of authentication rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.AuthenticationRule rules = 3;
public Authentication.Builder addRules(int index, AuthenticationRule.Builder builderForValue)
A list of authentication rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.AuthenticationRule rules = 3;
public Authentication.Builder addAllRules(java.lang.Iterable<? extends AuthenticationRule> values)
A list of authentication rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.AuthenticationRule rules = 3;
public Authentication.Builder clearRules()
A list of authentication rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.AuthenticationRule rules = 3;
public Authentication.Builder removeRules(int index)
A list of authentication rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.AuthenticationRule rules = 3;
public AuthenticationRule.Builder getRulesBuilder(int index)
A list of authentication rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.AuthenticationRule rules = 3;
public AuthenticationRuleOrBuilder getRulesOrBuilder(int index)
A list of authentication rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.AuthenticationRule rules = 3;
getRulesOrBuilder
in interface AuthenticationOrBuilder
public java.util.List<? extends AuthenticationRuleOrBuilder> getRulesOrBuilderList()
A list of authentication rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.AuthenticationRule rules = 3;
getRulesOrBuilderList
in interface AuthenticationOrBuilder
public AuthenticationRule.Builder addRulesBuilder()
A list of authentication rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.AuthenticationRule rules = 3;
public AuthenticationRule.Builder addRulesBuilder(int index)
A list of authentication rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.AuthenticationRule rules = 3;
public java.util.List<AuthenticationRule.Builder> getRulesBuilderList()
A list of authentication rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.AuthenticationRule rules = 3;
public java.util.List<AuthProvider> getProvidersList()
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
getProvidersList
in interface AuthenticationOrBuilder
public int getProvidersCount()
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
getProvidersCount
in interface AuthenticationOrBuilder
public AuthProvider getProviders(int index)
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
getProviders
in interface AuthenticationOrBuilder
public Authentication.Builder setProviders(int index, AuthProvider value)
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
public Authentication.Builder setProviders(int index, AuthProvider.Builder builderForValue)
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
public Authentication.Builder addProviders(AuthProvider value)
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
public Authentication.Builder addProviders(int index, AuthProvider value)
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
public Authentication.Builder addProviders(AuthProvider.Builder builderForValue)
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
public Authentication.Builder addProviders(int index, AuthProvider.Builder builderForValue)
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
public Authentication.Builder addAllProviders(java.lang.Iterable<? extends AuthProvider> values)
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
public Authentication.Builder clearProviders()
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
public Authentication.Builder removeProviders(int index)
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
public AuthProvider.Builder getProvidersBuilder(int index)
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
public AuthProviderOrBuilder getProvidersOrBuilder(int index)
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
getProvidersOrBuilder
in interface AuthenticationOrBuilder
public java.util.List<? extends AuthProviderOrBuilder> getProvidersOrBuilderList()
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
getProvidersOrBuilderList
in interface AuthenticationOrBuilder
public AuthProvider.Builder addProvidersBuilder()
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
public AuthProvider.Builder addProvidersBuilder(int index)
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
public java.util.List<AuthProvider.Builder> getProvidersBuilderList()
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
public final Authentication.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Authentication.Builder>
public final Authentication.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Authentication.Builder>