Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class HintsConstruction.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<HintsConstruction,HintsConstruction.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<HintsConstruction,HintsConstruction.Builder>
com.hedera.hashgraph.sdk.proto.HintsConstruction.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,HintsConstructionOrBuilder,Cloneable
- Enclosing class:
HintsConstruction
public static final class HintsConstruction.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<HintsConstruction,HintsConstruction.Builder>
implements HintsConstructionOrBuilder
* A summary of progress in constructing a hinTS scheme.Protobuf type
com.hedera.hapi.node.state.hints.HintsConstruction-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* The id of the construction.* If the network is still gathering hinTS keys for this construction, the time at which honest nodes should stop waiting for tardy publications and begin preprocessing as soon as there are valid hinTS keys for nodes with >2/3 weight in the target roster.* If set, the completed hinTS scheme.* If the network has gathered enough hinTS keys for this construction to begin preprocessing, the cutoff time by which keys must have been adopted to be included as input to the preprocessing algorithm.* The hash of the roster whose weights are used to determine when the >=1/3 weight signing threshold is reached.* The hash of the roster whose weights are used to determine when the >2/3 weight availability threshold is reached.long* The id of the construction.* If the network is still gathering hinTS keys for this construction, the time at which honest nodes should stop waiting for tardy publications and begin preprocessing as soon as there are valid hinTS keys for nodes with >2/3 weight in the target roster.* If set, the completed hinTS scheme.* If the network has gathered enough hinTS keys for this construction to begin preprocessing, the cutoff time by which keys must have been adopted to be included as input to the preprocessing algorithm.com.google.protobuf.ByteString* The hash of the roster whose weights are used to determine when the >=1/3 weight signing threshold is reached.com.google.protobuf.ByteString* The hash of the roster whose weights are used to determine when the >2/3 weight availability threshold is reached.boolean* If the network is still gathering hinTS keys for this construction, the time at which honest nodes should stop waiting for tardy publications and begin preprocessing as soon as there are valid hinTS keys for nodes with >2/3 weight in the target roster.boolean* If set, the completed hinTS scheme.boolean* If the network has gathered enough hinTS keys for this construction to begin preprocessing, the cutoff time by which keys must have been adopted to be included as input to the preprocessing algorithm.mergeGracePeriodEndTime(Timestamp value) * If the network is still gathering hinTS keys for this construction, the time at which honest nodes should stop waiting for tardy publications and begin preprocessing as soon as there are valid hinTS keys for nodes with >2/3 weight in the target roster.mergeHintsScheme(HintsScheme value) * If set, the completed hinTS scheme.* If the network has gathered enough hinTS keys for this construction to begin preprocessing, the cutoff time by which keys must have been adopted to be included as input to the preprocessing algorithm.setConstructionId(long value) * The id of the construction.setGracePeriodEndTime(Timestamp value) * If the network is still gathering hinTS keys for this construction, the time at which honest nodes should stop waiting for tardy publications and begin preprocessing as soon as there are valid hinTS keys for nodes with >2/3 weight in the target roster.setGracePeriodEndTime(Timestamp.Builder builderForValue) * If the network is still gathering hinTS keys for this construction, the time at which honest nodes should stop waiting for tardy publications and begin preprocessing as soon as there are valid hinTS keys for nodes with >2/3 weight in the target roster.setHintsScheme(HintsScheme value) * If set, the completed hinTS scheme.setHintsScheme(HintsScheme.Builder builderForValue) * If set, the completed hinTS scheme.* If the network has gathered enough hinTS keys for this construction to begin preprocessing, the cutoff time by which keys must have been adopted to be included as input to the preprocessing algorithm.setPreprocessingStartTime(Timestamp.Builder builderForValue) * If the network has gathered enough hinTS keys for this construction to begin preprocessing, the cutoff time by which keys must have been adopted to be included as input to the preprocessing algorithm.setSourceRosterHash(com.google.protobuf.ByteString value) * The hash of the roster whose weights are used to determine when the >=1/3 weight signing threshold is reached.setTargetRosterHash(com.google.protobuf.ByteString value) * The hash of the roster whose weights are used to determine when the >2/3 weight availability threshold is reached.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getPreprocessingStateCase
- Specified by:
getPreprocessingStateCasein interfaceHintsConstructionOrBuilder
-
clearPreprocessingState
-
getConstructionId
public long getConstructionId()* The id of the construction.
uint64 construction_id = 1;- Specified by:
getConstructionIdin interfaceHintsConstructionOrBuilder- Returns:
- The constructionId.
-
setConstructionId
* The id of the construction.
uint64 construction_id = 1;- Parameters:
value- The constructionId to set.- Returns:
- This builder for chaining.
-
clearConstructionId
* The id of the construction.
uint64 construction_id = 1;- Returns:
- This builder for chaining.
-
getSourceRosterHash
public com.google.protobuf.ByteString getSourceRosterHash()* The hash of the roster whose weights are used to determine when the >=1/3 weight signing threshold is reached.
bytes source_roster_hash = 2;- Specified by:
getSourceRosterHashin interfaceHintsConstructionOrBuilder- Returns:
- The sourceRosterHash.
-
setSourceRosterHash
* The hash of the roster whose weights are used to determine when the >=1/3 weight signing threshold is reached.
bytes source_roster_hash = 2;- Parameters:
value- The sourceRosterHash to set.- Returns:
- This builder for chaining.
-
clearSourceRosterHash
* The hash of the roster whose weights are used to determine when the >=1/3 weight signing threshold is reached.
bytes source_roster_hash = 2;- Returns:
- This builder for chaining.
-
getTargetRosterHash
public com.google.protobuf.ByteString getTargetRosterHash()* The hash of the roster whose weights are used to determine when the >2/3 weight availability threshold is reached.
bytes target_roster_hash = 3;- Specified by:
getTargetRosterHashin interfaceHintsConstructionOrBuilder- Returns:
- The targetRosterHash.
-
setTargetRosterHash
* The hash of the roster whose weights are used to determine when the >2/3 weight availability threshold is reached.
bytes target_roster_hash = 3;- Parameters:
value- The targetRosterHash to set.- Returns:
- This builder for chaining.
-
clearTargetRosterHash
* The hash of the roster whose weights are used to determine when the >2/3 weight availability threshold is reached.
bytes target_roster_hash = 3;- Returns:
- This builder for chaining.
-
hasGracePeriodEndTime
public boolean hasGracePeriodEndTime()* If the network is still gathering hinTS keys for this construction, the time at which honest nodes should stop waiting for tardy publications and begin preprocessing as soon as there are valid hinTS keys for nodes with >2/3 weight in the target roster.
.proto.Timestamp grace_period_end_time = 4;- Specified by:
hasGracePeriodEndTimein interfaceHintsConstructionOrBuilder- Returns:
- Whether the gracePeriodEndTime field is set.
-
getGracePeriodEndTime
* If the network is still gathering hinTS keys for this construction, the time at which honest nodes should stop waiting for tardy publications and begin preprocessing as soon as there are valid hinTS keys for nodes with >2/3 weight in the target roster.
.proto.Timestamp grace_period_end_time = 4;- Specified by:
getGracePeriodEndTimein interfaceHintsConstructionOrBuilder- Returns:
- The gracePeriodEndTime.
-
setGracePeriodEndTime
* If the network is still gathering hinTS keys for this construction, the time at which honest nodes should stop waiting for tardy publications and begin preprocessing as soon as there are valid hinTS keys for nodes with >2/3 weight in the target roster.
.proto.Timestamp grace_period_end_time = 4; -
setGracePeriodEndTime
* If the network is still gathering hinTS keys for this construction, the time at which honest nodes should stop waiting for tardy publications and begin preprocessing as soon as there are valid hinTS keys for nodes with >2/3 weight in the target roster.
.proto.Timestamp grace_period_end_time = 4; -
mergeGracePeriodEndTime
* If the network is still gathering hinTS keys for this construction, the time at which honest nodes should stop waiting for tardy publications and begin preprocessing as soon as there are valid hinTS keys for nodes with >2/3 weight in the target roster.
.proto.Timestamp grace_period_end_time = 4; -
clearGracePeriodEndTime
* If the network is still gathering hinTS keys for this construction, the time at which honest nodes should stop waiting for tardy publications and begin preprocessing as soon as there are valid hinTS keys for nodes with >2/3 weight in the target roster.
.proto.Timestamp grace_period_end_time = 4; -
hasPreprocessingStartTime
public boolean hasPreprocessingStartTime()* If the network has gathered enough hinTS keys for this construction to begin preprocessing, the cutoff time by which keys must have been adopted to be included as input to the preprocessing algorithm.
.proto.Timestamp preprocessing_start_time = 5;- Specified by:
hasPreprocessingStartTimein interfaceHintsConstructionOrBuilder- Returns:
- Whether the preprocessingStartTime field is set.
-
getPreprocessingStartTime
* If the network has gathered enough hinTS keys for this construction to begin preprocessing, the cutoff time by which keys must have been adopted to be included as input to the preprocessing algorithm.
.proto.Timestamp preprocessing_start_time = 5;- Specified by:
getPreprocessingStartTimein interfaceHintsConstructionOrBuilder- Returns:
- The preprocessingStartTime.
-
setPreprocessingStartTime
* If the network has gathered enough hinTS keys for this construction to begin preprocessing, the cutoff time by which keys must have been adopted to be included as input to the preprocessing algorithm.
.proto.Timestamp preprocessing_start_time = 5; -
setPreprocessingStartTime
* If the network has gathered enough hinTS keys for this construction to begin preprocessing, the cutoff time by which keys must have been adopted to be included as input to the preprocessing algorithm.
.proto.Timestamp preprocessing_start_time = 5; -
mergePreprocessingStartTime
* If the network has gathered enough hinTS keys for this construction to begin preprocessing, the cutoff time by which keys must have been adopted to be included as input to the preprocessing algorithm.
.proto.Timestamp preprocessing_start_time = 5; -
clearPreprocessingStartTime
* If the network has gathered enough hinTS keys for this construction to begin preprocessing, the cutoff time by which keys must have been adopted to be included as input to the preprocessing algorithm.
.proto.Timestamp preprocessing_start_time = 5; -
hasHintsScheme
public boolean hasHintsScheme()* If set, the completed hinTS scheme.
.com.hedera.hapi.node.state.hints.HintsScheme hints_scheme = 6;- Specified by:
hasHintsSchemein interfaceHintsConstructionOrBuilder- Returns:
- Whether the hintsScheme field is set.
-
getHintsScheme
* If set, the completed hinTS scheme.
.com.hedera.hapi.node.state.hints.HintsScheme hints_scheme = 6;- Specified by:
getHintsSchemein interfaceHintsConstructionOrBuilder- Returns:
- The hintsScheme.
-
setHintsScheme
* If set, the completed hinTS scheme.
.com.hedera.hapi.node.state.hints.HintsScheme hints_scheme = 6; -
setHintsScheme
* If set, the completed hinTS scheme.
.com.hedera.hapi.node.state.hints.HintsScheme hints_scheme = 6; -
mergeHintsScheme
* If set, the completed hinTS scheme.
.com.hedera.hapi.node.state.hints.HintsScheme hints_scheme = 6; -
clearHintsScheme
* If set, the completed hinTS scheme.
.com.hedera.hapi.node.state.hints.HintsScheme hints_scheme = 6;
-