public static final class OmniLedgerProto.Proof.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OmniLedgerProto.Proof.Builder> implements OmniLedgerProto.ProofOrBuilder
This Structure could later be moved to cothority/skipchain.Protobuf type
Proof| Modifier and Type | Method and Description |
|---|---|
OmniLedgerProto.Proof.Builder |
addAllLinks(Iterable<? extends SkipBlockProto.ForwardLink> values)
Proving the path to the latest skipblock.
|
OmniLedgerProto.Proof.Builder |
addLinks(int index,
SkipBlockProto.ForwardLink.Builder builderForValue)
Proving the path to the latest skipblock.
|
OmniLedgerProto.Proof.Builder |
addLinks(int index,
SkipBlockProto.ForwardLink value)
Proving the path to the latest skipblock.
|
OmniLedgerProto.Proof.Builder |
addLinks(SkipBlockProto.ForwardLink.Builder builderForValue)
Proving the path to the latest skipblock.
|
OmniLedgerProto.Proof.Builder |
addLinks(SkipBlockProto.ForwardLink value)
Proving the path to the latest skipblock.
|
SkipBlockProto.ForwardLink.Builder |
addLinksBuilder()
Proving the path to the latest skipblock.
|
SkipBlockProto.ForwardLink.Builder |
addLinksBuilder(int index)
Proving the path to the latest skipblock.
|
OmniLedgerProto.Proof.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OmniLedgerProto.Proof |
build() |
OmniLedgerProto.Proof |
buildPartial() |
OmniLedgerProto.Proof.Builder |
clear() |
OmniLedgerProto.Proof.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
OmniLedgerProto.Proof.Builder |
clearInclusionProof()
InclusionProof is the deserialized InclusionProof
|
OmniLedgerProto.Proof.Builder |
clearLatest()
Providing the latest skipblock to retrieve the Merkle tree root.
|
OmniLedgerProto.Proof.Builder |
clearLinks()
Proving the path to the latest skipblock.
|
OmniLedgerProto.Proof.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
OmniLedgerProto.Proof.Builder |
clone() |
OmniLedgerProto.Proof |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
OmniLedgerProto.CollectionProof |
getInclusionProof()
InclusionProof is the deserialized InclusionProof
|
OmniLedgerProto.CollectionProof.Builder |
getInclusionProofBuilder()
InclusionProof is the deserialized InclusionProof
|
OmniLedgerProto.CollectionProofOrBuilder |
getInclusionProofOrBuilder()
InclusionProof is the deserialized InclusionProof
|
SkipBlockProto.SkipBlock |
getLatest()
Providing the latest skipblock to retrieve the Merkle tree root.
|
SkipBlockProto.SkipBlock.Builder |
getLatestBuilder()
Providing the latest skipblock to retrieve the Merkle tree root.
|
SkipBlockProto.SkipBlockOrBuilder |
getLatestOrBuilder()
Providing the latest skipblock to retrieve the Merkle tree root.
|
SkipBlockProto.ForwardLink |
getLinks(int index)
Proving the path to the latest skipblock.
|
SkipBlockProto.ForwardLink.Builder |
getLinksBuilder(int index)
Proving the path to the latest skipblock.
|
List<SkipBlockProto.ForwardLink.Builder> |
getLinksBuilderList()
Proving the path to the latest skipblock.
|
int |
getLinksCount()
Proving the path to the latest skipblock.
|
List<SkipBlockProto.ForwardLink> |
getLinksList()
Proving the path to the latest skipblock.
|
SkipBlockProto.ForwardLinkOrBuilder |
getLinksOrBuilder(int index)
Proving the path to the latest skipblock.
|
List<? extends SkipBlockProto.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() |
OmniLedgerProto.Proof.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OmniLedgerProto.Proof.Builder |
mergeFrom(com.google.protobuf.Message other) |
OmniLedgerProto.Proof.Builder |
mergeFrom(OmniLedgerProto.Proof other) |
OmniLedgerProto.Proof.Builder |
mergeInclusionProof(OmniLedgerProto.CollectionProof value)
InclusionProof is the deserialized InclusionProof
|
OmniLedgerProto.Proof.Builder |
mergeLatest(SkipBlockProto.SkipBlock value)
Providing the latest skipblock to retrieve the Merkle tree root.
|
OmniLedgerProto.Proof.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
OmniLedgerProto.Proof.Builder |
removeLinks(int index)
Proving the path to the latest skipblock.
|
OmniLedgerProto.Proof.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OmniLedgerProto.Proof.Builder |
setInclusionProof(OmniLedgerProto.CollectionProof.Builder builderForValue)
InclusionProof is the deserialized InclusionProof
|
OmniLedgerProto.Proof.Builder |
setInclusionProof(OmniLedgerProto.CollectionProof value)
InclusionProof is the deserialized InclusionProof
|
OmniLedgerProto.Proof.Builder |
setLatest(SkipBlockProto.SkipBlock.Builder builderForValue)
Providing the latest skipblock to retrieve the Merkle tree root.
|
OmniLedgerProto.Proof.Builder |
setLatest(SkipBlockProto.SkipBlock value)
Providing the latest skipblock to retrieve the Merkle tree root.
|
OmniLedgerProto.Proof.Builder |
setLinks(int index,
SkipBlockProto.ForwardLink.Builder builderForValue)
Proving the path to the latest skipblock.
|
OmniLedgerProto.Proof.Builder |
setLinks(int index,
SkipBlockProto.ForwardLink value)
Proving the path to the latest skipblock.
|
OmniLedgerProto.Proof.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
OmniLedgerProto.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<OmniLedgerProto.Proof.Builder>public OmniLedgerProto.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<OmniLedgerProto.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<OmniLedgerProto.Proof.Builder>public OmniLedgerProto.Proof getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic OmniLedgerProto.Proof build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic OmniLedgerProto.Proof buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic OmniLedgerProto.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<OmniLedgerProto.Proof.Builder>public OmniLedgerProto.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<OmniLedgerProto.Proof.Builder>public OmniLedgerProto.Proof.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<OmniLedgerProto.Proof.Builder>public OmniLedgerProto.Proof.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<OmniLedgerProto.Proof.Builder>public OmniLedgerProto.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<OmniLedgerProto.Proof.Builder>public OmniLedgerProto.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<OmniLedgerProto.Proof.Builder>public OmniLedgerProto.Proof.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OmniLedgerProto.Proof.Builder>public OmniLedgerProto.Proof.Builder mergeFrom(OmniLedgerProto.Proof other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<OmniLedgerProto.Proof.Builder>public OmniLedgerProto.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<OmniLedgerProto.Proof.Builder>IOExceptionpublic boolean hasInclusionProof()
InclusionProof is the deserialized InclusionProof
required .CollectionProof inclusionProof = 1;hasInclusionProof in interface OmniLedgerProto.ProofOrBuilderpublic OmniLedgerProto.CollectionProof getInclusionProof()
InclusionProof is the deserialized InclusionProof
required .CollectionProof inclusionProof = 1;getInclusionProof in interface OmniLedgerProto.ProofOrBuilderpublic OmniLedgerProto.Proof.Builder setInclusionProof(OmniLedgerProto.CollectionProof value)
InclusionProof is the deserialized InclusionProof
required .CollectionProof inclusionProof = 1;public OmniLedgerProto.Proof.Builder setInclusionProof(OmniLedgerProto.CollectionProof.Builder builderForValue)
InclusionProof is the deserialized InclusionProof
required .CollectionProof inclusionProof = 1;public OmniLedgerProto.Proof.Builder mergeInclusionProof(OmniLedgerProto.CollectionProof value)
InclusionProof is the deserialized InclusionProof
required .CollectionProof inclusionProof = 1;public OmniLedgerProto.Proof.Builder clearInclusionProof()
InclusionProof is the deserialized InclusionProof
required .CollectionProof inclusionProof = 1;public OmniLedgerProto.CollectionProof.Builder getInclusionProofBuilder()
InclusionProof is the deserialized InclusionProof
required .CollectionProof inclusionProof = 1;public OmniLedgerProto.CollectionProofOrBuilder getInclusionProofOrBuilder()
InclusionProof is the deserialized InclusionProof
required .CollectionProof inclusionProof = 1;getInclusionProofOrBuilder in interface OmniLedgerProto.ProofOrBuilderpublic boolean hasLatest()
Providing the latest skipblock to retrieve the Merkle tree root.
required .SkipBlock latest = 2;hasLatest in interface OmniLedgerProto.ProofOrBuilderpublic SkipBlockProto.SkipBlock getLatest()
Providing the latest skipblock to retrieve the Merkle tree root.
required .SkipBlock latest = 2;getLatest in interface OmniLedgerProto.ProofOrBuilderpublic OmniLedgerProto.Proof.Builder setLatest(SkipBlockProto.SkipBlock value)
Providing the latest skipblock to retrieve the Merkle tree root.
required .SkipBlock latest = 2;public OmniLedgerProto.Proof.Builder setLatest(SkipBlockProto.SkipBlock.Builder builderForValue)
Providing the latest skipblock to retrieve the Merkle tree root.
required .SkipBlock latest = 2;public OmniLedgerProto.Proof.Builder mergeLatest(SkipBlockProto.SkipBlock value)
Providing the latest skipblock to retrieve the Merkle tree root.
required .SkipBlock latest = 2;public OmniLedgerProto.Proof.Builder clearLatest()
Providing the latest skipblock to retrieve the Merkle tree root.
required .SkipBlock latest = 2;public SkipBlockProto.SkipBlock.Builder getLatestBuilder()
Providing the latest skipblock to retrieve the Merkle tree root.
required .SkipBlock latest = 2;public SkipBlockProto.SkipBlockOrBuilder getLatestOrBuilder()
Providing the latest skipblock to retrieve the Merkle tree root.
required .SkipBlock latest = 2;getLatestOrBuilder in interface OmniLedgerProto.ProofOrBuilderpublic List<SkipBlockProto.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 .ForwardLink links = 3;getLinksList in interface OmniLedgerProto.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 .ForwardLink links = 3;getLinksCount in interface OmniLedgerProto.ProofOrBuilderpublic SkipBlockProto.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 .ForwardLink links = 3;getLinks in interface OmniLedgerProto.ProofOrBuilderpublic OmniLedgerProto.Proof.Builder setLinks(int index, SkipBlockProto.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 .ForwardLink links = 3;public OmniLedgerProto.Proof.Builder setLinks(int index, SkipBlockProto.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 .ForwardLink links = 3;public OmniLedgerProto.Proof.Builder addLinks(SkipBlockProto.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 .ForwardLink links = 3;public OmniLedgerProto.Proof.Builder addLinks(int index, SkipBlockProto.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 .ForwardLink links = 3;public OmniLedgerProto.Proof.Builder addLinks(SkipBlockProto.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 .ForwardLink links = 3;public OmniLedgerProto.Proof.Builder addLinks(int index, SkipBlockProto.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 .ForwardLink links = 3;public OmniLedgerProto.Proof.Builder addAllLinks(Iterable<? extends SkipBlockProto.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 .ForwardLink links = 3;public OmniLedgerProto.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 .ForwardLink links = 3;public OmniLedgerProto.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 .ForwardLink links = 3;public SkipBlockProto.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 .ForwardLink links = 3;public SkipBlockProto.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 .ForwardLink links = 3;getLinksOrBuilder in interface OmniLedgerProto.ProofOrBuilderpublic List<? extends SkipBlockProto.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 .ForwardLink links = 3;getLinksOrBuilderList in interface OmniLedgerProto.ProofOrBuilderpublic SkipBlockProto.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 .ForwardLink links = 3;public SkipBlockProto.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 .ForwardLink links = 3;public List<SkipBlockProto.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 .ForwardLink links = 3;public final OmniLedgerProto.Proof.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OmniLedgerProto.Proof.Builder>public final OmniLedgerProto.Proof.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OmniLedgerProto.Proof.Builder>Copyright © 2018. All rights reserved.