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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Matcher.OnMatchgetOnMatch()Match action to apply when the input number is within one of the ranges.Matcher.OnMatchOrBuildergetOnMatchOrBuilder()Match action to apply when the input number is within one of the ranges.DoubleRangegetRanges(int index)A non-empty set of double ranges.intgetRangesCount()A non-empty set of double ranges.List<DoubleRange>getRangesList()A non-empty set of double ranges.DoubleRangeOrBuildergetRangesOrBuilder(int index)A non-empty set of double ranges.List<? extends DoubleRangeOrBuilder>getRangesOrBuilderList()A non-empty set of double ranges.booleanhasOnMatch()Match action to apply when the input number is within one of the ranges.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getRangesList
List<DoubleRange> getRangesList()
A non-empty set of double ranges.
repeated .xds.type.v3.DoubleRange ranges = 1 [(.validate.rules) = { ... }
-
getRanges
DoubleRange getRanges(int index)
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
DoubleRangeOrBuilder getRangesOrBuilder(int index)
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;
-
-