Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class WrapsSigningState.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<WrapsSigningState,WrapsSigningState.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<WrapsSigningState,WrapsSigningState.Builder>
com.hedera.hashgraph.sdk.proto.WrapsSigningState.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,WrapsSigningStateOrBuilder,Cloneable
- Enclosing class:
WrapsSigningState
public static final class WrapsSigningState.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<WrapsSigningState,WrapsSigningState.Builder>
implements WrapsSigningStateOrBuilder
* The state of an ongoing WRAPS signature protocol.Protobuf type
com.hedera.hapi.node.state.history.WrapsSigningState-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* If the network is still gathering WRAPS messages for the R2 or R3 protocol phase, the next time at which nodes should stop waiting for tardy messages from R1 participants and start over.* The phase of the WRAPS protocol.* If the network is still gathering WRAPS messages for the R2 or R3 protocol phase, the next time at which nodes should stop waiting for tardy messages from R1 participants and start over.getPhase()* The phase of the WRAPS protocol.int* The phase of the WRAPS protocol.boolean* If the network is still gathering WRAPS messages for the R2 or R3 protocol phase, the next time at which nodes should stop waiting for tardy messages from R1 participants and start over.mergeGracePeriodEndTime(Timestamp value) * If the network is still gathering WRAPS messages for the R2 or R3 protocol phase, the next time at which nodes should stop waiting for tardy messages from R1 participants and start over.setGracePeriodEndTime(Timestamp value) * If the network is still gathering WRAPS messages for the R2 or R3 protocol phase, the next time at which nodes should stop waiting for tardy messages from R1 participants and start over.setGracePeriodEndTime(Timestamp.Builder builderForValue) * If the network is still gathering WRAPS messages for the R2 or R3 protocol phase, the next time at which nodes should stop waiting for tardy messages from R1 participants and start over.setPhase(WrapsPhase value) * The phase of the WRAPS protocol.setPhaseValue(int value) * The phase of the WRAPS protocol.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
-
getPhaseValue
public int getPhaseValue()* The phase of the WRAPS protocol.
.com.hedera.hapi.node.state.history.WrapsPhase phase = 1;- Specified by:
getPhaseValuein interfaceWrapsSigningStateOrBuilder- Returns:
- The enum numeric value on the wire for phase.
-
setPhaseValue
* The phase of the WRAPS protocol.
.com.hedera.hapi.node.state.history.WrapsPhase phase = 1;- Parameters:
value- The phase to set.- Returns:
- This builder for chaining.
- Throws:
IllegalArgumentException- if UNRECOGNIZED is provided.
-
getPhase
* The phase of the WRAPS protocol.
.com.hedera.hapi.node.state.history.WrapsPhase phase = 1;- Specified by:
getPhasein interfaceWrapsSigningStateOrBuilder- Returns:
- The phase.
-
setPhase
* The phase of the WRAPS protocol.
.com.hedera.hapi.node.state.history.WrapsPhase phase = 1;- Parameters:
value- The enum numeric value on the wire for phase to set.- Returns:
- This builder for chaining.
-
clearPhase
* The phase of the WRAPS protocol.
.com.hedera.hapi.node.state.history.WrapsPhase phase = 1;- Returns:
- This builder for chaining.
-
hasGracePeriodEndTime
public boolean hasGracePeriodEndTime()* If the network is still gathering WRAPS messages for the R2 or R3 protocol phase, the next time at which nodes should stop waiting for tardy messages from R1 participants and start over.
.proto.Timestamp grace_period_end_time = 2;- Specified by:
hasGracePeriodEndTimein interfaceWrapsSigningStateOrBuilder- Returns:
- Whether the gracePeriodEndTime field is set.
-
getGracePeriodEndTime
* If the network is still gathering WRAPS messages for the R2 or R3 protocol phase, the next time at which nodes should stop waiting for tardy messages from R1 participants and start over.
.proto.Timestamp grace_period_end_time = 2;- Specified by:
getGracePeriodEndTimein interfaceWrapsSigningStateOrBuilder- Returns:
- The gracePeriodEndTime.
-
setGracePeriodEndTime
* If the network is still gathering WRAPS messages for the R2 or R3 protocol phase, the next time at which nodes should stop waiting for tardy messages from R1 participants and start over.
.proto.Timestamp grace_period_end_time = 2; -
setGracePeriodEndTime
* If the network is still gathering WRAPS messages for the R2 or R3 protocol phase, the next time at which nodes should stop waiting for tardy messages from R1 participants and start over.
.proto.Timestamp grace_period_end_time = 2; -
mergeGracePeriodEndTime
* If the network is still gathering WRAPS messages for the R2 or R3 protocol phase, the next time at which nodes should stop waiting for tardy messages from R1 participants and start over.
.proto.Timestamp grace_period_end_time = 2; -
clearGracePeriodEndTime
* If the network is still gathering WRAPS messages for the R2 or R3 protocol phase, the next time at which nodes should stop waiting for tardy messages from R1 participants and start over.
.proto.Timestamp grace_period_end_time = 2;
-