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