- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<CRSStage>,Constable
@Generated
public enum CRSStage
extends Enum<CRSStage>
implements com.google.protobuf.Internal.EnumLite
* The stage of a CRS construction.Protobuf enum
com.hedera.hapi.node.state.hints.CRSStage-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription* The network has completed the CRS construction and is set in the CrsState.* The network is gathering contributions to the CRS from all nodes.* The network is waiting for some grace period to allow the verification future to be completed after the last node has contributed to the CRS. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int* The network has completed the CRS construction and is set in the CrsState.static final int* The network is gathering contributions to the CRS from all nodes.static final int* The network is waiting for some grace period to allow the verification future to be completed after the last node has contributed to the CRS. -
Method Summary
Modifier and TypeMethodDescriptionstatic CRSStageforNumber(int value) final intstatic com.google.protobuf.Internal.EnumLiteMap<CRSStage> static com.google.protobuf.Internal.EnumVerifierstatic CRSStagevalueOf(int value) Deprecated.static CRSStageReturns the enum constant of this class with the specified name.static CRSStage[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GATHERING_CONTRIBUTIONS
* The network is gathering contributions to the CRS from all nodes.
GATHERING_CONTRIBUTIONS = 0; -
WAITING_FOR_ADOPTING_FINAL_CRS
* The network is waiting for some grace period to allow the verification future to be completed after the last node has contributed to the CRS.
WAITING_FOR_ADOPTING_FINAL_CRS = 1; -
COMPLETED
* The network has completed the CRS construction and is set in the CrsState.
COMPLETED = 2; -
UNRECOGNIZED
-
-
Field Details
-
GATHERING_CONTRIBUTIONS_VALUE
public static final int GATHERING_CONTRIBUTIONS_VALUE* The network is gathering contributions to the CRS from all nodes.
GATHERING_CONTRIBUTIONS = 0;- See Also:
-
WAITING_FOR_ADOPTING_FINAL_CRS_VALUE
public static final int WAITING_FOR_ADOPTING_FINAL_CRS_VALUE* The network is waiting for some grace period to allow the verification future to be completed after the last node has contributed to the CRS.
WAITING_FOR_ADOPTING_FINAL_CRS = 1;- See Also:
-
COMPLETED_VALUE
public static final int COMPLETED_VALUE* The network has completed the CRS construction and is set in the CrsState.
COMPLETED = 2;- 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()
-