Interface RouteAction.HashPolicy.HeaderOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getHeaderName()
      The name of the request header that will be used to obtain the hash key.
      com.google.protobuf.ByteString getHeaderNameBytes()
      The name of the request header that will be used to obtain the hash key.
      RegexMatchAndSubstitute getRegexRewrite()
      If specified, the request header value will be rewritten and used to produce the hash key.
      RegexMatchAndSubstituteOrBuilder getRegexRewriteOrBuilder()
      If specified, the request header value will be rewritten and used to produce the hash key.
      boolean hasRegexRewrite()
      If specified, the request header value will be rewritten and used to produce the hash key.
      • 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

      • getHeaderName

        java.lang.String getHeaderName()
         The name of the request header that will be used to obtain the hash
         key. If the request header is not present, no hash will be produced.
         
        string header_name = 1 [(.validate.rules) = { ... }
        Returns:
        The headerName.
      • getHeaderNameBytes

        com.google.protobuf.ByteString getHeaderNameBytes()
         The name of the request header that will be used to obtain the hash
         key. If the request header is not present, no hash will be produced.
         
        string header_name = 1 [(.validate.rules) = { ... }
        Returns:
        The bytes for headerName.
      • hasRegexRewrite

        boolean hasRegexRewrite()
         If specified, the request header value will be rewritten and used
         to produce the hash key.
         
        .envoy.type.matcher.v3.RegexMatchAndSubstitute regex_rewrite = 2;
        Returns:
        Whether the regexRewrite field is set.
      • getRegexRewrite

        RegexMatchAndSubstitute getRegexRewrite()
         If specified, the request header value will be rewritten and used
         to produce the hash key.
         
        .envoy.type.matcher.v3.RegexMatchAndSubstitute regex_rewrite = 2;
        Returns:
        The regexRewrite.
      • getRegexRewriteOrBuilder

        RegexMatchAndSubstituteOrBuilder getRegexRewriteOrBuilder()
         If specified, the request header value will be rewritten and used
         to produce the hash key.
         
        .envoy.type.matcher.v3.RegexMatchAndSubstitute regex_rewrite = 2;