Go to the documentation of this file.
31 #ifndef GOOGLE_PROTOBUF_UTIL_CONVERTER_UTILITY_H__
32 #define GOOGLE_PROTOBUF_UTIL_CONVERTER_UTILITY_H__
49 #include <google/protobuf/port_def.inc>
64 const std::string& option_name,
bool default_value);
76 const std::string& option_name,
double default_value);
178 template <
typename T>
202 #include <google/protobuf/port_undef.inc>
204 #endif // GOOGLE_PROTOBUF_UTIL_CONVERTER_UTILITY_H__
const google::protobuf::Field * FindJsonFieldInTypeOrNull(const google::protobuf::Type *type, StringPiece json_name)
std::string ToCamelCase(const StringPiece input)
bool IsWellKnownType(const std::string &type_name)
const StringPiece GetTypeWithoutUrl(StringPiece type_url)
string StrCat(const AlphaNum &a, const AlphaNum &b)
GLsizei const GLchar *const * string
bool SafeStrToFloat(StringPiece str, float *value)
zend_class_entry * enum_type
std::string ToSnakeCase(StringPiece input)
#define T(upbtypeconst, upbtype, ctype, default_value)
bool IsMessageSetWireFormat(const google::protobuf::Type &type)
const std::string GetFullTypeWithUrl(StringPiece simple_type)
int64 GetInt64OptionOrDefault(const RepeatedPtrField< google::protobuf::Option > &options, const std::string &option_name, int64 default_value)
static const int64 kTypeUrlSize
double GetDoubleFromAny(const google::protobuf::Any &any)
bool IsMap(const google::protobuf::Field &field, const google::protobuf::Type &type)
const google::protobuf::Option * FindOptionOrNull(const RepeatedPtrField< google::protobuf::Option > &options, const std::string &option_name)
const google::protobuf::EnumValue * FindEnumValueByNumberOrNull(const google::protobuf::Enum *enum_type, int32 value)
double GetDoubleOptionOrDefault(const RepeatedPtrField< google::protobuf::Option > &options, const std::string &option_name, double default_value)
std::string EnumValueNameToLowerCamelCase(const StringPiece input)
const FieldDescriptor * field
std::string GetStringFromAny(const google::protobuf::Any &any)
std::string DoubleAsString(double value)
const google::protobuf::EnumValue * FindEnumValueByNameWithoutUnderscoreOrNull(const google::protobuf::Enum *enum_type, StringPiece enum_name)
const google::protobuf::Field * FindFieldInTypeByNumberOrNull(const google::protobuf::Type *type, int32 number)
int64 GetInt64FromAny(const google::protobuf::Any &any)
std::string GetStringOptionOrDefault(const RepeatedPtrField< google::protobuf::Option > &options, const std::string &option_name, const std::string &default_value)
const google::protobuf::EnumValue * FindEnumValueByNameOrNull(const google::protobuf::Enum *enum_type, StringPiece enum_name)
bool GetBoolOptionOrDefault(const RepeatedPtrField< google::protobuf::Option > &options, const std::string &option_name, bool default_value)
const google::protobuf::Field * FindFieldInTypeOrNull(const google::protobuf::Type *type, StringPiece field_name)
bool GetBoolFromAny(const google::protobuf::Any &any)
std::string ValueAsString(T value)
std::string FloatAsString(float value)
GLsizei const GLfloat * value
bool IsValidBoolString(const std::string &bool_string)
libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:01