Package com.google.api
Interface AuthenticationRuleOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AuthenticationRule
,AuthenticationRule.Builder
public interface AuthenticationRuleOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
If true, the service accepts API keys without any other credential.getOauth()
The requirements for OAuth credentials.The requirements for OAuth credentials.getRequirements
(int index) Requirements for additional authentication providers.int
Requirements for additional authentication providers.Requirements for additional authentication providers.getRequirementsOrBuilder
(int index) Requirements for additional authentication providers.List<? extends AuthRequirementOrBuilder>
Requirements for additional authentication providers.Selects the methods to which this rule applies.com.google.protobuf.ByteString
Selects the methods to which this rule applies.boolean
hasOauth()
The requirements for OAuth credentials.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getSelector
String getSelector()Selects the methods to which this rule applies. Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
string selector = 1;
- Returns:
- The selector.
-
getSelectorBytes
com.google.protobuf.ByteString getSelectorBytes()Selects the methods to which this rule applies. Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
string selector = 1;
- Returns:
- The bytes for selector.
-
hasOauth
boolean hasOauth()The requirements for OAuth credentials.
.google.api.OAuthRequirements oauth = 2;
- Returns:
- Whether the oauth field is set.
-
getOauth
OAuthRequirements getOauth()The requirements for OAuth credentials.
.google.api.OAuthRequirements oauth = 2;
- Returns:
- The oauth.
-
getOauthOrBuilder
OAuthRequirementsOrBuilder getOauthOrBuilder()The requirements for OAuth credentials.
.google.api.OAuthRequirements oauth = 2;
-
getAllowWithoutCredential
boolean getAllowWithoutCredential()If true, the service accepts API keys without any other credential. This flag only applies to HTTP and gRPC requests.
bool allow_without_credential = 5;
- Returns:
- The allowWithoutCredential.
-
getRequirementsList
List<AuthRequirement> getRequirementsList()Requirements for additional authentication providers.
repeated .google.api.AuthRequirement requirements = 7;
-
getRequirements
Requirements for additional authentication providers.
repeated .google.api.AuthRequirement requirements = 7;
-
getRequirementsCount
int getRequirementsCount()Requirements for additional authentication providers.
repeated .google.api.AuthRequirement requirements = 7;
-
getRequirementsOrBuilderList
List<? extends AuthRequirementOrBuilder> getRequirementsOrBuilderList()Requirements for additional authentication providers.
repeated .google.api.AuthRequirement requirements = 7;
-
getRequirementsOrBuilder
Requirements for additional authentication providers.
repeated .google.api.AuthRequirement requirements = 7;
-