Enum Class WrapsPhase

java.lang.Object
java.lang.Enum<WrapsPhase>
com.hedera.hashgraph.sdk.proto.WrapsPhase
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, Serializable, Comparable<WrapsPhase>, Constable

@Generated public enum WrapsPhase extends Enum<WrapsPhase> implements com.google.protobuf.Internal.EnumLite
 *
 The phase of a WRAPS proof construction.
 
Protobuf enum com.hedera.hapi.node.state.history.WrapsPhase
  • Enum Constant Details

    • R1

      public static final WrapsPhase R1
       *
       Nodes are publishing their proof keys and R1 messages.
       
      R1 = 0;
    • R2

      public static final WrapsPhase R2
       *
       Nodes are publishing their R2 messages.
       
      R2 = 1;
    • R3

      public static final WrapsPhase R3
       *
       Nodes are publishing their R3 messages.
       
      R3 = 2;
    • AGGREGATE

      public static final WrapsPhase AGGREGATE
       *
       Nodes are aggregating all messages to produce a final signature.
       
      AGGREGATE = 3;
    • POST_AGGREGATION

      public static final WrapsPhase POST_AGGREGATION
       *
       Nodes are doing work that must occur in a different event loop
       than the one used for the above phases.
       
      POST_AGGREGATION = 4;
    • UNRECOGNIZED

      public static final WrapsPhase UNRECOGNIZED
  • Field Details

    • R1_VALUE

      public static final int R1_VALUE
       *
       Nodes are publishing their proof keys and R1 messages.
       
      R1 = 0;
      See Also:
    • R2_VALUE

      public static final int R2_VALUE
       *
       Nodes are publishing their R2 messages.
       
      R2 = 1;
      See Also:
    • R3_VALUE

      public static final int R3_VALUE
       *
       Nodes are publishing their R3 messages.
       
      R3 = 2;
      See Also:
    • AGGREGATE_VALUE

      public static final int AGGREGATE_VALUE
       *
       Nodes are aggregating all messages to produce a final signature.
       
      AGGREGATE = 3;
      See Also:
    • POST_AGGREGATION_VALUE

      public static final int POST_AGGREGATION_VALUE
       *
       Nodes are doing work that must occur in a different event loop
       than the one used for the above phases.
       
      POST_AGGREGATION = 4;
      See Also:
  • Method Details

    • values

      public static WrapsPhase[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static WrapsPhase valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
    • valueOf

      @Deprecated public static WrapsPhase valueOf(int value)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static WrapsPhase forNumber(int value)
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<WrapsPhase> internalGetValueMap()
    • internalGetVerifier

      public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()