Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
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 ClassesModifier and TypeClassDescriptionstatic 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 enumNested 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 intstatic final intstatic 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) * 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.static HistoryProofConstruction* 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.newBuilder(HistoryProofConstruction prototype) static HistoryProofConstructionparseDelimitedFrom(InputStream input) static HistoryProofConstructionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HistoryProofConstructionparseFrom(byte[] data) static HistoryProofConstructionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HistoryProofConstructionparseFrom(com.google.protobuf.ByteString data) static HistoryProofConstructionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HistoryProofConstructionparseFrom(com.google.protobuf.CodedInputStream input) static HistoryProofConstructionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HistoryProofConstructionparseFrom(InputStream input) static HistoryProofConstructionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HistoryProofConstructionparseFrom(ByteBuffer data) static HistoryProofConstructionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<HistoryProofConstruction> 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
-
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
- Specified by:
getProofStateCasein interfaceHistoryProofConstructionOrBuilder
-
getConstructionId
public long getConstructionId()* The construction id.
uint64 construction_id = 1;- Specified by:
getConstructionIdin interfaceHistoryProofConstructionOrBuilder- 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:
getSourceRosterHashin interfaceHistoryProofConstructionOrBuilder- 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:
getTargetRosterHashin interfaceHistoryProofConstructionOrBuilder- 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:
hasGracePeriodEndTimein interfaceHistoryProofConstructionOrBuilder- Returns:
- Whether the gracePeriodEndTime field is set.
-
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:
getGracePeriodEndTimein interfaceHistoryProofConstructionOrBuilder- 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:
hasAssemblyStartTimein interfaceHistoryProofConstructionOrBuilder- Returns:
- Whether the assemblyStartTime field is set.
-
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:
getAssemblyStartTimein interfaceHistoryProofConstructionOrBuilder- 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:
hasTargetProofin interfaceHistoryProofConstructionOrBuilder- Returns:
- Whether the targetProof field is set.
-
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:
getTargetProofin interfaceHistoryProofConstructionOrBuilder- Returns:
- The targetProof.
-
hasFailureReason
public boolean hasFailureReason()* If set, the reason the construction failed.
string failure_reason = 8;- Specified by:
hasFailureReasonin interfaceHistoryProofConstructionOrBuilder- Returns:
- Whether the failureReason field is set.
-
getFailureReason
* If set, the reason the construction failed.
string failure_reason = 8;- Specified by:
getFailureReasonin interfaceHistoryProofConstructionOrBuilder- Returns:
- The failureReason.
-
getFailureReasonBytes
public com.google.protobuf.ByteString getFailureReasonBytes()* If set, the reason the construction failed.
string failure_reason = 8;- Specified by:
getFailureReasonBytesin interfaceHistoryProofConstructionOrBuilder- 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:
hasWrapsSigningStatein interfaceHistoryProofConstructionOrBuilder- Returns:
- Whether the wrapsSigningState field is set.
-
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:
getWrapsSigningStatein interfaceHistoryProofConstructionOrBuilder- 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:
getWrapsRetryCountin interfaceHistoryProofConstructionOrBuilder- 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
- Throws:
IOException
-
parseFrom
public static HistoryProofConstruction parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<HistoryProofConstruction,HistoryProofConstruction.Builder>
-
getDefaultInstance
-
parser
-