Class RiskScoreClass.Builder

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public RiskScoreClass.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<RiskScoreClass.Builder>
        Throws:
        IOException
      • getLabelBytes

        public com.google.protobuf.ByteString getLabelBytes()
        string label = 1;
        Specified by:
        getLabelBytes in interface RiskScoreClassOrBuilder
        Returns:
        The bytes for label.
      • setLabel

        public RiskScoreClass.Builder setLabel​(String value)
        string label = 1;
        Parameters:
        value - The label to set.
        Returns:
        This builder for chaining.
      • clearLabel

        public RiskScoreClass.Builder clearLabel()
        string label = 1;
        Returns:
        This builder for chaining.
      • setLabelBytes

        public RiskScoreClass.Builder setLabelBytes​(com.google.protobuf.ByteString value)
        string label = 1;
        Parameters:
        value - The bytes for label to set.
        Returns:
        This builder for chaining.
      • setMin

        public RiskScoreClass.Builder setMin​(int value)
        int32 min = 2;
        Parameters:
        value - The min to set.
        Returns:
        This builder for chaining.
      • setMax

        public RiskScoreClass.Builder setMax​(int value)
        int32 max = 3;
        Parameters:
        value - The max to set.
        Returns:
        This builder for chaining.
      • getUrlBytes

        public com.google.protobuf.ByteString getUrlBytes()
        string url = 4;
        Specified by:
        getUrlBytes in interface RiskScoreClassOrBuilder
        Returns:
        The bytes for url.
      • setUrl

        public RiskScoreClass.Builder setUrl​(String value)
        string url = 4;
        Parameters:
        value - The url to set.
        Returns:
        This builder for chaining.
      • setUrlBytes

        public RiskScoreClass.Builder setUrlBytes​(com.google.protobuf.ByteString value)
        string url = 4;
        Parameters:
        value - The bytes for url to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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