Package com.github.xds.type.matcher.v3
Interface DoubleRangeMatcher.RangeMatcherOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DoubleRangeMatcher.RangeMatcher,DoubleRangeMatcher.RangeMatcher.Builder
- Enclosing class:
- DoubleRangeMatcher
public static interface DoubleRangeMatcher.RangeMatcherOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionMatch action to apply when the input number is within one of the ranges.Match action to apply when the input number is within one of the ranges.getRanges(int index) A non-empty set of double ranges.intA non-empty set of double ranges.A non-empty set of double ranges.getRangesOrBuilder(int index) A non-empty set of double ranges.List<? extends DoubleRangeOrBuilder>A non-empty set of double ranges.booleanMatch action to apply when the input number is within one of the ranges.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
-
getRangesList
List<DoubleRange> getRangesList()A non-empty set of double ranges.
repeated .xds.type.v3.DoubleRange ranges = 1 [(.validate.rules) = { ... } -
getRanges
A non-empty set of double ranges.
repeated .xds.type.v3.DoubleRange ranges = 1 [(.validate.rules) = { ... } -
getRangesCount
int getRangesCount()A non-empty set of double ranges.
repeated .xds.type.v3.DoubleRange ranges = 1 [(.validate.rules) = { ... } -
getRangesOrBuilderList
List<? extends DoubleRangeOrBuilder> getRangesOrBuilderList()A non-empty set of double ranges.
repeated .xds.type.v3.DoubleRange ranges = 1 [(.validate.rules) = { ... } -
getRangesOrBuilder
A non-empty set of double ranges.
repeated .xds.type.v3.DoubleRange ranges = 1 [(.validate.rules) = { ... } -
hasOnMatch
boolean hasOnMatch()Match action to apply when the input number is within one of the ranges.
.xds.type.matcher.v3.Matcher.OnMatch on_match = 2;- Returns:
- Whether the onMatch field is set.
-
getOnMatch
Matcher.OnMatch getOnMatch()Match action to apply when the input number is within one of the ranges.
.xds.type.matcher.v3.Matcher.OnMatch on_match = 2;- Returns:
- The onMatch.
-
getOnMatchOrBuilder
Matcher.OnMatchOrBuilder getOnMatchOrBuilder()Match action to apply when the input number is within one of the ranges.
.xds.type.matcher.v3.Matcher.OnMatch on_match = 2;
-