@org.apache.thrift.annotation.Nullable
    public static _Fields findByThriftId(int fieldId) {
      switch(fieldId) {
        case 1: // LOCKID
          return LOCKID;
        case 2: // DBNAME
          return DBNAME;
        case 3: // TABLENAME
          return TABLENAME;
        case 4: // PARTNAME
          return PARTNAME;
        case 5: // STATE
          return STATE;
        case 6: // TYPE
          return TYPE;
        case 7: // TXNID
          return TXNID;
        case 8: // LASTHEARTBEAT
          return LASTHEARTBEAT;
        case 9: // ACQUIREDAT
          return ACQUIREDAT;
        case 10: // USER
          return USER;
        case 11: // HOSTNAME
          return HOSTNAME;
        case 12: // HEARTBEAT_COUNT
          return HEARTBEAT_COUNT;
        case 13: // AGENT_INFO
          return AGENT_INFO;
        case 14: // BLOCKED_BY_EXT_ID
          return BLOCKED_BY_EXT_ID;
        case 15: // BLOCKED_BY_INT_ID
          return BLOCKED_BY_INT_ID;
        case 16: // LOCK_ID_INTERNAL
          return LOCK_ID_INTERNAL;
        default:
          return null;
      }
    }
Find the _Fields constant that matches fieldId, or null if its not found.
standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponseElement.java