Package com.exonum.messages.proof
Class ListProofOuterClass.ListProof.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<ListProofOuterClass.ListProof.Builder>
com.exonum.messages.proof.ListProofOuterClass.ListProof.Builder
- All Implemented Interfaces:
ListProofOuterClass.ListProofOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- ListProofOuterClass.ListProof
public static final class ListProofOuterClass.ListProof.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListProofOuterClass.ListProof.Builder> implements ListProofOuterClass.ListProofOrBuilder
Subset of ProofList elements coupled with a proof. ListProof` can assert existence of certain elements and that the list is shorter than the requested range of indexes.Protobuf type
exonum.proof.ListProof
-
Method Summary
Modifier and Type Method Description ListProofOuterClass.ListProof.Builder
addAllEntries(java.lang.Iterable<? extends ListProofOuterClass.ListProofEntry> values)
Array with list elements and their indexes.ListProofOuterClass.ListProof.Builder
addAllProof(java.lang.Iterable<? extends ListProofOuterClass.HashedEntry> values)
Array of { ProofListKey, Hash } objects.ListProofOuterClass.ListProof.Builder
addEntries(int index, ListProofOuterClass.ListProofEntry value)
Array with list elements and their indexes.ListProofOuterClass.ListProof.Builder
addEntries(int index, ListProofOuterClass.ListProofEntry.Builder builderForValue)
Array with list elements and their indexes.ListProofOuterClass.ListProof.Builder
addEntries(ListProofOuterClass.ListProofEntry value)
Array with list elements and their indexes.ListProofOuterClass.ListProof.Builder
addEntries(ListProofOuterClass.ListProofEntry.Builder builderForValue)
Array with list elements and their indexes.ListProofOuterClass.ListProofEntry.Builder
addEntriesBuilder()
Array with list elements and their indexes.ListProofOuterClass.ListProofEntry.Builder
addEntriesBuilder(int index)
Array with list elements and their indexes.ListProofOuterClass.ListProof.Builder
addProof(int index, ListProofOuterClass.HashedEntry value)
Array of { ProofListKey, Hash } objects.ListProofOuterClass.ListProof.Builder
addProof(int index, ListProofOuterClass.HashedEntry.Builder builderForValue)
Array of { ProofListKey, Hash } objects.ListProofOuterClass.ListProof.Builder
addProof(ListProofOuterClass.HashedEntry value)
Array of { ProofListKey, Hash } objects.ListProofOuterClass.ListProof.Builder
addProof(ListProofOuterClass.HashedEntry.Builder builderForValue)
Array of { ProofListKey, Hash } objects.ListProofOuterClass.HashedEntry.Builder
addProofBuilder()
Array of { ProofListKey, Hash } objects.ListProofOuterClass.HashedEntry.Builder
addProofBuilder(int index)
Array of { ProofListKey, Hash } objects.ListProofOuterClass.ListProof.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ListProofOuterClass.ListProof
build()
ListProofOuterClass.ListProof
buildPartial()
ListProofOuterClass.ListProof.Builder
clear()
ListProofOuterClass.ListProof.Builder
clearEntries()
Array with list elements and their indexes.ListProofOuterClass.ListProof.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListProofOuterClass.ListProof.Builder
clearLength()
Length of the underlying `ProofListIndex`.ListProofOuterClass.ListProof.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListProofOuterClass.ListProof.Builder
clearProof()
Array of { ProofListKey, Hash } objects.ListProofOuterClass.ListProof.Builder
clone()
ListProofOuterClass.ListProof
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
ListProofOuterClass.ListProofEntry
getEntries(int index)
Array with list elements and their indexes.ListProofOuterClass.ListProofEntry.Builder
getEntriesBuilder(int index)
Array with list elements and their indexes.java.util.List<ListProofOuterClass.ListProofEntry.Builder>
getEntriesBuilderList()
Array with list elements and their indexes.int
getEntriesCount()
Array with list elements and their indexes.java.util.List<ListProofOuterClass.ListProofEntry>
getEntriesList()
Array with list elements and their indexes.ListProofOuterClass.ListProofEntryOrBuilder
getEntriesOrBuilder(int index)
Array with list elements and their indexes.java.util.List<? extends ListProofOuterClass.ListProofEntryOrBuilder>
getEntriesOrBuilderList()
Array with list elements and their indexes.long
getLength()
Length of the underlying `ProofListIndex`.ListProofOuterClass.HashedEntry
getProof(int index)
Array of { ProofListKey, Hash } objects.ListProofOuterClass.HashedEntry.Builder
getProofBuilder(int index)
Array of { ProofListKey, Hash } objects.java.util.List<ListProofOuterClass.HashedEntry.Builder>
getProofBuilderList()
Array of { ProofListKey, Hash } objects.int
getProofCount()
Array of { ProofListKey, Hash } objects.java.util.List<ListProofOuterClass.HashedEntry>
getProofList()
Array of { ProofListKey, Hash } objects.ListProofOuterClass.HashedEntryOrBuilder
getProofOrBuilder(int index)
Array of { ProofListKey, Hash } objects.java.util.List<? extends ListProofOuterClass.HashedEntryOrBuilder>
getProofOrBuilderList()
Array of { ProofListKey, Hash } objects.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListProofOuterClass.ListProof.Builder
mergeFrom(ListProofOuterClass.ListProof other)
ListProofOuterClass.ListProof.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListProofOuterClass.ListProof.Builder
mergeFrom(com.google.protobuf.Message other)
ListProofOuterClass.ListProof.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListProofOuterClass.ListProof.Builder
removeEntries(int index)
Array with list elements and their indexes.ListProofOuterClass.ListProof.Builder
removeProof(int index)
Array of { ProofListKey, Hash } objects.ListProofOuterClass.ListProof.Builder
setEntries(int index, ListProofOuterClass.ListProofEntry value)
Array with list elements and their indexes.ListProofOuterClass.ListProof.Builder
setEntries(int index, ListProofOuterClass.ListProofEntry.Builder builderForValue)
Array with list elements and their indexes.ListProofOuterClass.ListProof.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ListProofOuterClass.ListProof.Builder
setLength(long value)
Length of the underlying `ProofListIndex`.ListProofOuterClass.ListProof.Builder
setProof(int index, ListProofOuterClass.HashedEntry value)
Array of { ProofListKey, Hash } objects.ListProofOuterClass.ListProof.Builder
setProof(int index, ListProofOuterClass.HashedEntry.Builder builderForValue)
Array of { ProofListKey, Hash } objects.ListProofOuterClass.ListProof.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ListProofOuterClass.ListProof.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListProofOuterClass.ListProof.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListProofOuterClass.ListProof.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListProofOuterClass.ListProof.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListProofOuterClass.ListProof.Builder>
-
setField
public ListProofOuterClass.ListProof.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListProofOuterClass.ListProof.Builder>
-
clearField
public ListProofOuterClass.ListProof.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListProofOuterClass.ListProof.Builder>
-
clearOneof
public ListProofOuterClass.ListProof.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListProofOuterClass.ListProof.Builder>
-
setRepeatedField
public ListProofOuterClass.ListProof.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListProofOuterClass.ListProof.Builder>
-
addRepeatedField
public ListProofOuterClass.ListProof.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListProofOuterClass.ListProof.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListProofOuterClass.ListProof.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListProofOuterClass.ListProof.Builder>
-
mergeFrom
public ListProofOuterClass.ListProof.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListProofOuterClass.ListProof.Builder>
- Throws:
java.io.IOException
-
getProofList
Array of { ProofListKey, Hash } objects.
repeated .exonum.proof.HashedEntry proof = 1;
- Specified by:
getProofList
in interfaceListProofOuterClass.ListProofOrBuilder
-
getProofCount
public int getProofCount()Array of { ProofListKey, Hash } objects.
repeated .exonum.proof.HashedEntry proof = 1;
- Specified by:
getProofCount
in interfaceListProofOuterClass.ListProofOrBuilder
-
getProof
Array of { ProofListKey, Hash } objects.
repeated .exonum.proof.HashedEntry proof = 1;
- Specified by:
getProof
in interfaceListProofOuterClass.ListProofOrBuilder
-
setProof
public ListProofOuterClass.ListProof.Builder setProof(int index, ListProofOuterClass.HashedEntry value)Array of { ProofListKey, Hash } objects.
repeated .exonum.proof.HashedEntry proof = 1;
-
setProof
public ListProofOuterClass.ListProof.Builder setProof(int index, ListProofOuterClass.HashedEntry.Builder builderForValue)Array of { ProofListKey, Hash } objects.
repeated .exonum.proof.HashedEntry proof = 1;
-
addProof
Array of { ProofListKey, Hash } objects.
repeated .exonum.proof.HashedEntry proof = 1;
-
addProof
public ListProofOuterClass.ListProof.Builder addProof(int index, ListProofOuterClass.HashedEntry value)Array of { ProofListKey, Hash } objects.
repeated .exonum.proof.HashedEntry proof = 1;
-
addProof
public ListProofOuterClass.ListProof.Builder addProof(ListProofOuterClass.HashedEntry.Builder builderForValue)Array of { ProofListKey, Hash } objects.
repeated .exonum.proof.HashedEntry proof = 1;
-
addProof
public ListProofOuterClass.ListProof.Builder addProof(int index, ListProofOuterClass.HashedEntry.Builder builderForValue)Array of { ProofListKey, Hash } objects.
repeated .exonum.proof.HashedEntry proof = 1;
-
addAllProof
public ListProofOuterClass.ListProof.Builder addAllProof(java.lang.Iterable<? extends ListProofOuterClass.HashedEntry> values)Array of { ProofListKey, Hash } objects.
repeated .exonum.proof.HashedEntry proof = 1;
-
clearProof
Array of { ProofListKey, Hash } objects.
repeated .exonum.proof.HashedEntry proof = 1;
-
removeProof
Array of { ProofListKey, Hash } objects.
repeated .exonum.proof.HashedEntry proof = 1;
-
getProofBuilder
Array of { ProofListKey, Hash } objects.
repeated .exonum.proof.HashedEntry proof = 1;
-
getProofOrBuilder
Array of { ProofListKey, Hash } objects.
repeated .exonum.proof.HashedEntry proof = 1;
- Specified by:
getProofOrBuilder
in interfaceListProofOuterClass.ListProofOrBuilder
-
getProofOrBuilderList
Array of { ProofListKey, Hash } objects.
repeated .exonum.proof.HashedEntry proof = 1;
- Specified by:
getProofOrBuilderList
in interfaceListProofOuterClass.ListProofOrBuilder
-
addProofBuilder
Array of { ProofListKey, Hash } objects.
repeated .exonum.proof.HashedEntry proof = 1;
-
addProofBuilder
Array of { ProofListKey, Hash } objects.
repeated .exonum.proof.HashedEntry proof = 1;
-
getProofBuilderList
Array of { ProofListKey, Hash } objects.
repeated .exonum.proof.HashedEntry proof = 1;
-
getEntriesList
Array with list elements and their indexes.
repeated .exonum.proof.ListProofEntry entries = 2;
- Specified by:
getEntriesList
in interfaceListProofOuterClass.ListProofOrBuilder
-
getEntriesCount
public int getEntriesCount()Array with list elements and their indexes.
repeated .exonum.proof.ListProofEntry entries = 2;
- Specified by:
getEntriesCount
in interfaceListProofOuterClass.ListProofOrBuilder
-
getEntries
Array with list elements and their indexes.
repeated .exonum.proof.ListProofEntry entries = 2;
- Specified by:
getEntries
in interfaceListProofOuterClass.ListProofOrBuilder
-
setEntries
public ListProofOuterClass.ListProof.Builder setEntries(int index, ListProofOuterClass.ListProofEntry value)Array with list elements and their indexes.
repeated .exonum.proof.ListProofEntry entries = 2;
-
setEntries
public ListProofOuterClass.ListProof.Builder setEntries(int index, ListProofOuterClass.ListProofEntry.Builder builderForValue)Array with list elements and their indexes.
repeated .exonum.proof.ListProofEntry entries = 2;
-
addEntries
Array with list elements and their indexes.
repeated .exonum.proof.ListProofEntry entries = 2;
-
addEntries
public ListProofOuterClass.ListProof.Builder addEntries(int index, ListProofOuterClass.ListProofEntry value)Array with list elements and their indexes.
repeated .exonum.proof.ListProofEntry entries = 2;
-
addEntries
public ListProofOuterClass.ListProof.Builder addEntries(ListProofOuterClass.ListProofEntry.Builder builderForValue)Array with list elements and their indexes.
repeated .exonum.proof.ListProofEntry entries = 2;
-
addEntries
public ListProofOuterClass.ListProof.Builder addEntries(int index, ListProofOuterClass.ListProofEntry.Builder builderForValue)Array with list elements and their indexes.
repeated .exonum.proof.ListProofEntry entries = 2;
-
addAllEntries
public ListProofOuterClass.ListProof.Builder addAllEntries(java.lang.Iterable<? extends ListProofOuterClass.ListProofEntry> values)Array with list elements and their indexes.
repeated .exonum.proof.ListProofEntry entries = 2;
-
clearEntries
Array with list elements and their indexes.
repeated .exonum.proof.ListProofEntry entries = 2;
-
removeEntries
Array with list elements and their indexes.
repeated .exonum.proof.ListProofEntry entries = 2;
-
getEntriesBuilder
Array with list elements and their indexes.
repeated .exonum.proof.ListProofEntry entries = 2;
-
getEntriesOrBuilder
Array with list elements and their indexes.
repeated .exonum.proof.ListProofEntry entries = 2;
- Specified by:
getEntriesOrBuilder
in interfaceListProofOuterClass.ListProofOrBuilder
-
getEntriesOrBuilderList
public java.util.List<? extends ListProofOuterClass.ListProofEntryOrBuilder> getEntriesOrBuilderList()Array with list elements and their indexes.
repeated .exonum.proof.ListProofEntry entries = 2;
- Specified by:
getEntriesOrBuilderList
in interfaceListProofOuterClass.ListProofOrBuilder
-
addEntriesBuilder
Array with list elements and their indexes.
repeated .exonum.proof.ListProofEntry entries = 2;
-
addEntriesBuilder
Array with list elements and their indexes.
repeated .exonum.proof.ListProofEntry entries = 2;
-
getEntriesBuilderList
Array with list elements and their indexes.
repeated .exonum.proof.ListProofEntry entries = 2;
-
getLength
public long getLength()Length of the underlying `ProofListIndex`.
uint64 length = 3;
- Specified by:
getLength
in interfaceListProofOuterClass.ListProofOrBuilder
- Returns:
- The length.
-
setLength
Length of the underlying `ProofListIndex`.
uint64 length = 3;
- Parameters:
value
- The length to set.- Returns:
- This builder for chaining.
-
clearLength
Length of the underlying `ProofListIndex`.
uint64 length = 3;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListProofOuterClass.ListProof.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListProofOuterClass.ListProof.Builder>
-
mergeUnknownFields
public final ListProofOuterClass.ListProof.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListProofOuterClass.ListProof.Builder>
-