Package com.github.xds.type.matcher.v3
Interface Matcher.MatcherTreeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Matcher.MatcherTree
,Matcher.MatcherTree.Builder
- Enclosing class:
Matcher
public static interface Matcher.MatcherTreeOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionExtension for custom matching logic.Extension for custom matching logic..xds.type.matcher.v3.Matcher.MatcherTree.MatchMap exact_match_map = 2;
.xds.type.matcher.v3.Matcher.MatcherTree.MatchMap exact_match_map = 2;
getInput()
Protocol-specific specification of input field to match on.Protocol-specific specification of input field to match on.Longest matching prefix wins.Longest matching prefix wins.boolean
Extension for custom matching logic.boolean
.xds.type.matcher.v3.Matcher.MatcherTree.MatchMap exact_match_map = 2;
boolean
hasInput()
Protocol-specific specification of input field to match on.boolean
Longest matching prefix wins.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
-
hasInput
boolean hasInput()Protocol-specific specification of input field to match on.
.xds.core.v3.TypedExtensionConfig input = 1 [(.validate.rules) = { ... }
- Returns:
- Whether the input field is set.
-
getInput
TypedExtensionConfig getInput()Protocol-specific specification of input field to match on.
.xds.core.v3.TypedExtensionConfig input = 1 [(.validate.rules) = { ... }
- Returns:
- The input.
-
getInputOrBuilder
TypedExtensionConfigOrBuilder getInputOrBuilder()Protocol-specific specification of input field to match on.
.xds.core.v3.TypedExtensionConfig input = 1 [(.validate.rules) = { ... }
-
hasExactMatchMap
boolean hasExactMatchMap().xds.type.matcher.v3.Matcher.MatcherTree.MatchMap exact_match_map = 2;
- Returns:
- Whether the exactMatchMap field is set.
-
getExactMatchMap
Matcher.MatcherTree.MatchMap getExactMatchMap().xds.type.matcher.v3.Matcher.MatcherTree.MatchMap exact_match_map = 2;
- Returns:
- The exactMatchMap.
-
getExactMatchMapOrBuilder
Matcher.MatcherTree.MatchMapOrBuilder getExactMatchMapOrBuilder().xds.type.matcher.v3.Matcher.MatcherTree.MatchMap exact_match_map = 2;
-
hasPrefixMatchMap
boolean hasPrefixMatchMap()Longest matching prefix wins.
.xds.type.matcher.v3.Matcher.MatcherTree.MatchMap prefix_match_map = 3;
- Returns:
- Whether the prefixMatchMap field is set.
-
getPrefixMatchMap
Matcher.MatcherTree.MatchMap getPrefixMatchMap()Longest matching prefix wins.
.xds.type.matcher.v3.Matcher.MatcherTree.MatchMap prefix_match_map = 3;
- Returns:
- The prefixMatchMap.
-
getPrefixMatchMapOrBuilder
Matcher.MatcherTree.MatchMapOrBuilder getPrefixMatchMapOrBuilder()Longest matching prefix wins.
.xds.type.matcher.v3.Matcher.MatcherTree.MatchMap prefix_match_map = 3;
-
hasCustomMatch
boolean hasCustomMatch()Extension for custom matching logic.
.xds.core.v3.TypedExtensionConfig custom_match = 4;
- Returns:
- Whether the customMatch field is set.
-
getCustomMatch
TypedExtensionConfig getCustomMatch()Extension for custom matching logic.
.xds.core.v3.TypedExtensionConfig custom_match = 4;
- Returns:
- The customMatch.
-
getCustomMatchOrBuilder
TypedExtensionConfigOrBuilder getCustomMatchOrBuilder()Extension for custom matching logic.
.xds.core.v3.TypedExtensionConfig custom_match = 4;
-
getTreeTypeCase
Matcher.MatcherTree.TreeTypeCase getTreeTypeCase()
-