@Override
    public void read(org.apache.thrift.protocol.TProtocol prot, NotificationEventRequest struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
      struct.lastEvent = iprot.readI64();
      struct.setLastEventIsSet(true);
      java.util.BitSet incoming = iprot.readBitSet(6);
      if (incoming.get(0)) {
        struct.maxEvents = iprot.readI32();
        struct.setMaxEventsIsSet(true);
      }
      if (incoming.get(1)) {
        {
          org.apache.thrift.protocol.TList _list999 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING);
          struct.eventTypeSkipList = new java.util.ArrayList<java.lang.String>(_list999.size);
          @org.apache.thrift.annotation.Nullable java.lang.String _elem1000;
          for (int _i1001 = 0; _i1001 < _list999.size; ++_i1001)
          {
            _elem1000 = iprot.readString();
            struct.eventTypeSkipList.add(_elem1000);
          }
        }
        struct.setEventTypeSkipListIsSet(true);
      }
      if (incoming.get(2)) {
        struct.catName = iprot.readString();
        struct.setCatNameIsSet(true);
      }
      if (incoming.get(3)) {
        struct.dbName = iprot.readString();
        struct.setDbNameIsSet(true);
      }
      if (incoming.get(4)) {
        {
          org.apache.thrift.protocol.TList _list1002 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING);
          struct.tableNames = new java.util.ArrayList<java.lang.String>(_list1002.size);
          @org.apache.thrift.annotation.Nullable java.lang.String _elem1003;
          for (int _i1004 = 0; _i1004 < _list1002.size; ++_i1004)
          {
            _elem1003 = iprot.readString();
            struct.tableNames.add(_elem1003);
          }
        }
        struct.setTableNamesIsSet(true);
      }
      if (incoming.get(5)) {
        {
          org.apache.thrift.protocol.TList _list1005 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING);
          struct.eventTypeList = new java.util.ArrayList<java.lang.String>(_list1005.size);
          @org.apache.thrift.annotation.Nullable java.lang.String _elem1006;
          for (int _i1007 = 0; _i1007 < _list1005.size; ++_i1007)
          {
            _elem1006 = iprot.readString();
            struct.eventTypeList.add(_elem1006);
          }
        }
        struct.setEventTypeListIsSet(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