Interface MetadataMatcherOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MetadataMatcher
,MetadataMatcher.Builder
public interface MetadataMatcherOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getFilter()
The filter name to retrieve the Struct from the Metadata.com.google.protobuf.ByteString
getFilterBytes()
The filter name to retrieve the Struct from the Metadata.boolean
getInvert()
If true, the match result will be inverted.MetadataMatcher.PathSegment
getPath(int index)
The path to retrieve the Value from the Struct.int
getPathCount()
The path to retrieve the Value from the Struct.java.util.List<MetadataMatcher.PathSegment>
getPathList()
The path to retrieve the Value from the Struct.MetadataMatcher.PathSegmentOrBuilder
getPathOrBuilder(int index)
The path to retrieve the Value from the Struct.java.util.List<? extends MetadataMatcher.PathSegmentOrBuilder>
getPathOrBuilderList()
The path to retrieve the Value from the Struct.ValueMatcher
getValue()
The MetadataMatcher is matched if the value retrieved by path is matched to this value.ValueMatcherOrBuilder
getValueOrBuilder()
The MetadataMatcher is matched if the value retrieved by path is matched to this value.boolean
hasValue()
The MetadataMatcher is matched if the value retrieved by path is matched to this value.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getFilter
java.lang.String getFilter()
The filter name to retrieve the Struct from the Metadata.
string filter = 1 [(.validate.rules) = { ... }
- Returns:
- The filter.
-
getFilterBytes
com.google.protobuf.ByteString getFilterBytes()
The filter name to retrieve the Struct from the Metadata.
string filter = 1 [(.validate.rules) = { ... }
- Returns:
- The bytes for filter.
-
getPathList
java.util.List<MetadataMatcher.PathSegment> getPathList()
The path to retrieve the Value from the Struct.
repeated .envoy.type.matcher.v3.MetadataMatcher.PathSegment path = 2 [(.validate.rules) = { ... }
-
getPath
MetadataMatcher.PathSegment getPath(int index)
The path to retrieve the Value from the Struct.
repeated .envoy.type.matcher.v3.MetadataMatcher.PathSegment path = 2 [(.validate.rules) = { ... }
-
getPathCount
int getPathCount()
The path to retrieve the Value from the Struct.
repeated .envoy.type.matcher.v3.MetadataMatcher.PathSegment path = 2 [(.validate.rules) = { ... }
-
getPathOrBuilderList
java.util.List<? extends MetadataMatcher.PathSegmentOrBuilder> getPathOrBuilderList()
The path to retrieve the Value from the Struct.
repeated .envoy.type.matcher.v3.MetadataMatcher.PathSegment path = 2 [(.validate.rules) = { ... }
-
getPathOrBuilder
MetadataMatcher.PathSegmentOrBuilder getPathOrBuilder(int index)
The path to retrieve the Value from the Struct.
repeated .envoy.type.matcher.v3.MetadataMatcher.PathSegment path = 2 [(.validate.rules) = { ... }
-
hasValue
boolean hasValue()
The MetadataMatcher is matched if the value retrieved by path is matched to this value.
.envoy.type.matcher.v3.ValueMatcher value = 3 [(.validate.rules) = { ... }
- Returns:
- Whether the value field is set.
-
getValue
ValueMatcher getValue()
The MetadataMatcher is matched if the value retrieved by path is matched to this value.
.envoy.type.matcher.v3.ValueMatcher value = 3 [(.validate.rules) = { ... }
- Returns:
- The value.
-
getValueOrBuilder
ValueMatcherOrBuilder getValueOrBuilder()
The MetadataMatcher is matched if the value retrieved by path is matched to this value.
.envoy.type.matcher.v3.ValueMatcher value = 3 [(.validate.rules) = { ... }
-
getInvert
boolean getInvert()
If true, the match result will be inverted.
bool invert = 4;
- Returns:
- The invert.
-
-