Class Weights.Builder

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

    public static final class Weights.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Weights.Builder>
    implements WeightsOrBuilder
    Protobuf type app.coronawarn.server.common.protocols.internal.Weights
    • 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<Weights.Builder>
      • clear

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

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

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

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

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

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

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

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

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

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

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

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

        public Weights.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<Weights.Builder>
        Throws:
        IOException
      • getLow

        public double getLow()
        double low = 1;
        Specified by:
        getLow in interface WeightsOrBuilder
        Returns:
        The low.
      • setLow

        public Weights.Builder setLow​(double value)
        double low = 1;
        Parameters:
        value - The low to set.
        Returns:
        This builder for chaining.
      • clearLow

        public Weights.Builder clearLow()
        double low = 1;
        Returns:
        This builder for chaining.
      • getMid

        public double getMid()
        double mid = 2;
        Specified by:
        getMid in interface WeightsOrBuilder
        Returns:
        The mid.
      • setMid

        public Weights.Builder setMid​(double value)
        double mid = 2;
        Parameters:
        value - The mid to set.
        Returns:
        This builder for chaining.
      • clearMid

        public Weights.Builder clearMid()
        double mid = 2;
        Returns:
        This builder for chaining.
      • getHigh

        public double getHigh()
        double high = 3;
        Specified by:
        getHigh in interface WeightsOrBuilder
        Returns:
        The high.
      • setHigh

        public Weights.Builder setHigh​(double value)
        double high = 3;
        Parameters:
        value - The high to set.
        Returns:
        This builder for chaining.
      • clearHigh

        public Weights.Builder clearHigh()
        double high = 3;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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