Class Int64RangeMatcher.Builder

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

public static final class Int64RangeMatcher.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Int64RangeMatcher.Builder> implements Int64RangeMatcherOrBuilder
 Specifies a set of ranges for matching an int64 number and the associated
 match actions.
 
Protobuf type xds.type.matcher.v3.Int64RangeMatcher
  • 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<Int64RangeMatcher.Builder>
    • clear

      public Int64RangeMatcher.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<Int64RangeMatcher.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<Int64RangeMatcher.Builder>
    • getDefaultInstanceForType

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

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

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

      public Int64RangeMatcher.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<Int64RangeMatcher.Builder>
    • setField

      public Int64RangeMatcher.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<Int64RangeMatcher.Builder>
    • clearField

      public Int64RangeMatcher.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<Int64RangeMatcher.Builder>
    • clearOneof

      public Int64RangeMatcher.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<Int64RangeMatcher.Builder>
    • setRepeatedField

      public Int64RangeMatcher.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<Int64RangeMatcher.Builder>
    • addRepeatedField

      public Int64RangeMatcher.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<Int64RangeMatcher.Builder>
    • mergeFrom

      public Int64RangeMatcher.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<Int64RangeMatcher.Builder>
    • mergeFrom

      public Int64RangeMatcher.Builder mergeFrom(Int64RangeMatcher other)
    • isInitialized

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

      public Int64RangeMatcher.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<Int64RangeMatcher.Builder>
      Throws:
      IOException
    • getRangeMatchersList

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

      public Int64RangeMatcher.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.Int64RangeMatcher.RangeMatcher range_matchers = 1;
      Specified by:
      getRangeMatchers in interface Int64RangeMatcherOrBuilder
    • setRangeMatchers

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

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

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

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

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

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

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

      public Int64RangeMatcher.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.Int64RangeMatcher.RangeMatcher range_matchers = 1;
    • getRangeMatchersBuilder

      public Int64RangeMatcher.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.Int64RangeMatcher.RangeMatcher range_matchers = 1;
    • getRangeMatchersOrBuilder

      public Int64RangeMatcher.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.Int64RangeMatcher.RangeMatcher range_matchers = 1;
      Specified by:
      getRangeMatchersOrBuilder in interface Int64RangeMatcherOrBuilder
    • getRangeMatchersOrBuilderList

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

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

      public Int64RangeMatcher.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.Int64RangeMatcher.RangeMatcher range_matchers = 1;
    • getRangeMatchersBuilderList

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

      public final Int64RangeMatcher.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<Int64RangeMatcher.Builder>
    • mergeUnknownFields

      public final Int64RangeMatcher.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<Int64RangeMatcher.Builder>