Interface ScopedRoutes.ScopeKeyBuilder.FragmentBuilder.HeaderValueExtractor.KvElementOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ScopedRoutes.ScopeKeyBuilder.FragmentBuilder.HeaderValueExtractor.KvElement
,ScopedRoutes.ScopeKeyBuilder.FragmentBuilder.HeaderValueExtractor.KvElement.Builder
- Enclosing class:
ScopedRoutes.ScopeKeyBuilder.FragmentBuilder.HeaderValueExtractor
public static interface ScopedRoutes.ScopeKeyBuilder.FragmentBuilder.HeaderValueExtractor.KvElementOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetKey()
The key to match on.com.google.protobuf.ByteString
The key to match on.The separator between key and value (e.g., '=' separates 'k=v;...').com.google.protobuf.ByteString
The separator between key and value (e.g., '=' separates 'k=v;...').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 Details
-
getSeparator
String getSeparator()The separator between key and value (e.g., '=' separates 'k=v;...'). If an element is an empty string, the element is ignored. If an element contains no separator, the whole element is parsed as key and the fragment value is an empty string. If there are multiple values for a matched key, the first value is returned.
string separator = 1 [(.validate.rules) = { ... }
- Returns:
- The separator.
-
getSeparatorBytes
com.google.protobuf.ByteString getSeparatorBytes()The separator between key and value (e.g., '=' separates 'k=v;...'). If an element is an empty string, the element is ignored. If an element contains no separator, the whole element is parsed as key and the fragment value is an empty string. If there are multiple values for a matched key, the first value is returned.
string separator = 1 [(.validate.rules) = { ... }
- Returns:
- The bytes for separator.
-
getKey
String getKey()The key to match on.
string key = 2 [(.validate.rules) = { ... }
- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()The key to match on.
string key = 2 [(.validate.rules) = { ... }
- Returns:
- The bytes for key.
-