grpc/src/compiler
Xuan Wang 811bb258d8 [Python Otel] Use registered method at server side (#36371)
Add registered method change to sync stack server.

## Note
* We're keeping both generic and registered handler in generated stubs (`*_pb2_grpc.py`) because registered method flow is not implemented in aysncio yet, since the stub is used for both sync and asyncio, we can't remove generic method flow until we fully implement the registered method flow in asyncio.

<!--

If you know who should review your pull request, please assign it to that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the appropriate
lang label.

-->

Closes #36371

PiperOrigin-RevId: 629842051
2024-05-01 14:43:15 -07:00
..
.clang-format [clang-format] Remove requirement that port_platform.h is at the top (#36283) 2024-04-09 08:34:59 -07:00
BUILD [protobuf] Upgrade third_party/protobuf to 22.x (#32606) 2023-04-12 18:43:58 +02:00
README.md fix markdown render error 2017-03-26 00:52:56 +08:00
config.h Revert previous change to PluginMain (#34202) 2023-09-01 13:56:33 -07:00
config_protobuf.h Internal change 2023-12-13 20:06:30 -08:00
cpp_generator.cc Add options to omit CQ or sync server APIs in generated code 2024-04-17 01:23:29 +00:00
cpp_generator.h Add options to omit CQ or sync server APIs in generated code 2024-04-17 01:23:29 +00:00
cpp_generator_helpers.h Replaced grpc::string with std::string 2020-06-29 17:56:36 -07:00
cpp_plugin.cc Extracted the code of Cpp Generator into a header 2019-05-08 18:51:11 +02:00
cpp_plugin.h Add options to omit CQ or sync server APIs in generated code 2024-04-17 01:23:29 +00:00
csharp_generator.cc [csharp] Fix csharp doc comments (#36000) 2024-04-01 00:22:47 -07:00
csharp_generator.h Update csharp_generator.cc to be compatible with internal and public version of protobuf (#25514) 2021-03-01 10:52:01 +01:00
csharp_generator_helpers.h [csharp codegen] Handle empty base_namespace option value to fix #34113 (#34137) 2023-08-29 14:24:52 +00:00
csharp_plugin.cc Mark grpc generators for editions support. 2024-03-14 10:52:00 -07:00
generator_helpers.h [codegen] Escape '$' delimiter in proto comments (#32411) 2023-02-15 19:53:32 -08:00
node_generator.cc Adjust include order per style guide (#27175) 2021-09-08 12:14:44 -07:00
node_generator.h Replaced grpc::string with std::string 2020-06-29 17:56:36 -07:00
node_generator_helpers.h Replaced grpc::string with std::string 2020-06-29 17:56:36 -07:00
node_plugin.cc Replaced grpc::string with std::string 2020-06-29 17:56:36 -07:00
objective_c_generator.cc [protobuf] Upgrade third_party/protobuf to 22.x (#32606) 2023-04-12 18:43:58 +02:00
objective_c_generator.h [obj-c] Drop remaining usages of 'using std::string' (#31517) 2023-06-19 13:00:56 -07:00
objective_c_generator_helpers.h [obj-c] Drop remaining usages of 'using std::string' (#31517) 2023-06-19 13:00:56 -07:00
objective_c_plugin.cc Mark grpc generators for editions support. 2024-03-14 10:52:00 -07:00
php_generator.cc [PHP] Add @deprecated tag in PHP generated methods and services (#32652) 2023-05-17 02:54:53 +00:00
php_generator.h PHP: php server commit 4/n, add RpcServer, generator and server examples (#25640) 2021-05-01 01:07:44 -07:00
php_generator_helpers.h [PHP] Fix path munging when package is absent (#33126) 2023-05-15 14:34:40 -07:00
php_plugin.cc Mark grpc generators for editions support. 2024-03-14 10:52:00 -07:00
proto_parser_helper.cc [codegen] Escape '$' delimiter in proto comments (#32411) 2023-02-15 19:53:32 -08:00
proto_parser_helper.h [codegen] Escape '$' delimiter in proto comments (#32411) 2023-02-15 19:53:32 -08:00
protobuf_plugin.h Adjust include order per style guide (#27175) 2021-09-08 12:14:44 -07:00
python_generator.cc [Python Otel] Use registered method at server side (#36371) 2024-05-01 14:43:15 -07:00
python_generator.h Mark grpc generators for editions support. 2024-03-14 10:52:00 -07:00
python_generator_helpers.h Pointing the protobuf submodule to the new URL (#26811) 2021-07-29 10:19:16 -07:00
python_plugin.cc auto-fix most of licenses 2017-06-08 11:22:41 +02:00
python_private_generator.h Replaced grpc::string with std::string 2020-06-29 17:56:36 -07:00
ruby_generator.cc [Ruby] rubify type names start with lower case or non-alpha characters (#32604) 2023-04-15 03:25:50 +00:00
ruby_generator.h Replaced grpc::string with std::string 2020-06-29 17:56:36 -07:00
ruby_generator_helpers-inl.h Replaced grpc::string with std::string 2020-06-29 17:56:36 -07:00
ruby_generator_map-inl.h Adjust include order per style guide (#27175) 2021-09-08 12:14:44 -07:00
ruby_generator_string-inl.h [Ruby] rubify type names start with lower case or non-alpha characters (#32604) 2023-04-15 03:25:50 +00:00
ruby_plugin.cc Mark grpc generators for editions support. 2024-03-14 10:52:00 -07:00
schema_interface.h Adjust include order per style guide (#27175) 2021-09-08 12:14:44 -07:00

README.md

Overview

This directory contains source code for gRPC protocol buffer compiler (protoc) plugins. Along with protoc, these plugins are used to generate gRPC client and server stubs from .proto files.