@org.apache.thrift.annotation.Nullable
    public static _Fields findByThriftId(int fieldId) {
      switch(fieldId) {
        case 1: // COMPONENT
          return COMPONENT;
        case 2: // TXNID
          return TXNID;
        case 3: // USER
          return USER;
        case 4: // HOSTNAME
          return HOSTNAME;
        case 5: // AGENT_INFO
          return AGENT_INFO;
        case 6: // ZERO_WAIT_READ_ENABLED
          return ZERO_WAIT_READ_ENABLED;
        case 7: // EXCLUSIVE_CTAS
          return EXCLUSIVE_CTAS;
        case 8: // LOCKLESS_READS_ENABLED
          return LOCKLESS_READS_ENABLED;
        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/LockRequest.java