public boolean equals(InsertEventRequestData that) {
    if (that == null)
      return false;
    if (this == that)
      return true;

    boolean this_present_replace = true && this.isSetReplace();
    boolean that_present_replace = true && that.isSetReplace();
    if (this_present_replace || that_present_replace) {
      if (!(this_present_replace && that_present_replace))
        return false;
      if (this.replace != that.replace)
        return false;
    }

    boolean this_present_filesAdded = true && this.isSetFilesAdded();
    boolean that_present_filesAdded = true && that.isSetFilesAdded();
    if (this_present_filesAdded || that_present_filesAdded) {
      if (!(this_present_filesAdded && that_present_filesAdded))
        return false;
      if (!this.filesAdded.equals(that.filesAdded))
        return false;
    }

    boolean this_present_filesAddedChecksum = true && this.isSetFilesAddedChecksum();
    boolean that_present_filesAddedChecksum = true && that.isSetFilesAddedChecksum();
    if (this_present_filesAddedChecksum || that_present_filesAddedChecksum) {
      if (!(this_present_filesAddedChecksum && that_present_filesAddedChecksum))
        return false;
      if (!this.filesAddedChecksum.equals(that.filesAddedChecksum))
        return false;
    }

    boolean this_present_subDirectoryList = true && this.isSetSubDirectoryList();
    boolean that_present_subDirectoryList = true && that.isSetSubDirectoryList();
    if (this_present_subDirectoryList || that_present_subDirectoryList) {
      if (!(this_present_subDirectoryList && that_present_subDirectoryList))
        return false;
      if (!this.subDirectoryList.equals(that.subDirectoryList))
        return false;
    }

    boolean this_present_partitionVal = true && this.isSetPartitionVal();
    boolean that_present_partitionVal = true && that.isSetPartitionVal();
    if (this_present_partitionVal || that_present_partitionVal) {
      if (!(this_present_partitionVal && that_present_partitionVal))
        return false;
      if (!this.partitionVal.equals(that.partitionVal))
        return false;
    }

    return 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/InsertEventRequestData.java