Interface HttpProtocolOptions.OutlierDetectionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HttpProtocolOptions.OutlierDetection,HttpProtocolOptions.OutlierDetection.Builder
- Enclosing class:
- HttpProtocolOptions
public static interface HttpProtocolOptions.OutlierDetectionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionIf specified, only responses matching the matcher will be treated by outlier detection as errors.If specified, only responses matching the matcher will be treated by outlier detection as errors.booleanIf specified, only responses matching the matcher will be treated by outlier detection as errors.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
-
hasErrorMatcher
boolean hasErrorMatcher()If specified, only responses matching the matcher will be treated by outlier detection as errors. If not specified, only 5xx codes are treated by outlier detection as errors.
.envoy.config.common.matcher.v3.MatchPredicate error_matcher = 1 [(.validate.rules) = { ... }- Returns:
- Whether the errorMatcher field is set.
-
getErrorMatcher
MatchPredicate getErrorMatcher()If specified, only responses matching the matcher will be treated by outlier detection as errors. If not specified, only 5xx codes are treated by outlier detection as errors.
.envoy.config.common.matcher.v3.MatchPredicate error_matcher = 1 [(.validate.rules) = { ... }- Returns:
- The errorMatcher.
-
getErrorMatcherOrBuilder
MatchPredicateOrBuilder getErrorMatcherOrBuilder()If specified, only responses matching the matcher will be treated by outlier detection as errors. If not specified, only 5xx codes are treated by outlier detection as errors.
.envoy.config.common.matcher.v3.MatchPredicate error_matcher = 1 [(.validate.rules) = { ... }
-