public static FileHandleOrBufferCase forNumber(int value) {
      switch (value) {
        case 1: return HANDLE;
        case 2: return CHUNK;
        case 0: return FILEHANDLEORBUFFER_NOT_SET;
        default: return null;
      }
    }
public static FileHandleOrBufferCase forNumber(int value)