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

    hashCode = hashCode * 8191 + ((isSetDbname()) ? 131071 : 524287);
    if (isSetDbname())
      hashCode = hashCode * 8191 + dbname.hashCode();

    hashCode = hashCode * 8191 + ((isSetTablename()) ? 131071 : 524287);
    if (isSetTablename())
      hashCode = hashCode * 8191 + tablename.hashCode();

    hashCode = hashCode * 8191 + ((isSetPartname()) ? 131071 : 524287);
    if (isSetPartname())
      hashCode = hashCode * 8191 + partname.hashCode();

    hashCode = hashCode * 8191 + ((isSetIsExtended()) ? 131071 : 524287);
    if (isSetIsExtended())
      hashCode = hashCode * 8191 + ((isExtended) ? 131071 : 524287);

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

    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/ShowLocksRequest.java