Interface RouteAction.HashPolicy.HeaderOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RouteAction.HashPolicy.Header
,RouteAction.HashPolicy.Header.Builder
- Enclosing class:
- RouteAction.HashPolicy
public static interface RouteAction.HashPolicy.HeaderOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
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.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;
-
-