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
Modifier and TypeMethodDescriptionA linear list of matchers to evaluate.A linear list of matchers to evaluate.A match tree to evaluate.A match tree to evaluate.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).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
A linear list of matchers to evaluate.boolean
A match tree to evaluate.boolean
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.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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()
-