include/grpcpp/impl/codegen/config_protobuf.h
Go to the documentation of this file.
1 /*
2  *
3  * Copyright 2015 gRPC authors.
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  */
18 
19 #ifndef GRPCPP_IMPL_CODEGEN_CONFIG_PROTOBUF_H
20 #define GRPCPP_IMPL_CODEGEN_CONFIG_PROTOBUF_H
21 
22 // IWYU pragma: private
23 
24 #define GRPC_OPEN_SOURCE_PROTO
25 
26 #ifndef GRPC_CUSTOM_MESSAGE
27 #ifdef GRPC_USE_PROTO_LITE
28 #include <google/protobuf/message_lite.h>
29 #define GRPC_CUSTOM_MESSAGE ::google::protobuf::MessageLite
30 #define GRPC_CUSTOM_MESSAGELITE ::google::protobuf::MessageLite
31 #else
32 #include <google/protobuf/message.h>
33 #define GRPC_CUSTOM_MESSAGE ::google::protobuf::Message
34 #define GRPC_CUSTOM_MESSAGELITE ::google::protobuf::MessageLite
35 #endif
36 #endif
37 
38 #ifndef GRPC_CUSTOM_DESCRIPTOR
39 #include <google/protobuf/descriptor.h>
40 #include <google/protobuf/descriptor.pb.h>
41 #define GRPC_CUSTOM_DESCRIPTOR ::google::protobuf::Descriptor
42 #define GRPC_CUSTOM_DESCRIPTORPOOL ::google::protobuf::DescriptorPool
43 #define GRPC_CUSTOM_FIELDDESCRIPTOR ::google::protobuf::FieldDescriptor
44 #define GRPC_CUSTOM_FILEDESCRIPTOR ::google::protobuf::FileDescriptor
45 #define GRPC_CUSTOM_FILEDESCRIPTORPROTO ::google::protobuf::FileDescriptorProto
46 #define GRPC_CUSTOM_METHODDESCRIPTOR ::google::protobuf::MethodDescriptor
47 #define GRPC_CUSTOM_SERVICEDESCRIPTOR ::google::protobuf::ServiceDescriptor
48 #define GRPC_CUSTOM_SOURCELOCATION ::google::protobuf::SourceLocation
49 #endif
50 
51 #ifndef GRPC_CUSTOM_DESCRIPTORDATABASE
52 #include <google/protobuf/descriptor_database.h>
53 #define GRPC_CUSTOM_DESCRIPTORDATABASE ::google::protobuf::DescriptorDatabase
54 #define GRPC_CUSTOM_SIMPLEDESCRIPTORDATABASE \
55  ::google::protobuf::SimpleDescriptorDatabase
56 #endif
57 
58 #ifndef GRPC_CUSTOM_ZEROCOPYOUTPUTSTREAM
59 #include <google/protobuf/io/coded_stream.h>
60 #include <google/protobuf/io/zero_copy_stream.h>
61 #define GRPC_CUSTOM_ZEROCOPYOUTPUTSTREAM \
62  ::google::protobuf::io::ZeroCopyOutputStream
63 #define GRPC_CUSTOM_ZEROCOPYINPUTSTREAM \
64  ::google::protobuf::io::ZeroCopyInputStream
65 #define GRPC_CUSTOM_CODEDINPUTSTREAM ::google::protobuf::io::CodedInputStream
66 #endif
67 
68 #ifndef GRPC_CUSTOM_JSONUTIL
69 #include <google/protobuf/util/json_util.h>
70 #include <google/protobuf/util/type_resolver_util.h>
71 #define GRPC_CUSTOM_JSONUTIL ::google::protobuf::util
72 #define GRPC_CUSTOM_UTIL_STATUS ::google::protobuf::util::Status
73 #endif
74 
75 namespace grpc {
76 namespace protobuf {
77 
80 
91 
92 namespace util {
94 } // namespace util
95 
96 // NOLINTNEXTLINE(misc-unused-alias-decls)
97 namespace json = GRPC_CUSTOM_JSONUTIL;
98 
99 namespace io {
103 } // namespace io
104 
105 } // namespace protobuf
106 } // namespace grpc
107 
108 #endif // GRPCPP_IMPL_CODEGEN_CONFIG_PROTOBUF_H
GRPC_CUSTOM_CODEDINPUTSTREAM
#define GRPC_CUSTOM_CODEDINPUTSTREAM
Definition: include/grpcpp/impl/codegen/config_protobuf.h:65
grpc::protobuf::FileDescriptor
GRPC_CUSTOM_FILEDESCRIPTOR FileDescriptor
Definition: include/grpcpp/impl/codegen/config_protobuf.h:85
grpc
Definition: grpcpp/alarm.h:33
grpc::protobuf::io::ZeroCopyInputStream
GRPC_CUSTOM_ZEROCOPYINPUTSTREAM ZeroCopyInputStream
Definition: include/grpcpp/impl/codegen/config_protobuf.h:101
GRPC_CUSTOM_FILEDESCRIPTORPROTO
#define GRPC_CUSTOM_FILEDESCRIPTORPROTO
Definition: include/grpcpp/impl/codegen/config_protobuf.h:45
grpc::protobuf::Message
GRPC_CUSTOM_MESSAGE Message
Definition: include/grpcpp/impl/codegen/config_protobuf.h:78
grpc::protobuf::FieldDescriptor
GRPC_CUSTOM_FIELDDESCRIPTOR FieldDescriptor
Definition: include/grpcpp/impl/codegen/config_protobuf.h:84
google::protobuf
Definition: bloaty/third_party/protobuf/benchmarks/util/data_proto2_to_proto3_util.h:12
grpc::protobuf::io::ZeroCopyOutputStream
GRPC_CUSTOM_ZEROCOPYOUTPUTSTREAM ZeroCopyOutputStream
Definition: include/grpcpp/impl/codegen/config_protobuf.h:100
grpc::protobuf::DescriptorPool
GRPC_CUSTOM_DESCRIPTORPOOL DescriptorPool
Definition: include/grpcpp/impl/codegen/config_protobuf.h:82
GRPC_CUSTOM_MESSAGELITE
#define GRPC_CUSTOM_MESSAGELITE
Definition: include/grpcpp/impl/codegen/config_protobuf.h:34
grpc::protobuf::SimpleDescriptorDatabase
GRPC_CUSTOM_SIMPLEDESCRIPTORDATABASE SimpleDescriptorDatabase
Definition: include/grpcpp/impl/codegen/config_protobuf.h:89
GRPC_CUSTOM_DESCRIPTOR
#define GRPC_CUSTOM_DESCRIPTOR
Definition: include/grpcpp/impl/codegen/config_protobuf.h:41
GRPC_CUSTOM_FIELDDESCRIPTOR
#define GRPC_CUSTOM_FIELDDESCRIPTOR
Definition: include/grpcpp/impl/codegen/config_protobuf.h:43
GRPC_CUSTOM_ZEROCOPYOUTPUTSTREAM
#define GRPC_CUSTOM_ZEROCOPYOUTPUTSTREAM
Definition: include/grpcpp/impl/codegen/config_protobuf.h:61
grpc::protobuf::MessageLite
GRPC_CUSTOM_MESSAGELITE MessageLite
Definition: include/grpcpp/impl/codegen/config_protobuf.h:79
grpc::protobuf::MethodDescriptor
GRPC_CUSTOM_METHODDESCRIPTOR MethodDescriptor
Definition: include/grpcpp/impl/codegen/config_protobuf.h:87
GRPC_CUSTOM_FILEDESCRIPTOR
#define GRPC_CUSTOM_FILEDESCRIPTOR
Definition: include/grpcpp/impl/codegen/config_protobuf.h:44
grpc::protobuf::io::CodedInputStream
GRPC_CUSTOM_CODEDINPUTSTREAM CodedInputStream
Definition: include/grpcpp/impl/codegen/config_protobuf.h:102
io
grpc::protobuf::DescriptorDatabase
GRPC_CUSTOM_DESCRIPTORDATABASE DescriptorDatabase
Definition: include/grpcpp/impl/codegen/config_protobuf.h:83
GRPC_CUSTOM_DESCRIPTORDATABASE
#define GRPC_CUSTOM_DESCRIPTORDATABASE
Definition: include/grpcpp/impl/codegen/config_protobuf.h:53
GRPC_CUSTOM_MESSAGE
#define GRPC_CUSTOM_MESSAGE
Definition: include/grpcpp/impl/codegen/config_protobuf.h:33
GRPC_CUSTOM_ZEROCOPYINPUTSTREAM
#define GRPC_CUSTOM_ZEROCOPYINPUTSTREAM
Definition: include/grpcpp/impl/codegen/config_protobuf.h:63
grpc::protobuf::util::Status
GRPC_CUSTOM_UTIL_STATUS Status
Definition: include/grpcpp/impl/codegen/config_protobuf.h:93
GRPC_CUSTOM_SOURCELOCATION
#define GRPC_CUSTOM_SOURCELOCATION
Definition: include/grpcpp/impl/codegen/config_protobuf.h:48
grpc::protobuf::SourceLocation
GRPC_CUSTOM_SOURCELOCATION SourceLocation
Definition: include/grpcpp/impl/codegen/config_protobuf.h:90
grpc::protobuf::FileDescriptorProto
GRPC_CUSTOM_FILEDESCRIPTORPROTO FileDescriptorProto
Definition: include/grpcpp/impl/codegen/config_protobuf.h:86
GRPC_CUSTOM_SERVICEDESCRIPTOR
#define GRPC_CUSTOM_SERVICEDESCRIPTOR
Definition: include/grpcpp/impl/codegen/config_protobuf.h:47
GRPC_CUSTOM_SIMPLEDESCRIPTORDATABASE
#define GRPC_CUSTOM_SIMPLEDESCRIPTORDATABASE
Definition: include/grpcpp/impl/codegen/config_protobuf.h:54
GRPC_CUSTOM_DESCRIPTORPOOL
#define GRPC_CUSTOM_DESCRIPTORPOOL
Definition: include/grpcpp/impl/codegen/config_protobuf.h:42
GRPC_CUSTOM_METHODDESCRIPTOR
#define GRPC_CUSTOM_METHODDESCRIPTOR
Definition: include/grpcpp/impl/codegen/config_protobuf.h:46
grpc::protobuf::Descriptor
GRPC_CUSTOM_DESCRIPTOR Descriptor
Definition: include/grpcpp/impl/codegen/config_protobuf.h:81
grpc::protobuf::ServiceDescriptor
GRPC_CUSTOM_SERVICEDESCRIPTOR ServiceDescriptor
Definition: include/grpcpp/impl/codegen/config_protobuf.h:88
GRPC_CUSTOM_UTIL_STATUS
#define GRPC_CUSTOM_UTIL_STATUS
Definition: include/grpcpp/impl/codegen/config_protobuf.h:72
GRPC_CUSTOM_JSONUTIL
#define GRPC_CUSTOM_JSONUTIL
Definition: include/grpcpp/impl/codegen/config_protobuf.h:71


grpc
Author(s):
autogenerated on Fri May 16 2025 02:58:00