Class Range.Builder

  • All Implemented Interfaces:
    RangeOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Range

    public static final class Range.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Range.Builder>
    implements RangeOrBuilder
    Protobuf type app.coronawarn.server.common.protocols.internal.v2.Range
    • Method Detail

      • 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<Range.Builder>
      • clear

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

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

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

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

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

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

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

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

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

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

        public Range.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<Range.Builder>
      • isInitialized

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

        public Range.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<Range.Builder>
        Throws:
        IOException
      • getMin

        public double getMin()
         The lower limit of the range
         
        double min = 1;
        Specified by:
        getMin in interface RangeOrBuilder
        Returns:
        The min.
      • setMin

        public Range.Builder setMin​(double value)
         The lower limit of the range
         
        double min = 1;
        Parameters:
        value - The min to set.
        Returns:
        This builder for chaining.
      • clearMin

        public Range.Builder clearMin()
         The lower limit of the range
         
        double min = 1;
        Returns:
        This builder for chaining.
      • getMinExclusive

        public boolean getMinExclusive()
         True if `min` is not part of the range, false otherwise
         
        bool minExclusive = 2;
        Specified by:
        getMinExclusive in interface RangeOrBuilder
        Returns:
        The minExclusive.
      • setMinExclusive

        public Range.Builder setMinExclusive​(boolean value)
         True if `min` is not part of the range, false otherwise
         
        bool minExclusive = 2;
        Parameters:
        value - The minExclusive to set.
        Returns:
        This builder for chaining.
      • clearMinExclusive

        public Range.Builder clearMinExclusive()
         True if `min` is not part of the range, false otherwise
         
        bool minExclusive = 2;
        Returns:
        This builder for chaining.
      • getMax

        public double getMax()
         The upper limit of the range
         
        double max = 3;
        Specified by:
        getMax in interface RangeOrBuilder
        Returns:
        The max.
      • setMax

        public Range.Builder setMax​(double value)
         The upper limit of the range
         
        double max = 3;
        Parameters:
        value - The max to set.
        Returns:
        This builder for chaining.
      • clearMax

        public Range.Builder clearMax()
         The upper limit of the range
         
        double max = 3;
        Returns:
        This builder for chaining.
      • getMaxExclusive

        public boolean getMaxExclusive()
         True if `max` is not part of the range, false otherwise
         
        bool maxExclusive = 4;
        Specified by:
        getMaxExclusive in interface RangeOrBuilder
        Returns:
        The maxExclusive.
      • setMaxExclusive

        public Range.Builder setMaxExclusive​(boolean value)
         True if `max` is not part of the range, false otherwise
         
        bool maxExclusive = 4;
        Parameters:
        value - The maxExclusive to set.
        Returns:
        This builder for chaining.
      • clearMaxExclusive

        public Range.Builder clearMaxExclusive()
         True if `max` is not part of the range, false otherwise
         
        bool maxExclusive = 4;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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