Class HistoryProofConstruction

java.lang.Object
com.google.protobuf.AbstractMessageLite<HistoryProofConstruction,HistoryProofConstruction.Builder>
com.google.protobuf.GeneratedMessageLite<HistoryProofConstruction,HistoryProofConstruction.Builder>
com.hedera.hashgraph.sdk.proto.HistoryProofConstruction
All Implemented Interfaces:
com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, HistoryProofConstructionOrBuilder

@Generated public final class HistoryProofConstruction extends com.google.protobuf.GeneratedMessageLite<HistoryProofConstruction,HistoryProofConstruction.Builder> implements HistoryProofConstructionOrBuilder
 *
 Summary of the status of constructing a metadata proof, necessary to
 ensure deterministic construction ending in a roster with sufficient
 weight to enact its own constructions.
 
Protobuf type com.hedera.hapi.node.state.history.HistoryProofConstruction
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    * Summary of the status of constructing a metadata proof, necessary to ensure deterministic construction ending in a roster with sufficient weight to enact its own constructions.
    static enum 
     

    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
     
    static final int
     
    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)
     
    * If the network has gathered enough proof keys to assemble the history for this construction, the cutoff time at which those keys must have been adopted to be included in the final history.
    long
    * The construction id.
     
    * If set, the reason the construction failed.
    com.google.protobuf.ByteString
    * If set, the reason the construction failed.
    * If the network is still gathering proof keys for this construction, the next time at which nodes should stop waiting for tardy proof keys and assemble the history to be proven as soon as it has the associated metadata and proof keys for nodes with >2/3 weight in the target roster.
     
    com.google.protobuf.ByteString
    * The hash of the roster whose weights are used to determine when certain thresholds are during construction.
    * When this construction is complete, the proof that the target roster's address book and associated metadata belong to the ledger id's chain of trust.
    com.google.protobuf.ByteString
    * The hash of the roster whose weights are used to assess progress toward obtaining proof keys for parties that hold at least a strong minority of the stake in that roster.
    int
    * The number of times the network has had to restart this construction.
    * If set, the state of the WRAPS signing protocol for this construction.
    boolean
    * If the network has gathered enough proof keys to assemble the history for this construction, the cutoff time at which those keys must have been adopted to be included in the final history.
    boolean
    * If set, the reason the construction failed.
    boolean
    * If the network is still gathering proof keys for this construction, the next time at which nodes should stop waiting for tardy proof keys and assemble the history to be proven as soon as it has the associated metadata and proof keys for nodes with >2/3 weight in the target roster.
    boolean
    * When this construction is complete, the proof that the target roster's address book and associated metadata belong to the ledger id's chain of trust.
    boolean
    * If set, the state of the WRAPS signing protocol for this construction.
     
     
     
    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<HistoryProofConstruction>
     

    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

    • CONSTRUCTION_ID_FIELD_NUMBER

      public static final int CONSTRUCTION_ID_FIELD_NUMBER
      See Also:
    • SOURCE_ROSTER_HASH_FIELD_NUMBER

      public static final int SOURCE_ROSTER_HASH_FIELD_NUMBER
      See Also:
    • TARGET_ROSTER_HASH_FIELD_NUMBER

      public static final int TARGET_ROSTER_HASH_FIELD_NUMBER
      See Also:
    • GRACE_PERIOD_END_TIME_FIELD_NUMBER

      public static final int GRACE_PERIOD_END_TIME_FIELD_NUMBER
      See Also:
    • ASSEMBLY_START_TIME_FIELD_NUMBER

      public static final int ASSEMBLY_START_TIME_FIELD_NUMBER
      See Also:
    • TARGET_PROOF_FIELD_NUMBER

      public static final int TARGET_PROOF_FIELD_NUMBER
      See Also:
    • FAILURE_REASON_FIELD_NUMBER

      public static final int FAILURE_REASON_FIELD_NUMBER
      See Also:
    • WRAPS_SIGNING_STATE_FIELD_NUMBER

      public static final int WRAPS_SIGNING_STATE_FIELD_NUMBER
      See Also:
    • WRAPS_RETRY_COUNT_FIELD_NUMBER

      public static final int WRAPS_RETRY_COUNT_FIELD_NUMBER
      See Also:
  • Method Details

    • getProofStateCase

      public HistoryProofConstruction.ProofStateCase getProofStateCase()
      Specified by:
      getProofStateCase in interface HistoryProofConstructionOrBuilder
    • getConstructionId

      public long getConstructionId()
       *
       The construction id.
       
      uint64 construction_id = 1;
      Specified by:
      getConstructionId in interface HistoryProofConstructionOrBuilder
      Returns:
      The constructionId.
    • getSourceRosterHash

      public com.google.protobuf.ByteString getSourceRosterHash()
       *
       The hash of the roster whose weights are used to determine when
       certain thresholds are during construction.
       
      bytes source_roster_hash = 2;
      Specified by:
      getSourceRosterHash in interface HistoryProofConstructionOrBuilder
      Returns:
      The sourceRosterHash.
    • getTargetRosterHash

      public com.google.protobuf.ByteString getTargetRosterHash()
       *
       The hash of the roster whose weights are used to assess progress
       toward obtaining proof keys for parties that hold at least a
       strong minority of the stake in that roster.
       
      bytes target_roster_hash = 4;
      Specified by:
      getTargetRosterHash in interface HistoryProofConstructionOrBuilder
      Returns:
      The targetRosterHash.
    • hasGracePeriodEndTime

      public boolean hasGracePeriodEndTime()
       *
       If the network is still gathering proof keys for this
       construction, the next time at which nodes should stop waiting
       for tardy proof keys and assemble the history to be proven as
       soon as it has the associated metadata and proof keys for nodes
       with >2/3 weight in the target roster.
       
      .proto.Timestamp grace_period_end_time = 5;
      Specified by:
      hasGracePeriodEndTime in interface HistoryProofConstructionOrBuilder
      Returns:
      Whether the gracePeriodEndTime field is set.
    • getGracePeriodEndTime

      public Timestamp getGracePeriodEndTime()
       *
       If the network is still gathering proof keys for this
       construction, the next time at which nodes should stop waiting
       for tardy proof keys and assemble the history to be proven as
       soon as it has the associated metadata and proof keys for nodes
       with >2/3 weight in the target roster.
       
      .proto.Timestamp grace_period_end_time = 5;
      Specified by:
      getGracePeriodEndTime in interface HistoryProofConstructionOrBuilder
      Returns:
      The gracePeriodEndTime.
    • hasAssemblyStartTime

      public boolean hasAssemblyStartTime()
       *
       If the network has gathered enough proof keys to assemble the
       history for this construction, the cutoff time at which those
       keys must have been adopted to be included in the final history.
       
      .proto.Timestamp assembly_start_time = 6;
      Specified by:
      hasAssemblyStartTime in interface HistoryProofConstructionOrBuilder
      Returns:
      Whether the assemblyStartTime field is set.
    • getAssemblyStartTime

      public Timestamp getAssemblyStartTime()
       *
       If the network has gathered enough proof keys to assemble the
       history for this construction, the cutoff time at which those
       keys must have been adopted to be included in the final history.
       
      .proto.Timestamp assembly_start_time = 6;
      Specified by:
      getAssemblyStartTime in interface HistoryProofConstructionOrBuilder
      Returns:
      The assemblyStartTime.
    • hasTargetProof

      public boolean hasTargetProof()
       *
       When this construction is complete, the proof that the target
       roster's address book and associated metadata belong to the
       ledger id's chain of trust.
       
      .com.hedera.hapi.node.state.history.HistoryProof target_proof = 7;
      Specified by:
      hasTargetProof in interface HistoryProofConstructionOrBuilder
      Returns:
      Whether the targetProof field is set.
    • getTargetProof

      public HistoryProof getTargetProof()
       *
       When this construction is complete, the proof that the target
       roster's address book and associated metadata belong to the
       ledger id's chain of trust.
       
      .com.hedera.hapi.node.state.history.HistoryProof target_proof = 7;
      Specified by:
      getTargetProof in interface HistoryProofConstructionOrBuilder
      Returns:
      The targetProof.
    • hasFailureReason

      public boolean hasFailureReason()
       *
       If set, the reason the construction failed.
       
      string failure_reason = 8;
      Specified by:
      hasFailureReason in interface HistoryProofConstructionOrBuilder
      Returns:
      Whether the failureReason field is set.
    • getFailureReason

      public String getFailureReason()
       *
       If set, the reason the construction failed.
       
      string failure_reason = 8;
      Specified by:
      getFailureReason in interface HistoryProofConstructionOrBuilder
      Returns:
      The failureReason.
    • getFailureReasonBytes

      public com.google.protobuf.ByteString getFailureReasonBytes()
       *
       If set, the reason the construction failed.
       
      string failure_reason = 8;
      Specified by:
      getFailureReasonBytes in interface HistoryProofConstructionOrBuilder
      Returns:
      The bytes for failureReason.
    • hasWrapsSigningState

      public boolean hasWrapsSigningState()
       *
       If set, the state of the WRAPS signing protocol for this construction.
       
      .com.hedera.hapi.node.state.history.WrapsSigningState wraps_signing_state = 9;
      Specified by:
      hasWrapsSigningState in interface HistoryProofConstructionOrBuilder
      Returns:
      Whether the wrapsSigningState field is set.
    • getWrapsSigningState

      public WrapsSigningState getWrapsSigningState()
       *
       If set, the state of the WRAPS signing protocol for this construction.
       
      .com.hedera.hapi.node.state.history.WrapsSigningState wraps_signing_state = 9;
      Specified by:
      getWrapsSigningState in interface HistoryProofConstructionOrBuilder
      Returns:
      The wrapsSigningState.
    • getWrapsRetryCount

      public int getWrapsRetryCount()
       *
       The number of times the network has had to restart this construction.
       
      uint32 wraps_retry_count = 10;
      Specified by:
      getWrapsRetryCount in interface HistoryProofConstructionOrBuilder
      Returns:
      The wrapsRetryCount.
    • parseFrom

      public static HistoryProofConstruction parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HistoryProofConstruction parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HistoryProofConstruction parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HistoryProofConstruction parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HistoryProofConstruction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HistoryProofConstruction parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

      public static HistoryProofConstruction.Builder newBuilder()
    • newBuilder

      public static HistoryProofConstruction.Builder newBuilder(HistoryProofConstruction 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<HistoryProofConstruction,HistoryProofConstruction.Builder>
    • getDefaultInstance

      public static HistoryProofConstruction getDefaultInstance()
    • parser

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