@Override
  public int hashCode() {
    int hashCode = 1;

    hashCode = hashCode * 8191 + ((isSetName()) ? 131071 : 524287);
    if (isSetName())
      hashCode = hashCode * 8191 + name.hashCode();

    hashCode = hashCode * 8191 + ((isSetCatalogName()) ? 131071 : 524287);
    if (isSetCatalogName())
      hashCode = hashCode * 8191 + catalogName.hashCode();

    hashCode = hashCode * 8191 + ((ignoreUnknownDb) ? 131071 : 524287);

    hashCode = hashCode * 8191 + ((deleteData) ? 131071 : 524287);

    hashCode = hashCode * 8191 + ((cascade) ? 131071 : 524287);

    hashCode = hashCode * 8191 + ((isSetSoftDelete()) ? 131071 : 524287);
    if (isSetSoftDelete())
      hashCode = hashCode * 8191 + ((softDelete) ? 131071 : 524287);

    hashCode = hashCode * 8191 + ((isSetTxnId()) ? 131071 : 524287);
    if (isSetTxnId())
      hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(txnId);

    hashCode = hashCode * 8191 + ((isSetDeleteManagedDir()) ? 131071 : 524287);
    if (isSetDeleteManagedDir())
      hashCode = hashCode * 8191 + ((deleteManagedDir) ? 131071 : 524287);

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