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

    boolean this_present_fromEventId = true;
    boolean that_present_fromEventId = true;
    if (this_present_fromEventId || that_present_fromEventId) {
      if (!(this_present_fromEventId && that_present_fromEventId))
        return false;
      if (this.fromEventId != that.fromEventId)
        return false;
    }

    boolean this_present_dbName = true && this.isSetDbName();
    boolean that_present_dbName = true && that.isSetDbName();
    if (this_present_dbName || that_present_dbName) {
      if (!(this_present_dbName && that_present_dbName))
        return false;
      if (!this.dbName.equals(that.dbName))
        return false;
    }

    boolean this_present_catName = true && this.isSetCatName();
    boolean that_present_catName = true && that.isSetCatName();
    if (this_present_catName || that_present_catName) {
      if (!(this_present_catName && that_present_catName))
        return false;
      if (!this.catName.equals(that.catName))
        return false;
    }

    boolean this_present_toEventId = true && this.isSetToEventId();
    boolean that_present_toEventId = true && that.isSetToEventId();
    if (this_present_toEventId || that_present_toEventId) {
      if (!(this_present_toEventId && that_present_toEventId))
        return false;
      if (this.toEventId != that.toEventId)
        return false;
    }

    boolean this_present_limit = true && this.isSetLimit();
    boolean that_present_limit = true && that.isSetLimit();
    if (this_present_limit || that_present_limit) {
      if (!(this_present_limit && that_present_limit))
        return false;
      if (this.limit != that.limit)
        return false;
    }

    boolean this_present_tableNames = true && this.isSetTableNames();
    boolean that_present_tableNames = true && that.isSetTableNames();
    if (this_present_tableNames || that_present_tableNames) {
      if (!(this_present_tableNames && that_present_tableNames))
        return false;
      if (!this.tableNames.equals(that.tableNames))
        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/NotificationEventsCountRequest.java