Class TEKSignature.Builder

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public TEKSignature.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<TEKSignature.Builder>
        Throws:
        IOException
      • hasSignatureInfo

        public boolean hasSignatureInfo()
         Information to uniquely identify the public key associated
         with the EN server's signing key.
         
        optional .app.coronawarn.server.common.protocols.external.exposurenotification.SignatureInfo signature_info = 1;
        Specified by:
        hasSignatureInfo in interface TEKSignatureOrBuilder
        Returns:
        Whether the signatureInfo field is set.
      • getSignatureInfo

        public SignatureInfo getSignatureInfo()
         Information to uniquely identify the public key associated
         with the EN server's signing key.
         
        optional .app.coronawarn.server.common.protocols.external.exposurenotification.SignatureInfo signature_info = 1;
        Specified by:
        getSignatureInfo in interface TEKSignatureOrBuilder
        Returns:
        The signatureInfo.
      • setSignatureInfo

        public TEKSignature.Builder setSignatureInfo​(SignatureInfo value)
         Information to uniquely identify the public key associated
         with the EN server's signing key.
         
        optional .app.coronawarn.server.common.protocols.external.exposurenotification.SignatureInfo signature_info = 1;
      • setSignatureInfo

        public TEKSignature.Builder setSignatureInfo​(SignatureInfo.Builder builderForValue)
         Information to uniquely identify the public key associated
         with the EN server's signing key.
         
        optional .app.coronawarn.server.common.protocols.external.exposurenotification.SignatureInfo signature_info = 1;
      • mergeSignatureInfo

        public TEKSignature.Builder mergeSignatureInfo​(SignatureInfo value)
         Information to uniquely identify the public key associated
         with the EN server's signing key.
         
        optional .app.coronawarn.server.common.protocols.external.exposurenotification.SignatureInfo signature_info = 1;
      • clearSignatureInfo

        public TEKSignature.Builder clearSignatureInfo()
         Information to uniquely identify the public key associated
         with the EN server's signing key.
         
        optional .app.coronawarn.server.common.protocols.external.exposurenotification.SignatureInfo signature_info = 1;
      • getSignatureInfoBuilder

        public SignatureInfo.Builder getSignatureInfoBuilder()
         Information to uniquely identify the public key associated
         with the EN server's signing key.
         
        optional .app.coronawarn.server.common.protocols.external.exposurenotification.SignatureInfo signature_info = 1;
      • getSignatureInfoOrBuilder

        public SignatureInfoOrBuilder getSignatureInfoOrBuilder()
         Information to uniquely identify the public key associated
         with the EN server's signing key.
         
        optional .app.coronawarn.server.common.protocols.external.exposurenotification.SignatureInfo signature_info = 1;
        Specified by:
        getSignatureInfoOrBuilder in interface TEKSignatureOrBuilder
      • hasBatchNum

        public boolean hasBatchNum()
         Reserved for future use. Both batch_num and batch_size
         must be set to a value of 1.
         
        optional int32 batch_num = 2;
        Specified by:
        hasBatchNum in interface TEKSignatureOrBuilder
        Returns:
        Whether the batchNum field is set.
      • getBatchNum

        public int getBatchNum()
         Reserved for future use. Both batch_num and batch_size
         must be set to a value of 1.
         
        optional int32 batch_num = 2;
        Specified by:
        getBatchNum in interface TEKSignatureOrBuilder
        Returns:
        The batchNum.
      • setBatchNum

        public TEKSignature.Builder setBatchNum​(int value)
         Reserved for future use. Both batch_num and batch_size
         must be set to a value of 1.
         
        optional int32 batch_num = 2;
        Parameters:
        value - The batchNum to set.
        Returns:
        This builder for chaining.
      • clearBatchNum

        public TEKSignature.Builder clearBatchNum()
         Reserved for future use. Both batch_num and batch_size
         must be set to a value of 1.
         
        optional int32 batch_num = 2;
        Returns:
        This builder for chaining.
      • hasBatchSize

        public boolean hasBatchSize()
        optional int32 batch_size = 3;
        Specified by:
        hasBatchSize in interface TEKSignatureOrBuilder
        Returns:
        Whether the batchSize field is set.
      • setBatchSize

        public TEKSignature.Builder setBatchSize​(int value)
        optional int32 batch_size = 3;
        Parameters:
        value - The batchSize to set.
        Returns:
        This builder for chaining.
      • clearBatchSize

        public TEKSignature.Builder clearBatchSize()
        optional int32 batch_size = 3;
        Returns:
        This builder for chaining.
      • hasSignature

        public boolean hasSignature()
         Signature in X9.62 format (ASN.1 SEQUENCE of two INTEGER fields).
         
        optional bytes signature = 4;
        Specified by:
        hasSignature in interface TEKSignatureOrBuilder
        Returns:
        Whether the signature field is set.
      • getSignature

        public com.google.protobuf.ByteString getSignature()
         Signature in X9.62 format (ASN.1 SEQUENCE of two INTEGER fields).
         
        optional bytes signature = 4;
        Specified by:
        getSignature in interface TEKSignatureOrBuilder
        Returns:
        The signature.
      • setSignature

        public TEKSignature.Builder setSignature​(com.google.protobuf.ByteString value)
         Signature in X9.62 format (ASN.1 SEQUENCE of two INTEGER fields).
         
        optional bytes signature = 4;
        Parameters:
        value - The signature to set.
        Returns:
        This builder for chaining.
      • clearSignature

        public TEKSignature.Builder clearSignature()
         Signature in X9.62 format (ASN.1 SEQUENCE of two INTEGER fields).
         
        optional bytes signature = 4;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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