public static final class Proof.AccumulatorConsistencyProof.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Proof.AccumulatorConsistencyProof.Builder> implements Proof.AccumulatorConsistencyProofOrBuilder
types.AccumulatorConsistencyProof| Modifier and Type | Method and Description |
|---|---|
Proof.AccumulatorConsistencyProof.Builder |
addAllFrozenSubtreeRoots(Iterable<? extends com.google.protobuf.ByteString> values)
The root hashes of the frozen subtrees that form the small accumulator.
|
Proof.AccumulatorConsistencyProof.Builder |
addAllNonDefaultSiblings(Iterable<? extends com.google.protobuf.ByteString> values)
The non-default siblings.
|
Proof.AccumulatorConsistencyProof.Builder |
addFrozenSubtreeRoots(com.google.protobuf.ByteString value)
The root hashes of the frozen subtrees that form the small accumulator.
|
Proof.AccumulatorConsistencyProof.Builder |
addNonDefaultSiblings(com.google.protobuf.ByteString value)
The non-default siblings.
|
Proof.AccumulatorConsistencyProof.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Proof.AccumulatorConsistencyProof |
build() |
Proof.AccumulatorConsistencyProof |
buildPartial() |
Proof.AccumulatorConsistencyProof.Builder |
clear() |
Proof.AccumulatorConsistencyProof.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Proof.AccumulatorConsistencyProof.Builder |
clearFrozenSubtreeRoots()
The root hashes of the frozen subtrees that form the small accumulator.
|
Proof.AccumulatorConsistencyProof.Builder |
clearNonDefaultSiblings()
The non-default siblings.
|
Proof.AccumulatorConsistencyProof.Builder |
clearNumSiblings()
The total number of siblings.
|
Proof.AccumulatorConsistencyProof.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Proof.AccumulatorConsistencyProof.Builder |
clone() |
Proof.AccumulatorConsistencyProof |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getFrozenSubtreeRoots(int index)
The root hashes of the frozen subtrees that form the small accumulator.
|
int |
getFrozenSubtreeRootsCount()
The root hashes of the frozen subtrees that form the small accumulator.
|
List<com.google.protobuf.ByteString> |
getFrozenSubtreeRootsList()
The root hashes of the frozen subtrees that form the small accumulator.
|
com.google.protobuf.ByteString |
getNonDefaultSiblings(int index)
The non-default siblings.
|
int |
getNonDefaultSiblingsCount()
The non-default siblings.
|
List<com.google.protobuf.ByteString> |
getNonDefaultSiblingsList()
The non-default siblings.
|
int |
getNumSiblings()
The total number of siblings.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Proof.AccumulatorConsistencyProof.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Proof.AccumulatorConsistencyProof.Builder |
mergeFrom(com.google.protobuf.Message other) |
Proof.AccumulatorConsistencyProof.Builder |
mergeFrom(Proof.AccumulatorConsistencyProof other) |
Proof.AccumulatorConsistencyProof.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Proof.AccumulatorConsistencyProof.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Proof.AccumulatorConsistencyProof.Builder |
setFrozenSubtreeRoots(int index,
com.google.protobuf.ByteString value)
The root hashes of the frozen subtrees that form the small accumulator.
|
Proof.AccumulatorConsistencyProof.Builder |
setNonDefaultSiblings(int index,
com.google.protobuf.ByteString value)
The non-default siblings.
|
Proof.AccumulatorConsistencyProof.Builder |
setNumSiblings(int value)
The total number of siblings.
|
Proof.AccumulatorConsistencyProof.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Proof.AccumulatorConsistencyProof.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<Proof.AccumulatorConsistencyProof.Builder>public Proof.AccumulatorConsistencyProof.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Proof.AccumulatorConsistencyProof.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<Proof.AccumulatorConsistencyProof.Builder>public Proof.AccumulatorConsistencyProof getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Proof.AccumulatorConsistencyProof build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Proof.AccumulatorConsistencyProof buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Proof.AccumulatorConsistencyProof.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Proof.AccumulatorConsistencyProof.Builder>public Proof.AccumulatorConsistencyProof.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<Proof.AccumulatorConsistencyProof.Builder>public Proof.AccumulatorConsistencyProof.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Proof.AccumulatorConsistencyProof.Builder>public Proof.AccumulatorConsistencyProof.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Proof.AccumulatorConsistencyProof.Builder>public Proof.AccumulatorConsistencyProof.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<Proof.AccumulatorConsistencyProof.Builder>public Proof.AccumulatorConsistencyProof.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<Proof.AccumulatorConsistencyProof.Builder>public Proof.AccumulatorConsistencyProof.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Proof.AccumulatorConsistencyProof.Builder>public Proof.AccumulatorConsistencyProof.Builder mergeFrom(Proof.AccumulatorConsistencyProof other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Proof.AccumulatorConsistencyProof.Builder>public Proof.AccumulatorConsistencyProof.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<Proof.AccumulatorConsistencyProof.Builder>IOExceptionpublic List<com.google.protobuf.ByteString> getFrozenSubtreeRootsList()
The root hashes of the frozen subtrees that form the small accumulator. Note that none of these hashes should be default hash.
repeated bytes frozen_subtree_roots = 1;getFrozenSubtreeRootsList in interface Proof.AccumulatorConsistencyProofOrBuilderpublic int getFrozenSubtreeRootsCount()
The root hashes of the frozen subtrees that form the small accumulator. Note that none of these hashes should be default hash.
repeated bytes frozen_subtree_roots = 1;getFrozenSubtreeRootsCount in interface Proof.AccumulatorConsistencyProofOrBuilderpublic com.google.protobuf.ByteString getFrozenSubtreeRoots(int index)
The root hashes of the frozen subtrees that form the small accumulator. Note that none of these hashes should be default hash.
repeated bytes frozen_subtree_roots = 1;getFrozenSubtreeRoots in interface Proof.AccumulatorConsistencyProofOrBuilderpublic Proof.AccumulatorConsistencyProof.Builder setFrozenSubtreeRoots(int index, com.google.protobuf.ByteString value)
The root hashes of the frozen subtrees that form the small accumulator. Note that none of these hashes should be default hash.
repeated bytes frozen_subtree_roots = 1;public Proof.AccumulatorConsistencyProof.Builder addFrozenSubtreeRoots(com.google.protobuf.ByteString value)
The root hashes of the frozen subtrees that form the small accumulator. Note that none of these hashes should be default hash.
repeated bytes frozen_subtree_roots = 1;public Proof.AccumulatorConsistencyProof.Builder addAllFrozenSubtreeRoots(Iterable<? extends com.google.protobuf.ByteString> values)
The root hashes of the frozen subtrees that form the small accumulator. Note that none of these hashes should be default hash.
repeated bytes frozen_subtree_roots = 1;public Proof.AccumulatorConsistencyProof.Builder clearFrozenSubtreeRoots()
The root hashes of the frozen subtrees that form the small accumulator. Note that none of these hashes should be default hash.
repeated bytes frozen_subtree_roots = 1;public int getNumSiblings()
The total number of siblings.
uint32 num_siblings = 2;getNumSiblings in interface Proof.AccumulatorConsistencyProofOrBuilderpublic Proof.AccumulatorConsistencyProof.Builder setNumSiblings(int value)
The total number of siblings.
uint32 num_siblings = 2;public Proof.AccumulatorConsistencyProof.Builder clearNumSiblings()
The total number of siblings.
uint32 num_siblings = 2;public List<com.google.protobuf.ByteString> getNonDefaultSiblingsList()
The non-default siblings. Note that the entire list of siblings always start of zero or more non-default siblings, followed by zero of more default siblings. So given the total number of siblings and the non-default siblings we should be able to construct the entire sibling list.
repeated bytes non_default_siblings = 3;getNonDefaultSiblingsList in interface Proof.AccumulatorConsistencyProofOrBuilderpublic int getNonDefaultSiblingsCount()
The non-default siblings. Note that the entire list of siblings always start of zero or more non-default siblings, followed by zero of more default siblings. So given the total number of siblings and the non-default siblings we should be able to construct the entire sibling list.
repeated bytes non_default_siblings = 3;getNonDefaultSiblingsCount in interface Proof.AccumulatorConsistencyProofOrBuilderpublic com.google.protobuf.ByteString getNonDefaultSiblings(int index)
The non-default siblings. Note that the entire list of siblings always start of zero or more non-default siblings, followed by zero of more default siblings. So given the total number of siblings and the non-default siblings we should be able to construct the entire sibling list.
repeated bytes non_default_siblings = 3;getNonDefaultSiblings in interface Proof.AccumulatorConsistencyProofOrBuilderpublic Proof.AccumulatorConsistencyProof.Builder setNonDefaultSiblings(int index, com.google.protobuf.ByteString value)
The non-default siblings. Note that the entire list of siblings always start of zero or more non-default siblings, followed by zero of more default siblings. So given the total number of siblings and the non-default siblings we should be able to construct the entire sibling list.
repeated bytes non_default_siblings = 3;public Proof.AccumulatorConsistencyProof.Builder addNonDefaultSiblings(com.google.protobuf.ByteString value)
The non-default siblings. Note that the entire list of siblings always start of zero or more non-default siblings, followed by zero of more default siblings. So given the total number of siblings and the non-default siblings we should be able to construct the entire sibling list.
repeated bytes non_default_siblings = 3;public Proof.AccumulatorConsistencyProof.Builder addAllNonDefaultSiblings(Iterable<? extends com.google.protobuf.ByteString> values)
The non-default siblings. Note that the entire list of siblings always start of zero or more non-default siblings, followed by zero of more default siblings. So given the total number of siblings and the non-default siblings we should be able to construct the entire sibling list.
repeated bytes non_default_siblings = 3;public Proof.AccumulatorConsistencyProof.Builder clearNonDefaultSiblings()
The non-default siblings. Note that the entire list of siblings always start of zero or more non-default siblings, followed by zero of more default siblings. So given the total number of siblings and the non-default siblings we should be able to construct the entire sibling list.
repeated bytes non_default_siblings = 3;public final Proof.AccumulatorConsistencyProof.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Proof.AccumulatorConsistencyProof.Builder>public final Proof.AccumulatorConsistencyProof.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Proof.AccumulatorConsistencyProof.Builder>Copyright © 2019. All rights reserved.