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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getAllowWithoutCredential()
If true, the service accepts API keys without any other credential.OAuthRequirements
getOauth()
The requirements for OAuth credentials.OAuthRequirementsOrBuilder
getOauthOrBuilder()
The requirements for OAuth credentials.AuthRequirement
getRequirements(int index)
Requirements for additional authentication providers.int
getRequirementsCount()
Requirements for additional authentication providers.java.util.List<AuthRequirement>
getRequirementsList()
Requirements for additional authentication providers.AuthRequirementOrBuilder
getRequirementsOrBuilder(int index)
Requirements for additional authentication providers.java.util.List<? extends AuthRequirementOrBuilder>
getRequirementsOrBuilderList()
Requirements for additional authentication providers.java.lang.String
getSelector()
Selects the methods to which this rule applies.com.google.protobuf.ByteString
getSelectorBytes()
Selects the methods to which this rule applies.boolean
hasOauth()
The requirements for OAuth credentials.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSelector
java.lang.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
java.util.List<AuthRequirement> getRequirementsList()
Requirements for additional authentication providers.
repeated .google.api.AuthRequirement requirements = 7;
-
getRequirements
AuthRequirement getRequirements(int index)
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
java.util.List<? extends AuthRequirementOrBuilder> getRequirementsOrBuilderList()
Requirements for additional authentication providers.
repeated .google.api.AuthRequirement requirements = 7;
-
getRequirementsOrBuilder
AuthRequirementOrBuilder getRequirementsOrBuilder(int index)
Requirements for additional authentication providers.
repeated .google.api.AuthRequirement requirements = 7;
-
-