Class DoubleRangeMatcher.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DoubleRangeMatcher.Builder>
com.github.xds.type.matcher.v3.DoubleRangeMatcher.Builder
All Implemented Interfaces:
DoubleRangeMatcherOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DoubleRangeMatcher

public static final class DoubleRangeMatcher.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DoubleRangeMatcher.Builder> implements DoubleRangeMatcherOrBuilder
 Specifies a set of ranges for matching a double number and the associated
 match actions.
 
Protobuf type xds.type.matcher.v3.DoubleRangeMatcher
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DoubleRangeMatcher.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<DoubleRangeMatcher.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DoubleRangeMatcher.Builder>
    • getDefaultInstanceForType

      public DoubleRangeMatcher getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public DoubleRangeMatcher build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public DoubleRangeMatcher buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<DoubleRangeMatcher.Builder>
    • setField

      public DoubleRangeMatcher.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<DoubleRangeMatcher.Builder>
    • clearField

      public DoubleRangeMatcher.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<DoubleRangeMatcher.Builder>
    • clearOneof

      public DoubleRangeMatcher.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DoubleRangeMatcher.Builder>
    • setRepeatedField

      public DoubleRangeMatcher.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DoubleRangeMatcher.Builder>
    • addRepeatedField

      public DoubleRangeMatcher.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DoubleRangeMatcher.Builder>
    • mergeFrom

      public DoubleRangeMatcher.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DoubleRangeMatcher.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DoubleRangeMatcher.Builder>
    • mergeFrom

      public DoubleRangeMatcher.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DoubleRangeMatcher.Builder>
      Throws:
      IOException
    • getRangeMatchersList

      public List<DoubleRangeMatcher.RangeMatcher> 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.DoubleRangeMatcher.RangeMatcher range_matchers = 1;
      Specified by:
      getRangeMatchersList in interface DoubleRangeMatcherOrBuilder
    • 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.DoubleRangeMatcher.RangeMatcher range_matchers = 1;
      Specified by:
      getRangeMatchersCount in interface DoubleRangeMatcherOrBuilder
    • getRangeMatchers

      public DoubleRangeMatcher.RangeMatcher getRangeMatchers(int index)
       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.DoubleRangeMatcher.RangeMatcher range_matchers = 1;
      Specified by:
      getRangeMatchers in interface DoubleRangeMatcherOrBuilder
    • setRangeMatchers

      public DoubleRangeMatcher.Builder setRangeMatchers(int index, DoubleRangeMatcher.RangeMatcher value)
       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.DoubleRangeMatcher.RangeMatcher range_matchers = 1;
    • setRangeMatchers

      public DoubleRangeMatcher.Builder setRangeMatchers(int index, DoubleRangeMatcher.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.DoubleRangeMatcher.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.DoubleRangeMatcher.RangeMatcher range_matchers = 1;
    • addRangeMatchers

      public DoubleRangeMatcher.Builder addRangeMatchers(int index, DoubleRangeMatcher.RangeMatcher value)
       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.DoubleRangeMatcher.RangeMatcher range_matchers = 1;
    • addRangeMatchers

      public DoubleRangeMatcher.Builder addRangeMatchers(DoubleRangeMatcher.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.DoubleRangeMatcher.RangeMatcher range_matchers = 1;
    • addRangeMatchers

      public DoubleRangeMatcher.Builder addRangeMatchers(int index, DoubleRangeMatcher.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.DoubleRangeMatcher.RangeMatcher range_matchers = 1;
    • addAllRangeMatchers

      public DoubleRangeMatcher.Builder addAllRangeMatchers(Iterable<? extends DoubleRangeMatcher.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.DoubleRangeMatcher.RangeMatcher range_matchers = 1;
    • clearRangeMatchers

      public DoubleRangeMatcher.Builder 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.DoubleRangeMatcher.RangeMatcher range_matchers = 1;
    • removeRangeMatchers

      public DoubleRangeMatcher.Builder removeRangeMatchers(int index)
       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.DoubleRangeMatcher.RangeMatcher range_matchers = 1;
    • getRangeMatchersBuilder

      public DoubleRangeMatcher.RangeMatcher.Builder getRangeMatchersBuilder(int index)
       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.DoubleRangeMatcher.RangeMatcher range_matchers = 1;
    • getRangeMatchersOrBuilder

      public DoubleRangeMatcher.RangeMatcherOrBuilder getRangeMatchersOrBuilder(int index)
       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.DoubleRangeMatcher.RangeMatcher range_matchers = 1;
      Specified by:
      getRangeMatchersOrBuilder in interface DoubleRangeMatcherOrBuilder
    • getRangeMatchersOrBuilderList

      public List<? extends DoubleRangeMatcher.RangeMatcherOrBuilder> 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.DoubleRangeMatcher.RangeMatcher range_matchers = 1;
      Specified by:
      getRangeMatchersOrBuilderList in interface DoubleRangeMatcherOrBuilder
    • addRangeMatchersBuilder

      public DoubleRangeMatcher.RangeMatcher.Builder 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.DoubleRangeMatcher.RangeMatcher range_matchers = 1;
    • addRangeMatchersBuilder

      public DoubleRangeMatcher.RangeMatcher.Builder addRangeMatchersBuilder(int index)
       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.DoubleRangeMatcher.RangeMatcher range_matchers = 1;
    • getRangeMatchersBuilderList

      public List<DoubleRangeMatcher.RangeMatcher.Builder> 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.DoubleRangeMatcher.RangeMatcher range_matchers = 1;
    • setUnknownFields

      public final DoubleRangeMatcher.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DoubleRangeMatcher.Builder>
    • mergeUnknownFields

      public final DoubleRangeMatcher.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DoubleRangeMatcher.Builder>