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
Modifier and TypeMethodDescriptionProtocol-specific action to take.Protocol-specific action to take.Nested matcher to evaluate.Nested matcher to evaluate.boolean
Protocol-specific action to take.boolean
Nested matcher to evaluate.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
-
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()
-