java.lang.Object
com.google.protobuf.AbstractMessageLite<HistoryProof,HistoryProof.Builder>
com.google.protobuf.GeneratedMessageLite<HistoryProof,HistoryProof.Builder>
com.hedera.hashgraph.sdk.proto.HistoryProof
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,HistoryProofOrBuilder
@Generated
public final class HistoryProof
extends com.google.protobuf.GeneratedMessageLite<HistoryProof,HistoryProof.Builder>
implements HistoryProofOrBuilder
* A proof that some address book history belongs to the ledger id's chain of trust.Protobuf type
com.hedera.hapi.node.state.history.HistoryProof-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* A proof that some address book history belongs to the ledger id's chain of trust.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) * The proof of chain of trust from the ledger id to the target history's metadata.static HistoryProof* The target history of the proof.getTargetProofKeys(int index) * The proof keys for the target address book, needed to keep constructing proofs after adopting the target address book's roster at a handoff.int* The proof keys for the target address book, needed to keep constructing proofs after adopting the target address book's roster at a handoff.* The proof keys for the target address book, needed to keep constructing proofs after adopting the target address book's roster at a handoff.getTargetProofKeysOrBuilder(int index) * The proof keys for the target address book, needed to keep constructing proofs after adopting the target address book's roster at a handoff.List<? extends ProofKeyOrBuilder> * The proof keys for the target address book, needed to keep constructing proofs after adopting the target address book's roster at a handoff.com.google.protobuf.ByteString* If set, the uncompressed proof of chain of trust from the ledger id to the target address book; the uncompressed version of the WRAPS proof is required to keep extending the chain of trust.boolean* The proof of chain of trust from the ledger id to the target history's metadata.boolean* The target history of the proof.static HistoryProof.Builderstatic HistoryProof.BuildernewBuilder(HistoryProof prototype) static HistoryProofparseDelimitedFrom(InputStream input) static HistoryProofparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HistoryProofparseFrom(byte[] data) static HistoryProofparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HistoryProofparseFrom(com.google.protobuf.ByteString data) static HistoryProofparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HistoryProofparseFrom(com.google.protobuf.CodedInputStream input) static HistoryProofparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HistoryProofparseFrom(InputStream input) static HistoryProofparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HistoryProofparseFrom(ByteBuffer data) static HistoryProofparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<HistoryProof> parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
TARGET_PROOF_KEYS_FIELD_NUMBER
public static final int TARGET_PROOF_KEYS_FIELD_NUMBER- See Also:
-
TARGET_HISTORY_FIELD_NUMBER
public static final int TARGET_HISTORY_FIELD_NUMBER- See Also:
-
CHAIN_OF_TRUST_PROOF_FIELD_NUMBER
public static final int CHAIN_OF_TRUST_PROOF_FIELD_NUMBER- See Also:
-
UNCOMPRESSED_WRAPS_PROOF_FIELD_NUMBER
public static final int UNCOMPRESSED_WRAPS_PROOF_FIELD_NUMBER- See Also:
-
-
Method Details
-
getTargetProofKeysList
* The proof keys for the target address book, needed to keep constructing proofs after adopting the target address book's roster at a handoff.
repeated .com.hedera.hapi.node.state.history.ProofKey target_proof_keys = 1;- Specified by:
getTargetProofKeysListin interfaceHistoryProofOrBuilder
-
getTargetProofKeysOrBuilderList
* The proof keys for the target address book, needed to keep constructing proofs after adopting the target address book's roster at a handoff.
repeated .com.hedera.hapi.node.state.history.ProofKey target_proof_keys = 1; -
getTargetProofKeysCount
public int getTargetProofKeysCount()* The proof keys for the target address book, needed to keep constructing proofs after adopting the target address book's roster at a handoff.
repeated .com.hedera.hapi.node.state.history.ProofKey target_proof_keys = 1;- Specified by:
getTargetProofKeysCountin interfaceHistoryProofOrBuilder
-
getTargetProofKeys
* The proof keys for the target address book, needed to keep constructing proofs after adopting the target address book's roster at a handoff.
repeated .com.hedera.hapi.node.state.history.ProofKey target_proof_keys = 1;- Specified by:
getTargetProofKeysin interfaceHistoryProofOrBuilder
-
getTargetProofKeysOrBuilder
* The proof keys for the target address book, needed to keep constructing proofs after adopting the target address book's roster at a handoff.
repeated .com.hedera.hapi.node.state.history.ProofKey target_proof_keys = 1; -
hasTargetHistory
public boolean hasTargetHistory()* The target history of the proof.
.com.hedera.hapi.node.state.history.History target_history = 2;- Specified by:
hasTargetHistoryin interfaceHistoryProofOrBuilder- Returns:
- Whether the targetHistory field is set.
-
getTargetHistory
* The target history of the proof.
.com.hedera.hapi.node.state.history.History target_history = 2;- Specified by:
getTargetHistoryin interfaceHistoryProofOrBuilder- Returns:
- The targetHistory.
-
hasChainOfTrustProof
public boolean hasChainOfTrustProof()* The proof of chain of trust from the ledger id to the target history's metadata. May be switched from AggregatedNodeSignatures to a recursive proof when one becomes available.
.com.hedera.hapi.node.state.history.ChainOfTrustProof chain_of_trust_proof = 3;- Specified by:
hasChainOfTrustProofin interfaceHistoryProofOrBuilder- Returns:
- Whether the chainOfTrustProof field is set.
-
getChainOfTrustProof
* The proof of chain of trust from the ledger id to the target history's metadata. May be switched from AggregatedNodeSignatures to a recursive proof when one becomes available.
.com.hedera.hapi.node.state.history.ChainOfTrustProof chain_of_trust_proof = 3;- Specified by:
getChainOfTrustProofin interfaceHistoryProofOrBuilder- Returns:
- The chainOfTrustProof.
-
getUncompressedWrapsProof
public com.google.protobuf.ByteString getUncompressedWrapsProof()* If set, the uncompressed proof of chain of trust from the ledger id to the target address book; the uncompressed version of the WRAPS proof is required to keep extending the chain of trust.
bytes uncompressed_wraps_proof = 4;- Specified by:
getUncompressedWrapsProofin interfaceHistoryProofOrBuilder- Returns:
- The uncompressedWrapsProof.
-
parseFrom
public static HistoryProof parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HistoryProof parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HistoryProof parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HistoryProof parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HistoryProof parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HistoryProof parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static HistoryProof parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static HistoryProof parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static HistoryProof parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<HistoryProof,HistoryProof.Builder>
-
getDefaultInstance
-
parser
-