public static final class Proof.AccumulatorProof.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Proof.AccumulatorProof.Builder> implements Proof.AccumulatorProofOrBuilder
types.AccumulatorProof| Modifier and Type | Method and Description |
|---|---|
Proof.AccumulatorProof.Builder |
addAllNonDefaultSiblings(Iterable<? extends com.google.protobuf.ByteString> values)
The non-default siblings.
|
Proof.AccumulatorProof.Builder |
addNonDefaultSiblings(com.google.protobuf.ByteString value)
The non-default siblings.
|
Proof.AccumulatorProof.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Proof.AccumulatorProof |
build() |
Proof.AccumulatorProof |
buildPartial() |
Proof.AccumulatorProof.Builder |
clear() |
Proof.AccumulatorProof.Builder |
clearBitmap()
The bitmap indicating which siblings are default.
|
Proof.AccumulatorProof.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Proof.AccumulatorProof.Builder |
clearNonDefaultSiblings()
The non-default siblings.
|
Proof.AccumulatorProof.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Proof.AccumulatorProof.Builder |
clone() |
long |
getBitmap()
The bitmap indicating which siblings are default.
|
Proof.AccumulatorProof |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Proof.AccumulatorProof.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Proof.AccumulatorProof.Builder |
mergeFrom(com.google.protobuf.Message other) |
Proof.AccumulatorProof.Builder |
mergeFrom(Proof.AccumulatorProof other) |
Proof.AccumulatorProof.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Proof.AccumulatorProof.Builder |
setBitmap(long value)
The bitmap indicating which siblings are default.
|
Proof.AccumulatorProof.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Proof.AccumulatorProof.Builder |
setNonDefaultSiblings(int index,
com.google.protobuf.ByteString value)
The non-default siblings.
|
Proof.AccumulatorProof.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Proof.AccumulatorProof.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.AccumulatorProof.Builder>public Proof.AccumulatorProof.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.AccumulatorProof.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.AccumulatorProof.Builder>public Proof.AccumulatorProof getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Proof.AccumulatorProof build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Proof.AccumulatorProof buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Proof.AccumulatorProof.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.AccumulatorProof.Builder>public Proof.AccumulatorProof.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.AccumulatorProof.Builder>public Proof.AccumulatorProof.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Proof.AccumulatorProof.Builder>public Proof.AccumulatorProof.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Proof.AccumulatorProof.Builder>public Proof.AccumulatorProof.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.AccumulatorProof.Builder>public Proof.AccumulatorProof.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.AccumulatorProof.Builder>public Proof.AccumulatorProof.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Proof.AccumulatorProof.Builder>public Proof.AccumulatorProof.Builder mergeFrom(Proof.AccumulatorProof other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Proof.AccumulatorProof.Builder>public Proof.AccumulatorProof.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.AccumulatorProof.Builder>IOExceptionpublic long getBitmap()
The bitmap indicating which siblings are default. 1 means non-default and 0 means default. The LSB corresponds to the sibling at the bottom of the accumulator. The leftmost 1-bit corresponds to the sibling at the level just below root level in the accumulator, since this one is always non-default.
uint64 bitmap = 1;getBitmap in interface Proof.AccumulatorProofOrBuilderpublic Proof.AccumulatorProof.Builder setBitmap(long value)
The bitmap indicating which siblings are default. 1 means non-default and 0 means default. The LSB corresponds to the sibling at the bottom of the accumulator. The leftmost 1-bit corresponds to the sibling at the level just below root level in the accumulator, since this one is always non-default.
uint64 bitmap = 1;public Proof.AccumulatorProof.Builder clearBitmap()
The bitmap indicating which siblings are default. 1 means non-default and 0 means default. The LSB corresponds to the sibling at the bottom of the accumulator. The leftmost 1-bit corresponds to the sibling at the level just below root level in the accumulator, since this one is always non-default.
uint64 bitmap = 1;public List<com.google.protobuf.ByteString> getNonDefaultSiblingsList()
The non-default siblings. The ones near the root are at the beginning of the list.
repeated bytes non_default_siblings = 2;getNonDefaultSiblingsList in interface Proof.AccumulatorProofOrBuilderpublic int getNonDefaultSiblingsCount()
The non-default siblings. The ones near the root are at the beginning of the list.
repeated bytes non_default_siblings = 2;getNonDefaultSiblingsCount in interface Proof.AccumulatorProofOrBuilderpublic com.google.protobuf.ByteString getNonDefaultSiblings(int index)
The non-default siblings. The ones near the root are at the beginning of the list.
repeated bytes non_default_siblings = 2;getNonDefaultSiblings in interface Proof.AccumulatorProofOrBuilderpublic Proof.AccumulatorProof.Builder setNonDefaultSiblings(int index, com.google.protobuf.ByteString value)
The non-default siblings. The ones near the root are at the beginning of the list.
repeated bytes non_default_siblings = 2;public Proof.AccumulatorProof.Builder addNonDefaultSiblings(com.google.protobuf.ByteString value)
The non-default siblings. The ones near the root are at the beginning of the list.
repeated bytes non_default_siblings = 2;public Proof.AccumulatorProof.Builder addAllNonDefaultSiblings(Iterable<? extends com.google.protobuf.ByteString> values)
The non-default siblings. The ones near the root are at the beginning of the list.
repeated bytes non_default_siblings = 2;public Proof.AccumulatorProof.Builder clearNonDefaultSiblings()
The non-default siblings. The ones near the root are at the beginning of the list.
repeated bytes non_default_siblings = 2;public final Proof.AccumulatorProof.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Proof.AccumulatorProof.Builder>public final Proof.AccumulatorProof.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Proof.AccumulatorProof.Builder>Copyright © 2019. All rights reserved.