public void read(org.apache.thrift.protocol.TProtocol iprot, NotificationEventRequest struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TField schemeField;
      iprot.readStructBegin();
      while (true)
      {
        schemeField = iprot.readFieldBegin();
        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
          break;
        }
        switch (schemeField.id) {
          case 1: // LAST_EVENT
            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
              struct.lastEvent = iprot.readI64();
              struct.setLastEventIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 2: // MAX_EVENTS
            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
              struct.maxEvents = iprot.readI32();
              struct.setMaxEventsIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 3: // EVENT_TYPE_SKIP_LIST
            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
              {
                org.apache.thrift.protocol.TList _list984 = iprot.readListBegin();
                struct.eventTypeSkipList = new java.util.ArrayList<java.lang.String>(_list984.size);
                @org.apache.thrift.annotation.Nullable java.lang.String _elem985;
                for (int _i986 = 0; _i986 < _list984.size; ++_i986)
                {
                  _elem985 = iprot.readString();
                  struct.eventTypeSkipList.add(_elem985);
                }
                iprot.readListEnd();
              }
              struct.setEventTypeSkipListIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 4: // CAT_NAME
            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
              struct.catName = iprot.readString();
              struct.setCatNameIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 5: // DB_NAME
            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
              struct.dbName = iprot.readString();
              struct.setDbNameIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 6: // TABLE_NAMES
            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
              {
                org.apache.thrift.protocol.TList _list987 = iprot.readListBegin();
                struct.tableNames = new java.util.ArrayList<java.lang.String>(_list987.size);
                @org.apache.thrift.annotation.Nullable java.lang.String _elem988;
                for (int _i989 = 0; _i989 < _list987.size; ++_i989)
                {
                  _elem988 = iprot.readString();
                  struct.tableNames.add(_elem988);
                }
                iprot.readListEnd();
              }
              struct.setTableNamesIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 7: // EVENT_TYPE_LIST
            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
              {
                org.apache.thrift.protocol.TList _list990 = iprot.readListBegin();
                struct.eventTypeList = new java.util.ArrayList<java.lang.String>(_list990.size);
                @org.apache.thrift.annotation.Nullable java.lang.String _elem991;
                for (int _i992 = 0; _i992 < _list990.size; ++_i992)
                {
                  _elem991 = iprot.readString();
                  struct.eventTypeList.add(_elem991);
                }
                iprot.readListEnd();
              }
              struct.setEventTypeListIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          default:
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
        }
        iprot.readFieldEnd();
      }
      iprot.readStructEnd();
      struct.validate();
    }
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