public static final class ByzCoinProto.Proof.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.Proof.Builder> implements ByzCoinProto.ProofOrBuilder
Proof represents everything necessary to verify a given key/value pair is stored in a skipchain. The proof is in three parts: 1. InclusionProof proofs the presence or absence of the key. In case of the key being present, the value is included in the proof 2. Latest is used to verify the merkle tree root used in the collection-proof is stored in the latest skipblock 3. Links proves that the latest skipblock is part of the skipchain This Structure could later be moved to cothority/skipchain.Protobuf type
byzcoin.Proof| Modifier and Type | Method and Description |
|---|---|
ByzCoinProto.Proof.Builder |
addAllLinks(Iterable<? extends SkipchainProto.ForwardLink> values)
Proving the path to the latest skipblock.
|
ByzCoinProto.Proof.Builder |
addLinks(int index,
SkipchainProto.ForwardLink.Builder builderForValue)
Proving the path to the latest skipblock.
|
ByzCoinProto.Proof.Builder |
addLinks(int index,
SkipchainProto.ForwardLink value)
Proving the path to the latest skipblock.
|
ByzCoinProto.Proof.Builder |
addLinks(SkipchainProto.ForwardLink.Builder builderForValue)
Proving the path to the latest skipblock.
|
ByzCoinProto.Proof.Builder |
addLinks(SkipchainProto.ForwardLink value)
Proving the path to the latest skipblock.
|
SkipchainProto.ForwardLink.Builder |
addLinksBuilder()
Proving the path to the latest skipblock.
|
SkipchainProto.ForwardLink.Builder |
addLinksBuilder(int index)
Proving the path to the latest skipblock.
|
ByzCoinProto.Proof.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ByzCoinProto.Proof |
build() |
ByzCoinProto.Proof |
buildPartial() |
ByzCoinProto.Proof.Builder |
clear() |
ByzCoinProto.Proof.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ByzCoinProto.Proof.Builder |
clearInclusionproof()
InclusionProof is the deserialized InclusionProof
|
ByzCoinProto.Proof.Builder |
clearLatest()
Providing the latest skipblock to retrieve the Merkle tree root.
|
ByzCoinProto.Proof.Builder |
clearLinks()
Proving the path to the latest skipblock.
|
ByzCoinProto.Proof.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ByzCoinProto.Proof.Builder |
clone() |
ByzCoinProto.Proof |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
CollectionProto.Proof |
getInclusionproof()
InclusionProof is the deserialized InclusionProof
|
CollectionProto.Proof.Builder |
getInclusionproofBuilder()
InclusionProof is the deserialized InclusionProof
|
CollectionProto.ProofOrBuilder |
getInclusionproofOrBuilder()
InclusionProof is the deserialized InclusionProof
|
SkipchainProto.SkipBlock |
getLatest()
Providing the latest skipblock to retrieve the Merkle tree root.
|
SkipchainProto.SkipBlock.Builder |
getLatestBuilder()
Providing the latest skipblock to retrieve the Merkle tree root.
|
SkipchainProto.SkipBlockOrBuilder |
getLatestOrBuilder()
Providing the latest skipblock to retrieve the Merkle tree root.
|
SkipchainProto.ForwardLink |
getLinks(int index)
Proving the path to the latest skipblock.
|
SkipchainProto.ForwardLink.Builder |
getLinksBuilder(int index)
Proving the path to the latest skipblock.
|
List<SkipchainProto.ForwardLink.Builder> |
getLinksBuilderList()
Proving the path to the latest skipblock.
|
int |
getLinksCount()
Proving the path to the latest skipblock.
|
List<SkipchainProto.ForwardLink> |
getLinksList()
Proving the path to the latest skipblock.
|
SkipchainProto.ForwardLinkOrBuilder |
getLinksOrBuilder(int index)
Proving the path to the latest skipblock.
|
List<? extends SkipchainProto.ForwardLinkOrBuilder> |
getLinksOrBuilderList()
Proving the path to the latest skipblock.
|
boolean |
hasInclusionproof()
InclusionProof is the deserialized InclusionProof
|
boolean |
hasLatest()
Providing the latest skipblock to retrieve the Merkle tree root.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ByzCoinProto.Proof.Builder |
mergeFrom(ByzCoinProto.Proof other) |
ByzCoinProto.Proof.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ByzCoinProto.Proof.Builder |
mergeFrom(com.google.protobuf.Message other) |
ByzCoinProto.Proof.Builder |
mergeInclusionproof(CollectionProto.Proof value)
InclusionProof is the deserialized InclusionProof
|
ByzCoinProto.Proof.Builder |
mergeLatest(SkipchainProto.SkipBlock value)
Providing the latest skipblock to retrieve the Merkle tree root.
|
ByzCoinProto.Proof.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ByzCoinProto.Proof.Builder |
removeLinks(int index)
Proving the path to the latest skipblock.
|
ByzCoinProto.Proof.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ByzCoinProto.Proof.Builder |
setInclusionproof(CollectionProto.Proof.Builder builderForValue)
InclusionProof is the deserialized InclusionProof
|
ByzCoinProto.Proof.Builder |
setInclusionproof(CollectionProto.Proof value)
InclusionProof is the deserialized InclusionProof
|
ByzCoinProto.Proof.Builder |
setLatest(SkipchainProto.SkipBlock.Builder builderForValue)
Providing the latest skipblock to retrieve the Merkle tree root.
|
ByzCoinProto.Proof.Builder |
setLatest(SkipchainProto.SkipBlock value)
Providing the latest skipblock to retrieve the Merkle tree root.
|
ByzCoinProto.Proof.Builder |
setLinks(int index,
SkipchainProto.ForwardLink.Builder builderForValue)
Proving the path to the latest skipblock.
|
ByzCoinProto.Proof.Builder |
setLinks(int index,
SkipchainProto.ForwardLink value)
Proving the path to the latest skipblock.
|
ByzCoinProto.Proof.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ByzCoinProto.Proof.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<ByzCoinProto.Proof.Builder>public ByzCoinProto.Proof.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.Proof.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<ByzCoinProto.Proof.Builder>public ByzCoinProto.Proof getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ByzCoinProto.Proof build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ByzCoinProto.Proof buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ByzCoinProto.Proof.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.Proof.Builder>public ByzCoinProto.Proof.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<ByzCoinProto.Proof.Builder>public ByzCoinProto.Proof.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.Proof.Builder>public ByzCoinProto.Proof.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.Proof.Builder>public ByzCoinProto.Proof.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<ByzCoinProto.Proof.Builder>public ByzCoinProto.Proof.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<ByzCoinProto.Proof.Builder>public ByzCoinProto.Proof.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ByzCoinProto.Proof.Builder>public ByzCoinProto.Proof.Builder mergeFrom(ByzCoinProto.Proof other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.Proof.Builder>public ByzCoinProto.Proof.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<ByzCoinProto.Proof.Builder>IOExceptionpublic boolean hasInclusionproof()
InclusionProof is the deserialized InclusionProof
required .collection.Proof inclusionproof = 1;hasInclusionproof in interface ByzCoinProto.ProofOrBuilderpublic CollectionProto.Proof getInclusionproof()
InclusionProof is the deserialized InclusionProof
required .collection.Proof inclusionproof = 1;getInclusionproof in interface ByzCoinProto.ProofOrBuilderpublic ByzCoinProto.Proof.Builder setInclusionproof(CollectionProto.Proof value)
InclusionProof is the deserialized InclusionProof
required .collection.Proof inclusionproof = 1;public ByzCoinProto.Proof.Builder setInclusionproof(CollectionProto.Proof.Builder builderForValue)
InclusionProof is the deserialized InclusionProof
required .collection.Proof inclusionproof = 1;public ByzCoinProto.Proof.Builder mergeInclusionproof(CollectionProto.Proof value)
InclusionProof is the deserialized InclusionProof
required .collection.Proof inclusionproof = 1;public ByzCoinProto.Proof.Builder clearInclusionproof()
InclusionProof is the deserialized InclusionProof
required .collection.Proof inclusionproof = 1;public CollectionProto.Proof.Builder getInclusionproofBuilder()
InclusionProof is the deserialized InclusionProof
required .collection.Proof inclusionproof = 1;public CollectionProto.ProofOrBuilder getInclusionproofOrBuilder()
InclusionProof is the deserialized InclusionProof
required .collection.Proof inclusionproof = 1;getInclusionproofOrBuilder in interface ByzCoinProto.ProofOrBuilderpublic boolean hasLatest()
Providing the latest skipblock to retrieve the Merkle tree root.
required .skipchain.SkipBlock latest = 2;hasLatest in interface ByzCoinProto.ProofOrBuilderpublic SkipchainProto.SkipBlock getLatest()
Providing the latest skipblock to retrieve the Merkle tree root.
required .skipchain.SkipBlock latest = 2;getLatest in interface ByzCoinProto.ProofOrBuilderpublic ByzCoinProto.Proof.Builder setLatest(SkipchainProto.SkipBlock value)
Providing the latest skipblock to retrieve the Merkle tree root.
required .skipchain.SkipBlock latest = 2;public ByzCoinProto.Proof.Builder setLatest(SkipchainProto.SkipBlock.Builder builderForValue)
Providing the latest skipblock to retrieve the Merkle tree root.
required .skipchain.SkipBlock latest = 2;public ByzCoinProto.Proof.Builder mergeLatest(SkipchainProto.SkipBlock value)
Providing the latest skipblock to retrieve the Merkle tree root.
required .skipchain.SkipBlock latest = 2;public ByzCoinProto.Proof.Builder clearLatest()
Providing the latest skipblock to retrieve the Merkle tree root.
required .skipchain.SkipBlock latest = 2;public SkipchainProto.SkipBlock.Builder getLatestBuilder()
Providing the latest skipblock to retrieve the Merkle tree root.
required .skipchain.SkipBlock latest = 2;public SkipchainProto.SkipBlockOrBuilder getLatestOrBuilder()
Providing the latest skipblock to retrieve the Merkle tree root.
required .skipchain.SkipBlock latest = 2;getLatestOrBuilder in interface ByzCoinProto.ProofOrBuilderpublic List<SkipchainProto.ForwardLink> getLinksList()
Proving the path to the latest skipblock. The first ForwardLink has an empty-sliced `From` and the genesis-block in `To`, together with the roster of the genesis-block in the `NewRoster`.
repeated .skipchain.ForwardLink links = 3;getLinksList in interface ByzCoinProto.ProofOrBuilderpublic int getLinksCount()
Proving the path to the latest skipblock. The first ForwardLink has an empty-sliced `From` and the genesis-block in `To`, together with the roster of the genesis-block in the `NewRoster`.
repeated .skipchain.ForwardLink links = 3;getLinksCount in interface ByzCoinProto.ProofOrBuilderpublic SkipchainProto.ForwardLink getLinks(int index)
Proving the path to the latest skipblock. The first ForwardLink has an empty-sliced `From` and the genesis-block in `To`, together with the roster of the genesis-block in the `NewRoster`.
repeated .skipchain.ForwardLink links = 3;getLinks in interface ByzCoinProto.ProofOrBuilderpublic ByzCoinProto.Proof.Builder setLinks(int index, SkipchainProto.ForwardLink value)
Proving the path to the latest skipblock. The first ForwardLink has an empty-sliced `From` and the genesis-block in `To`, together with the roster of the genesis-block in the `NewRoster`.
repeated .skipchain.ForwardLink links = 3;public ByzCoinProto.Proof.Builder setLinks(int index, SkipchainProto.ForwardLink.Builder builderForValue)
Proving the path to the latest skipblock. The first ForwardLink has an empty-sliced `From` and the genesis-block in `To`, together with the roster of the genesis-block in the `NewRoster`.
repeated .skipchain.ForwardLink links = 3;public ByzCoinProto.Proof.Builder addLinks(SkipchainProto.ForwardLink value)
Proving the path to the latest skipblock. The first ForwardLink has an empty-sliced `From` and the genesis-block in `To`, together with the roster of the genesis-block in the `NewRoster`.
repeated .skipchain.ForwardLink links = 3;public ByzCoinProto.Proof.Builder addLinks(int index, SkipchainProto.ForwardLink value)
Proving the path to the latest skipblock. The first ForwardLink has an empty-sliced `From` and the genesis-block in `To`, together with the roster of the genesis-block in the `NewRoster`.
repeated .skipchain.ForwardLink links = 3;public ByzCoinProto.Proof.Builder addLinks(SkipchainProto.ForwardLink.Builder builderForValue)
Proving the path to the latest skipblock. The first ForwardLink has an empty-sliced `From` and the genesis-block in `To`, together with the roster of the genesis-block in the `NewRoster`.
repeated .skipchain.ForwardLink links = 3;public ByzCoinProto.Proof.Builder addLinks(int index, SkipchainProto.ForwardLink.Builder builderForValue)
Proving the path to the latest skipblock. The first ForwardLink has an empty-sliced `From` and the genesis-block in `To`, together with the roster of the genesis-block in the `NewRoster`.
repeated .skipchain.ForwardLink links = 3;public ByzCoinProto.Proof.Builder addAllLinks(Iterable<? extends SkipchainProto.ForwardLink> values)
Proving the path to the latest skipblock. The first ForwardLink has an empty-sliced `From` and the genesis-block in `To`, together with the roster of the genesis-block in the `NewRoster`.
repeated .skipchain.ForwardLink links = 3;public ByzCoinProto.Proof.Builder clearLinks()
Proving the path to the latest skipblock. The first ForwardLink has an empty-sliced `From` and the genesis-block in `To`, together with the roster of the genesis-block in the `NewRoster`.
repeated .skipchain.ForwardLink links = 3;public ByzCoinProto.Proof.Builder removeLinks(int index)
Proving the path to the latest skipblock. The first ForwardLink has an empty-sliced `From` and the genesis-block in `To`, together with the roster of the genesis-block in the `NewRoster`.
repeated .skipchain.ForwardLink links = 3;public SkipchainProto.ForwardLink.Builder getLinksBuilder(int index)
Proving the path to the latest skipblock. The first ForwardLink has an empty-sliced `From` and the genesis-block in `To`, together with the roster of the genesis-block in the `NewRoster`.
repeated .skipchain.ForwardLink links = 3;public SkipchainProto.ForwardLinkOrBuilder getLinksOrBuilder(int index)
Proving the path to the latest skipblock. The first ForwardLink has an empty-sliced `From` and the genesis-block in `To`, together with the roster of the genesis-block in the `NewRoster`.
repeated .skipchain.ForwardLink links = 3;getLinksOrBuilder in interface ByzCoinProto.ProofOrBuilderpublic List<? extends SkipchainProto.ForwardLinkOrBuilder> getLinksOrBuilderList()
Proving the path to the latest skipblock. The first ForwardLink has an empty-sliced `From` and the genesis-block in `To`, together with the roster of the genesis-block in the `NewRoster`.
repeated .skipchain.ForwardLink links = 3;getLinksOrBuilderList in interface ByzCoinProto.ProofOrBuilderpublic SkipchainProto.ForwardLink.Builder addLinksBuilder()
Proving the path to the latest skipblock. The first ForwardLink has an empty-sliced `From` and the genesis-block in `To`, together with the roster of the genesis-block in the `NewRoster`.
repeated .skipchain.ForwardLink links = 3;public SkipchainProto.ForwardLink.Builder addLinksBuilder(int index)
Proving the path to the latest skipblock. The first ForwardLink has an empty-sliced `From` and the genesis-block in `To`, together with the roster of the genesis-block in the `NewRoster`.
repeated .skipchain.ForwardLink links = 3;public List<SkipchainProto.ForwardLink.Builder> getLinksBuilderList()
Proving the path to the latest skipblock. The first ForwardLink has an empty-sliced `From` and the genesis-block in `To`, together with the roster of the genesis-block in the `NewRoster`.
repeated .skipchain.ForwardLink links = 3;public final ByzCoinProto.Proof.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.Proof.Builder>public final ByzCoinProto.Proof.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.Proof.Builder>Copyright © 2018. All rights reserved.