public void read(org.apache.thrift.protocol.TProtocol iprot, InsertEventRequestData 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: // REPLACE
            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
              struct.replace = iprot.readBool();
              struct.setReplaceIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 2: // FILES_ADDED
            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
              {
                org.apache.thrift.protocol.TList _list1024 = iprot.readListBegin();
                struct.filesAdded = new java.util.ArrayList<java.lang.String>(_list1024.size);
                @org.apache.thrift.annotation.Nullable java.lang.String _elem1025;
                for (int _i1026 = 0; _i1026 < _list1024.size; ++_i1026)
                {
                  _elem1025 = iprot.readString();
                  struct.filesAdded.add(_elem1025);
                }
                iprot.readListEnd();
              }
              struct.setFilesAddedIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 3: // FILES_ADDED_CHECKSUM
            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
              {
                org.apache.thrift.protocol.TList _list1027 = iprot.readListBegin();
                struct.filesAddedChecksum = new java.util.ArrayList<java.lang.String>(_list1027.size);
                @org.apache.thrift.annotation.Nullable java.lang.String _elem1028;
                for (int _i1029 = 0; _i1029 < _list1027.size; ++_i1029)
                {
                  _elem1028 = iprot.readString();
                  struct.filesAddedChecksum.add(_elem1028);
                }
                iprot.readListEnd();
              }
              struct.setFilesAddedChecksumIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 4: // SUB_DIRECTORY_LIST
            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
              {
                org.apache.thrift.protocol.TList _list1030 = iprot.readListBegin();
                struct.subDirectoryList = new java.util.ArrayList<java.lang.String>(_list1030.size);
                @org.apache.thrift.annotation.Nullable java.lang.String _elem1031;
                for (int _i1032 = 0; _i1032 < _list1030.size; ++_i1032)
                {
                  _elem1031 = iprot.readString();
                  struct.subDirectoryList.add(_elem1031);
                }
                iprot.readListEnd();
              }
              struct.setSubDirectoryListIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 5: // PARTITION_VAL
            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
              {
                org.apache.thrift.protocol.TList _list1033 = iprot.readListBegin();
                struct.partitionVal = new java.util.ArrayList<java.lang.String>(_list1033.size);
                @org.apache.thrift.annotation.Nullable java.lang.String _elem1034;
                for (int _i1035 = 0; _i1035 < _list1033.size; ++_i1035)
                {
                  _elem1034 = iprot.readString();
                  struct.partitionVal.add(_elem1034);
                }
                iprot.readListEnd();
              }
              struct.setPartitionValIsSet(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/InsertEventRequestData.java