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

    hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(lockid);

    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 + ((isSetState()) ? 131071 : 524287);
    if (isSetState())
      hashCode = hashCode * 8191 + state.getValue();

    hashCode = hashCode * 8191 + ((isSetType()) ? 131071 : 524287);
    if (isSetType())
      hashCode = hashCode * 8191 + type.getValue();

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

    hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(lastheartbeat);

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

    hashCode = hashCode * 8191 + ((isSetUser()) ? 131071 : 524287);
    if (isSetUser())
      hashCode = hashCode * 8191 + user.hashCode();

    hashCode = hashCode * 8191 + ((isSetHostname()) ? 131071 : 524287);
    if (isSetHostname())
      hashCode = hashCode * 8191 + hostname.hashCode();

    hashCode = hashCode * 8191 + ((isSetHeartbeatCount()) ? 131071 : 524287);
    if (isSetHeartbeatCount())
      hashCode = hashCode * 8191 + heartbeatCount;

    hashCode = hashCode * 8191 + ((isSetAgentInfo()) ? 131071 : 524287);
    if (isSetAgentInfo())
      hashCode = hashCode * 8191 + agentInfo.hashCode();

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

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

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

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