src/main/java/com/passkit/grpc/Flights/CabinCodes/CabinCodes.java
public static CompartmentCode forNumber(int value) {
      switch (value) {
        case 0: return NONE;
        case 1: return R;
        case 2: return P;
        case 3: return F;
        case 4: return A;
        case 5: return J;
        case 6: return C;
        case 7: return D;
        case 8: return I;
        case 9: return Z;
        case 10: return W;
        case 11: return E;
        case 12: return S;
        case 13: return Y;
        case 14: return B;
        case 15: return H;
        case 16: return K;
        case 17: return L;
        case 18: return M;
        case 19: return N;
        case 20: return O;
        case 21: return Q;
        case 22: return T;
        case 23: return V;
        case 24: return X;
        case 25: return G;
        case 26: return U;
        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 CompartmentCode forNumber(int value) {
      switch (value) {
        case 0: return NONE;
        case 1: return R;
        case 2: return P;
        case 3: return F;
        case 4: return A;
        case 5: return J;
        case 6: return C;
        case 7: return D;
        case 8: return I;
        case 9: return Z;
        case 10: return W;
        case 11: return E;
        case 12: return S;
        case 13: return Y;
        case 14: return B;
        case 15: return H;
        case 16: return K;
        case 17: return L;
        case 18: return M;
        case 19: return N;
        case 20: return O;
        case 21: return Q;
        case 22: return T;
        case 23: return V;
        case 24: return X;
        case 25: return G;
        case 26: return U;
        default: return null;
      }
    }
public static CompartmentCode forNumber ( int value ) { switch ( value ) { case 0 : return NONE ; case 1 : return R ; case 2 : return P ; case 3 : return F ; case 4 : return A ; case 5 : return J ; case 6 : return C ; case 7 : return D ; case 8 : return I ; case 9 : return Z ; case 10 : return W ; case 11 : return E ; case 12 : return S ; case 13 : return Y ; case 14 : return B ; case 15 : return H ; case 16 : return K ; case 17 : return L ; case 18 : return M ; case 19 : return N ; case 20 : return O ; case 21 : return Q ; case 22 : return T ; case 23 : return V ; case 24 : return X ; case 25 : return G ; case 26 : return U ; 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 .