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

    boolean this_present_lastEvent = true;
    boolean that_present_lastEvent = true;
    if (this_present_lastEvent || that_present_lastEvent) {
      if (!(this_present_lastEvent && that_present_lastEvent))
        return false;
      if (this.lastEvent != that.lastEvent)
        return false;
    }

    boolean this_present_maxEvents = true && this.isSetMaxEvents();
    boolean that_present_maxEvents = true && that.isSetMaxEvents();
    if (this_present_maxEvents || that_present_maxEvents) {
      if (!(this_present_maxEvents && that_present_maxEvents))
        return false;
      if (this.maxEvents != that.maxEvents)
        return false;
    }

    boolean this_present_eventTypeSkipList = true && this.isSetEventTypeSkipList();
    boolean that_present_eventTypeSkipList = true && that.isSetEventTypeSkipList();
    if (this_present_eventTypeSkipList || that_present_eventTypeSkipList) {
      if (!(this_present_eventTypeSkipList && that_present_eventTypeSkipList))
        return false;
      if (!this.eventTypeSkipList.equals(that.eventTypeSkipList))
        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_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_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;
    }

    boolean this_present_eventTypeList = true && this.isSetEventTypeList();
    boolean that_present_eventTypeList = true && that.isSetEventTypeList();
    if (this_present_eventTypeList || that_present_eventTypeList) {
      if (!(this_present_eventTypeList && that_present_eventTypeList))
        return false;
      if (!this.eventTypeList.equals(that.eventTypeList))
        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/NotificationEventRequest.java