Package com.google.api
Class Authentication.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Authentication.Builder>
com.google.api.Authentication.Builder
- All Implemented Interfaces:
AuthenticationOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Authentication
public static final class Authentication.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Authentication.Builder>
implements AuthenticationOrBuilder
`Authentication` defines the authentication configuration for API methods provided by an API service. Example: name: calendar.googleapis.com authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: "*" requirements: provider_id: google_calendar_auth - selector: google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/auth/calendar.readProtobuf type
google.api.Authentication
-
Method Summary
Modifier and TypeMethodDescriptionaddAllProviders
(Iterable<? extends AuthProvider> values) Defines a set of authentication providers that a service supports.addAllRules
(Iterable<? extends AuthenticationRule> values) A list of authentication rules that apply to individual API methods.addProviders
(int index, AuthProvider value) Defines a set of authentication providers that a service supports.addProviders
(int index, AuthProvider.Builder builderForValue) Defines a set of authentication providers that a service supports.addProviders
(AuthProvider value) Defines a set of authentication providers that a service supports.addProviders
(AuthProvider.Builder builderForValue) Defines a set of authentication providers that a service supports.Defines a set of authentication providers that a service supports.addProvidersBuilder
(int index) Defines a set of authentication providers that a service supports.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addRules
(int index, AuthenticationRule value) A list of authentication rules that apply to individual API methods.addRules
(int index, AuthenticationRule.Builder builderForValue) A list of authentication rules that apply to individual API methods.addRules
(AuthenticationRule value) A list of authentication rules that apply to individual API methods.addRules
(AuthenticationRule.Builder builderForValue) A list of authentication rules that apply to individual API methods.A list of authentication rules that apply to individual API methods.addRulesBuilder
(int index) A list of authentication rules that apply to individual API methods.build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Defines a set of authentication providers that a service supports.A list of authentication rules that apply to individual API methods.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getProviders
(int index) Defines a set of authentication providers that a service supports.getProvidersBuilder
(int index) Defines a set of authentication providers that a service supports.Defines a set of authentication providers that a service supports.int
Defines a set of authentication providers that a service supports.Defines a set of authentication providers that a service supports.getProvidersOrBuilder
(int index) Defines a set of authentication providers that a service supports.List<? extends AuthProviderOrBuilder>
Defines a set of authentication providers that a service supports.getRules
(int index) A list of authentication rules that apply to individual API methods.getRulesBuilder
(int index) A list of authentication rules that apply to individual API methods.A list of authentication rules that apply to individual API methods.int
A list of authentication rules that apply to individual API methods.A list of authentication rules that apply to individual API methods.getRulesOrBuilder
(int index) A list of authentication rules that apply to individual API methods.List<? extends AuthenticationRuleOrBuilder>
A list of authentication rules that apply to individual API methods.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(Authentication other) mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) final Authentication.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeProviders
(int index) Defines a set of authentication providers that a service supports.removeRules
(int index) A list of authentication rules that apply to individual API methods.setProviders
(int index, AuthProvider value) Defines a set of authentication providers that a service supports.setProviders
(int index, AuthProvider.Builder builderForValue) Defines a set of authentication providers that a service supports.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRules
(int index, AuthenticationRule value) A list of authentication rules that apply to individual API methods.setRules
(int index, AuthenticationRule.Builder builderForValue) A list of authentication rules that apply to individual API methods.final Authentication.Builder
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Authentication.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Authentication.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Authentication.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Authentication.Builder>
-
setField
public Authentication.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Authentication.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Authentication.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Authentication.Builder>
-
setRepeatedField
public Authentication.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Authentication.Builder>
-
addRepeatedField
public Authentication.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Authentication.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Authentication.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Authentication.Builder>
-
mergeFrom
public Authentication.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Authentication.Builder>
- Throws:
IOException
-
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;
- Specified by:
getRulesList
in interfaceAuthenticationOrBuilder
-
getRulesCount
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;
- Specified by:
getRulesCount
in interfaceAuthenticationOrBuilder
-
getRules
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;
- Specified by:
getRules
in interfaceAuthenticationOrBuilder
-
setRules
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;
-
setRules
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;
-
addRules
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;
-
addRules
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;
-
addRules
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;
-
addRules
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;
-
addAllRules
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;
-
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;
-
removeRules
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;
-
getRulesBuilder
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
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;
- Specified by:
getRulesOrBuilder
in interfaceAuthenticationOrBuilder
-
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;
- Specified by:
getRulesOrBuilderList
in interfaceAuthenticationOrBuilder
-
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;
-
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;
-
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;
-
getProvidersList
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
- Specified by:
getProvidersList
in interfaceAuthenticationOrBuilder
-
getProvidersCount
public int getProvidersCount()Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
- Specified by:
getProvidersCount
in interfaceAuthenticationOrBuilder
-
getProviders
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
- Specified by:
getProviders
in interfaceAuthenticationOrBuilder
-
setProviders
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
-
setProviders
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
-
addProviders
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
-
addProviders
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
-
addProviders
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
-
addProviders
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
-
addAllProviders
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
-
clearProviders
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
-
removeProviders
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
-
getProvidersBuilder
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
-
getProvidersOrBuilder
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
- Specified by:
getProvidersOrBuilder
in interfaceAuthenticationOrBuilder
-
getProvidersOrBuilderList
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
- Specified by:
getProvidersOrBuilderList
in interfaceAuthenticationOrBuilder
-
addProvidersBuilder
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
-
addProvidersBuilder
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
-
getProvidersBuilderList
Defines a set of authentication providers that a service supports.
repeated .google.api.AuthProvider providers = 4;
-
setUnknownFields
public final Authentication.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Authentication.Builder>
-
mergeUnknownFields
public final Authentication.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Authentication.Builder>
-