Go to the documentation of this file.
19 #ifndef GRPCPP_IMPL_CODEGEN_CONFIG_PROTOBUF_H
20 #define GRPCPP_IMPL_CODEGEN_CONFIG_PROTOBUF_H
26 #define GRPC_PROTOBUF_CORD_SUPPORT_ENABLED
28 #ifndef GRPC_CUSTOM_MESSAGE
29 #ifdef GRPC_USE_PROTO_LITE
30 #include <google/protobuf/message_lite.h>
31 #define GRPC_CUSTOM_MESSAGE ::google::protobuf::MessageLite
32 #define GRPC_CUSTOM_MESSAGELITE ::google::protobuf::MessageLite
34 #include <google/protobuf/message.h>
35 #define GRPC_CUSTOM_MESSAGE ::google::protobuf::Message
36 #define GRPC_CUSTOM_MESSAGELITE ::google::protobuf::MessageLite
40 #ifndef GRPC_CUSTOM_DESCRIPTOR
41 #include <google/protobuf/descriptor.h>
42 #include <google/protobuf/descriptor.pb.h>
43 #if !defined(GOOGLE_PROTOBUF_VERSION) || GOOGLE_PROTOBUF_VERSION >= 4025000
44 #define GRPC_PROTOBUF_EDITION_SUPPORT
46 #define GRPC_CUSTOM_DESCRIPTOR ::google::protobuf::Descriptor
47 #define GRPC_CUSTOM_DESCRIPTORPOOL ::google::protobuf::DescriptorPool
48 #ifdef GRPC_PROTOBUF_EDITION_SUPPORT
49 #define GRPC_CUSTOM_EDITION ::google::protobuf::Edition
51 #define GRPC_CUSTOM_FIELDDESCRIPTOR ::google::protobuf::FieldDescriptor
52 #define GRPC_CUSTOM_FILEDESCRIPTOR ::google::protobuf::FileDescriptor
53 #define GRPC_CUSTOM_FILEDESCRIPTORPROTO ::google::protobuf::FileDescriptorProto
54 #define GRPC_CUSTOM_METHODDESCRIPTOR ::google::protobuf::MethodDescriptor
55 #define GRPC_CUSTOM_SERVICEDESCRIPTOR ::google::protobuf::ServiceDescriptor
56 #define GRPC_CUSTOM_SOURCELOCATION ::google::protobuf::SourceLocation
59 #ifndef GRPC_CUSTOM_DESCRIPTORDATABASE
60 #include <google/protobuf/descriptor_database.h>
61 #define GRPC_CUSTOM_DESCRIPTORDATABASE ::google::protobuf::DescriptorDatabase
62 #define GRPC_CUSTOM_SIMPLEDESCRIPTORDATABASE \
63 ::google::protobuf::SimpleDescriptorDatabase
66 #ifndef GRPC_CUSTOM_ZEROCOPYOUTPUTSTREAM
67 #include <google/protobuf/io/coded_stream.h>
68 #include <google/protobuf/io/zero_copy_stream.h>
69 #define GRPC_CUSTOM_ZEROCOPYOUTPUTSTREAM \
70 ::google::protobuf::io::ZeroCopyOutputStream
71 #define GRPC_CUSTOM_ZEROCOPYINPUTSTREAM \
72 ::google::protobuf::io::ZeroCopyInputStream
73 #define GRPC_CUSTOM_CODEDINPUTSTREAM ::google::protobuf::io::CodedInputStream
74 #define GRPC_CUSTOM_CODEDOUTPUTSTREAM ::google::protobuf::io::CodedOutputStream
77 #ifndef GRPC_CUSTOM_JSONUTIL
78 #include <google/protobuf/util/json_util.h>
79 #include <google/protobuf/util/type_resolver_util.h>
81 #include "absl/status/status.h"
82 #define GRPC_CUSTOM_JSONUTIL ::google::protobuf::util
83 #define GRPC_CUSTOM_UTIL_STATUS ::absl::Status
95 #ifdef GRPC_PROTOBUF_EDITION_SUPPORT
123 #endif // GRPCPP_IMPL_CODEGEN_CONFIG_PROTOBUF_H
::google::protobuf::FieldDescriptor FieldDescriptor
Definition: config_protobuf.h:98
#define GRPC_CUSTOM_SERVICEDESCRIPTOR
Definition: config_protobuf.h:55
#define GRPC_CUSTOM_FILEDESCRIPTOR
Definition: config_protobuf.h:52
An Alarm posts the user-provided tag to its associated completion queue or invokes the user-provided ...
Definition: alarm.h:33
#define GRPC_CUSTOM_FILEDESCRIPTORPROTO
Definition: config_protobuf.h:53
::google::protobuf::io::ZeroCopyOutputStream ZeroCopyOutputStream
Definition: config_protobuf.h:114
#define GRPC_CUSTOM_ZEROCOPYINPUTSTREAM
Definition: config_protobuf.h:71
#define GRPC_CUSTOM_DESCRIPTORPOOL
Definition: config_protobuf.h:47
::google::protobuf::io::ZeroCopyInputStream ZeroCopyInputStream
Definition: config_protobuf.h:115
::google::protobuf::FileDescriptorProto FileDescriptorProto
Definition: config_protobuf.h:100
::google::protobuf::io::CodedInputStream CodedInputStream
Definition: config_protobuf.h:116
::google::protobuf::FileDescriptor FileDescriptor
Definition: config_protobuf.h:99
#define GRPC_CUSTOM_EDITION
Definition: config_protobuf.h:49
#define GRPC_CUSTOM_DESCRIPTORDATABASE
Definition: config_protobuf.h:61
#define GRPC_CUSTOM_MESSAGELITE
Definition: config_protobuf.h:36
#define GRPC_CUSTOM_FIELDDESCRIPTOR
Definition: config_protobuf.h:51
::google::protobuf::Edition Edition
Definition: config_protobuf.h:96
#define GRPC_CUSTOM_METHODDESCRIPTOR
Definition: config_protobuf.h:54
#define GRPC_CUSTOM_CODEDINPUTSTREAM
Definition: config_protobuf.h:73
#define GRPC_CUSTOM_SIMPLEDESCRIPTORDATABASE
Definition: config_protobuf.h:62
::google::protobuf::ServiceDescriptor ServiceDescriptor
Definition: config_protobuf.h:102
::google::protobuf::DescriptorPool DescriptorPool
Definition: config_protobuf.h:93
#define GRPC_CUSTOM_UTIL_STATUS
Definition: config_protobuf.h:83
::google::protobuf::DescriptorDatabase DescriptorDatabase
Definition: config_protobuf.h:94
#define GRPC_CUSTOM_ZEROCOPYOUTPUTSTREAM
Definition: config_protobuf.h:69
::google::protobuf::SimpleDescriptorDatabase SimpleDescriptorDatabase
Definition: config_protobuf.h:103
::google::protobuf::io::CodedOutputStream CodedOutputStream
Definition: config_protobuf.h:117
#define GRPC_CUSTOM_MESSAGE
Definition: config_protobuf.h:35
#define GRPC_CUSTOM_CODEDOUTPUTSTREAM
Definition: config_protobuf.h:74
#define GRPC_CUSTOM_SOURCELOCATION
Definition: config_protobuf.h:56
#define GRPC_CUSTOM_DESCRIPTOR
Definition: config_protobuf.h:46
::google::protobuf::Descriptor Descriptor
Definition: config_protobuf.h:92
::google::protobuf::SourceLocation SourceLocation
Definition: config_protobuf.h:104
::google::protobuf::Message Message
Definition: config_protobuf.h:89
::absl::Status Status
Definition: config_protobuf.h:107
#define GRPC_CUSTOM_JSONUTIL
Definition: config_protobuf.h:82
::google::protobuf::MethodDescriptor MethodDescriptor
Definition: config_protobuf.h:101
::google::protobuf::MessageLite MessageLite
Definition: config_protobuf.h:90