/src/brpc/build/idl_options.pb.h
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 | | #ifndef PROTOBUF_INCLUDED_idl_5foptions_2eproto |
5 | | #define PROTOBUF_INCLUDED_idl_5foptions_2eproto |
6 | | |
7 | | #include <string> |
8 | | |
9 | | #include <google/protobuf/stubs/common.h> |
10 | | |
11 | | #if GOOGLE_PROTOBUF_VERSION < 3006001 |
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 3006001 < GOOGLE_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/io/coded_stream.h> |
23 | | #include <google/protobuf/arena.h> |
24 | | #include <google/protobuf/arenastring.h> |
25 | | #include <google/protobuf/generated_message_table_driven.h> |
26 | | #include <google/protobuf/generated_message_util.h> |
27 | | #include <google/protobuf/inlined_string_field.h> |
28 | | #include <google/protobuf/metadata.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 | | #define PROTOBUF_INTERNAL_EXPORT_protobuf_idl_5foptions_2eproto |
35 | | |
36 | | namespace protobuf_idl_5foptions_2eproto { |
37 | | // Internal implementation detail -- do not use these members. |
38 | | struct TableStruct { |
39 | | static const ::google::protobuf::internal::ParseTableField entries[]; |
40 | | static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; |
41 | | static const ::google::protobuf::internal::ParseTable schema[1]; |
42 | | static const ::google::protobuf::internal::FieldMetadata field_metadata[]; |
43 | | static const ::google::protobuf::internal::SerializationTable serialization_table[]; |
44 | | static const ::google::protobuf::uint32 offsets[]; |
45 | | }; |
46 | | void AddDescriptors(); |
47 | | } // namespace protobuf_idl_5foptions_2eproto |
48 | | |
49 | | enum ConvertibleIdlType { |
50 | | IDL_AUTO = 0, |
51 | | IDL_INT8 = 1, |
52 | | IDL_INT16 = 2, |
53 | | IDL_INT32 = 3, |
54 | | IDL_INT64 = 4, |
55 | | IDL_UINT8 = 5, |
56 | | IDL_UINT16 = 6, |
57 | | IDL_UINT32 = 7, |
58 | | IDL_UINT64 = 8, |
59 | | IDL_BOOL = 9, |
60 | | IDL_FLOAT = 10, |
61 | | IDL_DOUBLE = 11, |
62 | | IDL_BINARY = 12, |
63 | | IDL_STRING = 13 |
64 | | }; |
65 | | bool ConvertibleIdlType_IsValid(int value); |
66 | | const ConvertibleIdlType ConvertibleIdlType_MIN = IDL_AUTO; |
67 | | const ConvertibleIdlType ConvertibleIdlType_MAX = IDL_STRING; |
68 | | const int ConvertibleIdlType_ARRAYSIZE = ConvertibleIdlType_MAX + 1; |
69 | | |
70 | | const ::google::protobuf::EnumDescriptor* ConvertibleIdlType_descriptor(); |
71 | 0 | inline const ::std::string& ConvertibleIdlType_Name(ConvertibleIdlType value) { |
72 | 0 | return ::google::protobuf::internal::NameOfEnum( |
73 | 0 | ConvertibleIdlType_descriptor(), value); |
74 | 0 | } |
75 | | inline bool ConvertibleIdlType_Parse( |
76 | 0 | const ::std::string& name, ConvertibleIdlType* value) { |
77 | 0 | return ::google::protobuf::internal::ParseNamedEnum<ConvertibleIdlType>( |
78 | 0 | ConvertibleIdlType_descriptor(), name, value); |
79 | 0 | } |
80 | | // =================================================================== |
81 | | |
82 | | |
83 | | // =================================================================== |
84 | | |
85 | | static const int kIdlSupportFieldNumber = 91000; |
86 | | extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::FileOptions, |
87 | | ::google::protobuf::internal::PrimitiveTypeTraits< bool >, 8, false > |
88 | | idl_support; |
89 | | static const int kIdlTypeFieldNumber = 91001; |
90 | | extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::FieldOptions, |
91 | | ::google::protobuf::internal::EnumTypeTraits< ::ConvertibleIdlType, ::ConvertibleIdlType_IsValid>, 14, false > |
92 | | idl_type; |
93 | | static const int kIdlOnFieldNumber = 91002; |
94 | | extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::FieldOptions, |
95 | | ::google::protobuf::internal::PrimitiveTypeTraits< ::google::protobuf::int32 >, 5, false > |
96 | | idl_on; |
97 | | static const int kIdlNameFieldNumber = 91003; |
98 | | extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::FieldOptions, |
99 | | ::google::protobuf::internal::StringTypeTraits, 9, false > |
100 | | idl_name; |
101 | | |
102 | | // =================================================================== |
103 | | |
104 | | #ifdef __GNUC__ |
105 | | #pragma GCC diagnostic push |
106 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
107 | | #endif // __GNUC__ |
108 | | #ifdef __GNUC__ |
109 | | #pragma GCC diagnostic pop |
110 | | #endif // __GNUC__ |
111 | | |
112 | | // @@protoc_insertion_point(namespace_scope) |
113 | | |
114 | | |
115 | | namespace google { |
116 | | namespace protobuf { |
117 | | |
118 | | template <> struct is_proto_enum< ::ConvertibleIdlType> : ::std::true_type {}; |
119 | | template <> |
120 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::ConvertibleIdlType>() { |
121 | 0 | return ::ConvertibleIdlType_descriptor(); |
122 | 0 | } |
123 | | |
124 | | } // namespace protobuf |
125 | | } // namespace google |
126 | | |
127 | | // @@protoc_insertion_point(global_scope) |
128 | | |
129 | | #endif // PROTOBUF_INCLUDED_idl_5foptions_2eproto |