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 Type
    Method
    Description
    * 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.
    * 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.
    * 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.
    * 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.
    * 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.
    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, mergeFrom

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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:
      getPhaseValue in interface WrapsSigningStateOrBuilder
      Returns:
      The enum numeric value on the wire for phase.
    • setPhaseValue

      public WrapsSigningState.Builder setPhaseValue(int value)
       *
       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

      public WrapsPhase getPhase()
       *
       The phase of the WRAPS protocol.
       
      .com.hedera.hapi.node.state.history.WrapsPhase phase = 1;
      Specified by:
      getPhase in interface WrapsSigningStateOrBuilder
      Returns:
      The phase.
    • setPhase

      public WrapsSigningState.Builder setPhase(WrapsPhase value)
       *
       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

      public WrapsSigningState.Builder 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:
      hasGracePeriodEndTime in interface WrapsSigningStateOrBuilder
      Returns:
      Whether the gracePeriodEndTime field is set.
    • getGracePeriodEndTime

      public Timestamp 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:
      getGracePeriodEndTime in interface WrapsSigningStateOrBuilder
      Returns:
      The gracePeriodEndTime.
    • setGracePeriodEndTime

      public WrapsSigningState.Builder 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.
       
      .proto.Timestamp grace_period_end_time = 2;
    • setGracePeriodEndTime

      public WrapsSigningState.Builder 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.
       
      .proto.Timestamp grace_period_end_time = 2;
    • mergeGracePeriodEndTime

      public WrapsSigningState.Builder 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.
       
      .proto.Timestamp grace_period_end_time = 2;
    • clearGracePeriodEndTime

      public WrapsSigningState.Builder 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;