src/main/java/com/passkit/grpc/Flights/Barcode.java
public static PassengerDescription forNumber(int value) {
      switch (value) {
        case 0: return ADULT;
        case 1: return MALE;
        case 2: return FEMALE;
        case 3: return CHILD;
        case 4: return INFANT;
        case 5: return NO_PASSENGER;
        case 6: return ADULT_WITH_INFANT;
        case 7: return UNACCOMPANIED_MINOR;
        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 PassengerDescription forNumber(int value) {
      switch (value) {
        case 0: return ADULT;
        case 1: return MALE;
        case 2: return FEMALE;
        case 3: return CHILD;
        case 4: return INFANT;
        case 5: return NO_PASSENGER;
        case 6: return ADULT_WITH_INFANT;
        case 7: return UNACCOMPANIED_MINOR;
        default: return null;
      }
    }
public static PassengerDescription forNumber ( int value ) { switch ( value ) { case 0 : return ADULT ; case 1 : return MALE ; case 2 : return FEMALE ; case 3 : return CHILD ; case 4 : return INFANT ; case 5 : return NO_PASSENGER ; case 6 : return ADULT_WITH_INFANT ; case 7 : return UNACCOMPANIED_MINOR ; 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 .