242        std::cerr << 
"SubscriptionHandler::RunLocalCallback() error: " 
  248      if (!this->UpdateThrottling())
 
  251#if GOOGLE_PROTOBUF_VERSION >= 5028000 
  252      auto msgPtr = google::protobuf::DynamicCastMessage<T>(&_msg);
 
  253#elif GOOGLE_PROTOBUF_VERSION >= 4022000 
  254      auto msgPtr = google::protobuf::internal::DownCast<const T*>(&_msg);
 
  255#elif GOOGLE_PROTOBUF_VERSION >= 3000000 
  256      auto msgPtr = google::protobuf::down_cast<const T*>(&_msg);
 
  258      auto msgPtr = google::protobuf::internal::down_cast<const T*>(&_msg);
 
  262      if (msgPtr == 
nullptr)
 
  264        if (_msg.GetDescriptor() != 
nullptr)
 
  266          std::cerr << 
"SubscriptionHandler::RunLocalCallback() error: " 
  267                    << 
"Failed to cast the message of the type " 
  268                    << _msg.GetDescriptor()->full_name()
 
  269                    << 
" to the specified type" << 
'\n';
 
  273          std::cerr << 
"SubscriptionHandler::RunLocalCallback() error: " 
  274                    << 
"Failed to cast the message of an unknown type" 
  275                    << 
" to the specified type" << 
'\n';
 
  281      this->cb(*msgPtr, _info);