@Override
    public void write(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestData struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
      {
        oprot.writeI32(struct.filesAdded.size());
        for (java.lang.String _iter1040 : struct.filesAdded)
        {
          oprot.writeString(_iter1040);
        }
      }
      java.util.BitSet optionals = new java.util.BitSet();
      if (struct.isSetReplace()) {
        optionals.set(0);
      }
      if (struct.isSetFilesAddedChecksum()) {
        optionals.set(1);
      }
      if (struct.isSetSubDirectoryList()) {
        optionals.set(2);
      }
      if (struct.isSetPartitionVal()) {
        optionals.set(3);
      }
      oprot.writeBitSet(optionals, 4);
      if (struct.isSetReplace()) {
        oprot.writeBool(struct.replace);
      }
      if (struct.isSetFilesAddedChecksum()) {
        {
          oprot.writeI32(struct.filesAddedChecksum.size());
          for (java.lang.String _iter1041 : struct.filesAddedChecksum)
          {
            oprot.writeString(_iter1041);
          }
        }
      }
      if (struct.isSetSubDirectoryList()) {
        {
          oprot.writeI32(struct.subDirectoryList.size());
          for (java.lang.String _iter1042 : struct.subDirectoryList)
          {
            oprot.writeString(_iter1042);
          }
        }
      }
      if (struct.isSetPartitionVal()) {
        {
          oprot.writeI32(struct.partitionVal.size());
          for (java.lang.String _iter1043 : struct.partitionVal)
          {
            oprot.writeString(_iter1043);
          }
        }
      }
    }
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