public boolean isSet(_Fields field) {
    if (field == null) {
      throw new java.lang.IllegalArgumentException();
    }

    switch (field) {
    case NAME:
      return isSetName();
    case CATALOG_NAME:
      return isSetCatalogName();
    case IGNORE_UNKNOWN_DB:
      return isSetIgnoreUnknownDb();
    case DELETE_DATA:
      return isSetDeleteData();
    case CASCADE:
      return isSetCascade();
    case SOFT_DELETE:
      return isSetSoftDelete();
    case TXN_ID:
      return isSetTxnId();
    case DELETE_MANAGED_DIR:
      return isSetDeleteManagedDir();
    }
    throw new java.lang.IllegalStateException();
  }
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropDatabaseRequest.java