Package com.github.xds.type.matcher.v3
Interface MatcherOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Matcher
,Matcher.Builder
public interface MatcherOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Matcher.MatcherList
getMatcherList()
A linear list of matchers to evaluate.Matcher.MatcherListOrBuilder
getMatcherListOrBuilder()
A linear list of matchers to evaluate.Matcher.MatcherTree
getMatcherTree()
A match tree to evaluate.Matcher.MatcherTreeOrBuilder
getMatcherTreeOrBuilder()
A match tree to evaluate.Matcher.MatcherTypeCase
getMatcherTypeCase()
Matcher.OnMatch
getOnNoMatch()
Optional OnMatch to use if no matcher above matched (e.g., if there are no matchers specified above, or if none of the matches specified above succeeded).Matcher.OnMatchOrBuilder
getOnNoMatchOrBuilder()
Optional OnMatch to use if no matcher above matched (e.g., if there are no matchers specified above, or if none of the matches specified above succeeded).boolean
hasMatcherList()
A linear list of matchers to evaluate.boolean
hasMatcherTree()
A match tree to evaluate.boolean
hasOnNoMatch()
Optional OnMatch to use if no matcher above matched (e.g., if there are no matchers specified above, or if none of the matches specified above succeeded).-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasMatcherList
boolean hasMatcherList()
A linear list of matchers to evaluate.
.xds.type.matcher.v3.Matcher.MatcherList matcher_list = 1;
- Returns:
- Whether the matcherList field is set.
-
getMatcherList
Matcher.MatcherList getMatcherList()
A linear list of matchers to evaluate.
.xds.type.matcher.v3.Matcher.MatcherList matcher_list = 1;
- Returns:
- The matcherList.
-
getMatcherListOrBuilder
Matcher.MatcherListOrBuilder getMatcherListOrBuilder()
A linear list of matchers to evaluate.
.xds.type.matcher.v3.Matcher.MatcherList matcher_list = 1;
-
hasMatcherTree
boolean hasMatcherTree()
A match tree to evaluate.
.xds.type.matcher.v3.Matcher.MatcherTree matcher_tree = 2;
- Returns:
- Whether the matcherTree field is set.
-
getMatcherTree
Matcher.MatcherTree getMatcherTree()
A match tree to evaluate.
.xds.type.matcher.v3.Matcher.MatcherTree matcher_tree = 2;
- Returns:
- The matcherTree.
-
getMatcherTreeOrBuilder
Matcher.MatcherTreeOrBuilder getMatcherTreeOrBuilder()
A match tree to evaluate.
.xds.type.matcher.v3.Matcher.MatcherTree matcher_tree = 2;
-
hasOnNoMatch
boolean hasOnNoMatch()
Optional OnMatch to use if no matcher above matched (e.g., if there are no matchers specified above, or if none of the matches specified above succeeded). If no matcher above matched and this field is not populated, the match will be considered unsuccessful.
.xds.type.matcher.v3.Matcher.OnMatch on_no_match = 3;
- Returns:
- Whether the onNoMatch field is set.
-
getOnNoMatch
Matcher.OnMatch getOnNoMatch()
Optional OnMatch to use if no matcher above matched (e.g., if there are no matchers specified above, or if none of the matches specified above succeeded). If no matcher above matched and this field is not populated, the match will be considered unsuccessful.
.xds.type.matcher.v3.Matcher.OnMatch on_no_match = 3;
- Returns:
- The onNoMatch.
-
getOnNoMatchOrBuilder
Matcher.OnMatchOrBuilder getOnNoMatchOrBuilder()
Optional OnMatch to use if no matcher above matched (e.g., if there are no matchers specified above, or if none of the matches specified above succeeded). If no matcher above matched and this field is not populated, the match will be considered unsuccessful.
.xds.type.matcher.v3.Matcher.OnMatch on_no_match = 3;
-
getMatcherTypeCase
Matcher.MatcherTypeCase getMatcherTypeCase()
-
-