/src/brpc/build/idl_options.pb.cc
Line | Count | Source (jump to first uncovered line) |
1 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | | // source: idl_options.proto |
3 | | |
4 | | #include "idl_options.pb.h" |
5 | | |
6 | | #include <algorithm> |
7 | | |
8 | | #include <google/protobuf/stubs/common.h> |
9 | | #include <google/protobuf/stubs/port.h> |
10 | | #include <google/protobuf/io/coded_stream.h> |
11 | | #include <google/protobuf/wire_format_lite_inl.h> |
12 | | #include <google/protobuf/descriptor.h> |
13 | | #include <google/protobuf/generated_message_reflection.h> |
14 | | #include <google/protobuf/reflection_ops.h> |
15 | | #include <google/protobuf/wire_format.h> |
16 | | // This is a temporary google only hack |
17 | | #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS |
18 | | #include "third_party/protobuf/version.h" |
19 | | #endif |
20 | | // @@protoc_insertion_point(includes) |
21 | | |
22 | | namespace protobuf_idl_5foptions_2eproto { |
23 | 2 | void InitDefaults() { |
24 | 2 | } |
25 | | |
26 | | const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[1]; |
27 | | const ::google::protobuf::uint32 TableStruct::offsets[1] = {}; |
28 | | static const ::google::protobuf::internal::MigrationSchema* schemas = NULL; |
29 | | static const ::google::protobuf::Message* const* file_default_instances = NULL; |
30 | | |
31 | 0 | void protobuf_AssignDescriptors() { |
32 | 0 | AddDescriptors(); |
33 | 0 | AssignDescriptors( |
34 | 0 | "idl_options.proto", schemas, file_default_instances, TableStruct::offsets, |
35 | 0 | NULL, file_level_enum_descriptors, NULL); |
36 | 0 | } |
37 | | |
38 | 0 | void protobuf_AssignDescriptorsOnce() { |
39 | 0 | static ::google::protobuf::internal::once_flag once; |
40 | 0 | ::google::protobuf::internal::call_once(once, protobuf_AssignDescriptors); |
41 | 0 | } |
42 | | |
43 | | void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD; |
44 | 0 | void protobuf_RegisterTypes(const ::std::string&) { |
45 | 0 | protobuf_AssignDescriptorsOnce(); |
46 | 0 | } |
47 | | |
48 | 2 | void AddDescriptorsImpl() { |
49 | 2 | InitDefaults(); |
50 | 2 | static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { |
51 | 2 | "\n\021idl_options.proto\032 google/protobuf/des" |
52 | 2 | "criptor.proto*\351\001\n\022ConvertibleIdlType\022\014\n\010" |
53 | 2 | "IDL_AUTO\020\000\022\014\n\010IDL_INT8\020\001\022\r\n\tIDL_INT16\020\002\022" |
54 | 2 | "\r\n\tIDL_INT32\020\003\022\r\n\tIDL_INT64\020\004\022\r\n\tIDL_UIN" |
55 | 2 | "T8\020\005\022\016\n\nIDL_UINT16\020\006\022\016\n\nIDL_UINT32\020\007\022\016\n\n" |
56 | 2 | "IDL_UINT64\020\010\022\014\n\010IDL_BOOL\020\t\022\r\n\tIDL_FLOAT\020" |
57 | 2 | "\n\022\016\n\nIDL_DOUBLE\020\013\022\016\n\nIDL_BINARY\020\014\022\016\n\nIDL" |
58 | 2 | "_STRING\020\r:3\n\013idl_support\022\034.google.protob" |
59 | 2 | "uf.FileOptions\030\370\306\005 \001(\010:F\n\010idl_type\022\035.goo" |
60 | 2 | "gle.protobuf.FieldOptions\030\371\306\005 \001(\0162\023.Conv" |
61 | 2 | "ertibleIdlType:/\n\006idl_on\022\035.google.protob" |
62 | 2 | "uf.FieldOptions\030\372\306\005 \001(\005:1\n\010idl_name\022\035.go" |
63 | 2 | "ogle.protobuf.FieldOptions\030\373\306\005 \001(\t" |
64 | 2 | }; |
65 | 2 | ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( |
66 | 2 | descriptor, 514); |
67 | 2 | ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( |
68 | 2 | "idl_options.proto", &protobuf_RegisterTypes); |
69 | 2 | ::protobuf_google_2fprotobuf_2fdescriptor_2eproto::AddDescriptors(); |
70 | 2 | } |
71 | | |
72 | 4 | void AddDescriptors() { |
73 | 4 | static ::google::protobuf::internal::once_flag once; |
74 | 4 | ::google::protobuf::internal::call_once(once, AddDescriptorsImpl); |
75 | 4 | } |
76 | | // Force AddDescriptors() to be called at dynamic initialization time. |
77 | | struct StaticDescriptorInitializer { |
78 | 2 | StaticDescriptorInitializer() { |
79 | 2 | AddDescriptors(); |
80 | 2 | } |
81 | | } static_descriptor_initializer; |
82 | | } // namespace protobuf_idl_5foptions_2eproto |
83 | 0 | const ::google::protobuf::EnumDescriptor* ConvertibleIdlType_descriptor() { |
84 | 0 | protobuf_idl_5foptions_2eproto::protobuf_AssignDescriptorsOnce(); |
85 | 0 | return protobuf_idl_5foptions_2eproto::file_level_enum_descriptors[0]; |
86 | 0 | } |
87 | 0 | bool ConvertibleIdlType_IsValid(int value) { |
88 | 0 | switch (value) { |
89 | 0 | case 0: |
90 | 0 | case 1: |
91 | 0 | case 2: |
92 | 0 | case 3: |
93 | 0 | case 4: |
94 | 0 | case 5: |
95 | 0 | case 6: |
96 | 0 | case 7: |
97 | 0 | case 8: |
98 | 0 | case 9: |
99 | 0 | case 10: |
100 | 0 | case 11: |
101 | 0 | case 12: |
102 | 0 | case 13: |
103 | 0 | return true; |
104 | 0 | default: |
105 | 0 | return false; |
106 | 0 | } |
107 | 0 | } |
108 | | |
109 | | ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::FileOptions, |
110 | | ::google::protobuf::internal::PrimitiveTypeTraits< bool >, 8, false > |
111 | | idl_support(kIdlSupportFieldNumber, false); |
112 | | ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::FieldOptions, |
113 | | ::google::protobuf::internal::EnumTypeTraits< ::ConvertibleIdlType, ::ConvertibleIdlType_IsValid>, 14, false > |
114 | | idl_type(kIdlTypeFieldNumber, static_cast< ::ConvertibleIdlType >(0)); |
115 | | ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::FieldOptions, |
116 | | ::google::protobuf::internal::PrimitiveTypeTraits< ::google::protobuf::int32 >, 5, false > |
117 | | idl_on(kIdlOnFieldNumber, 0); |
118 | | const ::std::string idl_name_default(""); |
119 | | ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::FieldOptions, |
120 | | ::google::protobuf::internal::StringTypeTraits, 9, false > |
121 | | idl_name(kIdlNameFieldNumber, idl_name_default); |
122 | | |
123 | | // @@protoc_insertion_point(namespace_scope) |
124 | | namespace google { |
125 | | namespace protobuf { |
126 | | } // namespace protobuf |
127 | | } // namespace google |
128 | | |
129 | | // @@protoc_insertion_point(global_scope) |