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 StringgetFilter()The filter name to retrieve the Struct from the Metadata.com.google.protobuf.ByteStringgetFilterBytes()The filter name to retrieve the Struct from the Metadata.booleangetInvert()If true, the match result will be inverted.MetadataMatcher.PathSegmentgetPath(int index)The path to retrieve the Value from the Struct.intgetPathCount()The path to retrieve the Value from the Struct.List<MetadataMatcher.PathSegment>getPathList()The path to retrieve the Value from the Struct.MetadataMatcher.PathSegmentOrBuildergetPathOrBuilder(int index)The path to retrieve the Value from the Struct.List<? extends MetadataMatcher.PathSegmentOrBuilder>getPathOrBuilderList()The path to retrieve the Value from the Struct.ValueMatchergetValue()The MetadataMatcher is matched if the value retrieved by path is matched to this value.ValueMatcherOrBuildergetValueOrBuilder()The MetadataMatcher is matched if the value retrieved by path is matched to this value.booleanhasValue()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
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
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
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.
-
-