@org.apache.thrift.annotation.Nullable
    public static _Fields findByThriftId(int fieldId) {
      switch(fieldId) {
        case 1: // NAME
          return NAME;
        case 2: // DESCRIPTION
          return DESCRIPTION;
        case 3: // LOCATION_URI
          return LOCATION_URI;
        case 4: // PARAMETERS
          return PARAMETERS;
        case 5: // PRIVILEGES
          return PRIVILEGES;
        case 6: // OWNER_NAME
          return OWNER_NAME;
        case 7: // OWNER_TYPE
          return OWNER_TYPE;
        case 8: // CATALOG_NAME
          return CATALOG_NAME;
        case 9: // CREATE_TIME
          return CREATE_TIME;
        case 10: // MANAGED_LOCATION_URI
          return MANAGED_LOCATION_URI;
        case 11: // TYPE
          return TYPE;
        case 12: // CONNECTOR_NAME
          return CONNECTOR_NAME;
        case 13: // REMOTE_DBNAME
          return REMOTE_DBNAME;
        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/Database.java