src/main/java/com/passkit/grpc/Expiry.java
public static ExpiryType forNumber(int value) {
      switch (value) {
        case 0: return EXPIRE_NONE;
        case 1: return EXPIRE_ON_FIXED_DATE;
        case 2: return EXPIRE_AFTER_X_DAYS;
        case 3: return EXPIRE_ON_VARIABLE_DATE_TIME;
        case 4: return EXPIRE_SET_TO_NULL;
        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 ExpiryType forNumber(int value) {
      switch (value) {
        case 0: return EXPIRE_NONE;
        case 1: return EXPIRE_ON_FIXED_DATE;
        case 2: return EXPIRE_AFTER_X_DAYS;
        case 3: return EXPIRE_ON_VARIABLE_DATE_TIME;
        case 4: return EXPIRE_SET_TO_NULL;
        default: return null;
      }
    }
public static ExpiryType forNumber ( int value ) { switch ( value ) { case 0 : return EXPIRE_NONE ; case 1 : return EXPIRE_ON_FIXED_DATE ; case 2 : return EXPIRE_AFTER_X_DAYS ; case 3 : return EXPIRE_ON_VARIABLE_DATE_TIME ; case 4 : return EXPIRE_SET_TO_NULL ; 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 .