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 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

      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

      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;