public boolean equals(DropDatabaseRequest that) {
    if (that == null)
      return false;
    if (this == that)
      return true;

    boolean this_present_name = true && this.isSetName();
    boolean that_present_name = true && that.isSetName();
    if (this_present_name || that_present_name) {
      if (!(this_present_name && that_present_name))
        return false;
      if (!this.name.equals(that.name))
        return false;
    }

    boolean this_present_catalogName = true && this.isSetCatalogName();
    boolean that_present_catalogName = true && that.isSetCatalogName();
    if (this_present_catalogName || that_present_catalogName) {
      if (!(this_present_catalogName && that_present_catalogName))
        return false;
      if (!this.catalogName.equals(that.catalogName))
        return false;
    }

    boolean this_present_ignoreUnknownDb = true;
    boolean that_present_ignoreUnknownDb = true;
    if (this_present_ignoreUnknownDb || that_present_ignoreUnknownDb) {
      if (!(this_present_ignoreUnknownDb && that_present_ignoreUnknownDb))
        return false;
      if (this.ignoreUnknownDb != that.ignoreUnknownDb)
        return false;
    }

    boolean this_present_deleteData = true;
    boolean that_present_deleteData = true;
    if (this_present_deleteData || that_present_deleteData) {
      if (!(this_present_deleteData && that_present_deleteData))
        return false;
      if (this.deleteData != that.deleteData)
        return false;
    }

    boolean this_present_cascade = true;
    boolean that_present_cascade = true;
    if (this_present_cascade || that_present_cascade) {
      if (!(this_present_cascade && that_present_cascade))
        return false;
      if (this.cascade != that.cascade)
        return false;
    }

    boolean this_present_softDelete = true && this.isSetSoftDelete();
    boolean that_present_softDelete = true && that.isSetSoftDelete();
    if (this_present_softDelete || that_present_softDelete) {
      if (!(this_present_softDelete && that_present_softDelete))
        return false;
      if (this.softDelete != that.softDelete)
        return false;
    }

    boolean this_present_txnId = true && this.isSetTxnId();
    boolean that_present_txnId = true && that.isSetTxnId();
    if (this_present_txnId || that_present_txnId) {
      if (!(this_present_txnId && that_present_txnId))
        return false;
      if (this.txnId != that.txnId)
        return false;
    }

    boolean this_present_deleteManagedDir = true && this.isSetDeleteManagedDir();
    boolean that_present_deleteManagedDir = true && that.isSetDeleteManagedDir();
    if (this_present_deleteManagedDir || that_present_deleteManagedDir) {
      if (!(this_present_deleteManagedDir && that_present_deleteManagedDir))
        return false;
      if (this.deleteManagedDir != that.deleteManagedDir)
        return false;
    }

    return true;
  }
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