Package com.github.xds.type.matcher.v3
Class Int32RangeMatcher.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Int32RangeMatcher.Builder>
com.github.xds.type.matcher.v3.Int32RangeMatcher.Builder
- All Implemented Interfaces:
Int32RangeMatcherOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Int32RangeMatcher
public static final class Int32RangeMatcher.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Int32RangeMatcher.Builder>
implements Int32RangeMatcherOrBuilder
Specifies a set of ranges for matching an int32 number and the associated match actions.Protobuf type
xds.type.matcher.v3.Int32RangeMatcher-
Method Summary
Modifier and TypeMethodDescriptionaddAllRangeMatchers(Iterable<? extends Int32RangeMatcher.RangeMatcher> values) Match a number by a list of number ranges.addRangeMatchers(int index, Int32RangeMatcher.RangeMatcher value) Match a number by a list of number ranges.addRangeMatchers(int index, Int32RangeMatcher.RangeMatcher.Builder builderForValue) Match a number by a list of number ranges.Match a number by a list of number ranges.addRangeMatchers(Int32RangeMatcher.RangeMatcher.Builder builderForValue) Match a number by a list of number ranges.Match a number by a list of number ranges.addRangeMatchersBuilder(int index) Match a number by a list of number ranges.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Match a number by a list of number ranges.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetRangeMatchers(int index) Match a number by a list of number ranges.getRangeMatchersBuilder(int index) Match a number by a list of number ranges.Match a number by a list of number ranges.intMatch a number by a list of number ranges.Match a number by a list of number ranges.getRangeMatchersOrBuilder(int index) Match a number by a list of number ranges.List<? extends Int32RangeMatcher.RangeMatcherOrBuilder>Match a number by a list of number ranges.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(Int32RangeMatcher other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeRangeMatchers(int index) Match a number by a list of number ranges.setRangeMatchers(int index, Int32RangeMatcher.RangeMatcher value) Match a number by a list of number ranges.setRangeMatchers(int index, Int32RangeMatcher.RangeMatcher.Builder builderForValue) Match a number by a list of number ranges.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Int32RangeMatcher.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Int32RangeMatcher.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Int32RangeMatcher.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Int32RangeMatcher.Builder>
-
setField
public Int32RangeMatcher.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Int32RangeMatcher.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Int32RangeMatcher.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Int32RangeMatcher.Builder>
-
setRepeatedField
public Int32RangeMatcher.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Int32RangeMatcher.Builder>
-
addRepeatedField
public Int32RangeMatcher.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Int32RangeMatcher.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Int32RangeMatcher.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Int32RangeMatcher.Builder>
-
mergeFrom
public Int32RangeMatcher.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Int32RangeMatcher.Builder>- Throws:
IOException
-
getRangeMatchersList
Match a number by a list of number ranges. If multiple ranges contain the input number, then the first action in this list is taken.
repeated .xds.type.matcher.v3.Int32RangeMatcher.RangeMatcher range_matchers = 1;- Specified by:
getRangeMatchersListin interfaceInt32RangeMatcherOrBuilder
-
getRangeMatchersCount
public int getRangeMatchersCount()Match a number by a list of number ranges. If multiple ranges contain the input number, then the first action in this list is taken.
repeated .xds.type.matcher.v3.Int32RangeMatcher.RangeMatcher range_matchers = 1;- Specified by:
getRangeMatchersCountin interfaceInt32RangeMatcherOrBuilder
-
getRangeMatchers
Match a number by a list of number ranges. If multiple ranges contain the input number, then the first action in this list is taken.
repeated .xds.type.matcher.v3.Int32RangeMatcher.RangeMatcher range_matchers = 1;- Specified by:
getRangeMatchersin interfaceInt32RangeMatcherOrBuilder
-
setRangeMatchers
Match a number by a list of number ranges. If multiple ranges contain the input number, then the first action in this list is taken.
repeated .xds.type.matcher.v3.Int32RangeMatcher.RangeMatcher range_matchers = 1; -
setRangeMatchers
public Int32RangeMatcher.Builder setRangeMatchers(int index, Int32RangeMatcher.RangeMatcher.Builder builderForValue) Match a number by a list of number ranges. If multiple ranges contain the input number, then the first action in this list is taken.
repeated .xds.type.matcher.v3.Int32RangeMatcher.RangeMatcher range_matchers = 1; -
addRangeMatchers
Match a number by a list of number ranges. If multiple ranges contain the input number, then the first action in this list is taken.
repeated .xds.type.matcher.v3.Int32RangeMatcher.RangeMatcher range_matchers = 1; -
addRangeMatchers
Match a number by a list of number ranges. If multiple ranges contain the input number, then the first action in this list is taken.
repeated .xds.type.matcher.v3.Int32RangeMatcher.RangeMatcher range_matchers = 1; -
addRangeMatchers
public Int32RangeMatcher.Builder addRangeMatchers(Int32RangeMatcher.RangeMatcher.Builder builderForValue) Match a number by a list of number ranges. If multiple ranges contain the input number, then the first action in this list is taken.
repeated .xds.type.matcher.v3.Int32RangeMatcher.RangeMatcher range_matchers = 1; -
addRangeMatchers
public Int32RangeMatcher.Builder addRangeMatchers(int index, Int32RangeMatcher.RangeMatcher.Builder builderForValue) Match a number by a list of number ranges. If multiple ranges contain the input number, then the first action in this list is taken.
repeated .xds.type.matcher.v3.Int32RangeMatcher.RangeMatcher range_matchers = 1; -
addAllRangeMatchers
public Int32RangeMatcher.Builder addAllRangeMatchers(Iterable<? extends Int32RangeMatcher.RangeMatcher> values) Match a number by a list of number ranges. If multiple ranges contain the input number, then the first action in this list is taken.
repeated .xds.type.matcher.v3.Int32RangeMatcher.RangeMatcher range_matchers = 1; -
clearRangeMatchers
Match a number by a list of number ranges. If multiple ranges contain the input number, then the first action in this list is taken.
repeated .xds.type.matcher.v3.Int32RangeMatcher.RangeMatcher range_matchers = 1; -
removeRangeMatchers
Match a number by a list of number ranges. If multiple ranges contain the input number, then the first action in this list is taken.
repeated .xds.type.matcher.v3.Int32RangeMatcher.RangeMatcher range_matchers = 1; -
getRangeMatchersBuilder
Match a number by a list of number ranges. If multiple ranges contain the input number, then the first action in this list is taken.
repeated .xds.type.matcher.v3.Int32RangeMatcher.RangeMatcher range_matchers = 1; -
getRangeMatchersOrBuilder
Match a number by a list of number ranges. If multiple ranges contain the input number, then the first action in this list is taken.
repeated .xds.type.matcher.v3.Int32RangeMatcher.RangeMatcher range_matchers = 1;- Specified by:
getRangeMatchersOrBuilderin interfaceInt32RangeMatcherOrBuilder
-
getRangeMatchersOrBuilderList
Match a number by a list of number ranges. If multiple ranges contain the input number, then the first action in this list is taken.
repeated .xds.type.matcher.v3.Int32RangeMatcher.RangeMatcher range_matchers = 1;- Specified by:
getRangeMatchersOrBuilderListin interfaceInt32RangeMatcherOrBuilder
-
addRangeMatchersBuilder
Match a number by a list of number ranges. If multiple ranges contain the input number, then the first action in this list is taken.
repeated .xds.type.matcher.v3.Int32RangeMatcher.RangeMatcher range_matchers = 1; -
addRangeMatchersBuilder
Match a number by a list of number ranges. If multiple ranges contain the input number, then the first action in this list is taken.
repeated .xds.type.matcher.v3.Int32RangeMatcher.RangeMatcher range_matchers = 1; -
getRangeMatchersBuilderList
Match a number by a list of number ranges. If multiple ranges contain the input number, then the first action in this list is taken.
repeated .xds.type.matcher.v3.Int32RangeMatcher.RangeMatcher range_matchers = 1; -
setUnknownFields
public final Int32RangeMatcher.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Int32RangeMatcher.Builder>
-
mergeUnknownFields
public final Int32RangeMatcher.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Int32RangeMatcher.Builder>
-