Go to the documentation of this file.
31 #include <google/protobuf/any.h>
33 #include <google/protobuf/io/zero_copy_stream_impl_lite.h>
34 #include <google/protobuf/arenastring.h>
35 #include <google/protobuf/generated_message_util.h>
36 #include <google/protobuf/stubs/strutil.h>
43 StringPiece type_url_prefix) {
44 if (!type_url_prefix.empty() &&
45 type_url_prefix[type_url_prefix.size() - 1] ==
'/') {
46 return StrCat(type_url_prefix, message_name);
48 return StrCat(type_url_prefix,
"/", message_name);
61 return message.SerializeToString(
bool ParseAnyTypeUrl(const std::string &type_url, std::string *full_type_name)
const char kAnyFullTypeName[]
const ::std::string & Get() const
string StrCat(const AlphaNum &a, const AlphaNum &b)
grpc_core::ScopedArenaPtr arena
inline ::std::string * Mutable(const ::std::string *default_value, Arena *arena)
const char kTypeGoogleApisComPrefix[]
const char kTypeGoogleProdComPrefix[]
const PROTOBUF_EXPORT std::string & GetEmptyString()
std::string GetTypeUrl(StringPiece message_name, StringPiece type_url_prefix)
bool HasSuffixString(const string &str, const string &suffix)
void Set(const ::std::string *default_value, const ::std::string &value, Arena *arena)
static const char * type_name(int type)
grpc
Author(s):
autogenerated on Fri May 16 2025 02:57:41