/src/brpc/build/brpc/errno.pb.h
Line | Count | Source |
1 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | | // source: brpc/errno.proto |
3 | | |
4 | | #ifndef PROTOBUF_INCLUDED_brpc_2ferrno_2eproto |
5 | | #define PROTOBUF_INCLUDED_brpc_2ferrno_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 | | // @@protoc_insertion_point(includes) |
33 | | #define PROTOBUF_INTERNAL_EXPORT_protobuf_brpc_2ferrno_2eproto |
34 | | |
35 | | namespace protobuf_brpc_2ferrno_2eproto { |
36 | | // Internal implementation detail -- do not use these members. |
37 | | struct TableStruct { |
38 | | static const ::google::protobuf::internal::ParseTableField entries[]; |
39 | | static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; |
40 | | static const ::google::protobuf::internal::ParseTable schema[1]; |
41 | | static const ::google::protobuf::internal::FieldMetadata field_metadata[]; |
42 | | static const ::google::protobuf::internal::SerializationTable serialization_table[]; |
43 | | static const ::google::protobuf::uint32 offsets[]; |
44 | | }; |
45 | | void AddDescriptors(); |
46 | | } // namespace protobuf_brpc_2ferrno_2eproto |
47 | | namespace brpc { |
48 | | } // namespace brpc |
49 | | namespace brpc { |
50 | | |
51 | | enum Errno { |
52 | | ENOSERVICE = 1001, |
53 | | ENOMETHOD = 1002, |
54 | | EREQUEST = 1003, |
55 | | ERPCAUTH = 1004, |
56 | | ETOOMANYFAILS = 1005, |
57 | | EPCHANFINISH = 1006, |
58 | | EBACKUPREQUEST = 1007, |
59 | | ERPCTIMEDOUT = 1008, |
60 | | EFAILEDSOCKET = 1009, |
61 | | EHTTP = 1010, |
62 | | EOVERCROWDED = 1011, |
63 | | ERTMPPUBLISHABLE = 1012, |
64 | | ERTMPCREATESTREAM = 1013, |
65 | | EEOF = 1014, |
66 | | EUNUSED = 1015, |
67 | | ESSL = 1016, |
68 | | EH2RUNOUTSTREAMS = 1017, |
69 | | EREJECT = 1018, |
70 | | EINTERNAL = 2001, |
71 | | ERESPONSE = 2002, |
72 | | ELOGOFF = 2003, |
73 | | ELIMIT = 2004, |
74 | | ECLOSE = 2005, |
75 | | EITP = 2006, |
76 | | ESHUTDOWNWRITE = 2007, |
77 | | ERDMA = 3001, |
78 | | ERDMAMEM = 3002 |
79 | | }; |
80 | | bool Errno_IsValid(int value); |
81 | | const Errno Errno_MIN = ENOSERVICE; |
82 | | const Errno Errno_MAX = ERDMAMEM; |
83 | | const int Errno_ARRAYSIZE = Errno_MAX + 1; |
84 | | |
85 | | const ::google::protobuf::EnumDescriptor* Errno_descriptor(); |
86 | 0 | inline const ::std::string& Errno_Name(Errno value) { |
87 | 0 | return ::google::protobuf::internal::NameOfEnum( |
88 | 0 | Errno_descriptor(), value); |
89 | 0 | } |
90 | | inline bool Errno_Parse( |
91 | 0 | const ::std::string& name, Errno* value) { |
92 | 0 | return ::google::protobuf::internal::ParseNamedEnum<Errno>( |
93 | 0 | Errno_descriptor(), name, value); |
94 | 0 | } |
95 | | // =================================================================== |
96 | | |
97 | | |
98 | | // =================================================================== |
99 | | |
100 | | |
101 | | // =================================================================== |
102 | | |
103 | | #ifdef __GNUC__ |
104 | | #pragma GCC diagnostic push |
105 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
106 | | #endif // __GNUC__ |
107 | | #ifdef __GNUC__ |
108 | | #pragma GCC diagnostic pop |
109 | | #endif // __GNUC__ |
110 | | |
111 | | // @@protoc_insertion_point(namespace_scope) |
112 | | |
113 | | } // namespace brpc |
114 | | |
115 | | namespace google { |
116 | | namespace protobuf { |
117 | | |
118 | | template <> struct is_proto_enum< ::brpc::Errno> : ::std::true_type {}; |
119 | | template <> |
120 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::brpc::Errno>() { |
121 | 0 | return ::brpc::Errno_descriptor(); |
122 | 0 | } |
123 | | |
124 | | } // namespace protobuf |
125 | | } // namespace google |
126 | | |
127 | | // @@protoc_insertion_point(global_scope) |
128 | | |
129 | | #endif // PROTOBUF_INCLUDED_brpc_2ferrno_2eproto |