@Override
  public int hashCode() {
    int hashCode = 1;

    hashCode = hashCode * 8191 + ((isSetReplace()) ? 131071 : 524287);
    if (isSetReplace())
      hashCode = hashCode * 8191 + ((replace) ? 131071 : 524287);

    hashCode = hashCode * 8191 + ((isSetFilesAdded()) ? 131071 : 524287);
    if (isSetFilesAdded())
      hashCode = hashCode * 8191 + filesAdded.hashCode();

    hashCode = hashCode * 8191 + ((isSetFilesAddedChecksum()) ? 131071 : 524287);
    if (isSetFilesAddedChecksum())
      hashCode = hashCode * 8191 + filesAddedChecksum.hashCode();

    hashCode = hashCode * 8191 + ((isSetSubDirectoryList()) ? 131071 : 524287);
    if (isSetSubDirectoryList())
      hashCode = hashCode * 8191 + subDirectoryList.hashCode();

    hashCode = hashCode * 8191 + ((isSetPartitionVal()) ? 131071 : 524287);
    if (isSetPartitionVal())
      hashCode = hashCode * 8191 + partitionVal.hashCode();

    return hashCode;
  }
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