Interface RequirementRuleOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
RequirementRule, RequirementRule.Builder

public interface RequirementRuleOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The route matching parameter.
    The route matching parameter.
    Specify a Jwt Requirement.
    Specify a Jwt Requirement.
    boolean
    The route matching parameter.
    boolean
    Specify a Jwt Requirement.

    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

    • hasMatch

      boolean hasMatch()
       The route matching parameter. Only when the match is satisfied, the "requires" field will
       apply.
      
       For example: following match will match all requests.
      
       .. code-block:: yaml
      
          match:
            prefix: /
       
      .envoy.api.v2.route.RouteMatch match = 1 [(.validate.rules) = { ... }
      Returns:
      Whether the match field is set.
    • getMatch

      RouteMatch getMatch()
       The route matching parameter. Only when the match is satisfied, the "requires" field will
       apply.
      
       For example: following match will match all requests.
      
       .. code-block:: yaml
      
          match:
            prefix: /
       
      .envoy.api.v2.route.RouteMatch match = 1 [(.validate.rules) = { ... }
      Returns:
      The match.
    • getMatchOrBuilder

      RouteMatchOrBuilder getMatchOrBuilder()
       The route matching parameter. Only when the match is satisfied, the "requires" field will
       apply.
      
       For example: following match will match all requests.
      
       .. code-block:: yaml
      
          match:
            prefix: /
       
      .envoy.api.v2.route.RouteMatch match = 1 [(.validate.rules) = { ... }
    • hasRequires

      boolean hasRequires()
       Specify a Jwt Requirement. Please detail comment in message JwtRequirement.
       
      .envoy.config.filter.http.jwt_authn.v2alpha.JwtRequirement requires = 2;
      Returns:
      Whether the requires field is set.
    • getRequires

      JwtRequirement getRequires()
       Specify a Jwt Requirement. Please detail comment in message JwtRequirement.
       
      .envoy.config.filter.http.jwt_authn.v2alpha.JwtRequirement requires = 2;
      Returns:
      The requires.
    • getRequiresOrBuilder

      JwtRequirementOrBuilder getRequiresOrBuilder()
       Specify a Jwt Requirement. Please detail comment in message JwtRequirement.
       
      .envoy.config.filter.http.jwt_authn.v2alpha.JwtRequirement requires = 2;