1 | #ifdef __GNUC__ |
2 | #pragma GCC diagnostic push |
3 | #pragma GCC diagnostic ignored "-Wshadow" |
4 | #pragma GCC diagnostic ignored "-Wunused-parameter" |
5 | #endif |
6 | |
7 | // Generated by the protocol buffer compiler. DO NOT EDIT! |
8 | // source: proto/common.proto |
9 | |
10 | #include "proto/common.pb.h" |
11 | |
12 | #include <algorithm> |
13 | |
14 | #include <google/protobuf/io/coded_stream.h> |
15 | #include <google/protobuf/extension_set.h> |
16 | #include <google/protobuf/wire_format_lite.h> |
17 | #include <google/protobuf/descriptor.h> |
18 | #include <google/protobuf/generated_message_reflection.h> |
19 | #include <google/protobuf/reflection_ops.h> |
20 | #include <google/protobuf/wire_format.h> |
21 | // @@protoc_insertion_point(includes) |
22 | #include <google/protobuf/port_def.inc> |
23 | extern PROTOBUF_INTERNAL_EXPORT_proto_2fcommon_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GenericValue_proto_2fcommon_2eproto; |
24 | namespace proxima { |
25 | namespace be { |
26 | namespace proto { |
27 | class GenericValueDefaultTypeInternal { |
28 | public: |
29 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<GenericValue> _instance; |
30 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr bytes_value_; |
31 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr string_value_; |
32 | bool bool_value_; |
33 | ::PROTOBUF_NAMESPACE_ID::int32 int32_value_; |
34 | ::PROTOBUF_NAMESPACE_ID::int64 int64_value_; |
35 | ::PROTOBUF_NAMESPACE_ID::uint32 uint32_value_; |
36 | ::PROTOBUF_NAMESPACE_ID::uint64 uint64_value_; |
37 | float float_value_; |
38 | double double_value_; |
39 | } _GenericValue_default_instance_; |
40 | class GenericValueListDefaultTypeInternal { |
41 | public: |
42 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<GenericValueList> _instance; |
43 | } _GenericValueList_default_instance_; |
44 | class GenericValueMetaDefaultTypeInternal { |
45 | public: |
46 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<GenericValueMeta> _instance; |
47 | } _GenericValueMeta_default_instance_; |
48 | class GenericKeyValueDefaultTypeInternal { |
49 | public: |
50 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<GenericKeyValue> _instance; |
51 | } _GenericKeyValue_default_instance_; |
52 | class KeyValuePairDefaultTypeInternal { |
53 | public: |
54 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<KeyValuePair> _instance; |
55 | } _KeyValuePair_default_instance_; |
56 | class CommonResponseDefaultTypeInternal { |
57 | public: |
58 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<CommonResponse> _instance; |
59 | } _CommonResponse_default_instance_; |
60 | class StatusDefaultTypeInternal { |
61 | public: |
62 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Status> _instance; |
63 | } _Status_default_instance_; |
64 | class HttpRequestDefaultTypeInternal { |
65 | public: |
66 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<HttpRequest> _instance; |
67 | } _HttpRequest_default_instance_; |
68 | class HttpResponseDefaultTypeInternal { |
69 | public: |
70 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<HttpResponse> _instance; |
71 | } _HttpResponse_default_instance_; |
72 | } // namespace proto |
73 | } // namespace be |
74 | } // namespace proxima |
75 | static void InitDefaultsscc_info_CommonResponse_proto_2fcommon_2eproto() { |
76 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
77 | |
78 | { |
79 | void* ptr = &::proxima::be::proto::_CommonResponse_default_instance_; |
80 | new (ptr) ::proxima::be::proto::CommonResponse(); |
81 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
82 | } |
83 | ::proxima::be::proto::CommonResponse::InitAsDefaultInstance(); |
84 | } |
85 | |
86 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_CommonResponse_proto_2fcommon_2eproto = |
87 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_CommonResponse_proto_2fcommon_2eproto}, {}}; |
88 | |
89 | static void InitDefaultsscc_info_GenericKeyValue_proto_2fcommon_2eproto() { |
90 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
91 | |
92 | { |
93 | void* ptr = &::proxima::be::proto::_GenericKeyValue_default_instance_; |
94 | new (ptr) ::proxima::be::proto::GenericKeyValue(); |
95 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
96 | } |
97 | ::proxima::be::proto::GenericKeyValue::InitAsDefaultInstance(); |
98 | } |
99 | |
100 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_GenericKeyValue_proto_2fcommon_2eproto = |
101 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_GenericKeyValue_proto_2fcommon_2eproto}, { |
102 | &scc_info_GenericValue_proto_2fcommon_2eproto.base,}}; |
103 | |
104 | static void InitDefaultsscc_info_GenericValue_proto_2fcommon_2eproto() { |
105 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
106 | |
107 | { |
108 | void* ptr = &::proxima::be::proto::_GenericValue_default_instance_; |
109 | new (ptr) ::proxima::be::proto::GenericValue(); |
110 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
111 | } |
112 | ::proxima::be::proto::GenericValue::InitAsDefaultInstance(); |
113 | } |
114 | |
115 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GenericValue_proto_2fcommon_2eproto = |
116 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_GenericValue_proto_2fcommon_2eproto}, {}}; |
117 | |
118 | static void InitDefaultsscc_info_GenericValueList_proto_2fcommon_2eproto() { |
119 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
120 | |
121 | { |
122 | void* ptr = &::proxima::be::proto::_GenericValueList_default_instance_; |
123 | new (ptr) ::proxima::be::proto::GenericValueList(); |
124 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
125 | } |
126 | ::proxima::be::proto::GenericValueList::InitAsDefaultInstance(); |
127 | } |
128 | |
129 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_GenericValueList_proto_2fcommon_2eproto = |
130 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_GenericValueList_proto_2fcommon_2eproto}, { |
131 | &scc_info_GenericValue_proto_2fcommon_2eproto.base,}}; |
132 | |
133 | static void InitDefaultsscc_info_GenericValueMeta_proto_2fcommon_2eproto() { |
134 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
135 | |
136 | { |
137 | void* ptr = &::proxima::be::proto::_GenericValueMeta_default_instance_; |
138 | new (ptr) ::proxima::be::proto::GenericValueMeta(); |
139 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
140 | } |
141 | ::proxima::be::proto::GenericValueMeta::InitAsDefaultInstance(); |
142 | } |
143 | |
144 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GenericValueMeta_proto_2fcommon_2eproto = |
145 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_GenericValueMeta_proto_2fcommon_2eproto}, {}}; |
146 | |
147 | static void InitDefaultsscc_info_HttpRequest_proto_2fcommon_2eproto() { |
148 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
149 | |
150 | { |
151 | void* ptr = &::proxima::be::proto::_HttpRequest_default_instance_; |
152 | new (ptr) ::proxima::be::proto::HttpRequest(); |
153 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
154 | } |
155 | ::proxima::be::proto::HttpRequest::InitAsDefaultInstance(); |
156 | } |
157 | |
158 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_HttpRequest_proto_2fcommon_2eproto = |
159 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_HttpRequest_proto_2fcommon_2eproto}, {}}; |
160 | |
161 | static void InitDefaultsscc_info_HttpResponse_proto_2fcommon_2eproto() { |
162 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
163 | |
164 | { |
165 | void* ptr = &::proxima::be::proto::_HttpResponse_default_instance_; |
166 | new (ptr) ::proxima::be::proto::HttpResponse(); |
167 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
168 | } |
169 | ::proxima::be::proto::HttpResponse::InitAsDefaultInstance(); |
170 | } |
171 | |
172 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_HttpResponse_proto_2fcommon_2eproto = |
173 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_HttpResponse_proto_2fcommon_2eproto}, {}}; |
174 | |
175 | static void InitDefaultsscc_info_KeyValuePair_proto_2fcommon_2eproto() { |
176 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
177 | |
178 | { |
179 | void* ptr = &::proxima::be::proto::_KeyValuePair_default_instance_; |
180 | new (ptr) ::proxima::be::proto::KeyValuePair(); |
181 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
182 | } |
183 | ::proxima::be::proto::KeyValuePair::InitAsDefaultInstance(); |
184 | } |
185 | |
186 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_KeyValuePair_proto_2fcommon_2eproto = |
187 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_KeyValuePair_proto_2fcommon_2eproto}, {}}; |
188 | |
189 | static void InitDefaultsscc_info_Status_proto_2fcommon_2eproto() { |
190 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
191 | |
192 | { |
193 | void* ptr = &::proxima::be::proto::_Status_default_instance_; |
194 | new (ptr) ::proxima::be::proto::Status(); |
195 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
196 | } |
197 | ::proxima::be::proto::Status::InitAsDefaultInstance(); |
198 | } |
199 | |
200 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Status_proto_2fcommon_2eproto = |
201 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Status_proto_2fcommon_2eproto}, {}}; |
202 | |
203 | static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_proto_2fcommon_2eproto[9]; |
204 | static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_proto_2fcommon_2eproto[5]; |
205 | static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_proto_2fcommon_2eproto = nullptr; |
206 | |
207 | const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_proto_2fcommon_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { |
208 | ~0u, // no _has_bits_ |
209 | PROTOBUF_FIELD_OFFSET(::proxima::be::proto::GenericValue, _internal_metadata_), |
210 | ~0u, // no _extensions_ |
211 | PROTOBUF_FIELD_OFFSET(::proxima::be::proto::GenericValue, _oneof_case_[0]), |
212 | ~0u, // no _weak_field_map_ |
213 | offsetof(::proxima::be::proto::GenericValueDefaultTypeInternal, bytes_value_), |
214 | offsetof(::proxima::be::proto::GenericValueDefaultTypeInternal, string_value_), |
215 | offsetof(::proxima::be::proto::GenericValueDefaultTypeInternal, bool_value_), |
216 | offsetof(::proxima::be::proto::GenericValueDefaultTypeInternal, int32_value_), |
217 | offsetof(::proxima::be::proto::GenericValueDefaultTypeInternal, int64_value_), |
218 | offsetof(::proxima::be::proto::GenericValueDefaultTypeInternal, uint32_value_), |
219 | offsetof(::proxima::be::proto::GenericValueDefaultTypeInternal, uint64_value_), |
220 | offsetof(::proxima::be::proto::GenericValueDefaultTypeInternal, float_value_), |
221 | offsetof(::proxima::be::proto::GenericValueDefaultTypeInternal, double_value_), |
222 | PROTOBUF_FIELD_OFFSET(::proxima::be::proto::GenericValue, value_oneof_), |
223 | ~0u, // no _has_bits_ |
224 | PROTOBUF_FIELD_OFFSET(::proxima::be::proto::GenericValueList, _internal_metadata_), |
225 | ~0u, // no _extensions_ |
226 | ~0u, // no _oneof_case_ |
227 | ~0u, // no _weak_field_map_ |
228 | PROTOBUF_FIELD_OFFSET(::proxima::be::proto::GenericValueList, values_), |
229 | ~0u, // no _has_bits_ |
230 | PROTOBUF_FIELD_OFFSET(::proxima::be::proto::GenericValueMeta, _internal_metadata_), |
231 | ~0u, // no _extensions_ |
232 | ~0u, // no _oneof_case_ |
233 | ~0u, // no _weak_field_map_ |
234 | PROTOBUF_FIELD_OFFSET(::proxima::be::proto::GenericValueMeta, field_name_), |
235 | PROTOBUF_FIELD_OFFSET(::proxima::be::proto::GenericValueMeta, field_type_), |
236 | ~0u, // no _has_bits_ |
237 | PROTOBUF_FIELD_OFFSET(::proxima::be::proto::GenericKeyValue, _internal_metadata_), |
238 | ~0u, // no _extensions_ |
239 | ~0u, // no _oneof_case_ |
240 | ~0u, // no _weak_field_map_ |
241 | PROTOBUF_FIELD_OFFSET(::proxima::be::proto::GenericKeyValue, key_), |
242 | PROTOBUF_FIELD_OFFSET(::proxima::be::proto::GenericKeyValue, value_), |
243 | ~0u, // no _has_bits_ |
244 | PROTOBUF_FIELD_OFFSET(::proxima::be::proto::KeyValuePair, _internal_metadata_), |
245 | ~0u, // no _extensions_ |
246 | ~0u, // no _oneof_case_ |
247 | ~0u, // no _weak_field_map_ |
248 | PROTOBUF_FIELD_OFFSET(::proxima::be::proto::KeyValuePair, key_), |
249 | PROTOBUF_FIELD_OFFSET(::proxima::be::proto::KeyValuePair, value_), |
250 | ~0u, // no _has_bits_ |
251 | PROTOBUF_FIELD_OFFSET(::proxima::be::proto::CommonResponse, _internal_metadata_), |
252 | ~0u, // no _extensions_ |
253 | ~0u, // no _oneof_case_ |
254 | ~0u, // no _weak_field_map_ |
255 | PROTOBUF_FIELD_OFFSET(::proxima::be::proto::CommonResponse, code_), |
256 | PROTOBUF_FIELD_OFFSET(::proxima::be::proto::CommonResponse, reason_), |
257 | ~0u, // no _has_bits_ |
258 | PROTOBUF_FIELD_OFFSET(::proxima::be::proto::Status, _internal_metadata_), |
259 | ~0u, // no _extensions_ |
260 | ~0u, // no _oneof_case_ |
261 | ~0u, // no _weak_field_map_ |
262 | PROTOBUF_FIELD_OFFSET(::proxima::be::proto::Status, code_), |
263 | PROTOBUF_FIELD_OFFSET(::proxima::be::proto::Status, reason_), |
264 | ~0u, // no _has_bits_ |
265 | PROTOBUF_FIELD_OFFSET(::proxima::be::proto::HttpRequest, _internal_metadata_), |
266 | ~0u, // no _extensions_ |
267 | ~0u, // no _oneof_case_ |
268 | ~0u, // no _weak_field_map_ |
269 | ~0u, // no _has_bits_ |
270 | PROTOBUF_FIELD_OFFSET(::proxima::be::proto::HttpResponse, _internal_metadata_), |
271 | ~0u, // no _extensions_ |
272 | ~0u, // no _oneof_case_ |
273 | ~0u, // no _weak_field_map_ |
274 | }; |
275 | static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { |
276 | { 0, -1, sizeof(::proxima::be::proto::GenericValue)}, |
277 | { 15, -1, sizeof(::proxima::be::proto::GenericValueList)}, |
278 | { 21, -1, sizeof(::proxima::be::proto::GenericValueMeta)}, |
279 | { 28, -1, sizeof(::proxima::be::proto::GenericKeyValue)}, |
280 | { 35, -1, sizeof(::proxima::be::proto::KeyValuePair)}, |
281 | { 42, -1, sizeof(::proxima::be::proto::CommonResponse)}, |
282 | { 49, -1, sizeof(::proxima::be::proto::Status)}, |
283 | { 56, -1, sizeof(::proxima::be::proto::HttpRequest)}, |
284 | { 61, -1, sizeof(::proxima::be::proto::HttpResponse)}, |
285 | }; |
286 | |
287 | static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { |
288 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proxima::be::proto::_GenericValue_default_instance_), |
289 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proxima::be::proto::_GenericValueList_default_instance_), |
290 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proxima::be::proto::_GenericValueMeta_default_instance_), |
291 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proxima::be::proto::_GenericKeyValue_default_instance_), |
292 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proxima::be::proto::_KeyValuePair_default_instance_), |
293 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proxima::be::proto::_CommonResponse_default_instance_), |
294 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proxima::be::proto::_Status_default_instance_), |
295 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proxima::be::proto::_HttpRequest_default_instance_), |
296 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proxima::be::proto::_HttpResponse_default_instance_), |
297 | }; |
298 | |
299 | const char descriptor_table_protodef_proto_2fcommon_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = |
300 | "\n\022proto/common.proto\022\020proxima.be.proto\"\357" |
301 | "\001\n\014GenericValue\022\025\n\013bytes_value\030\001 \001(\014H\000\022\026" |
302 | "\n\014string_value\030\002 \001(\tH\000\022\024\n\nbool_value\030\003 \001" |
303 | "(\010H\000\022\025\n\013int32_value\030\004 \001(\005H\000\022\025\n\013int64_val" |
304 | "ue\030\005 \001(\003H\000\022\026\n\014uint32_value\030\006 \001(\rH\000\022\026\n\014ui" |
305 | "nt64_value\030\007 \001(\004H\000\022\025\n\013float_value\030\010 \001(\002H" |
306 | "\000\022\026\n\014double_value\030\t \001(\001H\000B\r\n\013value_oneof" |
307 | "\"B\n\020GenericValueList\022.\n\006values\030\001 \003(\0132\036.p" |
308 | "roxima.be.proto.GenericValue\"\367\001\n\020Generic" |
309 | "ValueMeta\022\022\n\nfield_name\030\001 \001(\t\022@\n\nfield_t" |
310 | "ype\030\002 \001(\0162,.proxima.be.proto.GenericValu" |
311 | "eMeta.FieldType\"\214\001\n\tFieldType\022\014\n\010FT_BYTE" |
312 | "S\020\000\022\r\n\tFT_STRING\020\001\022\013\n\007FT_BOOL\020\002\022\014\n\010FT_IN" |
313 | "T32\020\003\022\014\n\010FT_INT64\020\004\022\r\n\tFT_UINT32\020\005\022\r\n\tFT" |
314 | "_UINT64\020\006\022\014\n\010FT_FLOAT\020\007\022\r\n\tFT_DOUBLE\020\010\"M" |
315 | "\n\017GenericKeyValue\022\013\n\003key\030\001 \001(\t\022-\n\005value\030" |
316 | "\002 \001(\0132\036.proxima.be.proto.GenericValue\"*\n" |
317 | "\014KeyValuePair\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" |
318 | "\t\".\n\016CommonResponse\022\014\n\004code\030\001 \001(\005\022\016\n\006rea" |
319 | "son\030\002 \001(\t\"&\n\006Status\022\014\n\004code\030\001 \001(\005\022\016\n\006rea" |
320 | "son\030\002 \001(\t\"\r\n\013HttpRequest\"\016\n\014HttpResponse" |
321 | "*<\n\rOperationType\022\r\n\tOP_INSERT\020\000\022\r\n\tOP_U" |
322 | "PDATE\020\001\022\r\n\tOP_DELETE\020\002*\220\001\n\013FeatureType\022\020" |
323 | "\n\014FT_UNDEFINED\020\000\022\017\n\013FT_BINARY32\020\001\022\017\n\013FT_" |
324 | "BINARY64\020\002\022\013\n\007FT_FP16\020\003\022\013\n\007FT_FP32\020\004\022\013\n\007" |
325 | "FT_FP64\020\005\022\013\n\007FT_INT8\020\006\022\014\n\010FT_INT16\020\007\022\013\n\007" |
326 | "FT_INT4\020\010*9\n\tIndexType\022\020\n\014IT_UNDEFINED\020\000" |
327 | "\022\032\n\026IT_PROXIMA_GRAPH_INDEX\020\001*\307\002\n\010DataTyp" |
328 | "e\022\020\n\014DT_UNDEFINED\020\000\022\r\n\tDT_BINARY\020\001\022\r\n\tDT" |
329 | "_STRING\020\002\022\013\n\007DT_BOOL\020\003\022\014\n\010DT_INT32\020\004\022\014\n\010" |
330 | "DT_INT64\020\005\022\r\n\tDT_UINT32\020\006\022\r\n\tDT_UINT64\020\007" |
331 | "\022\014\n\010DT_FLOAT\020\010\022\r\n\tDT_DOUBLE\020\t\022\026\n\022DT_VECT" |
332 | "OR_BINARY32\020\024\022\026\n\022DT_VECTOR_BINARY64\020\025\022\022\n" |
333 | "\016DT_VECTOR_FP16\020\026\022\022\n\016DT_VECTOR_FP32\020\027\022\022\n" |
334 | "\016DT_VECTOR_FP64\020\030\022\022\n\016DT_VECTOR_INT4\020\031\022\022\n" |
335 | "\016DT_VECTOR_INT8\020\032\022\023\n\017DT_VECTOR_INT16\020\033B\022" |
336 | "Z\020proxima/be/protob\006proto3" |
337 | ; |
338 | static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_proto_2fcommon_2eproto_deps[1] = { |
339 | }; |
340 | static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_proto_2fcommon_2eproto_sccs[9] = { |
341 | &scc_info_CommonResponse_proto_2fcommon_2eproto.base, |
342 | &scc_info_GenericKeyValue_proto_2fcommon_2eproto.base, |
343 | &scc_info_GenericValue_proto_2fcommon_2eproto.base, |
344 | &scc_info_GenericValueList_proto_2fcommon_2eproto.base, |
345 | &scc_info_GenericValueMeta_proto_2fcommon_2eproto.base, |
346 | &scc_info_HttpRequest_proto_2fcommon_2eproto.base, |
347 | &scc_info_HttpResponse_proto_2fcommon_2eproto.base, |
348 | &scc_info_KeyValuePair_proto_2fcommon_2eproto.base, |
349 | &scc_info_Status_proto_2fcommon_2eproto.base, |
350 | }; |
351 | static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_proto_2fcommon_2eproto_once; |
352 | static bool descriptor_table_proto_2fcommon_2eproto_initialized = false; |
353 | const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_proto_2fcommon_2eproto = { |
354 | &descriptor_table_proto_2fcommon_2eproto_initialized, descriptor_table_protodef_proto_2fcommon_2eproto, "proto/common.proto" , 1466, |
355 | &descriptor_table_proto_2fcommon_2eproto_once, descriptor_table_proto_2fcommon_2eproto_sccs, descriptor_table_proto_2fcommon_2eproto_deps, 9, 0, |
356 | schemas, file_default_instances, TableStruct_proto_2fcommon_2eproto::offsets, |
357 | file_level_metadata_proto_2fcommon_2eproto, 9, file_level_enum_descriptors_proto_2fcommon_2eproto, file_level_service_descriptors_proto_2fcommon_2eproto, |
358 | }; |
359 | |
360 | // Force running AddDescriptors() at dynamic initialization time. |
361 | static bool dynamic_init_dummy_proto_2fcommon_2eproto = ( ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_proto_2fcommon_2eproto), true); |
362 | namespace proxima { |
363 | namespace be { |
364 | namespace proto { |
365 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* GenericValueMeta_FieldType_descriptor() { |
366 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_proto_2fcommon_2eproto); |
367 | return file_level_enum_descriptors_proto_2fcommon_2eproto[0]; |
368 | } |
369 | bool GenericValueMeta_FieldType_IsValid(int value) { |
370 | switch (value) { |
371 | case 0: |
372 | case 1: |
373 | case 2: |
374 | case 3: |
375 | case 4: |
376 | case 5: |
377 | case 6: |
378 | case 7: |
379 | case 8: |
380 | return true; |
381 | default: |
382 | return false; |
383 | } |
384 | } |
385 | |
386 | #if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) |
387 | constexpr GenericValueMeta_FieldType GenericValueMeta::FT_BYTES; |
388 | constexpr GenericValueMeta_FieldType GenericValueMeta::FT_STRING; |
389 | constexpr GenericValueMeta_FieldType GenericValueMeta::FT_BOOL; |
390 | constexpr GenericValueMeta_FieldType GenericValueMeta::FT_INT32; |
391 | constexpr GenericValueMeta_FieldType GenericValueMeta::FT_INT64; |
392 | constexpr GenericValueMeta_FieldType GenericValueMeta::FT_UINT32; |
393 | constexpr GenericValueMeta_FieldType GenericValueMeta::FT_UINT64; |
394 | constexpr GenericValueMeta_FieldType GenericValueMeta::FT_FLOAT; |
395 | constexpr GenericValueMeta_FieldType GenericValueMeta::FT_DOUBLE; |
396 | constexpr GenericValueMeta_FieldType GenericValueMeta::FieldType_MIN; |
397 | constexpr GenericValueMeta_FieldType GenericValueMeta::FieldType_MAX; |
398 | constexpr int GenericValueMeta::FieldType_ARRAYSIZE; |
399 | #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) |
400 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* OperationType_descriptor() { |
401 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_proto_2fcommon_2eproto); |
402 | return file_level_enum_descriptors_proto_2fcommon_2eproto[1]; |
403 | } |
404 | bool OperationType_IsValid(int value) { |
405 | switch (value) { |
406 | case 0: |
407 | case 1: |
408 | case 2: |
409 | return true; |
410 | default: |
411 | return false; |
412 | } |
413 | } |
414 | |
415 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FeatureType_descriptor() { |
416 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_proto_2fcommon_2eproto); |
417 | return file_level_enum_descriptors_proto_2fcommon_2eproto[2]; |
418 | } |
419 | bool FeatureType_IsValid(int value) { |
420 | switch (value) { |
421 | case 0: |
422 | case 1: |
423 | case 2: |
424 | case 3: |
425 | case 4: |
426 | case 5: |
427 | case 6: |
428 | case 7: |
429 | case 8: |
430 | return true; |
431 | default: |
432 | return false; |
433 | } |
434 | } |
435 | |
436 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* IndexType_descriptor() { |
437 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_proto_2fcommon_2eproto); |
438 | return file_level_enum_descriptors_proto_2fcommon_2eproto[3]; |
439 | } |
440 | bool IndexType_IsValid(int value) { |
441 | switch (value) { |
442 | case 0: |
443 | case 1: |
444 | return true; |
445 | default: |
446 | return false; |
447 | } |
448 | } |
449 | |
450 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* DataType_descriptor() { |
451 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_proto_2fcommon_2eproto); |
452 | return file_level_enum_descriptors_proto_2fcommon_2eproto[4]; |
453 | } |
454 | bool DataType_IsValid(int value) { |
455 | switch (value) { |
456 | case 0: |
457 | case 1: |
458 | case 2: |
459 | case 3: |
460 | case 4: |
461 | case 5: |
462 | case 6: |
463 | case 7: |
464 | case 8: |
465 | case 9: |
466 | case 20: |
467 | case 21: |
468 | case 22: |
469 | case 23: |
470 | case 24: |
471 | case 25: |
472 | case 26: |
473 | case 27: |
474 | return true; |
475 | default: |
476 | return false; |
477 | } |
478 | } |
479 | |
480 | |
481 | // =================================================================== |
482 | |
483 | void GenericValue::InitAsDefaultInstance() { |
484 | ::proxima::be::proto::_GenericValue_default_instance_.bytes_value_.UnsafeSetDefault( |
485 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
486 | ::proxima::be::proto::_GenericValue_default_instance_.string_value_.UnsafeSetDefault( |
487 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
488 | ::proxima::be::proto::_GenericValue_default_instance_.bool_value_ = false; |
489 | ::proxima::be::proto::_GenericValue_default_instance_.int32_value_ = 0; |
490 | ::proxima::be::proto::_GenericValue_default_instance_.int64_value_ = PROTOBUF_LONGLONG(0); |
491 | ::proxima::be::proto::_GenericValue_default_instance_.uint32_value_ = 0u; |
492 | ::proxima::be::proto::_GenericValue_default_instance_.uint64_value_ = PROTOBUF_ULONGLONG(0); |
493 | ::proxima::be::proto::_GenericValue_default_instance_.float_value_ = 0; |
494 | ::proxima::be::proto::_GenericValue_default_instance_.double_value_ = 0; |
495 | } |
496 | class GenericValue::_Internal { |
497 | public: |
498 | }; |
499 | |
500 | GenericValue::GenericValue() |
501 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
502 | SharedCtor(); |
503 | // @@protoc_insertion_point(constructor:proxima.be.proto.GenericValue) |
504 | } |
505 | GenericValue::GenericValue(const GenericValue& from) |
506 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
507 | _internal_metadata_(nullptr) { |
508 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
509 | clear_has_value_oneof(); |
510 | switch (from.value_oneof_case()) { |
511 | case kBytesValue: { |
512 | _internal_set_bytes_value(from._internal_bytes_value()); |
513 | break; |
514 | } |
515 | case kStringValue: { |
516 | _internal_set_string_value(from._internal_string_value()); |
517 | break; |
518 | } |
519 | case kBoolValue: { |
520 | _internal_set_bool_value(from._internal_bool_value()); |
521 | break; |
522 | } |
523 | case kInt32Value: { |
524 | _internal_set_int32_value(from._internal_int32_value()); |
525 | break; |
526 | } |
527 | case kInt64Value: { |
528 | _internal_set_int64_value(from._internal_int64_value()); |
529 | break; |
530 | } |
531 | case kUint32Value: { |
532 | _internal_set_uint32_value(from._internal_uint32_value()); |
533 | break; |
534 | } |
535 | case kUint64Value: { |
536 | _internal_set_uint64_value(from._internal_uint64_value()); |
537 | break; |
538 | } |
539 | case kFloatValue: { |
540 | _internal_set_float_value(from._internal_float_value()); |
541 | break; |
542 | } |
543 | case kDoubleValue: { |
544 | _internal_set_double_value(from._internal_double_value()); |
545 | break; |
546 | } |
547 | case VALUE_ONEOF_NOT_SET: { |
548 | break; |
549 | } |
550 | } |
551 | // @@protoc_insertion_point(copy_constructor:proxima.be.proto.GenericValue) |
552 | } |
553 | |
554 | void GenericValue::SharedCtor() { |
555 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_GenericValue_proto_2fcommon_2eproto.base); |
556 | clear_has_value_oneof(); |
557 | } |
558 | |
559 | GenericValue::~GenericValue() { |
560 | // @@protoc_insertion_point(destructor:proxima.be.proto.GenericValue) |
561 | SharedDtor(); |
562 | } |
563 | |
564 | void GenericValue::SharedDtor() { |
565 | if (has_value_oneof()) { |
566 | clear_value_oneof(); |
567 | } |
568 | } |
569 | |
570 | void GenericValue::SetCachedSize(int size) const { |
571 | _cached_size_.Set(size); |
572 | } |
573 | const GenericValue& GenericValue::default_instance() { |
574 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GenericValue_proto_2fcommon_2eproto.base); |
575 | return *internal_default_instance(); |
576 | } |
577 | |
578 | |
579 | void GenericValue::clear_value_oneof() { |
580 | // @@protoc_insertion_point(one_of_clear_start:proxima.be.proto.GenericValue) |
581 | switch (value_oneof_case()) { |
582 | case kBytesValue: { |
583 | value_oneof_.bytes_value_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
584 | break; |
585 | } |
586 | case kStringValue: { |
587 | value_oneof_.string_value_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
588 | break; |
589 | } |
590 | case kBoolValue: { |
591 | // No need to clear |
592 | break; |
593 | } |
594 | case kInt32Value: { |
595 | // No need to clear |
596 | break; |
597 | } |
598 | case kInt64Value: { |
599 | // No need to clear |
600 | break; |
601 | } |
602 | case kUint32Value: { |
603 | // No need to clear |
604 | break; |
605 | } |
606 | case kUint64Value: { |
607 | // No need to clear |
608 | break; |
609 | } |
610 | case kFloatValue: { |
611 | // No need to clear |
612 | break; |
613 | } |
614 | case kDoubleValue: { |
615 | // No need to clear |
616 | break; |
617 | } |
618 | case VALUE_ONEOF_NOT_SET: { |
619 | break; |
620 | } |
621 | } |
622 | _oneof_case_[0] = VALUE_ONEOF_NOT_SET; |
623 | } |
624 | |
625 | |
626 | void GenericValue::Clear() { |
627 | // @@protoc_insertion_point(message_clear_start:proxima.be.proto.GenericValue) |
628 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
629 | // Prevent compiler warnings about cached_has_bits being unused |
630 | (void) cached_has_bits; |
631 | |
632 | clear_value_oneof(); |
633 | _internal_metadata_.Clear(); |
634 | } |
635 | |
636 | const char* GenericValue::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
637 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
638 | while (!ctx->Done(&ptr)) { |
639 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
640 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
641 | CHK_(ptr); |
642 | switch (tag >> 3) { |
643 | // bytes bytes_value = 1; |
644 | case 1: |
645 | if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { |
646 | auto str = _internal_mutable_bytes_value(); |
647 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); |
648 | CHK_(ptr); |
649 | } else goto handle_unusual; |
650 | continue; |
651 | // string string_value = 2; |
652 | case 2: |
653 | if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { |
654 | auto str = _internal_mutable_string_value(); |
655 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); |
656 | CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proxima.be.proto.GenericValue.string_value" )); |
657 | CHK_(ptr); |
658 | } else goto handle_unusual; |
659 | continue; |
660 | // bool bool_value = 3; |
661 | case 3: |
662 | if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { |
663 | _internal_set_bool_value(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr)); |
664 | CHK_(ptr); |
665 | } else goto handle_unusual; |
666 | continue; |
667 | // int32 int32_value = 4; |
668 | case 4: |
669 | if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { |
670 | _internal_set_int32_value(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr)); |
671 | CHK_(ptr); |
672 | } else goto handle_unusual; |
673 | continue; |
674 | // int64 int64_value = 5; |
675 | case 5: |
676 | if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { |
677 | _internal_set_int64_value(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr)); |
678 | CHK_(ptr); |
679 | } else goto handle_unusual; |
680 | continue; |
681 | // uint32 uint32_value = 6; |
682 | case 6: |
683 | if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { |
684 | _internal_set_uint32_value(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr)); |
685 | CHK_(ptr); |
686 | } else goto handle_unusual; |
687 | continue; |
688 | // uint64 uint64_value = 7; |
689 | case 7: |
690 | if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { |
691 | _internal_set_uint64_value(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr)); |
692 | CHK_(ptr); |
693 | } else goto handle_unusual; |
694 | continue; |
695 | // float float_value = 8; |
696 | case 8: |
697 | if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 69)) { |
698 | _internal_set_float_value(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr)); |
699 | ptr += sizeof(float); |
700 | } else goto handle_unusual; |
701 | continue; |
702 | // double double_value = 9; |
703 | case 9: |
704 | if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 73)) { |
705 | _internal_set_double_value(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr)); |
706 | ptr += sizeof(double); |
707 | } else goto handle_unusual; |
708 | continue; |
709 | default: { |
710 | handle_unusual: |
711 | if ((tag & 7) == 4 || tag == 0) { |
712 | ctx->SetLastTag(tag); |
713 | goto success; |
714 | } |
715 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
716 | CHK_(ptr != nullptr); |
717 | continue; |
718 | } |
719 | } // switch |
720 | } // while |
721 | success: |
722 | return ptr; |
723 | failure: |
724 | ptr = nullptr; |
725 | goto success; |
726 | #undef CHK_ |
727 | } |
728 | |
729 | ::PROTOBUF_NAMESPACE_ID::uint8* GenericValue::_InternalSerialize( |
730 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
731 | // @@protoc_insertion_point(serialize_to_array_start:proxima.be.proto.GenericValue) |
732 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
733 | (void) cached_has_bits; |
734 | |
735 | // bytes bytes_value = 1; |
736 | if (_internal_has_bytes_value()) { |
737 | target = stream->WriteBytesMaybeAliased( |
738 | 1, this->_internal_bytes_value(), target); |
739 | } |
740 | |
741 | // string string_value = 2; |
742 | if (_internal_has_string_value()) { |
743 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
744 | this->_internal_string_value().data(), static_cast<int>(this->_internal_string_value().length()), |
745 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, |
746 | "proxima.be.proto.GenericValue.string_value" ); |
747 | target = stream->WriteStringMaybeAliased( |
748 | 2, this->_internal_string_value(), target); |
749 | } |
750 | |
751 | // bool bool_value = 3; |
752 | if (_internal_has_bool_value()) { |
753 | target = stream->EnsureSpace(target); |
754 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_bool_value(), target); |
755 | } |
756 | |
757 | // int32 int32_value = 4; |
758 | if (_internal_has_int32_value()) { |
759 | target = stream->EnsureSpace(target); |
760 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(4, this->_internal_int32_value(), target); |
761 | } |
762 | |
763 | // int64 int64_value = 5; |
764 | if (_internal_has_int64_value()) { |
765 | target = stream->EnsureSpace(target); |
766 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(5, this->_internal_int64_value(), target); |
767 | } |
768 | |
769 | // uint32 uint32_value = 6; |
770 | if (_internal_has_uint32_value()) { |
771 | target = stream->EnsureSpace(target); |
772 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(6, this->_internal_uint32_value(), target); |
773 | } |
774 | |
775 | // uint64 uint64_value = 7; |
776 | if (_internal_has_uint64_value()) { |
777 | target = stream->EnsureSpace(target); |
778 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(7, this->_internal_uint64_value(), target); |
779 | } |
780 | |
781 | // float float_value = 8; |
782 | if (_internal_has_float_value()) { |
783 | target = stream->EnsureSpace(target); |
784 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(8, this->_internal_float_value(), target); |
785 | } |
786 | |
787 | // double double_value = 9; |
788 | if (_internal_has_double_value()) { |
789 | target = stream->EnsureSpace(target); |
790 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(9, this->_internal_double_value(), target); |
791 | } |
792 | |
793 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
794 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
795 | _internal_metadata_.unknown_fields(), target, stream); |
796 | } |
797 | // @@protoc_insertion_point(serialize_to_array_end:proxima.be.proto.GenericValue) |
798 | return target; |
799 | } |
800 | |
801 | size_t GenericValue::ByteSizeLong() const { |
802 | // @@protoc_insertion_point(message_byte_size_start:proxima.be.proto.GenericValue) |
803 | size_t total_size = 0; |
804 | |
805 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
806 | // Prevent compiler warnings about cached_has_bits being unused |
807 | (void) cached_has_bits; |
808 | |
809 | switch (value_oneof_case()) { |
810 | // bytes bytes_value = 1; |
811 | case kBytesValue: { |
812 | total_size += 1 + |
813 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( |
814 | this->_internal_bytes_value()); |
815 | break; |
816 | } |
817 | // string string_value = 2; |
818 | case kStringValue: { |
819 | total_size += 1 + |
820 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
821 | this->_internal_string_value()); |
822 | break; |
823 | } |
824 | // bool bool_value = 3; |
825 | case kBoolValue: { |
826 | total_size += 1 + 1; |
827 | break; |
828 | } |
829 | // int32 int32_value = 4; |
830 | case kInt32Value: { |
831 | total_size += 1 + |
832 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( |
833 | this->_internal_int32_value()); |
834 | break; |
835 | } |
836 | // int64 int64_value = 5; |
837 | case kInt64Value: { |
838 | total_size += 1 + |
839 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size( |
840 | this->_internal_int64_value()); |
841 | break; |
842 | } |
843 | // uint32 uint32_value = 6; |
844 | case kUint32Value: { |
845 | total_size += 1 + |
846 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( |
847 | this->_internal_uint32_value()); |
848 | break; |
849 | } |
850 | // uint64 uint64_value = 7; |
851 | case kUint64Value: { |
852 | total_size += 1 + |
853 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64Size( |
854 | this->_internal_uint64_value()); |
855 | break; |
856 | } |
857 | // float float_value = 8; |
858 | case kFloatValue: { |
859 | total_size += 1 + 4; |
860 | break; |
861 | } |
862 | // double double_value = 9; |
863 | case kDoubleValue: { |
864 | total_size += 1 + 8; |
865 | break; |
866 | } |
867 | case VALUE_ONEOF_NOT_SET: { |
868 | break; |
869 | } |
870 | } |
871 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
872 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
873 | _internal_metadata_, total_size, &_cached_size_); |
874 | } |
875 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
876 | SetCachedSize(cached_size); |
877 | return total_size; |
878 | } |
879 | |
880 | void GenericValue::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
881 | // @@protoc_insertion_point(generalized_merge_from_start:proxima.be.proto.GenericValue) |
882 | GOOGLE_DCHECK_NE(&from, this); |
883 | const GenericValue* source = |
884 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<GenericValue>( |
885 | &from); |
886 | if (source == nullptr) { |
887 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:proxima.be.proto.GenericValue) |
888 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
889 | } else { |
890 | // @@protoc_insertion_point(generalized_merge_from_cast_success:proxima.be.proto.GenericValue) |
891 | MergeFrom(*source); |
892 | } |
893 | } |
894 | |
895 | void GenericValue::MergeFrom(const GenericValue& from) { |
896 | // @@protoc_insertion_point(class_specific_merge_from_start:proxima.be.proto.GenericValue) |
897 | GOOGLE_DCHECK_NE(&from, this); |
898 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
899 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
900 | (void) cached_has_bits; |
901 | |
902 | switch (from.value_oneof_case()) { |
903 | case kBytesValue: { |
904 | _internal_set_bytes_value(from._internal_bytes_value()); |
905 | break; |
906 | } |
907 | case kStringValue: { |
908 | _internal_set_string_value(from._internal_string_value()); |
909 | break; |
910 | } |
911 | case kBoolValue: { |
912 | _internal_set_bool_value(from._internal_bool_value()); |
913 | break; |
914 | } |
915 | case kInt32Value: { |
916 | _internal_set_int32_value(from._internal_int32_value()); |
917 | break; |
918 | } |
919 | case kInt64Value: { |
920 | _internal_set_int64_value(from._internal_int64_value()); |
921 | break; |
922 | } |
923 | case kUint32Value: { |
924 | _internal_set_uint32_value(from._internal_uint32_value()); |
925 | break; |
926 | } |
927 | case kUint64Value: { |
928 | _internal_set_uint64_value(from._internal_uint64_value()); |
929 | break; |
930 | } |
931 | case kFloatValue: { |
932 | _internal_set_float_value(from._internal_float_value()); |
933 | break; |
934 | } |
935 | case kDoubleValue: { |
936 | _internal_set_double_value(from._internal_double_value()); |
937 | break; |
938 | } |
939 | case VALUE_ONEOF_NOT_SET: { |
940 | break; |
941 | } |
942 | } |
943 | } |
944 | |
945 | void GenericValue::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
946 | // @@protoc_insertion_point(generalized_copy_from_start:proxima.be.proto.GenericValue) |
947 | if (&from == this) return; |
948 | Clear(); |
949 | MergeFrom(from); |
950 | } |
951 | |
952 | void GenericValue::CopyFrom(const GenericValue& from) { |
953 | // @@protoc_insertion_point(class_specific_copy_from_start:proxima.be.proto.GenericValue) |
954 | if (&from == this) return; |
955 | Clear(); |
956 | MergeFrom(from); |
957 | } |
958 | |
959 | bool GenericValue::IsInitialized() const { |
960 | return true; |
961 | } |
962 | |
963 | void GenericValue::InternalSwap(GenericValue* other) { |
964 | using std::swap; |
965 | _internal_metadata_.Swap(&other->_internal_metadata_); |
966 | swap(value_oneof_, other->value_oneof_); |
967 | swap(_oneof_case_[0], other->_oneof_case_[0]); |
968 | } |
969 | |
970 | ::PROTOBUF_NAMESPACE_ID::Metadata GenericValue::GetMetadata() const { |
971 | return GetMetadataStatic(); |
972 | } |
973 | |
974 | |
975 | // =================================================================== |
976 | |
977 | void GenericValueList::InitAsDefaultInstance() { |
978 | } |
979 | class GenericValueList::_Internal { |
980 | public: |
981 | }; |
982 | |
983 | GenericValueList::GenericValueList() |
984 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
985 | SharedCtor(); |
986 | // @@protoc_insertion_point(constructor:proxima.be.proto.GenericValueList) |
987 | } |
988 | GenericValueList::GenericValueList(const GenericValueList& from) |
989 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
990 | _internal_metadata_(nullptr), |
991 | values_(from.values_) { |
992 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
993 | // @@protoc_insertion_point(copy_constructor:proxima.be.proto.GenericValueList) |
994 | } |
995 | |
996 | void GenericValueList::SharedCtor() { |
997 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_GenericValueList_proto_2fcommon_2eproto.base); |
998 | } |
999 | |
1000 | GenericValueList::~GenericValueList() { |
1001 | // @@protoc_insertion_point(destructor:proxima.be.proto.GenericValueList) |
1002 | SharedDtor(); |
1003 | } |
1004 | |
1005 | void GenericValueList::SharedDtor() { |
1006 | } |
1007 | |
1008 | void GenericValueList::SetCachedSize(int size) const { |
1009 | _cached_size_.Set(size); |
1010 | } |
1011 | const GenericValueList& GenericValueList::default_instance() { |
1012 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GenericValueList_proto_2fcommon_2eproto.base); |
1013 | return *internal_default_instance(); |
1014 | } |
1015 | |
1016 | |
1017 | void GenericValueList::Clear() { |
1018 | // @@protoc_insertion_point(message_clear_start:proxima.be.proto.GenericValueList) |
1019 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1020 | // Prevent compiler warnings about cached_has_bits being unused |
1021 | (void) cached_has_bits; |
1022 | |
1023 | values_.Clear(); |
1024 | _internal_metadata_.Clear(); |
1025 | } |
1026 | |
1027 | const char* GenericValueList::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
1028 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
1029 | while (!ctx->Done(&ptr)) { |
1030 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
1031 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
1032 | CHK_(ptr); |
1033 | switch (tag >> 3) { |
1034 | // repeated .proxima.be.proto.GenericValue values = 1; |
1035 | case 1: |
1036 | if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { |
1037 | ptr -= 1; |
1038 | do { |
1039 | ptr += 1; |
1040 | ptr = ctx->ParseMessage(_internal_add_values(), ptr); |
1041 | CHK_(ptr); |
1042 | if (!ctx->DataAvailable(ptr)) break; |
1043 | } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); |
1044 | } else goto handle_unusual; |
1045 | continue; |
1046 | default: { |
1047 | handle_unusual: |
1048 | if ((tag & 7) == 4 || tag == 0) { |
1049 | ctx->SetLastTag(tag); |
1050 | goto success; |
1051 | } |
1052 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
1053 | CHK_(ptr != nullptr); |
1054 | continue; |
1055 | } |
1056 | } // switch |
1057 | } // while |
1058 | success: |
1059 | return ptr; |
1060 | failure: |
1061 | ptr = nullptr; |
1062 | goto success; |
1063 | #undef CHK_ |
1064 | } |
1065 | |
1066 | ::PROTOBUF_NAMESPACE_ID::uint8* GenericValueList::_InternalSerialize( |
1067 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
1068 | // @@protoc_insertion_point(serialize_to_array_start:proxima.be.proto.GenericValueList) |
1069 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1070 | (void) cached_has_bits; |
1071 | |
1072 | // repeated .proxima.be.proto.GenericValue values = 1; |
1073 | for (unsigned int i = 0, |
1074 | n = static_cast<unsigned int>(this->_internal_values_size()); i < n; i++) { |
1075 | target = stream->EnsureSpace(target); |
1076 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
1077 | InternalWriteMessage(1, this->_internal_values(i), target, stream); |
1078 | } |
1079 | |
1080 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
1081 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
1082 | _internal_metadata_.unknown_fields(), target, stream); |
1083 | } |
1084 | // @@protoc_insertion_point(serialize_to_array_end:proxima.be.proto.GenericValueList) |
1085 | return target; |
1086 | } |
1087 | |
1088 | size_t GenericValueList::ByteSizeLong() const { |
1089 | // @@protoc_insertion_point(message_byte_size_start:proxima.be.proto.GenericValueList) |
1090 | size_t total_size = 0; |
1091 | |
1092 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1093 | // Prevent compiler warnings about cached_has_bits being unused |
1094 | (void) cached_has_bits; |
1095 | |
1096 | // repeated .proxima.be.proto.GenericValue values = 1; |
1097 | total_size += 1UL * this->_internal_values_size(); |
1098 | for (const auto& msg : this->values_) { |
1099 | total_size += |
1100 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); |
1101 | } |
1102 | |
1103 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
1104 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
1105 | _internal_metadata_, total_size, &_cached_size_); |
1106 | } |
1107 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
1108 | SetCachedSize(cached_size); |
1109 | return total_size; |
1110 | } |
1111 | |
1112 | void GenericValueList::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
1113 | // @@protoc_insertion_point(generalized_merge_from_start:proxima.be.proto.GenericValueList) |
1114 | GOOGLE_DCHECK_NE(&from, this); |
1115 | const GenericValueList* source = |
1116 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<GenericValueList>( |
1117 | &from); |
1118 | if (source == nullptr) { |
1119 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:proxima.be.proto.GenericValueList) |
1120 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
1121 | } else { |
1122 | // @@protoc_insertion_point(generalized_merge_from_cast_success:proxima.be.proto.GenericValueList) |
1123 | MergeFrom(*source); |
1124 | } |
1125 | } |
1126 | |
1127 | void GenericValueList::MergeFrom(const GenericValueList& from) { |
1128 | // @@protoc_insertion_point(class_specific_merge_from_start:proxima.be.proto.GenericValueList) |
1129 | GOOGLE_DCHECK_NE(&from, this); |
1130 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
1131 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1132 | (void) cached_has_bits; |
1133 | |
1134 | values_.MergeFrom(from.values_); |
1135 | } |
1136 | |
1137 | void GenericValueList::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
1138 | // @@protoc_insertion_point(generalized_copy_from_start:proxima.be.proto.GenericValueList) |
1139 | if (&from == this) return; |
1140 | Clear(); |
1141 | MergeFrom(from); |
1142 | } |
1143 | |
1144 | void GenericValueList::CopyFrom(const GenericValueList& from) { |
1145 | // @@protoc_insertion_point(class_specific_copy_from_start:proxima.be.proto.GenericValueList) |
1146 | if (&from == this) return; |
1147 | Clear(); |
1148 | MergeFrom(from); |
1149 | } |
1150 | |
1151 | bool GenericValueList::IsInitialized() const { |
1152 | return true; |
1153 | } |
1154 | |
1155 | void GenericValueList::InternalSwap(GenericValueList* other) { |
1156 | using std::swap; |
1157 | _internal_metadata_.Swap(&other->_internal_metadata_); |
1158 | values_.InternalSwap(&other->values_); |
1159 | } |
1160 | |
1161 | ::PROTOBUF_NAMESPACE_ID::Metadata GenericValueList::GetMetadata() const { |
1162 | return GetMetadataStatic(); |
1163 | } |
1164 | |
1165 | |
1166 | // =================================================================== |
1167 | |
1168 | void GenericValueMeta::InitAsDefaultInstance() { |
1169 | } |
1170 | class GenericValueMeta::_Internal { |
1171 | public: |
1172 | }; |
1173 | |
1174 | GenericValueMeta::GenericValueMeta() |
1175 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
1176 | SharedCtor(); |
1177 | // @@protoc_insertion_point(constructor:proxima.be.proto.GenericValueMeta) |
1178 | } |
1179 | GenericValueMeta::GenericValueMeta(const GenericValueMeta& from) |
1180 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
1181 | _internal_metadata_(nullptr) { |
1182 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
1183 | field_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1184 | if (!from._internal_field_name().empty()) { |
1185 | field_name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.field_name_); |
1186 | } |
1187 | field_type_ = from.field_type_; |
1188 | // @@protoc_insertion_point(copy_constructor:proxima.be.proto.GenericValueMeta) |
1189 | } |
1190 | |
1191 | void GenericValueMeta::SharedCtor() { |
1192 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_GenericValueMeta_proto_2fcommon_2eproto.base); |
1193 | field_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1194 | field_type_ = 0; |
1195 | } |
1196 | |
1197 | GenericValueMeta::~GenericValueMeta() { |
1198 | // @@protoc_insertion_point(destructor:proxima.be.proto.GenericValueMeta) |
1199 | SharedDtor(); |
1200 | } |
1201 | |
1202 | void GenericValueMeta::SharedDtor() { |
1203 | field_name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1204 | } |
1205 | |
1206 | void GenericValueMeta::SetCachedSize(int size) const { |
1207 | _cached_size_.Set(size); |
1208 | } |
1209 | const GenericValueMeta& GenericValueMeta::default_instance() { |
1210 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GenericValueMeta_proto_2fcommon_2eproto.base); |
1211 | return *internal_default_instance(); |
1212 | } |
1213 | |
1214 | |
1215 | void GenericValueMeta::Clear() { |
1216 | // @@protoc_insertion_point(message_clear_start:proxima.be.proto.GenericValueMeta) |
1217 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1218 | // Prevent compiler warnings about cached_has_bits being unused |
1219 | (void) cached_has_bits; |
1220 | |
1221 | field_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1222 | field_type_ = 0; |
1223 | _internal_metadata_.Clear(); |
1224 | } |
1225 | |
1226 | const char* GenericValueMeta::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
1227 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
1228 | while (!ctx->Done(&ptr)) { |
1229 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
1230 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
1231 | CHK_(ptr); |
1232 | switch (tag >> 3) { |
1233 | // string field_name = 1; |
1234 | case 1: |
1235 | if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { |
1236 | auto str = _internal_mutable_field_name(); |
1237 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); |
1238 | CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proxima.be.proto.GenericValueMeta.field_name" )); |
1239 | CHK_(ptr); |
1240 | } else goto handle_unusual; |
1241 | continue; |
1242 | // .proxima.be.proto.GenericValueMeta.FieldType field_type = 2; |
1243 | case 2: |
1244 | if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { |
1245 | ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); |
1246 | CHK_(ptr); |
1247 | _internal_set_field_type(static_cast<::proxima::be::proto::GenericValueMeta_FieldType>(val)); |
1248 | } else goto handle_unusual; |
1249 | continue; |
1250 | default: { |
1251 | handle_unusual: |
1252 | if ((tag & 7) == 4 || tag == 0) { |
1253 | ctx->SetLastTag(tag); |
1254 | goto success; |
1255 | } |
1256 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
1257 | CHK_(ptr != nullptr); |
1258 | continue; |
1259 | } |
1260 | } // switch |
1261 | } // while |
1262 | success: |
1263 | return ptr; |
1264 | failure: |
1265 | ptr = nullptr; |
1266 | goto success; |
1267 | #undef CHK_ |
1268 | } |
1269 | |
1270 | ::PROTOBUF_NAMESPACE_ID::uint8* GenericValueMeta::_InternalSerialize( |
1271 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
1272 | // @@protoc_insertion_point(serialize_to_array_start:proxima.be.proto.GenericValueMeta) |
1273 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1274 | (void) cached_has_bits; |
1275 | |
1276 | // string field_name = 1; |
1277 | if (this->field_name().size() > 0) { |
1278 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
1279 | this->_internal_field_name().data(), static_cast<int>(this->_internal_field_name().length()), |
1280 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, |
1281 | "proxima.be.proto.GenericValueMeta.field_name" ); |
1282 | target = stream->WriteStringMaybeAliased( |
1283 | 1, this->_internal_field_name(), target); |
1284 | } |
1285 | |
1286 | // .proxima.be.proto.GenericValueMeta.FieldType field_type = 2; |
1287 | if (this->field_type() != 0) { |
1288 | target = stream->EnsureSpace(target); |
1289 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( |
1290 | 2, this->_internal_field_type(), target); |
1291 | } |
1292 | |
1293 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
1294 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
1295 | _internal_metadata_.unknown_fields(), target, stream); |
1296 | } |
1297 | // @@protoc_insertion_point(serialize_to_array_end:proxima.be.proto.GenericValueMeta) |
1298 | return target; |
1299 | } |
1300 | |
1301 | size_t GenericValueMeta::ByteSizeLong() const { |
1302 | // @@protoc_insertion_point(message_byte_size_start:proxima.be.proto.GenericValueMeta) |
1303 | size_t total_size = 0; |
1304 | |
1305 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1306 | // Prevent compiler warnings about cached_has_bits being unused |
1307 | (void) cached_has_bits; |
1308 | |
1309 | // string field_name = 1; |
1310 | if (this->field_name().size() > 0) { |
1311 | total_size += 1 + |
1312 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
1313 | this->_internal_field_name()); |
1314 | } |
1315 | |
1316 | // .proxima.be.proto.GenericValueMeta.FieldType field_type = 2; |
1317 | if (this->field_type() != 0) { |
1318 | total_size += 1 + |
1319 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_field_type()); |
1320 | } |
1321 | |
1322 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
1323 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
1324 | _internal_metadata_, total_size, &_cached_size_); |
1325 | } |
1326 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
1327 | SetCachedSize(cached_size); |
1328 | return total_size; |
1329 | } |
1330 | |
1331 | void GenericValueMeta::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
1332 | // @@protoc_insertion_point(generalized_merge_from_start:proxima.be.proto.GenericValueMeta) |
1333 | GOOGLE_DCHECK_NE(&from, this); |
1334 | const GenericValueMeta* source = |
1335 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<GenericValueMeta>( |
1336 | &from); |
1337 | if (source == nullptr) { |
1338 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:proxima.be.proto.GenericValueMeta) |
1339 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
1340 | } else { |
1341 | // @@protoc_insertion_point(generalized_merge_from_cast_success:proxima.be.proto.GenericValueMeta) |
1342 | MergeFrom(*source); |
1343 | } |
1344 | } |
1345 | |
1346 | void GenericValueMeta::MergeFrom(const GenericValueMeta& from) { |
1347 | // @@protoc_insertion_point(class_specific_merge_from_start:proxima.be.proto.GenericValueMeta) |
1348 | GOOGLE_DCHECK_NE(&from, this); |
1349 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
1350 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1351 | (void) cached_has_bits; |
1352 | |
1353 | if (from.field_name().size() > 0) { |
1354 | |
1355 | field_name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.field_name_); |
1356 | } |
1357 | if (from.field_type() != 0) { |
1358 | _internal_set_field_type(from._internal_field_type()); |
1359 | } |
1360 | } |
1361 | |
1362 | void GenericValueMeta::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
1363 | // @@protoc_insertion_point(generalized_copy_from_start:proxima.be.proto.GenericValueMeta) |
1364 | if (&from == this) return; |
1365 | Clear(); |
1366 | MergeFrom(from); |
1367 | } |
1368 | |
1369 | void GenericValueMeta::CopyFrom(const GenericValueMeta& from) { |
1370 | // @@protoc_insertion_point(class_specific_copy_from_start:proxima.be.proto.GenericValueMeta) |
1371 | if (&from == this) return; |
1372 | Clear(); |
1373 | MergeFrom(from); |
1374 | } |
1375 | |
1376 | bool GenericValueMeta::IsInitialized() const { |
1377 | return true; |
1378 | } |
1379 | |
1380 | void GenericValueMeta::InternalSwap(GenericValueMeta* other) { |
1381 | using std::swap; |
1382 | _internal_metadata_.Swap(&other->_internal_metadata_); |
1383 | field_name_.Swap(&other->field_name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
1384 | GetArenaNoVirtual()); |
1385 | swap(field_type_, other->field_type_); |
1386 | } |
1387 | |
1388 | ::PROTOBUF_NAMESPACE_ID::Metadata GenericValueMeta::GetMetadata() const { |
1389 | return GetMetadataStatic(); |
1390 | } |
1391 | |
1392 | |
1393 | // =================================================================== |
1394 | |
1395 | void GenericKeyValue::InitAsDefaultInstance() { |
1396 | ::proxima::be::proto::_GenericKeyValue_default_instance_._instance.get_mutable()->value_ = const_cast< ::proxima::be::proto::GenericValue*>( |
1397 | ::proxima::be::proto::GenericValue::internal_default_instance()); |
1398 | } |
1399 | class GenericKeyValue::_Internal { |
1400 | public: |
1401 | static const ::proxima::be::proto::GenericValue& value(const GenericKeyValue* msg); |
1402 | }; |
1403 | |
1404 | const ::proxima::be::proto::GenericValue& |
1405 | GenericKeyValue::_Internal::value(const GenericKeyValue* msg) { |
1406 | return *msg->value_; |
1407 | } |
1408 | GenericKeyValue::GenericKeyValue() |
1409 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
1410 | SharedCtor(); |
1411 | // @@protoc_insertion_point(constructor:proxima.be.proto.GenericKeyValue) |
1412 | } |
1413 | GenericKeyValue::GenericKeyValue(const GenericKeyValue& from) |
1414 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
1415 | _internal_metadata_(nullptr) { |
1416 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
1417 | key_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1418 | if (!from._internal_key().empty()) { |
1419 | key_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.key_); |
1420 | } |
1421 | if (from._internal_has_value()) { |
1422 | value_ = new ::proxima::be::proto::GenericValue(*from.value_); |
1423 | } else { |
1424 | value_ = nullptr; |
1425 | } |
1426 | // @@protoc_insertion_point(copy_constructor:proxima.be.proto.GenericKeyValue) |
1427 | } |
1428 | |
1429 | void GenericKeyValue::SharedCtor() { |
1430 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_GenericKeyValue_proto_2fcommon_2eproto.base); |
1431 | key_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1432 | value_ = nullptr; |
1433 | } |
1434 | |
1435 | GenericKeyValue::~GenericKeyValue() { |
1436 | // @@protoc_insertion_point(destructor:proxima.be.proto.GenericKeyValue) |
1437 | SharedDtor(); |
1438 | } |
1439 | |
1440 | void GenericKeyValue::SharedDtor() { |
1441 | key_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1442 | if (this != internal_default_instance()) delete value_; |
1443 | } |
1444 | |
1445 | void GenericKeyValue::SetCachedSize(int size) const { |
1446 | _cached_size_.Set(size); |
1447 | } |
1448 | const GenericKeyValue& GenericKeyValue::default_instance() { |
1449 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GenericKeyValue_proto_2fcommon_2eproto.base); |
1450 | return *internal_default_instance(); |
1451 | } |
1452 | |
1453 | |
1454 | void GenericKeyValue::Clear() { |
1455 | // @@protoc_insertion_point(message_clear_start:proxima.be.proto.GenericKeyValue) |
1456 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1457 | // Prevent compiler warnings about cached_has_bits being unused |
1458 | (void) cached_has_bits; |
1459 | |
1460 | key_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1461 | if (GetArenaNoVirtual() == nullptr && value_ != nullptr) { |
1462 | delete value_; |
1463 | } |
1464 | value_ = nullptr; |
1465 | _internal_metadata_.Clear(); |
1466 | } |
1467 | |
1468 | const char* GenericKeyValue::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
1469 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
1470 | while (!ctx->Done(&ptr)) { |
1471 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
1472 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
1473 | CHK_(ptr); |
1474 | switch (tag >> 3) { |
1475 | // string key = 1; |
1476 | case 1: |
1477 | if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { |
1478 | auto str = _internal_mutable_key(); |
1479 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); |
1480 | CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proxima.be.proto.GenericKeyValue.key" )); |
1481 | CHK_(ptr); |
1482 | } else goto handle_unusual; |
1483 | continue; |
1484 | // .proxima.be.proto.GenericValue value = 2; |
1485 | case 2: |
1486 | if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { |
1487 | ptr = ctx->ParseMessage(_internal_mutable_value(), ptr); |
1488 | CHK_(ptr); |
1489 | } else goto handle_unusual; |
1490 | continue; |
1491 | default: { |
1492 | handle_unusual: |
1493 | if ((tag & 7) == 4 || tag == 0) { |
1494 | ctx->SetLastTag(tag); |
1495 | goto success; |
1496 | } |
1497 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
1498 | CHK_(ptr != nullptr); |
1499 | continue; |
1500 | } |
1501 | } // switch |
1502 | } // while |
1503 | success: |
1504 | return ptr; |
1505 | failure: |
1506 | ptr = nullptr; |
1507 | goto success; |
1508 | #undef CHK_ |
1509 | } |
1510 | |
1511 | ::PROTOBUF_NAMESPACE_ID::uint8* GenericKeyValue::_InternalSerialize( |
1512 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
1513 | // @@protoc_insertion_point(serialize_to_array_start:proxima.be.proto.GenericKeyValue) |
1514 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1515 | (void) cached_has_bits; |
1516 | |
1517 | // string key = 1; |
1518 | if (this->key().size() > 0) { |
1519 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
1520 | this->_internal_key().data(), static_cast<int>(this->_internal_key().length()), |
1521 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, |
1522 | "proxima.be.proto.GenericKeyValue.key" ); |
1523 | target = stream->WriteStringMaybeAliased( |
1524 | 1, this->_internal_key(), target); |
1525 | } |
1526 | |
1527 | // .proxima.be.proto.GenericValue value = 2; |
1528 | if (this->has_value()) { |
1529 | target = stream->EnsureSpace(target); |
1530 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
1531 | InternalWriteMessage( |
1532 | 2, _Internal::value(this), target, stream); |
1533 | } |
1534 | |
1535 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
1536 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
1537 | _internal_metadata_.unknown_fields(), target, stream); |
1538 | } |
1539 | // @@protoc_insertion_point(serialize_to_array_end:proxima.be.proto.GenericKeyValue) |
1540 | return target; |
1541 | } |
1542 | |
1543 | size_t GenericKeyValue::ByteSizeLong() const { |
1544 | // @@protoc_insertion_point(message_byte_size_start:proxima.be.proto.GenericKeyValue) |
1545 | size_t total_size = 0; |
1546 | |
1547 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1548 | // Prevent compiler warnings about cached_has_bits being unused |
1549 | (void) cached_has_bits; |
1550 | |
1551 | // string key = 1; |
1552 | if (this->key().size() > 0) { |
1553 | total_size += 1 + |
1554 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
1555 | this->_internal_key()); |
1556 | } |
1557 | |
1558 | // .proxima.be.proto.GenericValue value = 2; |
1559 | if (this->has_value()) { |
1560 | total_size += 1 + |
1561 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
1562 | *value_); |
1563 | } |
1564 | |
1565 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
1566 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
1567 | _internal_metadata_, total_size, &_cached_size_); |
1568 | } |
1569 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
1570 | SetCachedSize(cached_size); |
1571 | return total_size; |
1572 | } |
1573 | |
1574 | void GenericKeyValue::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
1575 | // @@protoc_insertion_point(generalized_merge_from_start:proxima.be.proto.GenericKeyValue) |
1576 | GOOGLE_DCHECK_NE(&from, this); |
1577 | const GenericKeyValue* source = |
1578 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<GenericKeyValue>( |
1579 | &from); |
1580 | if (source == nullptr) { |
1581 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:proxima.be.proto.GenericKeyValue) |
1582 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
1583 | } else { |
1584 | // @@protoc_insertion_point(generalized_merge_from_cast_success:proxima.be.proto.GenericKeyValue) |
1585 | MergeFrom(*source); |
1586 | } |
1587 | } |
1588 | |
1589 | void GenericKeyValue::MergeFrom(const GenericKeyValue& from) { |
1590 | // @@protoc_insertion_point(class_specific_merge_from_start:proxima.be.proto.GenericKeyValue) |
1591 | GOOGLE_DCHECK_NE(&from, this); |
1592 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
1593 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1594 | (void) cached_has_bits; |
1595 | |
1596 | if (from.key().size() > 0) { |
1597 | |
1598 | key_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.key_); |
1599 | } |
1600 | if (from.has_value()) { |
1601 | _internal_mutable_value()->::proxima::be::proto::GenericValue::MergeFrom(from._internal_value()); |
1602 | } |
1603 | } |
1604 | |
1605 | void GenericKeyValue::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
1606 | // @@protoc_insertion_point(generalized_copy_from_start:proxima.be.proto.GenericKeyValue) |
1607 | if (&from == this) return; |
1608 | Clear(); |
1609 | MergeFrom(from); |
1610 | } |
1611 | |
1612 | void GenericKeyValue::CopyFrom(const GenericKeyValue& from) { |
1613 | // @@protoc_insertion_point(class_specific_copy_from_start:proxima.be.proto.GenericKeyValue) |
1614 | if (&from == this) return; |
1615 | Clear(); |
1616 | MergeFrom(from); |
1617 | } |
1618 | |
1619 | bool GenericKeyValue::IsInitialized() const { |
1620 | return true; |
1621 | } |
1622 | |
1623 | void GenericKeyValue::InternalSwap(GenericKeyValue* other) { |
1624 | using std::swap; |
1625 | _internal_metadata_.Swap(&other->_internal_metadata_); |
1626 | key_.Swap(&other->key_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
1627 | GetArenaNoVirtual()); |
1628 | swap(value_, other->value_); |
1629 | } |
1630 | |
1631 | ::PROTOBUF_NAMESPACE_ID::Metadata GenericKeyValue::GetMetadata() const { |
1632 | return GetMetadataStatic(); |
1633 | } |
1634 | |
1635 | |
1636 | // =================================================================== |
1637 | |
1638 | void KeyValuePair::InitAsDefaultInstance() { |
1639 | } |
1640 | class KeyValuePair::_Internal { |
1641 | public: |
1642 | }; |
1643 | |
1644 | KeyValuePair::KeyValuePair() |
1645 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
1646 | SharedCtor(); |
1647 | // @@protoc_insertion_point(constructor:proxima.be.proto.KeyValuePair) |
1648 | } |
1649 | KeyValuePair::KeyValuePair(const KeyValuePair& from) |
1650 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
1651 | _internal_metadata_(nullptr) { |
1652 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
1653 | key_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1654 | if (!from._internal_key().empty()) { |
1655 | key_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.key_); |
1656 | } |
1657 | value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1658 | if (!from._internal_value().empty()) { |
1659 | value_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.value_); |
1660 | } |
1661 | // @@protoc_insertion_point(copy_constructor:proxima.be.proto.KeyValuePair) |
1662 | } |
1663 | |
1664 | void KeyValuePair::SharedCtor() { |
1665 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_KeyValuePair_proto_2fcommon_2eproto.base); |
1666 | key_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1667 | value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1668 | } |
1669 | |
1670 | KeyValuePair::~KeyValuePair() { |
1671 | // @@protoc_insertion_point(destructor:proxima.be.proto.KeyValuePair) |
1672 | SharedDtor(); |
1673 | } |
1674 | |
1675 | void KeyValuePair::SharedDtor() { |
1676 | key_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1677 | value_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1678 | } |
1679 | |
1680 | void KeyValuePair::SetCachedSize(int size) const { |
1681 | _cached_size_.Set(size); |
1682 | } |
1683 | const KeyValuePair& KeyValuePair::default_instance() { |
1684 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_KeyValuePair_proto_2fcommon_2eproto.base); |
1685 | return *internal_default_instance(); |
1686 | } |
1687 | |
1688 | |
1689 | void KeyValuePair::Clear() { |
1690 | // @@protoc_insertion_point(message_clear_start:proxima.be.proto.KeyValuePair) |
1691 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1692 | // Prevent compiler warnings about cached_has_bits being unused |
1693 | (void) cached_has_bits; |
1694 | |
1695 | key_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1696 | value_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1697 | _internal_metadata_.Clear(); |
1698 | } |
1699 | |
1700 | const char* KeyValuePair::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
1701 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
1702 | while (!ctx->Done(&ptr)) { |
1703 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
1704 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
1705 | CHK_(ptr); |
1706 | switch (tag >> 3) { |
1707 | // string key = 1; |
1708 | case 1: |
1709 | if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { |
1710 | auto str = _internal_mutable_key(); |
1711 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); |
1712 | CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proxima.be.proto.KeyValuePair.key" )); |
1713 | CHK_(ptr); |
1714 | } else goto handle_unusual; |
1715 | continue; |
1716 | // string value = 2; |
1717 | case 2: |
1718 | if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { |
1719 | auto str = _internal_mutable_value(); |
1720 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); |
1721 | CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proxima.be.proto.KeyValuePair.value" )); |
1722 | CHK_(ptr); |
1723 | } else goto handle_unusual; |
1724 | continue; |
1725 | default: { |
1726 | handle_unusual: |
1727 | if ((tag & 7) == 4 || tag == 0) { |
1728 | ctx->SetLastTag(tag); |
1729 | goto success; |
1730 | } |
1731 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
1732 | CHK_(ptr != nullptr); |
1733 | continue; |
1734 | } |
1735 | } // switch |
1736 | } // while |
1737 | success: |
1738 | return ptr; |
1739 | failure: |
1740 | ptr = nullptr; |
1741 | goto success; |
1742 | #undef CHK_ |
1743 | } |
1744 | |
1745 | ::PROTOBUF_NAMESPACE_ID::uint8* KeyValuePair::_InternalSerialize( |
1746 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
1747 | // @@protoc_insertion_point(serialize_to_array_start:proxima.be.proto.KeyValuePair) |
1748 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1749 | (void) cached_has_bits; |
1750 | |
1751 | // string key = 1; |
1752 | if (this->key().size() > 0) { |
1753 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
1754 | this->_internal_key().data(), static_cast<int>(this->_internal_key().length()), |
1755 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, |
1756 | "proxima.be.proto.KeyValuePair.key" ); |
1757 | target = stream->WriteStringMaybeAliased( |
1758 | 1, this->_internal_key(), target); |
1759 | } |
1760 | |
1761 | // string value = 2; |
1762 | if (this->value().size() > 0) { |
1763 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
1764 | this->_internal_value().data(), static_cast<int>(this->_internal_value().length()), |
1765 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, |
1766 | "proxima.be.proto.KeyValuePair.value" ); |
1767 | target = stream->WriteStringMaybeAliased( |
1768 | 2, this->_internal_value(), target); |
1769 | } |
1770 | |
1771 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
1772 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
1773 | _internal_metadata_.unknown_fields(), target, stream); |
1774 | } |
1775 | // @@protoc_insertion_point(serialize_to_array_end:proxima.be.proto.KeyValuePair) |
1776 | return target; |
1777 | } |
1778 | |
1779 | size_t KeyValuePair::ByteSizeLong() const { |
1780 | // @@protoc_insertion_point(message_byte_size_start:proxima.be.proto.KeyValuePair) |
1781 | size_t total_size = 0; |
1782 | |
1783 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1784 | // Prevent compiler warnings about cached_has_bits being unused |
1785 | (void) cached_has_bits; |
1786 | |
1787 | // string key = 1; |
1788 | if (this->key().size() > 0) { |
1789 | total_size += 1 + |
1790 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
1791 | this->_internal_key()); |
1792 | } |
1793 | |
1794 | // string value = 2; |
1795 | if (this->value().size() > 0) { |
1796 | total_size += 1 + |
1797 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
1798 | this->_internal_value()); |
1799 | } |
1800 | |
1801 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
1802 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
1803 | _internal_metadata_, total_size, &_cached_size_); |
1804 | } |
1805 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
1806 | SetCachedSize(cached_size); |
1807 | return total_size; |
1808 | } |
1809 | |
1810 | void KeyValuePair::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
1811 | // @@protoc_insertion_point(generalized_merge_from_start:proxima.be.proto.KeyValuePair) |
1812 | GOOGLE_DCHECK_NE(&from, this); |
1813 | const KeyValuePair* source = |
1814 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<KeyValuePair>( |
1815 | &from); |
1816 | if (source == nullptr) { |
1817 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:proxima.be.proto.KeyValuePair) |
1818 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
1819 | } else { |
1820 | // @@protoc_insertion_point(generalized_merge_from_cast_success:proxima.be.proto.KeyValuePair) |
1821 | MergeFrom(*source); |
1822 | } |
1823 | } |
1824 | |
1825 | void KeyValuePair::MergeFrom(const KeyValuePair& from) { |
1826 | // @@protoc_insertion_point(class_specific_merge_from_start:proxima.be.proto.KeyValuePair) |
1827 | GOOGLE_DCHECK_NE(&from, this); |
1828 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
1829 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1830 | (void) cached_has_bits; |
1831 | |
1832 | if (from.key().size() > 0) { |
1833 | |
1834 | key_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.key_); |
1835 | } |
1836 | if (from.value().size() > 0) { |
1837 | |
1838 | value_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.value_); |
1839 | } |
1840 | } |
1841 | |
1842 | void KeyValuePair::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
1843 | // @@protoc_insertion_point(generalized_copy_from_start:proxima.be.proto.KeyValuePair) |
1844 | if (&from == this) return; |
1845 | Clear(); |
1846 | MergeFrom(from); |
1847 | } |
1848 | |
1849 | void KeyValuePair::CopyFrom(const KeyValuePair& from) { |
1850 | // @@protoc_insertion_point(class_specific_copy_from_start:proxima.be.proto.KeyValuePair) |
1851 | if (&from == this) return; |
1852 | Clear(); |
1853 | MergeFrom(from); |
1854 | } |
1855 | |
1856 | bool KeyValuePair::IsInitialized() const { |
1857 | return true; |
1858 | } |
1859 | |
1860 | void KeyValuePair::InternalSwap(KeyValuePair* other) { |
1861 | using std::swap; |
1862 | _internal_metadata_.Swap(&other->_internal_metadata_); |
1863 | key_.Swap(&other->key_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
1864 | GetArenaNoVirtual()); |
1865 | value_.Swap(&other->value_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
1866 | GetArenaNoVirtual()); |
1867 | } |
1868 | |
1869 | ::PROTOBUF_NAMESPACE_ID::Metadata KeyValuePair::GetMetadata() const { |
1870 | return GetMetadataStatic(); |
1871 | } |
1872 | |
1873 | |
1874 | // =================================================================== |
1875 | |
1876 | void CommonResponse::InitAsDefaultInstance() { |
1877 | } |
1878 | class CommonResponse::_Internal { |
1879 | public: |
1880 | }; |
1881 | |
1882 | CommonResponse::CommonResponse() |
1883 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
1884 | SharedCtor(); |
1885 | // @@protoc_insertion_point(constructor:proxima.be.proto.CommonResponse) |
1886 | } |
1887 | CommonResponse::CommonResponse(const CommonResponse& from) |
1888 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
1889 | _internal_metadata_(nullptr) { |
1890 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
1891 | reason_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1892 | if (!from._internal_reason().empty()) { |
1893 | reason_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.reason_); |
1894 | } |
1895 | code_ = from.code_; |
1896 | // @@protoc_insertion_point(copy_constructor:proxima.be.proto.CommonResponse) |
1897 | } |
1898 | |
1899 | void CommonResponse::SharedCtor() { |
1900 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_CommonResponse_proto_2fcommon_2eproto.base); |
1901 | reason_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1902 | code_ = 0; |
1903 | } |
1904 | |
1905 | CommonResponse::~CommonResponse() { |
1906 | // @@protoc_insertion_point(destructor:proxima.be.proto.CommonResponse) |
1907 | SharedDtor(); |
1908 | } |
1909 | |
1910 | void CommonResponse::SharedDtor() { |
1911 | reason_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1912 | } |
1913 | |
1914 | void CommonResponse::SetCachedSize(int size) const { |
1915 | _cached_size_.Set(size); |
1916 | } |
1917 | const CommonResponse& CommonResponse::default_instance() { |
1918 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_CommonResponse_proto_2fcommon_2eproto.base); |
1919 | return *internal_default_instance(); |
1920 | } |
1921 | |
1922 | |
1923 | void CommonResponse::Clear() { |
1924 | // @@protoc_insertion_point(message_clear_start:proxima.be.proto.CommonResponse) |
1925 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1926 | // Prevent compiler warnings about cached_has_bits being unused |
1927 | (void) cached_has_bits; |
1928 | |
1929 | reason_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1930 | code_ = 0; |
1931 | _internal_metadata_.Clear(); |
1932 | } |
1933 | |
1934 | const char* CommonResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
1935 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
1936 | while (!ctx->Done(&ptr)) { |
1937 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
1938 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
1939 | CHK_(ptr); |
1940 | switch (tag >> 3) { |
1941 | // int32 code = 1; |
1942 | case 1: |
1943 | if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { |
1944 | code_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); |
1945 | CHK_(ptr); |
1946 | } else goto handle_unusual; |
1947 | continue; |
1948 | // string reason = 2; |
1949 | case 2: |
1950 | if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { |
1951 | auto str = _internal_mutable_reason(); |
1952 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); |
1953 | CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proxima.be.proto.CommonResponse.reason" )); |
1954 | CHK_(ptr); |
1955 | } else goto handle_unusual; |
1956 | continue; |
1957 | default: { |
1958 | handle_unusual: |
1959 | if ((tag & 7) == 4 || tag == 0) { |
1960 | ctx->SetLastTag(tag); |
1961 | goto success; |
1962 | } |
1963 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
1964 | CHK_(ptr != nullptr); |
1965 | continue; |
1966 | } |
1967 | } // switch |
1968 | } // while |
1969 | success: |
1970 | return ptr; |
1971 | failure: |
1972 | ptr = nullptr; |
1973 | goto success; |
1974 | #undef CHK_ |
1975 | } |
1976 | |
1977 | ::PROTOBUF_NAMESPACE_ID::uint8* CommonResponse::_InternalSerialize( |
1978 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
1979 | // @@protoc_insertion_point(serialize_to_array_start:proxima.be.proto.CommonResponse) |
1980 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1981 | (void) cached_has_bits; |
1982 | |
1983 | // int32 code = 1; |
1984 | if (this->code() != 0) { |
1985 | target = stream->EnsureSpace(target); |
1986 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(1, this->_internal_code(), target); |
1987 | } |
1988 | |
1989 | // string reason = 2; |
1990 | if (this->reason().size() > 0) { |
1991 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
1992 | this->_internal_reason().data(), static_cast<int>(this->_internal_reason().length()), |
1993 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, |
1994 | "proxima.be.proto.CommonResponse.reason" ); |
1995 | target = stream->WriteStringMaybeAliased( |
1996 | 2, this->_internal_reason(), target); |
1997 | } |
1998 | |
1999 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
2000 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
2001 | _internal_metadata_.unknown_fields(), target, stream); |
2002 | } |
2003 | // @@protoc_insertion_point(serialize_to_array_end:proxima.be.proto.CommonResponse) |
2004 | return target; |
2005 | } |
2006 | |
2007 | size_t CommonResponse::ByteSizeLong() const { |
2008 | // @@protoc_insertion_point(message_byte_size_start:proxima.be.proto.CommonResponse) |
2009 | size_t total_size = 0; |
2010 | |
2011 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2012 | // Prevent compiler warnings about cached_has_bits being unused |
2013 | (void) cached_has_bits; |
2014 | |
2015 | // string reason = 2; |
2016 | if (this->reason().size() > 0) { |
2017 | total_size += 1 + |
2018 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
2019 | this->_internal_reason()); |
2020 | } |
2021 | |
2022 | // int32 code = 1; |
2023 | if (this->code() != 0) { |
2024 | total_size += 1 + |
2025 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( |
2026 | this->_internal_code()); |
2027 | } |
2028 | |
2029 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
2030 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
2031 | _internal_metadata_, total_size, &_cached_size_); |
2032 | } |
2033 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
2034 | SetCachedSize(cached_size); |
2035 | return total_size; |
2036 | } |
2037 | |
2038 | void CommonResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
2039 | // @@protoc_insertion_point(generalized_merge_from_start:proxima.be.proto.CommonResponse) |
2040 | GOOGLE_DCHECK_NE(&from, this); |
2041 | const CommonResponse* source = |
2042 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<CommonResponse>( |
2043 | &from); |
2044 | if (source == nullptr) { |
2045 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:proxima.be.proto.CommonResponse) |
2046 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
2047 | } else { |
2048 | // @@protoc_insertion_point(generalized_merge_from_cast_success:proxima.be.proto.CommonResponse) |
2049 | MergeFrom(*source); |
2050 | } |
2051 | } |
2052 | |
2053 | void CommonResponse::MergeFrom(const CommonResponse& from) { |
2054 | // @@protoc_insertion_point(class_specific_merge_from_start:proxima.be.proto.CommonResponse) |
2055 | GOOGLE_DCHECK_NE(&from, this); |
2056 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
2057 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2058 | (void) cached_has_bits; |
2059 | |
2060 | if (from.reason().size() > 0) { |
2061 | |
2062 | reason_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.reason_); |
2063 | } |
2064 | if (from.code() != 0) { |
2065 | _internal_set_code(from._internal_code()); |
2066 | } |
2067 | } |
2068 | |
2069 | void CommonResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
2070 | // @@protoc_insertion_point(generalized_copy_from_start:proxima.be.proto.CommonResponse) |
2071 | if (&from == this) return; |
2072 | Clear(); |
2073 | MergeFrom(from); |
2074 | } |
2075 | |
2076 | void CommonResponse::CopyFrom(const CommonResponse& from) { |
2077 | // @@protoc_insertion_point(class_specific_copy_from_start:proxima.be.proto.CommonResponse) |
2078 | if (&from == this) return; |
2079 | Clear(); |
2080 | MergeFrom(from); |
2081 | } |
2082 | |
2083 | bool CommonResponse::IsInitialized() const { |
2084 | return true; |
2085 | } |
2086 | |
2087 | void CommonResponse::InternalSwap(CommonResponse* other) { |
2088 | using std::swap; |
2089 | _internal_metadata_.Swap(&other->_internal_metadata_); |
2090 | reason_.Swap(&other->reason_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
2091 | GetArenaNoVirtual()); |
2092 | swap(code_, other->code_); |
2093 | } |
2094 | |
2095 | ::PROTOBUF_NAMESPACE_ID::Metadata CommonResponse::GetMetadata() const { |
2096 | return GetMetadataStatic(); |
2097 | } |
2098 | |
2099 | |
2100 | // =================================================================== |
2101 | |
2102 | void Status::InitAsDefaultInstance() { |
2103 | } |
2104 | class Status::_Internal { |
2105 | public: |
2106 | }; |
2107 | |
2108 | Status::Status() |
2109 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
2110 | SharedCtor(); |
2111 | // @@protoc_insertion_point(constructor:proxima.be.proto.Status) |
2112 | } |
2113 | Status::Status(const Status& from) |
2114 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
2115 | _internal_metadata_(nullptr) { |
2116 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
2117 | reason_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
2118 | if (!from._internal_reason().empty()) { |
2119 | reason_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.reason_); |
2120 | } |
2121 | code_ = from.code_; |
2122 | // @@protoc_insertion_point(copy_constructor:proxima.be.proto.Status) |
2123 | } |
2124 | |
2125 | void Status::SharedCtor() { |
2126 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Status_proto_2fcommon_2eproto.base); |
2127 | reason_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
2128 | code_ = 0; |
2129 | } |
2130 | |
2131 | Status::~Status() { |
2132 | // @@protoc_insertion_point(destructor:proxima.be.proto.Status) |
2133 | SharedDtor(); |
2134 | } |
2135 | |
2136 | void Status::SharedDtor() { |
2137 | reason_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
2138 | } |
2139 | |
2140 | void Status::SetCachedSize(int size) const { |
2141 | _cached_size_.Set(size); |
2142 | } |
2143 | const Status& Status::default_instance() { |
2144 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Status_proto_2fcommon_2eproto.base); |
2145 | return *internal_default_instance(); |
2146 | } |
2147 | |
2148 | |
2149 | void Status::Clear() { |
2150 | // @@protoc_insertion_point(message_clear_start:proxima.be.proto.Status) |
2151 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2152 | // Prevent compiler warnings about cached_has_bits being unused |
2153 | (void) cached_has_bits; |
2154 | |
2155 | reason_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
2156 | code_ = 0; |
2157 | _internal_metadata_.Clear(); |
2158 | } |
2159 | |
2160 | const char* Status::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
2161 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
2162 | while (!ctx->Done(&ptr)) { |
2163 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
2164 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
2165 | CHK_(ptr); |
2166 | switch (tag >> 3) { |
2167 | // int32 code = 1; |
2168 | case 1: |
2169 | if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { |
2170 | code_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); |
2171 | CHK_(ptr); |
2172 | } else goto handle_unusual; |
2173 | continue; |
2174 | // string reason = 2; |
2175 | case 2: |
2176 | if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { |
2177 | auto str = _internal_mutable_reason(); |
2178 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); |
2179 | CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proxima.be.proto.Status.reason" )); |
2180 | CHK_(ptr); |
2181 | } else goto handle_unusual; |
2182 | continue; |
2183 | default: { |
2184 | handle_unusual: |
2185 | if ((tag & 7) == 4 || tag == 0) { |
2186 | ctx->SetLastTag(tag); |
2187 | goto success; |
2188 | } |
2189 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
2190 | CHK_(ptr != nullptr); |
2191 | continue; |
2192 | } |
2193 | } // switch |
2194 | } // while |
2195 | success: |
2196 | return ptr; |
2197 | failure: |
2198 | ptr = nullptr; |
2199 | goto success; |
2200 | #undef CHK_ |
2201 | } |
2202 | |
2203 | ::PROTOBUF_NAMESPACE_ID::uint8* Status::_InternalSerialize( |
2204 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
2205 | // @@protoc_insertion_point(serialize_to_array_start:proxima.be.proto.Status) |
2206 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2207 | (void) cached_has_bits; |
2208 | |
2209 | // int32 code = 1; |
2210 | if (this->code() != 0) { |
2211 | target = stream->EnsureSpace(target); |
2212 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(1, this->_internal_code(), target); |
2213 | } |
2214 | |
2215 | // string reason = 2; |
2216 | if (this->reason().size() > 0) { |
2217 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
2218 | this->_internal_reason().data(), static_cast<int>(this->_internal_reason().length()), |
2219 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, |
2220 | "proxima.be.proto.Status.reason" ); |
2221 | target = stream->WriteStringMaybeAliased( |
2222 | 2, this->_internal_reason(), target); |
2223 | } |
2224 | |
2225 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
2226 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
2227 | _internal_metadata_.unknown_fields(), target, stream); |
2228 | } |
2229 | // @@protoc_insertion_point(serialize_to_array_end:proxima.be.proto.Status) |
2230 | return target; |
2231 | } |
2232 | |
2233 | size_t Status::ByteSizeLong() const { |
2234 | // @@protoc_insertion_point(message_byte_size_start:proxima.be.proto.Status) |
2235 | size_t total_size = 0; |
2236 | |
2237 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2238 | // Prevent compiler warnings about cached_has_bits being unused |
2239 | (void) cached_has_bits; |
2240 | |
2241 | // string reason = 2; |
2242 | if (this->reason().size() > 0) { |
2243 | total_size += 1 + |
2244 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
2245 | this->_internal_reason()); |
2246 | } |
2247 | |
2248 | // int32 code = 1; |
2249 | if (this->code() != 0) { |
2250 | total_size += 1 + |
2251 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( |
2252 | this->_internal_code()); |
2253 | } |
2254 | |
2255 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
2256 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
2257 | _internal_metadata_, total_size, &_cached_size_); |
2258 | } |
2259 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
2260 | SetCachedSize(cached_size); |
2261 | return total_size; |
2262 | } |
2263 | |
2264 | void Status::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
2265 | // @@protoc_insertion_point(generalized_merge_from_start:proxima.be.proto.Status) |
2266 | GOOGLE_DCHECK_NE(&from, this); |
2267 | const Status* source = |
2268 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Status>( |
2269 | &from); |
2270 | if (source == nullptr) { |
2271 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:proxima.be.proto.Status) |
2272 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
2273 | } else { |
2274 | // @@protoc_insertion_point(generalized_merge_from_cast_success:proxima.be.proto.Status) |
2275 | MergeFrom(*source); |
2276 | } |
2277 | } |
2278 | |
2279 | void Status::MergeFrom(const Status& from) { |
2280 | // @@protoc_insertion_point(class_specific_merge_from_start:proxima.be.proto.Status) |
2281 | GOOGLE_DCHECK_NE(&from, this); |
2282 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
2283 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2284 | (void) cached_has_bits; |
2285 | |
2286 | if (from.reason().size() > 0) { |
2287 | |
2288 | reason_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.reason_); |
2289 | } |
2290 | if (from.code() != 0) { |
2291 | _internal_set_code(from._internal_code()); |
2292 | } |
2293 | } |
2294 | |
2295 | void Status::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
2296 | // @@protoc_insertion_point(generalized_copy_from_start:proxima.be.proto.Status) |
2297 | if (&from == this) return; |
2298 | Clear(); |
2299 | MergeFrom(from); |
2300 | } |
2301 | |
2302 | void Status::CopyFrom(const Status& from) { |
2303 | // @@protoc_insertion_point(class_specific_copy_from_start:proxima.be.proto.Status) |
2304 | if (&from == this) return; |
2305 | Clear(); |
2306 | MergeFrom(from); |
2307 | } |
2308 | |
2309 | bool Status::IsInitialized() const { |
2310 | return true; |
2311 | } |
2312 | |
2313 | void Status::InternalSwap(Status* other) { |
2314 | using std::swap; |
2315 | _internal_metadata_.Swap(&other->_internal_metadata_); |
2316 | reason_.Swap(&other->reason_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
2317 | GetArenaNoVirtual()); |
2318 | swap(code_, other->code_); |
2319 | } |
2320 | |
2321 | ::PROTOBUF_NAMESPACE_ID::Metadata Status::GetMetadata() const { |
2322 | return GetMetadataStatic(); |
2323 | } |
2324 | |
2325 | |
2326 | // =================================================================== |
2327 | |
2328 | void HttpRequest::InitAsDefaultInstance() { |
2329 | } |
2330 | class HttpRequest::_Internal { |
2331 | public: |
2332 | }; |
2333 | |
2334 | HttpRequest::HttpRequest() |
2335 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
2336 | SharedCtor(); |
2337 | // @@protoc_insertion_point(constructor:proxima.be.proto.HttpRequest) |
2338 | } |
2339 | HttpRequest::HttpRequest(const HttpRequest& from) |
2340 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
2341 | _internal_metadata_(nullptr) { |
2342 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
2343 | // @@protoc_insertion_point(copy_constructor:proxima.be.proto.HttpRequest) |
2344 | } |
2345 | |
2346 | void HttpRequest::SharedCtor() { |
2347 | } |
2348 | |
2349 | HttpRequest::~HttpRequest() { |
2350 | // @@protoc_insertion_point(destructor:proxima.be.proto.HttpRequest) |
2351 | SharedDtor(); |
2352 | } |
2353 | |
2354 | void HttpRequest::SharedDtor() { |
2355 | } |
2356 | |
2357 | void HttpRequest::SetCachedSize(int size) const { |
2358 | _cached_size_.Set(size); |
2359 | } |
2360 | const HttpRequest& HttpRequest::default_instance() { |
2361 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_HttpRequest_proto_2fcommon_2eproto.base); |
2362 | return *internal_default_instance(); |
2363 | } |
2364 | |
2365 | |
2366 | void HttpRequest::Clear() { |
2367 | // @@protoc_insertion_point(message_clear_start:proxima.be.proto.HttpRequest) |
2368 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2369 | // Prevent compiler warnings about cached_has_bits being unused |
2370 | (void) cached_has_bits; |
2371 | |
2372 | _internal_metadata_.Clear(); |
2373 | } |
2374 | |
2375 | const char* HttpRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
2376 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
2377 | while (!ctx->Done(&ptr)) { |
2378 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
2379 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
2380 | CHK_(ptr); |
2381 | if ((tag & 7) == 4 || tag == 0) { |
2382 | ctx->SetLastTag(tag); |
2383 | goto success; |
2384 | } |
2385 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
2386 | CHK_(ptr != nullptr); |
2387 | continue; |
2388 | } // while |
2389 | success: |
2390 | return ptr; |
2391 | failure: |
2392 | ptr = nullptr; |
2393 | goto success; |
2394 | #undef CHK_ |
2395 | } |
2396 | |
2397 | ::PROTOBUF_NAMESPACE_ID::uint8* HttpRequest::_InternalSerialize( |
2398 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
2399 | // @@protoc_insertion_point(serialize_to_array_start:proxima.be.proto.HttpRequest) |
2400 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2401 | (void) cached_has_bits; |
2402 | |
2403 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
2404 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
2405 | _internal_metadata_.unknown_fields(), target, stream); |
2406 | } |
2407 | // @@protoc_insertion_point(serialize_to_array_end:proxima.be.proto.HttpRequest) |
2408 | return target; |
2409 | } |
2410 | |
2411 | size_t HttpRequest::ByteSizeLong() const { |
2412 | // @@protoc_insertion_point(message_byte_size_start:proxima.be.proto.HttpRequest) |
2413 | size_t total_size = 0; |
2414 | |
2415 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2416 | // Prevent compiler warnings about cached_has_bits being unused |
2417 | (void) cached_has_bits; |
2418 | |
2419 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
2420 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
2421 | _internal_metadata_, total_size, &_cached_size_); |
2422 | } |
2423 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
2424 | SetCachedSize(cached_size); |
2425 | return total_size; |
2426 | } |
2427 | |
2428 | void HttpRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
2429 | // @@protoc_insertion_point(generalized_merge_from_start:proxima.be.proto.HttpRequest) |
2430 | GOOGLE_DCHECK_NE(&from, this); |
2431 | const HttpRequest* source = |
2432 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<HttpRequest>( |
2433 | &from); |
2434 | if (source == nullptr) { |
2435 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:proxima.be.proto.HttpRequest) |
2436 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
2437 | } else { |
2438 | // @@protoc_insertion_point(generalized_merge_from_cast_success:proxima.be.proto.HttpRequest) |
2439 | MergeFrom(*source); |
2440 | } |
2441 | } |
2442 | |
2443 | void HttpRequest::MergeFrom(const HttpRequest& from) { |
2444 | // @@protoc_insertion_point(class_specific_merge_from_start:proxima.be.proto.HttpRequest) |
2445 | GOOGLE_DCHECK_NE(&from, this); |
2446 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
2447 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2448 | (void) cached_has_bits; |
2449 | |
2450 | } |
2451 | |
2452 | void HttpRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
2453 | // @@protoc_insertion_point(generalized_copy_from_start:proxima.be.proto.HttpRequest) |
2454 | if (&from == this) return; |
2455 | Clear(); |
2456 | MergeFrom(from); |
2457 | } |
2458 | |
2459 | void HttpRequest::CopyFrom(const HttpRequest& from) { |
2460 | // @@protoc_insertion_point(class_specific_copy_from_start:proxima.be.proto.HttpRequest) |
2461 | if (&from == this) return; |
2462 | Clear(); |
2463 | MergeFrom(from); |
2464 | } |
2465 | |
2466 | bool HttpRequest::IsInitialized() const { |
2467 | return true; |
2468 | } |
2469 | |
2470 | void HttpRequest::InternalSwap(HttpRequest* other) { |
2471 | using std::swap; |
2472 | _internal_metadata_.Swap(&other->_internal_metadata_); |
2473 | } |
2474 | |
2475 | ::PROTOBUF_NAMESPACE_ID::Metadata HttpRequest::GetMetadata() const { |
2476 | return GetMetadataStatic(); |
2477 | } |
2478 | |
2479 | |
2480 | // =================================================================== |
2481 | |
2482 | void HttpResponse::InitAsDefaultInstance() { |
2483 | } |
2484 | class HttpResponse::_Internal { |
2485 | public: |
2486 | }; |
2487 | |
2488 | HttpResponse::HttpResponse() |
2489 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
2490 | SharedCtor(); |
2491 | // @@protoc_insertion_point(constructor:proxima.be.proto.HttpResponse) |
2492 | } |
2493 | HttpResponse::HttpResponse(const HttpResponse& from) |
2494 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
2495 | _internal_metadata_(nullptr) { |
2496 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
2497 | // @@protoc_insertion_point(copy_constructor:proxima.be.proto.HttpResponse) |
2498 | } |
2499 | |
2500 | void HttpResponse::SharedCtor() { |
2501 | } |
2502 | |
2503 | HttpResponse::~HttpResponse() { |
2504 | // @@protoc_insertion_point(destructor:proxima.be.proto.HttpResponse) |
2505 | SharedDtor(); |
2506 | } |
2507 | |
2508 | void HttpResponse::SharedDtor() { |
2509 | } |
2510 | |
2511 | void HttpResponse::SetCachedSize(int size) const { |
2512 | _cached_size_.Set(size); |
2513 | } |
2514 | const HttpResponse& HttpResponse::default_instance() { |
2515 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_HttpResponse_proto_2fcommon_2eproto.base); |
2516 | return *internal_default_instance(); |
2517 | } |
2518 | |
2519 | |
2520 | void HttpResponse::Clear() { |
2521 | // @@protoc_insertion_point(message_clear_start:proxima.be.proto.HttpResponse) |
2522 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2523 | // Prevent compiler warnings about cached_has_bits being unused |
2524 | (void) cached_has_bits; |
2525 | |
2526 | _internal_metadata_.Clear(); |
2527 | } |
2528 | |
2529 | const char* HttpResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
2530 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
2531 | while (!ctx->Done(&ptr)) { |
2532 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
2533 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
2534 | CHK_(ptr); |
2535 | if ((tag & 7) == 4 || tag == 0) { |
2536 | ctx->SetLastTag(tag); |
2537 | goto success; |
2538 | } |
2539 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
2540 | CHK_(ptr != nullptr); |
2541 | continue; |
2542 | } // while |
2543 | success: |
2544 | return ptr; |
2545 | failure: |
2546 | ptr = nullptr; |
2547 | goto success; |
2548 | #undef CHK_ |
2549 | } |
2550 | |
2551 | ::PROTOBUF_NAMESPACE_ID::uint8* HttpResponse::_InternalSerialize( |
2552 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
2553 | // @@protoc_insertion_point(serialize_to_array_start:proxima.be.proto.HttpResponse) |
2554 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2555 | (void) cached_has_bits; |
2556 | |
2557 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
2558 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
2559 | _internal_metadata_.unknown_fields(), target, stream); |
2560 | } |
2561 | // @@protoc_insertion_point(serialize_to_array_end:proxima.be.proto.HttpResponse) |
2562 | return target; |
2563 | } |
2564 | |
2565 | size_t HttpResponse::ByteSizeLong() const { |
2566 | // @@protoc_insertion_point(message_byte_size_start:proxima.be.proto.HttpResponse) |
2567 | size_t total_size = 0; |
2568 | |
2569 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2570 | // Prevent compiler warnings about cached_has_bits being unused |
2571 | (void) cached_has_bits; |
2572 | |
2573 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
2574 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
2575 | _internal_metadata_, total_size, &_cached_size_); |
2576 | } |
2577 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
2578 | SetCachedSize(cached_size); |
2579 | return total_size; |
2580 | } |
2581 | |
2582 | void HttpResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
2583 | // @@protoc_insertion_point(generalized_merge_from_start:proxima.be.proto.HttpResponse) |
2584 | GOOGLE_DCHECK_NE(&from, this); |
2585 | const HttpResponse* source = |
2586 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<HttpResponse>( |
2587 | &from); |
2588 | if (source == nullptr) { |
2589 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:proxima.be.proto.HttpResponse) |
2590 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
2591 | } else { |
2592 | // @@protoc_insertion_point(generalized_merge_from_cast_success:proxima.be.proto.HttpResponse) |
2593 | MergeFrom(*source); |
2594 | } |
2595 | } |
2596 | |
2597 | void HttpResponse::MergeFrom(const HttpResponse& from) { |
2598 | // @@protoc_insertion_point(class_specific_merge_from_start:proxima.be.proto.HttpResponse) |
2599 | GOOGLE_DCHECK_NE(&from, this); |
2600 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
2601 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2602 | (void) cached_has_bits; |
2603 | |
2604 | } |
2605 | |
2606 | void HttpResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
2607 | // @@protoc_insertion_point(generalized_copy_from_start:proxima.be.proto.HttpResponse) |
2608 | if (&from == this) return; |
2609 | Clear(); |
2610 | MergeFrom(from); |
2611 | } |
2612 | |
2613 | void HttpResponse::CopyFrom(const HttpResponse& from) { |
2614 | // @@protoc_insertion_point(class_specific_copy_from_start:proxima.be.proto.HttpResponse) |
2615 | if (&from == this) return; |
2616 | Clear(); |
2617 | MergeFrom(from); |
2618 | } |
2619 | |
2620 | bool HttpResponse::IsInitialized() const { |
2621 | return true; |
2622 | } |
2623 | |
2624 | void HttpResponse::InternalSwap(HttpResponse* other) { |
2625 | using std::swap; |
2626 | _internal_metadata_.Swap(&other->_internal_metadata_); |
2627 | } |
2628 | |
2629 | ::PROTOBUF_NAMESPACE_ID::Metadata HttpResponse::GetMetadata() const { |
2630 | return GetMetadataStatic(); |
2631 | } |
2632 | |
2633 | |
2634 | // @@protoc_insertion_point(namespace_scope) |
2635 | } // namespace proto |
2636 | } // namespace be |
2637 | } // namespace proxima |
2638 | PROTOBUF_NAMESPACE_OPEN |
2639 | template<> PROTOBUF_NOINLINE ::proxima::be::proto::GenericValue* Arena::CreateMaybeMessage< ::proxima::be::proto::GenericValue >(Arena* arena) { |
2640 | return Arena::CreateInternal< ::proxima::be::proto::GenericValue >(arena); |
2641 | } |
2642 | template<> PROTOBUF_NOINLINE ::proxima::be::proto::GenericValueList* Arena::CreateMaybeMessage< ::proxima::be::proto::GenericValueList >(Arena* arena) { |
2643 | return Arena::CreateInternal< ::proxima::be::proto::GenericValueList >(arena); |
2644 | } |
2645 | template<> PROTOBUF_NOINLINE ::proxima::be::proto::GenericValueMeta* Arena::CreateMaybeMessage< ::proxima::be::proto::GenericValueMeta >(Arena* arena) { |
2646 | return Arena::CreateInternal< ::proxima::be::proto::GenericValueMeta >(arena); |
2647 | } |
2648 | template<> PROTOBUF_NOINLINE ::proxima::be::proto::GenericKeyValue* Arena::CreateMaybeMessage< ::proxima::be::proto::GenericKeyValue >(Arena* arena) { |
2649 | return Arena::CreateInternal< ::proxima::be::proto::GenericKeyValue >(arena); |
2650 | } |
2651 | template<> PROTOBUF_NOINLINE ::proxima::be::proto::KeyValuePair* Arena::CreateMaybeMessage< ::proxima::be::proto::KeyValuePair >(Arena* arena) { |
2652 | return Arena::CreateInternal< ::proxima::be::proto::KeyValuePair >(arena); |
2653 | } |
2654 | template<> PROTOBUF_NOINLINE ::proxima::be::proto::CommonResponse* Arena::CreateMaybeMessage< ::proxima::be::proto::CommonResponse >(Arena* arena) { |
2655 | return Arena::CreateInternal< ::proxima::be::proto::CommonResponse >(arena); |
2656 | } |
2657 | template<> PROTOBUF_NOINLINE ::proxima::be::proto::Status* Arena::CreateMaybeMessage< ::proxima::be::proto::Status >(Arena* arena) { |
2658 | return Arena::CreateInternal< ::proxima::be::proto::Status >(arena); |
2659 | } |
2660 | template<> PROTOBUF_NOINLINE ::proxima::be::proto::HttpRequest* Arena::CreateMaybeMessage< ::proxima::be::proto::HttpRequest >(Arena* arena) { |
2661 | return Arena::CreateInternal< ::proxima::be::proto::HttpRequest >(arena); |
2662 | } |
2663 | template<> PROTOBUF_NOINLINE ::proxima::be::proto::HttpResponse* Arena::CreateMaybeMessage< ::proxima::be::proto::HttpResponse >(Arena* arena) { |
2664 | return Arena::CreateInternal< ::proxima::be::proto::HttpResponse >(arena); |
2665 | } |
2666 | PROTOBUF_NAMESPACE_CLOSE |
2667 | |
2668 | // @@protoc_insertion_point(global_scope) |
2669 | #include <google/protobuf/port_undef.inc> |
2670 | |
2671 | #ifdef __GNUC__ |
2672 | #pragma GCC diagnostic pop |
2673 | #endif |
2674 | |