public boolean isSet(_Fields field) {
    if (field == null) {
      throw new java.lang.IllegalArgumentException();
    }

    switch (field) {
    case LAST_EVENT:
      return isSetLastEvent();
    case MAX_EVENTS:
      return isSetMaxEvents();
    case EVENT_TYPE_SKIP_LIST:
      return isSetEventTypeSkipList();
    case CAT_NAME:
      return isSetCatName();
    case DB_NAME:
      return isSetDbName();
    case TABLE_NAMES:
      return isSetTableNames();
    case EVENT_TYPE_LIST:
      return isSetEventTypeList();
    }
    throw new java.lang.IllegalStateException();
  }
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