Class HistoryProof

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 Classes
    Modifier and Type
    Class
    Description
    static 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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageLite

    unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final Object
    dynamicMethod(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.
     
    * 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.
    * 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.
    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.
     
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<HistoryProof>
     

    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, writeTo

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods 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

      public List<ProofKey> 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:
      getTargetProofKeysList in interface HistoryProofOrBuilder
    • getTargetProofKeysOrBuilderList

      public List<? extends ProofKeyOrBuilder> 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:
      getTargetProofKeysCount in interface HistoryProofOrBuilder
    • getTargetProofKeys

      public ProofKey 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.
       
      repeated .com.hedera.hapi.node.state.history.ProofKey target_proof_keys = 1;
      Specified by:
      getTargetProofKeys in interface HistoryProofOrBuilder
    • getTargetProofKeysOrBuilder

      public ProofKeyOrBuilder 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.
       
      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:
      hasTargetHistory in interface HistoryProofOrBuilder
      Returns:
      Whether the targetHistory field is set.
    • getTargetHistory

      public History getTargetHistory()
       *
       The target history of the proof.
       
      .com.hedera.hapi.node.state.history.History target_history = 2;
      Specified by:
      getTargetHistory in interface HistoryProofOrBuilder
      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:
      hasChainOfTrustProof in interface HistoryProofOrBuilder
      Returns:
      Whether the chainOfTrustProof field is set.
    • getChainOfTrustProof

      public ChainOfTrustProof 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:
      getChainOfTrustProof in interface HistoryProofOrBuilder
      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:
      getUncompressedWrapsProof in interface HistoryProofOrBuilder
      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

      public static HistoryProof parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static HistoryProof parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static HistoryProof parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static HistoryProof parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static HistoryProof parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static HistoryProof parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilder

      public static HistoryProof.Builder newBuilder()
    • newBuilder

      public static HistoryProof.Builder newBuilder(HistoryProof prototype)
    • dynamicMethod

      protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
      Specified by:
      dynamicMethod in class com.google.protobuf.GeneratedMessageLite<HistoryProof,HistoryProof.Builder>
    • getDefaultInstance

      public static HistoryProof getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<HistoryProof> parser()