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
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 int32 ranges.intA non-empty set of int32 ranges.A non-empty set of int32 ranges.getRangesOrBuilder(int index) A non-empty set of int32 ranges.List<? extends Int32RangeOrBuilder>A non-empty set of int32 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<Int32Range> getRangesList()A non-empty set of int32 ranges.
repeated .xds.type.v3.Int32Range ranges = 1 [(.validate.rules) = { ... } -
getRanges
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
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;
-