extra/cloud-dataflow/src/main/java/io/activej/dataflow/proto/DataflowMessagingProto.java
/**
       * @param value The numeric wire value of the corresponding enum entry.
       * @return The enum associated with the given numeric wire value.
       */
@param value The numeric wire value of the corresponding enum entry.
@return The enum associated with the given numeric wire value.
@param value The numeric wire value of the corresponding enum entry . @return The enum associated with the given numeric wire value .
public static TaskStatus forNumber(int value) {
        switch (value) {
          case 0: return TASK_STATUS_NOT_SET;
          case 1: return RUNNING;
          case 2: return COMPLETED;
          case 3: return FAILED;
          case 4: return CANCELLED;
          default: return null;
        }
      }
public static TaskStatus forNumber ( int value ) { switch ( value ) { case 0 : return TASK_STATUS_NOT_SET ; case 1 : return RUNNING ; case 2 : return COMPLETED ; case 3 : return FAILED ; case 4 : return CANCELLED ; default : return null ; } }
@param value The numeric wire value of the corresponding enum entry.
@param value The numeric wire value of the corresponding enum entry .