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 Detail

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