public static final class OCSProto.Read.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OCSProto.Read.Builder> implements OCSProto.ReadOrBuilder
Read stores a read-request which is the secret encrypted under the pseudonym's public key. The Data is the skipblock-id of the skipblock holding the data.Protobuf type
Read| Modifier and Type | Method and Description |
|---|---|
OCSProto.Read.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OCSProto.Read |
build() |
OCSProto.Read |
buildPartial() |
OCSProto.Read.Builder |
clear() |
OCSProto.Read.Builder |
clearDataid()
DataID is the document-id for the read request
|
OCSProto.Read.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
OCSProto.Read.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
OCSProto.Read.Builder |
clearSignature()
Signature is a Schnorr-signature using the private key of the
reader on the message 'DataID'
|
OCSProto.Read.Builder |
clone() |
com.google.protobuf.ByteString |
getDataid()
DataID is the document-id for the read request
|
OCSProto.Read |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
DarcOCSProto.Signature |
getSignature()
Signature is a Schnorr-signature using the private key of the
reader on the message 'DataID'
|
DarcOCSProto.Signature.Builder |
getSignatureBuilder()
Signature is a Schnorr-signature using the private key of the
reader on the message 'DataID'
|
DarcOCSProto.SignatureOrBuilder |
getSignatureOrBuilder()
Signature is a Schnorr-signature using the private key of the
reader on the message 'DataID'
|
boolean |
hasDataid()
DataID is the document-id for the read request
|
boolean |
hasSignature()
Signature is a Schnorr-signature using the private key of the
reader on the message 'DataID'
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
OCSProto.Read.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OCSProto.Read.Builder |
mergeFrom(com.google.protobuf.Message other) |
OCSProto.Read.Builder |
mergeFrom(OCSProto.Read other) |
OCSProto.Read.Builder |
mergeSignature(DarcOCSProto.Signature value)
Signature is a Schnorr-signature using the private key of the
reader on the message 'DataID'
|
OCSProto.Read.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
OCSProto.Read.Builder |
setDataid(com.google.protobuf.ByteString value)
DataID is the document-id for the read request
|
OCSProto.Read.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OCSProto.Read.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
OCSProto.Read.Builder |
setSignature(DarcOCSProto.Signature.Builder builderForValue)
Signature is a Schnorr-signature using the private key of the
reader on the message 'DataID'
|
OCSProto.Read.Builder |
setSignature(DarcOCSProto.Signature value)
Signature is a Schnorr-signature using the private key of the
reader on the message 'DataID'
|
OCSProto.Read.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<OCSProto.Read.Builder>public OCSProto.Read.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<OCSProto.Read.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<OCSProto.Read.Builder>public OCSProto.Read getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic OCSProto.Read build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic OCSProto.Read buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic OCSProto.Read.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<OCSProto.Read.Builder>public OCSProto.Read.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<OCSProto.Read.Builder>public OCSProto.Read.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<OCSProto.Read.Builder>public OCSProto.Read.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<OCSProto.Read.Builder>public OCSProto.Read.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OCSProto.Read.Builder>public OCSProto.Read.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OCSProto.Read.Builder>public OCSProto.Read.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OCSProto.Read.Builder>public OCSProto.Read.Builder mergeFrom(OCSProto.Read other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<OCSProto.Read.Builder>public OCSProto.Read.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OCSProto.Read.Builder>IOExceptionpublic boolean hasDataid()
DataID is the document-id for the read request
required bytes dataid = 1;hasDataid in interface OCSProto.ReadOrBuilderpublic com.google.protobuf.ByteString getDataid()
DataID is the document-id for the read request
required bytes dataid = 1;getDataid in interface OCSProto.ReadOrBuilderpublic OCSProto.Read.Builder setDataid(com.google.protobuf.ByteString value)
DataID is the document-id for the read request
required bytes dataid = 1;public OCSProto.Read.Builder clearDataid()
DataID is the document-id for the read request
required bytes dataid = 1;public boolean hasSignature()
Signature is a Schnorr-signature using the private key of the
reader on the message 'DataID'
required .Signature signature = 2;hasSignature in interface OCSProto.ReadOrBuilderpublic DarcOCSProto.Signature getSignature()
Signature is a Schnorr-signature using the private key of the
reader on the message 'DataID'
required .Signature signature = 2;getSignature in interface OCSProto.ReadOrBuilderpublic OCSProto.Read.Builder setSignature(DarcOCSProto.Signature value)
Signature is a Schnorr-signature using the private key of the
reader on the message 'DataID'
required .Signature signature = 2;public OCSProto.Read.Builder setSignature(DarcOCSProto.Signature.Builder builderForValue)
Signature is a Schnorr-signature using the private key of the
reader on the message 'DataID'
required .Signature signature = 2;public OCSProto.Read.Builder mergeSignature(DarcOCSProto.Signature value)
Signature is a Schnorr-signature using the private key of the
reader on the message 'DataID'
required .Signature signature = 2;public OCSProto.Read.Builder clearSignature()
Signature is a Schnorr-signature using the private key of the
reader on the message 'DataID'
required .Signature signature = 2;public DarcOCSProto.Signature.Builder getSignatureBuilder()
Signature is a Schnorr-signature using the private key of the
reader on the message 'DataID'
required .Signature signature = 2;public DarcOCSProto.SignatureOrBuilder getSignatureOrBuilder()
Signature is a Schnorr-signature using the private key of the
reader on the message 'DataID'
required .Signature signature = 2;getSignatureOrBuilder in interface OCSProto.ReadOrBuilderpublic final OCSProto.Read.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OCSProto.Read.Builder>public final OCSProto.Read.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OCSProto.Read.Builder>Copyright © 2018. All rights reserved.