Package io.envoyproxy.envoy.api.v2.route
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 StringgetHeaderName()The name of the request header that will be used to obtain the hash key.com.google.protobuf.ByteStringgetHeaderNameBytes()The name of the request header that will be used to obtain 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
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.
-
-