Enum Class CRSStage

java.lang.Object
java.lang.Enum<CRSStage>
com.hedera.hashgraph.sdk.proto.CRSStage
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
  • Enum Constant Details

    • GATHERING_CONTRIBUTIONS

      public static final CRSStage GATHERING_CONTRIBUTIONS
       *
       The network is gathering contributions to the CRS from all nodes.
       
      GATHERING_CONTRIBUTIONS = 0;
    • WAITING_FOR_ADOPTING_FINAL_CRS

      public static final CRSStage 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

      public static final CRSStage COMPLETED
       *
       The network has completed the CRS construction and is set in the CrsState.
       
      COMPLETED = 2;
    • UNRECOGNIZED

      public static final CRSStage 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

      public static CRSStage[] 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 CRSStage 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 CRSStage 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 CRSStage forNumber(int value)
    • internalGetValueMap

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

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