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

    hashCode = hashCode * 8191 + ((isSetDbName()) ? 131071 : 524287);
    if (isSetDbName())
      hashCode = hashCode * 8191 + dbName.hashCode();

    hashCode = hashCode * 8191 + ((isSetTblName()) ? 131071 : 524287);
    if (isSetTblName())
      hashCode = hashCode * 8191 + tblName.hashCode();

    hashCode = hashCode * 8191 + ((isSetPartitionKeys()) ? 131071 : 524287);
    if (isSetPartitionKeys())
      hashCode = hashCode * 8191 + partitionKeys.hashCode();

    hashCode = hashCode * 8191 + ((isSetApplyDistinct()) ? 131071 : 524287);
    if (isSetApplyDistinct())
      hashCode = hashCode * 8191 + ((applyDistinct) ? 131071 : 524287);

    hashCode = hashCode * 8191 + ((isSetFilter()) ? 131071 : 524287);
    if (isSetFilter())
      hashCode = hashCode * 8191 + filter.hashCode();

    hashCode = hashCode * 8191 + ((isSetPartitionOrder()) ? 131071 : 524287);
    if (isSetPartitionOrder())
      hashCode = hashCode * 8191 + partitionOrder.hashCode();

    hashCode = hashCode * 8191 + ((isSetAscending()) ? 131071 : 524287);
    if (isSetAscending())
      hashCode = hashCode * 8191 + ((ascending) ? 131071 : 524287);

    hashCode = hashCode * 8191 + ((isSetMaxParts()) ? 131071 : 524287);
    if (isSetMaxParts())
      hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(maxParts);

    hashCode = hashCode * 8191 + ((isSetCatName()) ? 131071 : 524287);
    if (isSetCatName())
      hashCode = hashCode * 8191 + catName.hashCode();

    hashCode = hashCode * 8191 + ((isSetValidWriteIdList()) ? 131071 : 524287);
    if (isSetValidWriteIdList())
      hashCode = hashCode * 8191 + validWriteIdList.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/PartitionValuesRequest.java