Interface ScopedRoutes.ScopeKeyBuilder.FragmentBuilder.HeaderValueExtractorOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ScopedRoutes.ScopeKeyBuilder.FragmentBuilder.HeaderValueExtractor,ScopedRoutes.ScopeKeyBuilder.FragmentBuilder.HeaderValueExtractor.Builder
- Enclosing class:
- ScopedRoutes.ScopeKeyBuilder.FragmentBuilder
public static interface ScopedRoutes.ScopeKeyBuilder.FragmentBuilder.HeaderValueExtractorOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScopedRoutes.ScopeKeyBuilder.FragmentBuilder.HeaderValueExtractor.KvElementgetElement()Specifies the key value pair to extract the value from.ScopedRoutes.ScopeKeyBuilder.FragmentBuilder.HeaderValueExtractor.KvElementOrBuildergetElementOrBuilder()Specifies the key value pair to extract the value from.StringgetElementSeparator()The element separator (e.g., ';' separates 'a;b;c;d').com.google.protobuf.ByteStringgetElementSeparatorBytes()The element separator (e.g., ';' separates 'a;b;c;d').ScopedRoutes.ScopeKeyBuilder.FragmentBuilder.HeaderValueExtractor.ExtractTypeCasegetExtractTypeCase()intgetIndex()Specifies the zero based index of the element to extract.StringgetName()The name of the header field to extract the value from. .. note:: If the header appears multiple times only the first value is used.com.google.protobuf.ByteStringgetNameBytes()The name of the header field to extract the value from. .. note:: If the header appears multiple times only the first value is used.booleanhasElement()Specifies the key value pair to extract the value from.booleanhasIndex()Specifies the zero based index of the element to extract.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
The name of the header field to extract the value from. .. note:: If the header appears multiple times only the first value is used.
string name = 1 [(.validate.rules) = { ... }- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The name of the header field to extract the value from. .. note:: If the header appears multiple times only the first value is used.
string name = 1 [(.validate.rules) = { ... }- Returns:
- The bytes for name.
-
getElementSeparator
String getElementSeparator()
The element separator (e.g., ';' separates 'a;b;c;d'). Default: empty string. This causes the entirety of the header field to be extracted. If this field is set to an empty string and 'index' is used in the oneof below, 'index' must be set to 0.
string element_separator = 2;- Returns:
- The elementSeparator.
-
getElementSeparatorBytes
com.google.protobuf.ByteString getElementSeparatorBytes()
The element separator (e.g., ';' separates 'a;b;c;d'). Default: empty string. This causes the entirety of the header field to be extracted. If this field is set to an empty string and 'index' is used in the oneof below, 'index' must be set to 0.
string element_separator = 2;- Returns:
- The bytes for elementSeparator.
-
hasIndex
boolean hasIndex()
Specifies the zero based index of the element to extract. Note Envoy concatenates multiple values of the same header key into a comma separated string, the splitting always happens after the concatenation.
uint32 index = 3;- Returns:
- Whether the index field is set.
-
getIndex
int getIndex()
Specifies the zero based index of the element to extract. Note Envoy concatenates multiple values of the same header key into a comma separated string, the splitting always happens after the concatenation.
uint32 index = 3;- Returns:
- The index.
-
hasElement
boolean hasElement()
Specifies the key value pair to extract the value from.
.envoy.config.filter.network.http_connection_manager.v2.ScopedRoutes.ScopeKeyBuilder.FragmentBuilder.HeaderValueExtractor.KvElement element = 4;- Returns:
- Whether the element field is set.
-
getElement
ScopedRoutes.ScopeKeyBuilder.FragmentBuilder.HeaderValueExtractor.KvElement getElement()
Specifies the key value pair to extract the value from.
.envoy.config.filter.network.http_connection_manager.v2.ScopedRoutes.ScopeKeyBuilder.FragmentBuilder.HeaderValueExtractor.KvElement element = 4;- Returns:
- The element.
-
getElementOrBuilder
ScopedRoutes.ScopeKeyBuilder.FragmentBuilder.HeaderValueExtractor.KvElementOrBuilder getElementOrBuilder()
Specifies the key value pair to extract the value from.
.envoy.config.filter.network.http_connection_manager.v2.ScopedRoutes.ScopeKeyBuilder.FragmentBuilder.HeaderValueExtractor.KvElement element = 4;
-
getExtractTypeCase
ScopedRoutes.ScopeKeyBuilder.FragmentBuilder.HeaderValueExtractor.ExtractTypeCase getExtractTypeCase()
-
-