- 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-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription* Nodes are aggregating all messages to produce a final signature.* Nodes are doing work that must occur in a different event loop than the one used for the above phases.* Nodes are publishing their proof keys and R1 messages.* Nodes are publishing their R2 messages.* Nodes are publishing their R3 messages. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int* Nodes are aggregating all messages to produce a final signature.static final int* Nodes are doing work that must occur in a different event loop than the one used for the above phases.static final int* Nodes are publishing their proof keys and R1 messages.static final int* Nodes are publishing their R2 messages.static final int* Nodes are publishing their R3 messages. -
Method Summary
Modifier and TypeMethodDescriptionstatic WrapsPhaseforNumber(int value) final intstatic com.google.protobuf.Internal.EnumLiteMap<WrapsPhase> static com.google.protobuf.Internal.EnumVerifierstatic WrapsPhasevalueOf(int value) Deprecated.static WrapsPhaseReturns the enum constant of this class with the specified name.static WrapsPhase[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
R1
* Nodes are publishing their proof keys and R1 messages.
R1 = 0; -
R2
* Nodes are publishing their R2 messages.
R2 = 1; -
R3
* Nodes are publishing their R3 messages.
R3 = 2; -
AGGREGATE
* Nodes are aggregating all messages to produce a final signature.
AGGREGATE = 3; -
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
-
-
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
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
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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
valueOf
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 nameNullPointerException- if the argument is null
-
forNumber
-
internalGetValueMap
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-