Package com.exonum.core.messages
Class ListProofOuterClass.ListProof
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.exonum.core.messages.ListProofOuterClass.ListProof
- All Implemented Interfaces:
ListProofOuterClass.ListProofOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- ListProofOuterClass
public static final class ListProofOuterClass.ListProof extends com.google.protobuf.GeneratedMessageV3 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- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListProofOuterClass.ListProof.BuilderSubset of ProofList elements coupled with a proof.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter -
Field Summary
Fields Modifier and Type Field Description static intENTRIES_FIELD_NUMBERstatic intLENGTH_FIELD_NUMBERstatic intPROOF_FIELD_NUMBER -
Method Summary
Modifier and Type Method Description booleanequals(Object obj)static ListProofOuterClass.ListProofgetDefaultInstance()ListProofOuterClass.ListProofgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()ListProofOuterClass.ListProofEntrygetEntries(int index)Array with list elements and their indexes.intgetEntriesCount()Array with list elements and their indexes.List<ListProofOuterClass.ListProofEntry>getEntriesList()Array with list elements and their indexes.ListProofOuterClass.ListProofEntryOrBuildergetEntriesOrBuilder(int index)Array with list elements and their indexes.List<? extends ListProofOuterClass.ListProofEntryOrBuilder>getEntriesOrBuilderList()Array with list elements and their indexes.longgetLength()Length of the underlying `ProofListIndex`.com.google.protobuf.Parser<ListProofOuterClass.ListProof>getParserForType()ListProofOuterClass.HashedEntrygetProof(int index)Array of { ProofListKey, Hash } objects.intgetProofCount()Array of { ProofListKey, Hash } objects.List<ListProofOuterClass.HashedEntry>getProofList()Array of { ProofListKey, Hash } objects.ListProofOuterClass.HashedEntryOrBuildergetProofOrBuilder(int index)Array of { ProofListKey, Hash } objects.List<? extends ListProofOuterClass.HashedEntryOrBuilder>getProofOrBuilderList()Array of { ProofListKey, Hash } objects.intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ListProofOuterClass.ListProof.BuildernewBuilder()static ListProofOuterClass.ListProof.BuildernewBuilder(ListProofOuterClass.ListProof prototype)ListProofOuterClass.ListProof.BuildernewBuilderForType()protected ListProofOuterClass.ListProof.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ListProofOuterClass.ListProofparseDelimitedFrom(InputStream input)static ListProofOuterClass.ListProofparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ListProofOuterClass.ListProofparseFrom(byte[] data)static ListProofOuterClass.ListProofparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ListProofOuterClass.ListProofparseFrom(com.google.protobuf.ByteString data)static ListProofOuterClass.ListProofparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ListProofOuterClass.ListProofparseFrom(com.google.protobuf.CodedInputStream input)static ListProofOuterClass.ListProofparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ListProofOuterClass.ListProofparseFrom(InputStream input)static ListProofOuterClass.ListProofparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ListProofOuterClass.ListProofparseFrom(ByteBuffer data)static ListProofOuterClass.ListProofparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ListProofOuterClass.ListProof>parser()ListProofOuterClass.ListProof.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
PROOF_FIELD_NUMBER
public static final int PROOF_FIELD_NUMBER- See Also:
- Constant Field Values
-
ENTRIES_FIELD_NUMBER
public static final int ENTRIES_FIELD_NUMBER- See Also:
- Constant Field Values
-
LENGTH_FIELD_NUMBER
public static final int LENGTH_FIELD_NUMBER- See Also:
- Constant Field Values
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getProofList
Array of { ProofListKey, Hash } objects.repeated .exonum.proof.HashedEntry proof = 1;- Specified by:
getProofListin interfaceListProofOuterClass.ListProofOrBuilder
-
getProofOrBuilderList
Array of { ProofListKey, Hash } objects.repeated .exonum.proof.HashedEntry proof = 1;- Specified by:
getProofOrBuilderListin interfaceListProofOuterClass.ListProofOrBuilder
-
getProofCount
public int getProofCount()Array of { ProofListKey, Hash } objects.repeated .exonum.proof.HashedEntry proof = 1;- Specified by:
getProofCountin interfaceListProofOuterClass.ListProofOrBuilder
-
getProof
Array of { ProofListKey, Hash } objects.repeated .exonum.proof.HashedEntry proof = 1;- Specified by:
getProofin interfaceListProofOuterClass.ListProofOrBuilder
-
getProofOrBuilder
Array of { ProofListKey, Hash } objects.repeated .exonum.proof.HashedEntry proof = 1;- Specified by:
getProofOrBuilderin interfaceListProofOuterClass.ListProofOrBuilder
-
getEntriesList
Array with list elements and their indexes.
repeated .exonum.proof.ListProofEntry entries = 2;- Specified by:
getEntriesListin interfaceListProofOuterClass.ListProofOrBuilder
-
getEntriesOrBuilderList
Array with list elements and their indexes.
repeated .exonum.proof.ListProofEntry entries = 2;- Specified by:
getEntriesOrBuilderListin interfaceListProofOuterClass.ListProofOrBuilder
-
getEntriesCount
public int getEntriesCount()Array with list elements and their indexes.
repeated .exonum.proof.ListProofEntry entries = 2;- Specified by:
getEntriesCountin interfaceListProofOuterClass.ListProofOrBuilder
-
getEntries
Array with list elements and their indexes.
repeated .exonum.proof.ListProofEntry entries = 2;- Specified by:
getEntriesin interfaceListProofOuterClass.ListProofOrBuilder
-
getEntriesOrBuilder
Array with list elements and their indexes.
repeated .exonum.proof.ListProofEntry entries = 2;- Specified by:
getEntriesOrBuilderin interfaceListProofOuterClass.ListProofOrBuilder
-
getLength
public long getLength()Length of the underlying `ProofListIndex`.
uint64 length = 3;- Specified by:
getLengthin interfaceListProofOuterClass.ListProofOrBuilder- Returns:
- The length.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ListProofOuterClass.ListProof parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListProofOuterClass.ListProof parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListProofOuterClass.ListProof parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListProofOuterClass.ListProof parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListProofOuterClass.ListProof parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListProofOuterClass.ListProof parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ListProofOuterClass.ListProof parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException- Throws:
IOException
-
parseDelimitedFrom
public static ListProofOuterClass.ListProof parseDelimitedFrom(InputStream input) throws IOException- Throws:
IOException
-
parseDelimitedFrom
public static ListProofOuterClass.ListProof parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException- Throws:
IOException
-
parseFrom
public static ListProofOuterClass.ListProof parseFrom(com.google.protobuf.CodedInputStream input) throws IOException- Throws:
IOException
-
parseFrom
public static ListProofOuterClass.ListProof parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException- Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static ListProofOuterClass.ListProof.Builder newBuilder(ListProofOuterClass.ListProof prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ListProofOuterClass.ListProof.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-