Class TEKSignature.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TEKSignature.Builder>
-
- app.coronawarn.server.common.protocols.external.exposurenotification.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 typeapp.coronawarn.server.common.protocols.external.exposurenotification.TEKSignature
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TEKSignature.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TEKSignature
build()
TEKSignature
buildPartial()
TEKSignature.Builder
clear()
TEKSignature.Builder
clearBatchNum()
Reserved for future use.TEKSignature.Builder
clearBatchSize()
optional int32 batch_size = 3;
TEKSignature.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
TEKSignature.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
TEKSignature.Builder
clearSignature()
Signature in X9.62 format (ASN.1 SEQUENCE of two INTEGER fields).TEKSignature.Builder
clearSignatureInfo()
Information to uniquely identify the public key associated with the EN server's signing key.TEKSignature.Builder
clone()
int
getBatchNum()
Reserved for future use.int
getBatchSize()
optional int32 batch_size = 3;
TEKSignature
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.ByteString
getSignature()
Signature in X9.62 format (ASN.1 SEQUENCE of two INTEGER fields).SignatureInfo
getSignatureInfo()
Information to uniquely identify the public key associated with the EN server's signing key.SignatureInfo.Builder
getSignatureInfoBuilder()
Information to uniquely identify the public key associated with the EN server's signing key.SignatureInfoOrBuilder
getSignatureInfoOrBuilder()
Information to uniquely identify the public key associated with the EN server's signing key.boolean
hasBatchNum()
Reserved for future use.boolean
hasBatchSize()
optional int32 batch_size = 3;
boolean
hasSignature()
Signature in X9.62 format (ASN.1 SEQUENCE of two INTEGER fields).boolean
hasSignatureInfo()
Information to uniquely identify the public key associated with the EN server's signing key.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
TEKSignature.Builder
mergeFrom(TEKSignature other)
TEKSignature.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TEKSignature.Builder
mergeFrom(com.google.protobuf.Message other)
TEKSignature.Builder
mergeSignatureInfo(SignatureInfo value)
Information to uniquely identify the public key associated with the EN server's signing key.TEKSignature.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TEKSignature.Builder
setBatchNum(int value)
Reserved for future use.TEKSignature.Builder
setBatchSize(int value)
optional int32 batch_size = 3;
TEKSignature.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TEKSignature.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
TEKSignature.Builder
setSignature(com.google.protobuf.ByteString value)
Signature in X9.62 format (ASN.1 SEQUENCE of two INTEGER fields).TEKSignature.Builder
setSignatureInfo(SignatureInfo value)
Information to uniquely identify the public key associated with the EN server's signing key.TEKSignature.Builder
setSignatureInfo(SignatureInfo.Builder builderForValue)
Information to uniquely identify the public key associated with the EN server's signing key.TEKSignature.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<TEKSignature.Builder>
-
clear
public TEKSignature.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<TEKSignature.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<TEKSignature.Builder>
-
getDefaultInstanceForType
public TEKSignature getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TEKSignature build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TEKSignature buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TEKSignature.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<TEKSignature.Builder>
-
setField
public TEKSignature.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TEKSignature.Builder>
-
clearField
public TEKSignature.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TEKSignature.Builder>
-
clearOneof
public TEKSignature.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TEKSignature.Builder>
-
addRepeatedField
public TEKSignature.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TEKSignature.Builder>
-
mergeFrom
public TEKSignature.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TEKSignature.Builder>
-
mergeFrom
public TEKSignature.Builder mergeFrom(TEKSignature other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.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 interfaceTEKSignatureOrBuilder
- 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 interfaceTEKSignatureOrBuilder
- 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 interfaceTEKSignatureOrBuilder
-
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 interfaceTEKSignatureOrBuilder
- 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 interfaceTEKSignatureOrBuilder
- 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 interfaceTEKSignatureOrBuilder
- Returns:
- Whether the batchSize field is set.
-
getBatchSize
public int getBatchSize()
optional int32 batch_size = 3;
- Specified by:
getBatchSize
in interfaceTEKSignatureOrBuilder
- Returns:
- The batchSize.
-
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 interfaceTEKSignatureOrBuilder
- 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 interfaceTEKSignatureOrBuilder
- 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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TEKSignature.Builder>
-
mergeUnknownFields
public final TEKSignature.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TEKSignature.Builder>
-
-