/src/brpc/build/idl_options.pb.h
Line | Count | Source |
1 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | | // source: idl_options.proto |
3 | | |
4 | | #ifndef GOOGLE_PROTOBUF_INCLUDED_idl_5foptions_2eproto |
5 | | #define GOOGLE_PROTOBUF_INCLUDED_idl_5foptions_2eproto |
6 | | |
7 | | #include <limits> |
8 | | #include <string> |
9 | | |
10 | | #include <google/protobuf/port_def.inc> |
11 | | #if PROTOBUF_VERSION < 3021000 |
12 | | #error This file was generated by a newer version of protoc which is |
13 | | #error incompatible with your Protocol Buffer headers. Please update |
14 | | #error your headers. |
15 | | #endif |
16 | | #if 3021012 < PROTOBUF_MIN_PROTOC_VERSION |
17 | | #error This file was generated by an older version of protoc which is |
18 | | #error incompatible with your Protocol Buffer headers. Please |
19 | | #error regenerate this file with a newer version of protoc. |
20 | | #endif |
21 | | |
22 | | #include <google/protobuf/port_undef.inc> |
23 | | #include <google/protobuf/io/coded_stream.h> |
24 | | #include <google/protobuf/arena.h> |
25 | | #include <google/protobuf/arenastring.h> |
26 | | #include <google/protobuf/generated_message_util.h> |
27 | | #include <google/protobuf/metadata_lite.h> |
28 | | #include <google/protobuf/generated_message_reflection.h> |
29 | | #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
30 | | #include <google/protobuf/extension_set.h> // IWYU pragma: export |
31 | | #include <google/protobuf/generated_enum_reflection.h> |
32 | | #include <google/protobuf/descriptor.pb.h> |
33 | | // @@protoc_insertion_point(includes) |
34 | | #include <google/protobuf/port_def.inc> |
35 | | #define PROTOBUF_INTERNAL_EXPORT_idl_5foptions_2eproto |
36 | | PROTOBUF_NAMESPACE_OPEN |
37 | | namespace internal { |
38 | | class AnyMetadata; |
39 | | } // namespace internal |
40 | | PROTOBUF_NAMESPACE_CLOSE |
41 | | |
42 | | // Internal implementation detail -- do not use these members. |
43 | | struct TableStruct_idl_5foptions_2eproto { |
44 | | static const uint32_t offsets[]; |
45 | | }; |
46 | | extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_idl_5foptions_2eproto; |
47 | | PROTOBUF_NAMESPACE_OPEN |
48 | | PROTOBUF_NAMESPACE_CLOSE |
49 | | |
50 | | enum ConvertibleIdlType : int { |
51 | | IDL_AUTO = 0, |
52 | | IDL_INT8 = 1, |
53 | | IDL_INT16 = 2, |
54 | | IDL_INT32 = 3, |
55 | | IDL_INT64 = 4, |
56 | | IDL_UINT8 = 5, |
57 | | IDL_UINT16 = 6, |
58 | | IDL_UINT32 = 7, |
59 | | IDL_UINT64 = 8, |
60 | | IDL_BOOL = 9, |
61 | | IDL_FLOAT = 10, |
62 | | IDL_DOUBLE = 11, |
63 | | IDL_BINARY = 12, |
64 | | IDL_STRING = 13 |
65 | | }; |
66 | | bool ConvertibleIdlType_IsValid(int value); |
67 | | constexpr ConvertibleIdlType ConvertibleIdlType_MIN = IDL_AUTO; |
68 | | constexpr ConvertibleIdlType ConvertibleIdlType_MAX = IDL_STRING; |
69 | | constexpr int ConvertibleIdlType_ARRAYSIZE = ConvertibleIdlType_MAX + 1; |
70 | | |
71 | | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ConvertibleIdlType_descriptor(); |
72 | | template<typename T> |
73 | | inline const std::string& ConvertibleIdlType_Name(T enum_t_value) { |
74 | | static_assert(::std::is_same<T, ConvertibleIdlType>::value || |
75 | | ::std::is_integral<T>::value, |
76 | | "Incorrect type passed to function ConvertibleIdlType_Name."); |
77 | | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
78 | | ConvertibleIdlType_descriptor(), enum_t_value); |
79 | | } |
80 | | inline bool ConvertibleIdlType_Parse( |
81 | 0 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConvertibleIdlType* value) { |
82 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ConvertibleIdlType>( |
83 | 0 | ConvertibleIdlType_descriptor(), name, value); |
84 | 0 | } |
85 | | // =================================================================== |
86 | | |
87 | | |
88 | | // =================================================================== |
89 | | |
90 | | static const int kIdlSupportFieldNumber = 91000; |
91 | | extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FileOptions, |
92 | | ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< bool >, 8, false > |
93 | | idl_support; |
94 | | static const int kIdlTypeFieldNumber = 91001; |
95 | | extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, |
96 | | ::PROTOBUF_NAMESPACE_ID::internal::EnumTypeTraits< ::ConvertibleIdlType, ::ConvertibleIdlType_IsValid>, 14, false > |
97 | | idl_type; |
98 | | static const int kIdlOnFieldNumber = 91002; |
99 | | extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, |
100 | | ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< int32_t >, 5, false > |
101 | | idl_on; |
102 | | static const int kIdlNameFieldNumber = 91003; |
103 | | extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, |
104 | | ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false > |
105 | | idl_name; |
106 | | |
107 | | // =================================================================== |
108 | | |
109 | | #ifdef __GNUC__ |
110 | | #pragma GCC diagnostic push |
111 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
112 | | #endif // __GNUC__ |
113 | | #ifdef __GNUC__ |
114 | | #pragma GCC diagnostic pop |
115 | | #endif // __GNUC__ |
116 | | |
117 | | // @@protoc_insertion_point(namespace_scope) |
118 | | |
119 | | |
120 | | PROTOBUF_NAMESPACE_OPEN |
121 | | |
122 | | template <> struct is_proto_enum< ::ConvertibleIdlType> : ::std::true_type {}; |
123 | | template <> |
124 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::ConvertibleIdlType>() { |
125 | 0 | return ::ConvertibleIdlType_descriptor(); |
126 | 0 | } |
127 | | |
128 | | PROTOBUF_NAMESPACE_CLOSE |
129 | | |
130 | | // @@protoc_insertion_point(global_scope) |
131 | | |
132 | | #include <google/protobuf/port_undef.inc> |
133 | | #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_idl_5foptions_2eproto |