@org.apache.thrift.annotation.Nullable
    public static _Fields findByThriftId(int fieldId) {
      switch(fieldId) {
        case 1: // NAME
          return NAME;
        case 2: // CATALOG_NAME
          return CATALOG_NAME;
        case 3: // IGNORE_UNKNOWN_DB
          return IGNORE_UNKNOWN_DB;
        case 4: // DELETE_DATA
          return DELETE_DATA;
        case 5: // CASCADE
          return CASCADE;
        case 6: // SOFT_DELETE
          return SOFT_DELETE;
        case 7: // TXN_ID
          return TXN_ID;
        case 8: // DELETE_MANAGED_DIR
          return DELETE_MANAGED_DIR;
        default:
          return null;
      }
    }
Find the _Fields constant that matches fieldId, or null if its not found.
standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropDatabaseRequest.java