Package com.github.xds.type.matcher.v3
Interface Int32RangeMatcher.RangeMatcherOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Int32RangeMatcher.RangeMatcher,Int32RangeMatcher.RangeMatcher.Builder
- Enclosing class:
- Int32RangeMatcher
public static interface Int32RangeMatcher.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.Int32RangegetRanges(int index)A non-empty set of int32 ranges.intgetRangesCount()A non-empty set of int32 ranges.List<Int32Range>getRangesList()A non-empty set of int32 ranges.Int32RangeOrBuildergetRangesOrBuilder(int index)A non-empty set of int32 ranges.List<? extends Int32RangeOrBuilder>getRangesOrBuilderList()A non-empty set of int32 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<Int32Range> getRangesList()
A non-empty set of int32 ranges.
repeated .xds.type.v3.Int32Range ranges = 1 [(.validate.rules) = { ... }
-
getRanges
Int32Range getRanges(int index)
A non-empty set of int32 ranges.
repeated .xds.type.v3.Int32Range ranges = 1 [(.validate.rules) = { ... }
-
getRangesCount
int getRangesCount()
A non-empty set of int32 ranges.
repeated .xds.type.v3.Int32Range ranges = 1 [(.validate.rules) = { ... }
-
getRangesOrBuilderList
List<? extends Int32RangeOrBuilder> getRangesOrBuilderList()
A non-empty set of int32 ranges.
repeated .xds.type.v3.Int32Range ranges = 1 [(.validate.rules) = { ... }
-
getRangesOrBuilder
Int32RangeOrBuilder getRangesOrBuilder(int index)
A non-empty set of int32 ranges.
repeated .xds.type.v3.Int32Range 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;
-
-