Interface RateLimit.Action.HeaderValueMatchOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getDescriptorKey()
      The key to use in the descriptor entry.
      com.google.protobuf.ByteString getDescriptorKeyBytes()
      The key to use in the descriptor entry.
      java.lang.String getDescriptorValue()
      The value to use in the descriptor entry.
      com.google.protobuf.ByteString getDescriptorValueBytes()
      The value to use in the descriptor entry.
      com.google.protobuf.BoolValue getExpectMatch()
      If set to true, the action will append a descriptor entry when the request matches the headers.
      com.google.protobuf.BoolValueOrBuilder getExpectMatchOrBuilder()
      If set to true, the action will append a descriptor entry when the request matches the headers.
      HeaderMatcher getHeaders​(int index)
      Specifies a set of headers that the rate limit action should match on.
      int getHeadersCount()
      Specifies a set of headers that the rate limit action should match on.
      java.util.List<HeaderMatcher> getHeadersList()
      Specifies a set of headers that the rate limit action should match on.
      HeaderMatcherOrBuilder getHeadersOrBuilder​(int index)
      Specifies a set of headers that the rate limit action should match on.
      java.util.List<? extends HeaderMatcherOrBuilder> getHeadersOrBuilderList()
      Specifies a set of headers that the rate limit action should match on.
      boolean hasExpectMatch()
      If set to true, the action will append a descriptor entry when the request matches the headers.
      • 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 Detail

      • getDescriptorKey

        java.lang.String getDescriptorKey()
         The key to use in the descriptor entry. Defaults to ``header_match``.
         
        string descriptor_key = 4;
        Returns:
        The descriptorKey.
      • getDescriptorKeyBytes

        com.google.protobuf.ByteString getDescriptorKeyBytes()
         The key to use in the descriptor entry. Defaults to ``header_match``.
         
        string descriptor_key = 4;
        Returns:
        The bytes for descriptorKey.
      • getDescriptorValue

        java.lang.String getDescriptorValue()
         The value to use in the descriptor entry.
         
        string descriptor_value = 1 [(.validate.rules) = { ... }
        Returns:
        The descriptorValue.
      • getDescriptorValueBytes

        com.google.protobuf.ByteString getDescriptorValueBytes()
         The value to use in the descriptor entry.
         
        string descriptor_value = 1 [(.validate.rules) = { ... }
        Returns:
        The bytes for descriptorValue.
      • hasExpectMatch

        boolean hasExpectMatch()
         If set to true, the action will append a descriptor entry when the
         request matches the headers. If set to false, the action will append a
         descriptor entry when the request does not match the headers. The
         default value is true.
         
        .google.protobuf.BoolValue expect_match = 2;
        Returns:
        Whether the expectMatch field is set.
      • getExpectMatch

        com.google.protobuf.BoolValue getExpectMatch()
         If set to true, the action will append a descriptor entry when the
         request matches the headers. If set to false, the action will append a
         descriptor entry when the request does not match the headers. The
         default value is true.
         
        .google.protobuf.BoolValue expect_match = 2;
        Returns:
        The expectMatch.
      • getExpectMatchOrBuilder

        com.google.protobuf.BoolValueOrBuilder getExpectMatchOrBuilder()
         If set to true, the action will append a descriptor entry when the
         request matches the headers. If set to false, the action will append a
         descriptor entry when the request does not match the headers. The
         default value is true.
         
        .google.protobuf.BoolValue expect_match = 2;
      • getHeadersList

        java.util.List<HeaderMatcher> getHeadersList()
         Specifies a set of headers that the rate limit action should match
         on. The action will check the request’s headers against all the
         specified headers in the config. A match will happen if all the
         headers in the config are present in the request with the same values
         (or based on presence if the value field is not in the config).
         
        repeated .envoy.config.route.v3.HeaderMatcher headers = 3 [(.validate.rules) = { ... }
      • getHeaders

        HeaderMatcher getHeaders​(int index)
         Specifies a set of headers that the rate limit action should match
         on. The action will check the request’s headers against all the
         specified headers in the config. A match will happen if all the
         headers in the config are present in the request with the same values
         (or based on presence if the value field is not in the config).
         
        repeated .envoy.config.route.v3.HeaderMatcher headers = 3 [(.validate.rules) = { ... }
      • getHeadersCount

        int getHeadersCount()
         Specifies a set of headers that the rate limit action should match
         on. The action will check the request’s headers against all the
         specified headers in the config. A match will happen if all the
         headers in the config are present in the request with the same values
         (or based on presence if the value field is not in the config).
         
        repeated .envoy.config.route.v3.HeaderMatcher headers = 3 [(.validate.rules) = { ... }
      • getHeadersOrBuilderList

        java.util.List<? extends HeaderMatcherOrBuilder> getHeadersOrBuilderList()
         Specifies a set of headers that the rate limit action should match
         on. The action will check the request’s headers against all the
         specified headers in the config. A match will happen if all the
         headers in the config are present in the request with the same values
         (or based on presence if the value field is not in the config).
         
        repeated .envoy.config.route.v3.HeaderMatcher headers = 3 [(.validate.rules) = { ... }
      • getHeadersOrBuilder

        HeaderMatcherOrBuilder getHeadersOrBuilder​(int index)
         Specifies a set of headers that the rate limit action should match
         on. The action will check the request’s headers against all the
         specified headers in the config. A match will happen if all the
         headers in the config are present in the request with the same values
         (or based on presence if the value field is not in the config).
         
        repeated .envoy.config.route.v3.HeaderMatcher headers = 3 [(.validate.rules) = { ... }