type_resolver.h
This section contains reference documentation for working with protocol buffer classes in C++.
#include <google/protobuf/util/type_resolver.h>
namespace google::protobuf::util
Defines a TypeResolver for the Any message.
Classes in this file | |
---|---|
Abstract interface for a type resolver. |
class TypeResolver
#include <google/protobuf/util/type_resolver.h>
namespace google::protobuf::util
Abstract interface for a type resolver.
Implementations of this interface must be thread-safe.
Members | |
---|---|
| TypeResolver() |
virtual | ~TypeResolver() |
virtual util::Status | ResolveMessageType(const std::string & type_url, google::protobuf::Type * message_type) = 0 Resolves a type url for a message type. |
virtual util::Status | ResolveEnumType(const std::string & type_url, google::protobuf::Enum * enum_type) = 0 Resolves a type url for an enum type. |