src/main/java/com/passkit/grpc/Flights/FlightOuterClass.java
public static FlightStatus forNumber(int value) {
      switch (value) {
        case 0: return UNKNOWN;
        case 1: return SCHEDULED;
        case 2: return DEPARTED;
        case 3: return INAIR;
        case 4: return LANDED;
        case 5: return ARRIVED;
        case 6: return CANCELLED;
        case 7: return DELAYED;
        case 8: return DEPARTED_DIVERTED;
        case 9: return INAIR_DIVERTED;
        case 10: return ARRIVED_DIVERTED;
        case 11: return DEPARTED_RECOVERY;
        case 12: return INAIR_RECOVERY;
        case 13: return ARRIVED_RECOVERY;
        default: return null;
      }
    }
/**
     * @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 FlightStatus forNumber(int value) {
      switch (value) {
        case 0: return UNKNOWN;
        case 1: return SCHEDULED;
        case 2: return DEPARTED;
        case 3: return INAIR;
        case 4: return LANDED;
        case 5: return ARRIVED;
        case 6: return CANCELLED;
        case 7: return DELAYED;
        case 8: return DEPARTED_DIVERTED;
        case 9: return INAIR_DIVERTED;
        case 10: return ARRIVED_DIVERTED;
        case 11: return DEPARTED_RECOVERY;
        case 12: return INAIR_RECOVERY;
        case 13: return ARRIVED_RECOVERY;
        default: return null;
      }
    }
public static FlightStatus forNumber ( int value ) { switch ( value ) { case 0 : return UNKNOWN ; case 1 : return SCHEDULED ; case 2 : return DEPARTED ; case 3 : return INAIR ; case 4 : return LANDED ; case 5 : return ARRIVED ; case 6 : return CANCELLED ; case 7 : return DELAYED ; case 8 : return DEPARTED_DIVERTED ; case 9 : return INAIR_DIVERTED ; case 10 : return ARRIVED_DIVERTED ; case 11 : return DEPARTED_RECOVERY ; case 12 : return INAIR_RECOVERY ; case 13 : return ARRIVED_RECOVERY ; 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 .