Class DiagnosisKeyBatch.Builder

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public DiagnosisKeyBatch.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<DiagnosisKeyBatch.Builder>
        Throws:
        IOException
      • getKeysCount

        public int getKeysCount()
        repeated .app.coronawarn.server.common.protocols.external.exposurenotification.DiagnosisKey keys = 1;
        Specified by:
        getKeysCount in interface DiagnosisKeyBatchOrBuilder
      • setKeys

        public DiagnosisKeyBatch.Builder setKeys​(int index,
                                                 DiagnosisKey value)
        repeated .app.coronawarn.server.common.protocols.external.exposurenotification.DiagnosisKey keys = 1;
      • addKeys

        public DiagnosisKeyBatch.Builder addKeys​(int index,
                                                 DiagnosisKey value)
        repeated .app.coronawarn.server.common.protocols.external.exposurenotification.DiagnosisKey keys = 1;
      • clearKeys

        public DiagnosisKeyBatch.Builder clearKeys()
        repeated .app.coronawarn.server.common.protocols.external.exposurenotification.DiagnosisKey keys = 1;
      • removeKeys

        public DiagnosisKeyBatch.Builder removeKeys​(int index)
        repeated .app.coronawarn.server.common.protocols.external.exposurenotification.DiagnosisKey keys = 1;
      • getKeysBuilder

        public DiagnosisKey.Builder getKeysBuilder​(int index)
        repeated .app.coronawarn.server.common.protocols.external.exposurenotification.DiagnosisKey keys = 1;
      • addKeysBuilder

        public DiagnosisKey.Builder addKeysBuilder()
        repeated .app.coronawarn.server.common.protocols.external.exposurenotification.DiagnosisKey keys = 1;
      • addKeysBuilder

        public DiagnosisKey.Builder addKeysBuilder​(int index)
        repeated .app.coronawarn.server.common.protocols.external.exposurenotification.DiagnosisKey keys = 1;
      • getKeysBuilderList

        public List<DiagnosisKey.Builder> getKeysBuilderList()
        repeated .app.coronawarn.server.common.protocols.external.exposurenotification.DiagnosisKey keys = 1;
      • setUnknownFields

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

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