public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) {
    switch (field) {
    case NAME:
      if (value == null) {
        unsetName();
      } else {
        setName((java.lang.String)value);
      }
      break;

    case CATALOG_NAME:
      if (value == null) {
        unsetCatalogName();
      } else {
        setCatalogName((java.lang.String)value);
      }
      break;

    case IGNORE_UNKNOWN_DB:
      if (value == null) {
        unsetIgnoreUnknownDb();
      } else {
        setIgnoreUnknownDb((java.lang.Boolean)value);
      }
      break;

    case DELETE_DATA:
      if (value == null) {
        unsetDeleteData();
      } else {
        setDeleteData((java.lang.Boolean)value);
      }
      break;

    case CASCADE:
      if (value == null) {
        unsetCascade();
      } else {
        setCascade((java.lang.Boolean)value);
      }
      break;

    case SOFT_DELETE:
      if (value == null) {
        unsetSoftDelete();
      } else {
        setSoftDelete((java.lang.Boolean)value);
      }
      break;

    case TXN_ID:
      if (value == null) {
        unsetTxnId();
      } else {
        setTxnId((java.lang.Long)value);
      }
      break;

    case DELETE_MANAGED_DIR:
      if (value == null) {
        unsetDeleteManagedDir();
      } else {
        setDeleteManagedDir((java.lang.Boolean)value);
      }
      break;

    }
  }
Returns true if field deleteManagedDir 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