19 #ifndef GRPC_INTERNAL_COMPILER_PYTHON_PRIVATE_GENERATOR_H
20 #define GRPC_INTERNAL_COMPILER_PYTHON_PRIVATE_GENERATOR_H
36 struct PrivateGenerator {
37 const GeneratorConfiguration&
config;
42 PrivateGenerator(
const GeneratorConfiguration&
config,
45 std::pair<bool, std::string> GetGrpcServices();
53 bool PrintAddServicerToServer(
58 bool PrintStub(
const std::string& package_qualified_service_name,
62 bool PrintServiceClass(
const std::string& package_qualified_service_name,
67 bool PrintBetaServerFactory(
const std::string& package_qualified_service_name,
72 bool PrintBetaStubFactory(
const std::string& package_qualified_service_name,
79 void PrintAllComments(std::vector<std::string> comments,
87 #endif // GRPC_INTERNAL_COMPILER_PYTHON_PRIVATE_GENERATOR_H