/src/brpc/build/idl_options.pb.cc
Line | Count | Source |
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/io/coded_stream.h> |
9 | | #include <google/protobuf/extension_set.h> |
10 | | #include <google/protobuf/wire_format_lite.h> |
11 | | #include <google/protobuf/descriptor.h> |
12 | | #include <google/protobuf/generated_message_reflection.h> |
13 | | #include <google/protobuf/reflection_ops.h> |
14 | | #include <google/protobuf/wire_format.h> |
15 | | // @@protoc_insertion_point(includes) |
16 | | #include <google/protobuf/port_def.inc> |
17 | | |
18 | | PROTOBUF_PRAGMA_INIT_SEG |
19 | | |
20 | | namespace _pb = ::PROTOBUF_NAMESPACE_ID; |
21 | | namespace _pbi = _pb::internal; |
22 | | |
23 | | static const ::_pb::EnumDescriptor* file_level_enum_descriptors_idl_5foptions_2eproto[1]; |
24 | | static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_idl_5foptions_2eproto = nullptr; |
25 | | const uint32_t TableStruct_idl_5foptions_2eproto::offsets[1] = {}; |
26 | | static constexpr ::_pbi::MigrationSchema* schemas = nullptr; |
27 | | static constexpr ::_pb::Message* const* file_default_instances = nullptr; |
28 | | |
29 | | const char descriptor_table_protodef_idl_5foptions_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = |
30 | | "\n\021idl_options.proto\032 google/protobuf/des" |
31 | | "criptor.proto*\351\001\n\022ConvertibleIdlType\022\014\n\010" |
32 | | "IDL_AUTO\020\000\022\014\n\010IDL_INT8\020\001\022\r\n\tIDL_INT16\020\002\022" |
33 | | "\r\n\tIDL_INT32\020\003\022\r\n\tIDL_INT64\020\004\022\r\n\tIDL_UIN" |
34 | | "T8\020\005\022\016\n\nIDL_UINT16\020\006\022\016\n\nIDL_UINT32\020\007\022\016\n\n" |
35 | | "IDL_UINT64\020\010\022\014\n\010IDL_BOOL\020\t\022\r\n\tIDL_FLOAT\020" |
36 | | "\n\022\016\n\nIDL_DOUBLE\020\013\022\016\n\nIDL_BINARY\020\014\022\016\n\nIDL" |
37 | | "_STRING\020\r:3\n\013idl_support\022\034.google.protob" |
38 | | "uf.FileOptions\030\370\306\005 \001(\010:F\n\010idl_type\022\035.goo" |
39 | | "gle.protobuf.FieldOptions\030\371\306\005 \001(\0162\023.Conv" |
40 | | "ertibleIdlType:/\n\006idl_on\022\035.google.protob" |
41 | | "uf.FieldOptions\030\372\306\005 \001(\005:1\n\010idl_name\022\035.go" |
42 | | "ogle.protobuf.FieldOptions\030\373\306\005 \001(\t" |
43 | | ; |
44 | | static const ::_pbi::DescriptorTable* const descriptor_table_idl_5foptions_2eproto_deps[1] = { |
45 | | &::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, |
46 | | }; |
47 | | static ::_pbi::once_flag descriptor_table_idl_5foptions_2eproto_once; |
48 | | const ::_pbi::DescriptorTable descriptor_table_idl_5foptions_2eproto = { |
49 | | false, false, 514, descriptor_table_protodef_idl_5foptions_2eproto, |
50 | | "idl_options.proto", |
51 | | &descriptor_table_idl_5foptions_2eproto_once, descriptor_table_idl_5foptions_2eproto_deps, 1, 0, |
52 | | schemas, file_default_instances, TableStruct_idl_5foptions_2eproto::offsets, |
53 | | nullptr, file_level_enum_descriptors_idl_5foptions_2eproto, |
54 | | file_level_service_descriptors_idl_5foptions_2eproto, |
55 | | }; |
56 | 0 | PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_idl_5foptions_2eproto_getter() { |
57 | 0 | return &descriptor_table_idl_5foptions_2eproto; |
58 | 0 | } |
59 | | |
60 | | // Force running AddDescriptors() at dynamic initialization time. |
61 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_idl_5foptions_2eproto(&descriptor_table_idl_5foptions_2eproto); |
62 | 0 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ConvertibleIdlType_descriptor() { |
63 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_idl_5foptions_2eproto); |
64 | 0 | return file_level_enum_descriptors_idl_5foptions_2eproto[0]; |
65 | 0 | } |
66 | 0 | bool ConvertibleIdlType_IsValid(int value) { |
67 | 0 | switch (value) { |
68 | 0 | case 0: |
69 | 0 | case 1: |
70 | 0 | case 2: |
71 | 0 | case 3: |
72 | 0 | case 4: |
73 | 0 | case 5: |
74 | 0 | case 6: |
75 | 0 | case 7: |
76 | 0 | case 8: |
77 | 0 | case 9: |
78 | 0 | case 10: |
79 | 0 | case 11: |
80 | 0 | case 12: |
81 | 0 | case 13: |
82 | 0 | return true; |
83 | 0 | default: |
84 | 0 | return false; |
85 | 0 | } |
86 | 0 | } |
87 | | |
88 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FileOptions, |
89 | | ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< bool >, 8, false> |
90 | | idl_support(kIdlSupportFieldNumber, false, nullptr); |
91 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, |
92 | | ::PROTOBUF_NAMESPACE_ID::internal::EnumTypeTraits< ::ConvertibleIdlType, ::ConvertibleIdlType_IsValid>, 14, false> |
93 | | idl_type(kIdlTypeFieldNumber, static_cast< ::ConvertibleIdlType >(0), nullptr); |
94 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, |
95 | | ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< int32_t >, 5, false> |
96 | | idl_on(kIdlOnFieldNumber, 0, nullptr); |
97 | | const std::string idl_name_default(""); |
98 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, |
99 | | ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false> |
100 | | idl_name(kIdlNameFieldNumber, idl_name_default, nullptr); |
101 | | |
102 | | // @@protoc_insertion_point(namespace_scope) |
103 | | PROTOBUF_NAMESPACE_OPEN |
104 | | PROTOBUF_NAMESPACE_CLOSE |
105 | | |
106 | | // @@protoc_insertion_point(global_scope) |
107 | | #include <google/protobuf/port_undef.inc> |