@org.apache.thrift.annotation.Nullable
    public static _Fields findByThriftId(int fieldId) {
      switch(fieldId) {
        case 1: // STATUS
          return STATUS;
        case 2: // OPERATION_STATE
          return OPERATION_STATE;
        case 3: // SQL_STATE
          return SQL_STATE;
        case 4: // ERROR_CODE
          return ERROR_CODE;
        case 5: // ERROR_MESSAGE
          return ERROR_MESSAGE;
        case 6: // TASK_STATUS
          return TASK_STATUS;
        case 7: // OPERATION_STARTED
          return OPERATION_STARTED;
        case 8: // OPERATION_COMPLETED
          return OPERATION_COMPLETED;
        case 9: // HAS_RESULT_SET
          return HAS_RESULT_SET;
        case 10: // PROGRESS_UPDATE_RESPONSE
          return PROGRESS_UPDATE_RESPONSE;
        case 11: // NUM_MODIFIED_ROWS
          return NUM_MODIFIED_ROWS;
        default:
          return null;
      }
    }
Find the _Fields constant that matches fieldId, or null if its not found.
service-rpc/src/gen/thrift/gen-javabean/org/apache/hive/service/rpc/thrift/TGetOperationStatusResp.java