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 booleangetAllowWithoutCredential()Whether to allow requests without a credential.OAuthRequirementsgetOauth()The requirements for OAuth credentials.OAuthRequirementsOrBuildergetOauthOrBuilder()The requirements for OAuth credentials.AuthRequirementgetRequirements(int index)Requirements for additional authentication providers.intgetRequirementsCount()Requirements for additional authentication providers.java.util.List<AuthRequirement>getRequirementsList()Requirements for additional authentication providers.AuthRequirementOrBuildergetRequirementsOrBuilder(int index)Requirements for additional authentication providers.java.util.List<? extends AuthRequirementOrBuilder>getRequirementsOrBuilderList()Requirements for additional authentication providers.java.lang.StringgetSelector()Selects the methods to which this rule applies.com.google.protobuf.ByteStringgetSelectorBytes()Selects the methods to which this rule applies.booleanhasOauth()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()
Whether to allow requests without a credential. The credential can be an OAuth token, Google cookies (first-party auth) or EndUserCreds. For requests without credentials, if the service control environment is specified, each incoming request **must** be associated with a service consumer. This can be done by passing an API key that belongs to a consumer project.
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;
-
-