Go to the documentation of this file.
19 #ifndef GRPC_TEST_CPP_UTIL_PROTO_FILE_PARSER_H
20 #define GRPC_TEST_CPP_UTIL_PROTO_FILE_PARSER_H
29 #if defined(_WIN32) && !defined(__CYGWIN__)
30 #define GRPC_CLI_PATH_SEPARATOR ";"
32 #define GRPC_CLI_PATH_SEPARATOR ":"
104 bool is_json_format);
120 std::unique_ptr<protobuf::compiler::Importer>
importer_;
122 std::unique_ptr<protobuf::DescriptorPoolDatabase>
file_db_;
123 std::unique_ptr<protobuf::DescriptorDatabase>
desc_db_;
135 #endif // GRPC_TEST_CPP_UTIL_PROTO_FILE_PARSER_H
std::unique_ptr< grpc::ProtoReflectionDescriptorDatabase > reflection_db_
std::unordered_map< std::string, std::string > known_methods_
std::unique_ptr< protobuf::DescriptorDatabase > desc_db_
std::vector< const protobuf::ServiceDescriptor * > service_desc_list_
std::string GetSerializedProtoFromMethod(const std::string &method, const std::string &formatted_proto, bool is_request, bool is_json_format)
std::string GetFullMethodName(const std::string &method)
std::unique_ptr< grpc::protobuf::Message > request_prototype_
std::unique_ptr< ErrorPrinter > error_printer_
std::string GetFormattedStringFromMethod(const std::string &method, const std::string &serialized_proto, bool is_request, bool is_json_format)
ProtoFileParser(const std::shared_ptr< grpc::Channel > &channel, const std::string &proto_path, const std::string &protofiles)
std::string GetSerializedProtoFromMessageType(const std::string &message_type_name, const std::string &formatted_proto, bool is_json_format)
void LogError(const std::string &error_msg)
GRPC_CUSTOM_DISKSOURCETREE DiskSourceTree
std::unique_ptr< protobuf::DescriptorPool > desc_pool_
std::unique_ptr< protobuf::DescriptorPoolDatabase > file_db_
protobuf::compiler::DiskSourceTree source_tree_
wrapped_grpc_channel * channel
std::string GetMessageTypeFromMethod(const std::string &method, bool is_request)
std::string request_text_
std::string GetFormattedMethodName(const std::string &method)
bool IsStreaming(const std::string &method, bool is_request)
std::unique_ptr< protobuf::compiler::Importer > importer_
std::unique_ptr< protobuf::DynamicMessageFactory > dynamic_factory_
std::unique_ptr< grpc::protobuf::Message > response_prototype_
std::string GetFormattedStringFromMessageType(const std::string &message_type_name, const std::string &serialized_proto, bool is_json_format)
grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:00:56