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.booleanIf true, the action will be taken but the caller will behave as if no match was found.Nested matcher to evaluate.Nested matcher to evaluate.booleanProtocol-specific action to take.booleanNested matcher to evaluate.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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.
.envoy.config.common.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.
.envoy.config.common.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.
.envoy.config.common.matcher.v3.Matcher matcher = 1; -
hasAction
boolean hasAction()Protocol-specific action to take.
.envoy.config.core.v3.TypedExtensionConfig action = 2;- Returns:
- Whether the action field is set.
-
getAction
TypedExtensionConfig getAction()Protocol-specific action to take.
.envoy.config.core.v3.TypedExtensionConfig action = 2;- Returns:
- The action.
-
getActionOrBuilder
TypedExtensionConfigOrBuilder getActionOrBuilder()Protocol-specific action to take.
.envoy.config.core.v3.TypedExtensionConfig action = 2; -
getKeepMatching
boolean getKeepMatching()If true, the action will be taken but the caller will behave as if no match was found. This applies both to actions directly encoded in the action field and to actions returned from a nested matcher tree in the matcher field. A subsequent matcher on_no_match action will be used instead. This field is not supported in all contexts in which the matcher API is used. If this field is set in a context in which it's not supported, the resource will be rejected.
bool keep_matching = 3;- Returns:
- The keepMatching.
-
getOnMatchCase
Matcher.OnMatch.OnMatchCase getOnMatchCase()
-