src/main/java/com/passkit/grpc/Protocols.java
public static PassProtocol forNumber(int value) {
      switch (value) {
        case 0: return PASS_PROTOCOL_DO_NOT_USE;
        case 1: return RAW_PROTOCOL;
        case 2: return V1_PROTOCOL;
        case 3: return FLIGHT_PROTOCOL;
        case 100: return MEMBERSHIP;
        case 101: return SINGLE_USE_COUPON;
        case 102: return EVENT_TICKETING;
        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 PassProtocol forNumber(int value) {
      switch (value) {
        case 0: return PASS_PROTOCOL_DO_NOT_USE;
        case 1: return RAW_PROTOCOL;
        case 2: return V1_PROTOCOL;
        case 3: return FLIGHT_PROTOCOL;
        case 100: return MEMBERSHIP;
        case 101: return SINGLE_USE_COUPON;
        case 102: return EVENT_TICKETING;
        default: return null;
      }
    }
public static PassProtocol forNumber ( int value ) { switch ( value ) { case 0 : return PASS_PROTOCOL_DO_NOT_USE ; case 1 : return RAW_PROTOCOL ; case 2 : return V1_PROTOCOL ; case 3 : return FLIGHT_PROTOCOL ; case 100 : return MEMBERSHIP ; case 101 : return SINGLE_USE_COUPON ; case 102 : return EVENT_TICKETING ; 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 .