Package com.github.xds.type.matcher.v3
Interface Matcher.OnMatchOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Matcher.OnMatch
,Matcher.OnMatch.Builder
- Enclosing class:
- Matcher
public static interface Matcher.OnMatchOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypedExtensionConfig
getAction()
Protocol-specific action to take.TypedExtensionConfigOrBuilder
getActionOrBuilder()
Protocol-specific action to take.Matcher
getMatcher()
Nested matcher to evaluate.MatcherOrBuilder
getMatcherOrBuilder()
Nested matcher to evaluate.Matcher.OnMatch.OnMatchCase
getOnMatchCase()
boolean
hasAction()
Protocol-specific action to take.boolean
hasMatcher()
Nested matcher to evaluate.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasMatcher
boolean hasMatcher()
Nested matcher to evaluate. If the nested matcher does not match and does not specify on_no_match, then this matcher is considered not to have matched, even if a predicate at this level or above returned true.
.xds.type.matcher.v3.Matcher matcher = 1;
- Returns:
- Whether the matcher field is set.
-
getMatcher
Matcher getMatcher()
Nested matcher to evaluate. If the nested matcher does not match and does not specify on_no_match, then this matcher is considered not to have matched, even if a predicate at this level or above returned true.
.xds.type.matcher.v3.Matcher matcher = 1;
- Returns:
- The matcher.
-
getMatcherOrBuilder
MatcherOrBuilder getMatcherOrBuilder()
Nested matcher to evaluate. If the nested matcher does not match and does not specify on_no_match, then this matcher is considered not to have matched, even if a predicate at this level or above returned true.
.xds.type.matcher.v3.Matcher matcher = 1;
-
hasAction
boolean hasAction()
Protocol-specific action to take.
.xds.core.v3.TypedExtensionConfig action = 2;
- Returns:
- Whether the action field is set.
-
getAction
TypedExtensionConfig getAction()
Protocol-specific action to take.
.xds.core.v3.TypedExtensionConfig action = 2;
- Returns:
- The action.
-
getActionOrBuilder
TypedExtensionConfigOrBuilder getActionOrBuilder()
Protocol-specific action to take.
.xds.core.v3.TypedExtensionConfig action = 2;
-
getOnMatchCase
Matcher.OnMatch.OnMatchCase getOnMatchCase()
-
-