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/config.proto |
9 | |
10 | #ifndef GOOGLE_PROTOBUF_INCLUDED_proto_2fconfig_2eproto |
11 | #define GOOGLE_PROTOBUF_INCLUDED_proto_2fconfig_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/unknown_field_set.h> |
41 | // @@protoc_insertion_point(includes) |
42 | #include <google/protobuf/port_def.inc> |
43 | #define PROTOBUF_INTERNAL_EXPORT_proto_2fconfig_2eproto |
44 | PROTOBUF_NAMESPACE_OPEN |
45 | namespace internal { |
46 | class AnyMetadata; |
47 | } // namespace internal |
48 | PROTOBUF_NAMESPACE_CLOSE |
49 | |
50 | // Internal implementation detail -- do not use these members. |
51 | struct TableStruct_proto_2fconfig_2eproto { |
52 | static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] |
53 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
54 | static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] |
55 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
56 | static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[6] |
57 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
58 | static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; |
59 | static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; |
60 | static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; |
61 | }; |
62 | extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_proto_2fconfig_2eproto; |
63 | namespace proxima { |
64 | namespace be { |
65 | namespace proto { |
66 | class CommonConfig; |
67 | class CommonConfigDefaultTypeInternal; |
68 | extern CommonConfigDefaultTypeInternal _CommonConfig_default_instance_; |
69 | class IndexConfig; |
70 | class IndexConfigDefaultTypeInternal; |
71 | extern IndexConfigDefaultTypeInternal _IndexConfig_default_instance_; |
72 | class MetaConfig; |
73 | class MetaConfigDefaultTypeInternal; |
74 | extern MetaConfigDefaultTypeInternal _MetaConfig_default_instance_; |
75 | class MetricsConfig; |
76 | class MetricsConfigDefaultTypeInternal; |
77 | extern MetricsConfigDefaultTypeInternal _MetricsConfig_default_instance_; |
78 | class ProximaSEConfig; |
79 | class ProximaSEConfigDefaultTypeInternal; |
80 | extern ProximaSEConfigDefaultTypeInternal _ProximaSEConfig_default_instance_; |
81 | class QueryConfig; |
82 | class QueryConfigDefaultTypeInternal; |
83 | extern QueryConfigDefaultTypeInternal _QueryConfig_default_instance_; |
84 | } // namespace proto |
85 | } // namespace be |
86 | } // namespace proxima |
87 | PROTOBUF_NAMESPACE_OPEN |
88 | template<> ::proxima::be::proto::CommonConfig* Arena::CreateMaybeMessage<::proxima::be::proto::CommonConfig>(Arena*); |
89 | template<> ::proxima::be::proto::IndexConfig* Arena::CreateMaybeMessage<::proxima::be::proto::IndexConfig>(Arena*); |
90 | template<> ::proxima::be::proto::MetaConfig* Arena::CreateMaybeMessage<::proxima::be::proto::MetaConfig>(Arena*); |
91 | template<> ::proxima::be::proto::MetricsConfig* Arena::CreateMaybeMessage<::proxima::be::proto::MetricsConfig>(Arena*); |
92 | template<> ::proxima::be::proto::ProximaSEConfig* Arena::CreateMaybeMessage<::proxima::be::proto::ProximaSEConfig>(Arena*); |
93 | template<> ::proxima::be::proto::QueryConfig* Arena::CreateMaybeMessage<::proxima::be::proto::QueryConfig>(Arena*); |
94 | PROTOBUF_NAMESPACE_CLOSE |
95 | namespace proxima { |
96 | namespace be { |
97 | namespace proto { |
98 | |
99 | // =================================================================== |
100 | |
101 | class MetricsConfig : |
102 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proxima.be.proto.MetricsConfig) */ { |
103 | public: |
104 | MetricsConfig(); |
105 | virtual ~MetricsConfig(); |
106 | |
107 | MetricsConfig(const MetricsConfig& from); |
108 | MetricsConfig(MetricsConfig&& from) noexcept |
109 | : MetricsConfig() { |
110 | *this = ::std::move(from); |
111 | } |
112 | |
113 | inline MetricsConfig& operator=(const MetricsConfig& from) { |
114 | CopyFrom(from); |
115 | return *this; |
116 | } |
117 | inline MetricsConfig& operator=(MetricsConfig&& from) noexcept { |
118 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
119 | if (this != &from) InternalSwap(&from); |
120 | } else { |
121 | CopyFrom(from); |
122 | } |
123 | return *this; |
124 | } |
125 | |
126 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
127 | return GetDescriptor(); |
128 | } |
129 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
130 | return GetMetadataStatic().descriptor; |
131 | } |
132 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
133 | return GetMetadataStatic().reflection; |
134 | } |
135 | static const MetricsConfig& default_instance(); |
136 | |
137 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
138 | static inline const MetricsConfig* internal_default_instance() { |
139 | return reinterpret_cast<const MetricsConfig*>( |
140 | &_MetricsConfig_default_instance_); |
141 | } |
142 | static constexpr int kIndexInFileMessages = |
143 | 0; |
144 | |
145 | friend void swap(MetricsConfig& a, MetricsConfig& b) { |
146 | a.Swap(&b); |
147 | } |
148 | inline void Swap(MetricsConfig* other) { |
149 | if (other == this) return; |
150 | InternalSwap(other); |
151 | } |
152 | |
153 | // implements Message ---------------------------------------------- |
154 | |
155 | inline MetricsConfig* New() const final { |
156 | return CreateMaybeMessage<MetricsConfig>(nullptr); |
157 | } |
158 | |
159 | MetricsConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
160 | return CreateMaybeMessage<MetricsConfig>(arena); |
161 | } |
162 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
163 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
164 | void CopyFrom(const MetricsConfig& from); |
165 | void MergeFrom(const MetricsConfig& from); |
166 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
167 | bool IsInitialized() const final; |
168 | |
169 | size_t ByteSizeLong() const final; |
170 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
171 | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
172 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
173 | int GetCachedSize() const final { return _cached_size_.Get(); } |
174 | |
175 | private: |
176 | inline void SharedCtor(); |
177 | inline void SharedDtor(); |
178 | void SetCachedSize(int size) const final; |
179 | void InternalSwap(MetricsConfig* other); |
180 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
181 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
182 | return "proxima.be.proto.MetricsConfig" ; |
183 | } |
184 | private: |
185 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
186 | return nullptr; |
187 | } |
188 | inline void* MaybeArenaPtr() const { |
189 | return nullptr; |
190 | } |
191 | public: |
192 | |
193 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
194 | private: |
195 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
196 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_proto_2fconfig_2eproto); |
197 | return ::descriptor_table_proto_2fconfig_2eproto.file_level_metadata[kIndexInFileMessages]; |
198 | } |
199 | |
200 | public: |
201 | |
202 | // nested types ---------------------------------------------------- |
203 | |
204 | // accessors ------------------------------------------------------- |
205 | |
206 | enum : int { |
207 | kNameFieldNumber = 1, |
208 | }; |
209 | // string name = 1; |
210 | void clear_name(); |
211 | const std::string& name() const; |
212 | void set_name(const std::string& value); |
213 | void set_name(std::string&& value); |
214 | void set_name(const char* value); |
215 | void set_name(const char* value, size_t size); |
216 | std::string* mutable_name(); |
217 | std::string* release_name(); |
218 | void set_allocated_name(std::string* name); |
219 | private: |
220 | const std::string& _internal_name() const; |
221 | void _internal_set_name(const std::string& value); |
222 | std::string* _internal_mutable_name(); |
223 | public: |
224 | |
225 | // @@protoc_insertion_point(class_scope:proxima.be.proto.MetricsConfig) |
226 | private: |
227 | class _Internal; |
228 | |
229 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
230 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
231 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
232 | friend struct ::TableStruct_proto_2fconfig_2eproto; |
233 | }; |
234 | // ------------------------------------------------------------------- |
235 | |
236 | class CommonConfig : |
237 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proxima.be.proto.CommonConfig) */ { |
238 | public: |
239 | CommonConfig(); |
240 | virtual ~CommonConfig(); |
241 | |
242 | CommonConfig(const CommonConfig& from); |
243 | CommonConfig(CommonConfig&& from) noexcept |
244 | : CommonConfig() { |
245 | *this = ::std::move(from); |
246 | } |
247 | |
248 | inline CommonConfig& operator=(const CommonConfig& from) { |
249 | CopyFrom(from); |
250 | return *this; |
251 | } |
252 | inline CommonConfig& operator=(CommonConfig&& from) noexcept { |
253 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
254 | if (this != &from) InternalSwap(&from); |
255 | } else { |
256 | CopyFrom(from); |
257 | } |
258 | return *this; |
259 | } |
260 | |
261 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
262 | return GetDescriptor(); |
263 | } |
264 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
265 | return GetMetadataStatic().descriptor; |
266 | } |
267 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
268 | return GetMetadataStatic().reflection; |
269 | } |
270 | static const CommonConfig& default_instance(); |
271 | |
272 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
273 | static inline const CommonConfig* internal_default_instance() { |
274 | return reinterpret_cast<const CommonConfig*>( |
275 | &_CommonConfig_default_instance_); |
276 | } |
277 | static constexpr int kIndexInFileMessages = |
278 | 1; |
279 | |
280 | friend void swap(CommonConfig& a, CommonConfig& b) { |
281 | a.Swap(&b); |
282 | } |
283 | inline void Swap(CommonConfig* other) { |
284 | if (other == this) return; |
285 | InternalSwap(other); |
286 | } |
287 | |
288 | // implements Message ---------------------------------------------- |
289 | |
290 | inline CommonConfig* New() const final { |
291 | return CreateMaybeMessage<CommonConfig>(nullptr); |
292 | } |
293 | |
294 | CommonConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
295 | return CreateMaybeMessage<CommonConfig>(arena); |
296 | } |
297 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
298 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
299 | void CopyFrom(const CommonConfig& from); |
300 | void MergeFrom(const CommonConfig& from); |
301 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
302 | bool IsInitialized() const final; |
303 | |
304 | size_t ByteSizeLong() const final; |
305 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
306 | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
307 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
308 | int GetCachedSize() const final { return _cached_size_.Get(); } |
309 | |
310 | private: |
311 | inline void SharedCtor(); |
312 | inline void SharedDtor(); |
313 | void SetCachedSize(int size) const final; |
314 | void InternalSwap(CommonConfig* other); |
315 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
316 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
317 | return "proxima.be.proto.CommonConfig" ; |
318 | } |
319 | private: |
320 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
321 | return nullptr; |
322 | } |
323 | inline void* MaybeArenaPtr() const { |
324 | return nullptr; |
325 | } |
326 | public: |
327 | |
328 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
329 | private: |
330 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
331 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_proto_2fconfig_2eproto); |
332 | return ::descriptor_table_proto_2fconfig_2eproto.file_level_metadata[kIndexInFileMessages]; |
333 | } |
334 | |
335 | public: |
336 | |
337 | // nested types ---------------------------------------------------- |
338 | |
339 | // accessors ------------------------------------------------------- |
340 | |
341 | enum : int { |
342 | kProtocolFieldNumber = 1, |
343 | kLoggerTypeFieldNumber = 4, |
344 | kLogDirectoryFieldNumber = 5, |
345 | kLogFileFieldNumber = 6, |
346 | kMetricsConfigFieldNumber = 8, |
347 | kGrpcListenPortFieldNumber = 2, |
348 | kHttpListenPortFieldNumber = 3, |
349 | kLogLevelFieldNumber = 7, |
350 | }; |
351 | // string protocol = 1; |
352 | void clear_protocol(); |
353 | const std::string& protocol() const; |
354 | void set_protocol(const std::string& value); |
355 | void set_protocol(std::string&& value); |
356 | void set_protocol(const char* value); |
357 | void set_protocol(const char* value, size_t size); |
358 | std::string* mutable_protocol(); |
359 | std::string* release_protocol(); |
360 | void set_allocated_protocol(std::string* protocol); |
361 | private: |
362 | const std::string& _internal_protocol() const; |
363 | void _internal_set_protocol(const std::string& value); |
364 | std::string* _internal_mutable_protocol(); |
365 | public: |
366 | |
367 | // string logger_type = 4; |
368 | void clear_logger_type(); |
369 | const std::string& logger_type() const; |
370 | void set_logger_type(const std::string& value); |
371 | void set_logger_type(std::string&& value); |
372 | void set_logger_type(const char* value); |
373 | void set_logger_type(const char* value, size_t size); |
374 | std::string* mutable_logger_type(); |
375 | std::string* release_logger_type(); |
376 | void set_allocated_logger_type(std::string* logger_type); |
377 | private: |
378 | const std::string& _internal_logger_type() const; |
379 | void _internal_set_logger_type(const std::string& value); |
380 | std::string* _internal_mutable_logger_type(); |
381 | public: |
382 | |
383 | // string log_directory = 5; |
384 | void clear_log_directory(); |
385 | const std::string& log_directory() const; |
386 | void set_log_directory(const std::string& value); |
387 | void set_log_directory(std::string&& value); |
388 | void set_log_directory(const char* value); |
389 | void set_log_directory(const char* value, size_t size); |
390 | std::string* mutable_log_directory(); |
391 | std::string* release_log_directory(); |
392 | void set_allocated_log_directory(std::string* log_directory); |
393 | private: |
394 | const std::string& _internal_log_directory() const; |
395 | void _internal_set_log_directory(const std::string& value); |
396 | std::string* _internal_mutable_log_directory(); |
397 | public: |
398 | |
399 | // string log_file = 6; |
400 | void clear_log_file(); |
401 | const std::string& log_file() const; |
402 | void set_log_file(const std::string& value); |
403 | void set_log_file(std::string&& value); |
404 | void set_log_file(const char* value); |
405 | void set_log_file(const char* value, size_t size); |
406 | std::string* mutable_log_file(); |
407 | std::string* release_log_file(); |
408 | void set_allocated_log_file(std::string* log_file); |
409 | private: |
410 | const std::string& _internal_log_file() const; |
411 | void _internal_set_log_file(const std::string& value); |
412 | std::string* _internal_mutable_log_file(); |
413 | public: |
414 | |
415 | // .proxima.be.proto.MetricsConfig metrics_config = 8; |
416 | bool has_metrics_config() const; |
417 | private: |
418 | bool _internal_has_metrics_config() const; |
419 | public: |
420 | void clear_metrics_config(); |
421 | const ::proxima::be::proto::MetricsConfig& metrics_config() const; |
422 | ::proxima::be::proto::MetricsConfig* release_metrics_config(); |
423 | ::proxima::be::proto::MetricsConfig* mutable_metrics_config(); |
424 | void set_allocated_metrics_config(::proxima::be::proto::MetricsConfig* metrics_config); |
425 | private: |
426 | const ::proxima::be::proto::MetricsConfig& _internal_metrics_config() const; |
427 | ::proxima::be::proto::MetricsConfig* _internal_mutable_metrics_config(); |
428 | public: |
429 | |
430 | // uint32 grpc_listen_port = 2; |
431 | void clear_grpc_listen_port(); |
432 | ::PROTOBUF_NAMESPACE_ID::uint32 grpc_listen_port() const; |
433 | void set_grpc_listen_port(::PROTOBUF_NAMESPACE_ID::uint32 value); |
434 | private: |
435 | ::PROTOBUF_NAMESPACE_ID::uint32 _internal_grpc_listen_port() const; |
436 | void _internal_set_grpc_listen_port(::PROTOBUF_NAMESPACE_ID::uint32 value); |
437 | public: |
438 | |
439 | // uint32 http_listen_port = 3; |
440 | void clear_http_listen_port(); |
441 | ::PROTOBUF_NAMESPACE_ID::uint32 http_listen_port() const; |
442 | void set_http_listen_port(::PROTOBUF_NAMESPACE_ID::uint32 value); |
443 | private: |
444 | ::PROTOBUF_NAMESPACE_ID::uint32 _internal_http_listen_port() const; |
445 | void _internal_set_http_listen_port(::PROTOBUF_NAMESPACE_ID::uint32 value); |
446 | public: |
447 | |
448 | // int32 log_level = 7; |
449 | void clear_log_level(); |
450 | ::PROTOBUF_NAMESPACE_ID::int32 log_level() const; |
451 | void set_log_level(::PROTOBUF_NAMESPACE_ID::int32 value); |
452 | private: |
453 | ::PROTOBUF_NAMESPACE_ID::int32 _internal_log_level() const; |
454 | void _internal_set_log_level(::PROTOBUF_NAMESPACE_ID::int32 value); |
455 | public: |
456 | |
457 | // @@protoc_insertion_point(class_scope:proxima.be.proto.CommonConfig) |
458 | private: |
459 | class _Internal; |
460 | |
461 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
462 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr protocol_; |
463 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr logger_type_; |
464 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr log_directory_; |
465 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr log_file_; |
466 | ::proxima::be::proto::MetricsConfig* metrics_config_; |
467 | ::PROTOBUF_NAMESPACE_ID::uint32 grpc_listen_port_; |
468 | ::PROTOBUF_NAMESPACE_ID::uint32 http_listen_port_; |
469 | ::PROTOBUF_NAMESPACE_ID::int32 log_level_; |
470 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
471 | friend struct ::TableStruct_proto_2fconfig_2eproto; |
472 | }; |
473 | // ------------------------------------------------------------------- |
474 | |
475 | class QueryConfig : |
476 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proxima.be.proto.QueryConfig) */ { |
477 | public: |
478 | QueryConfig(); |
479 | virtual ~QueryConfig(); |
480 | |
481 | QueryConfig(const QueryConfig& from); |
482 | QueryConfig(QueryConfig&& from) noexcept |
483 | : QueryConfig() { |
484 | *this = ::std::move(from); |
485 | } |
486 | |
487 | inline QueryConfig& operator=(const QueryConfig& from) { |
488 | CopyFrom(from); |
489 | return *this; |
490 | } |
491 | inline QueryConfig& operator=(QueryConfig&& from) noexcept { |
492 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
493 | if (this != &from) InternalSwap(&from); |
494 | } else { |
495 | CopyFrom(from); |
496 | } |
497 | return *this; |
498 | } |
499 | |
500 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
501 | return GetDescriptor(); |
502 | } |
503 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
504 | return GetMetadataStatic().descriptor; |
505 | } |
506 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
507 | return GetMetadataStatic().reflection; |
508 | } |
509 | static const QueryConfig& default_instance(); |
510 | |
511 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
512 | static inline const QueryConfig* internal_default_instance() { |
513 | return reinterpret_cast<const QueryConfig*>( |
514 | &_QueryConfig_default_instance_); |
515 | } |
516 | static constexpr int kIndexInFileMessages = |
517 | 2; |
518 | |
519 | friend void swap(QueryConfig& a, QueryConfig& b) { |
520 | a.Swap(&b); |
521 | } |
522 | inline void Swap(QueryConfig* other) { |
523 | if (other == this) return; |
524 | InternalSwap(other); |
525 | } |
526 | |
527 | // implements Message ---------------------------------------------- |
528 | |
529 | inline QueryConfig* New() const final { |
530 | return CreateMaybeMessage<QueryConfig>(nullptr); |
531 | } |
532 | |
533 | QueryConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
534 | return CreateMaybeMessage<QueryConfig>(arena); |
535 | } |
536 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
537 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
538 | void CopyFrom(const QueryConfig& from); |
539 | void MergeFrom(const QueryConfig& from); |
540 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
541 | bool IsInitialized() const final; |
542 | |
543 | size_t ByteSizeLong() const final; |
544 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
545 | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
546 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
547 | int GetCachedSize() const final { return _cached_size_.Get(); } |
548 | |
549 | private: |
550 | inline void SharedCtor(); |
551 | inline void SharedDtor(); |
552 | void SetCachedSize(int size) const final; |
553 | void InternalSwap(QueryConfig* other); |
554 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
555 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
556 | return "proxima.be.proto.QueryConfig" ; |
557 | } |
558 | private: |
559 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
560 | return nullptr; |
561 | } |
562 | inline void* MaybeArenaPtr() const { |
563 | return nullptr; |
564 | } |
565 | public: |
566 | |
567 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
568 | private: |
569 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
570 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_proto_2fconfig_2eproto); |
571 | return ::descriptor_table_proto_2fconfig_2eproto.file_level_metadata[kIndexInFileMessages]; |
572 | } |
573 | |
574 | public: |
575 | |
576 | // nested types ---------------------------------------------------- |
577 | |
578 | // accessors ------------------------------------------------------- |
579 | |
580 | enum : int { |
581 | kQueryThreadCountFieldNumber = 1, |
582 | }; |
583 | // uint32 query_thread_count = 1; |
584 | void clear_query_thread_count(); |
585 | ::PROTOBUF_NAMESPACE_ID::uint32 query_thread_count() const; |
586 | void set_query_thread_count(::PROTOBUF_NAMESPACE_ID::uint32 value); |
587 | private: |
588 | ::PROTOBUF_NAMESPACE_ID::uint32 _internal_query_thread_count() const; |
589 | void _internal_set_query_thread_count(::PROTOBUF_NAMESPACE_ID::uint32 value); |
590 | public: |
591 | |
592 | // @@protoc_insertion_point(class_scope:proxima.be.proto.QueryConfig) |
593 | private: |
594 | class _Internal; |
595 | |
596 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
597 | ::PROTOBUF_NAMESPACE_ID::uint32 query_thread_count_; |
598 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
599 | friend struct ::TableStruct_proto_2fconfig_2eproto; |
600 | }; |
601 | // ------------------------------------------------------------------- |
602 | |
603 | class IndexConfig : |
604 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proxima.be.proto.IndexConfig) */ { |
605 | public: |
606 | IndexConfig(); |
607 | virtual ~IndexConfig(); |
608 | |
609 | IndexConfig(const IndexConfig& from); |
610 | IndexConfig(IndexConfig&& from) noexcept |
611 | : IndexConfig() { |
612 | *this = ::std::move(from); |
613 | } |
614 | |
615 | inline IndexConfig& operator=(const IndexConfig& from) { |
616 | CopyFrom(from); |
617 | return *this; |
618 | } |
619 | inline IndexConfig& operator=(IndexConfig&& from) noexcept { |
620 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
621 | if (this != &from) InternalSwap(&from); |
622 | } else { |
623 | CopyFrom(from); |
624 | } |
625 | return *this; |
626 | } |
627 | |
628 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
629 | return GetDescriptor(); |
630 | } |
631 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
632 | return GetMetadataStatic().descriptor; |
633 | } |
634 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
635 | return GetMetadataStatic().reflection; |
636 | } |
637 | static const IndexConfig& default_instance(); |
638 | |
639 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
640 | static inline const IndexConfig* internal_default_instance() { |
641 | return reinterpret_cast<const IndexConfig*>( |
642 | &_IndexConfig_default_instance_); |
643 | } |
644 | static constexpr int kIndexInFileMessages = |
645 | 3; |
646 | |
647 | friend void swap(IndexConfig& a, IndexConfig& b) { |
648 | a.Swap(&b); |
649 | } |
650 | inline void Swap(IndexConfig* other) { |
651 | if (other == this) return; |
652 | InternalSwap(other); |
653 | } |
654 | |
655 | // implements Message ---------------------------------------------- |
656 | |
657 | inline IndexConfig* New() const final { |
658 | return CreateMaybeMessage<IndexConfig>(nullptr); |
659 | } |
660 | |
661 | IndexConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
662 | return CreateMaybeMessage<IndexConfig>(arena); |
663 | } |
664 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
665 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
666 | void CopyFrom(const IndexConfig& from); |
667 | void MergeFrom(const IndexConfig& from); |
668 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
669 | bool IsInitialized() const final; |
670 | |
671 | size_t ByteSizeLong() const final; |
672 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
673 | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
674 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
675 | int GetCachedSize() const final { return _cached_size_.Get(); } |
676 | |
677 | private: |
678 | inline void SharedCtor(); |
679 | inline void SharedDtor(); |
680 | void SetCachedSize(int size) const final; |
681 | void InternalSwap(IndexConfig* other); |
682 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
683 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
684 | return "proxima.be.proto.IndexConfig" ; |
685 | } |
686 | private: |
687 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
688 | return nullptr; |
689 | } |
690 | inline void* MaybeArenaPtr() const { |
691 | return nullptr; |
692 | } |
693 | public: |
694 | |
695 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
696 | private: |
697 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
698 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_proto_2fconfig_2eproto); |
699 | return ::descriptor_table_proto_2fconfig_2eproto.file_level_metadata[kIndexInFileMessages]; |
700 | } |
701 | |
702 | public: |
703 | |
704 | // nested types ---------------------------------------------------- |
705 | |
706 | // accessors ------------------------------------------------------- |
707 | |
708 | enum : int { |
709 | kIndexDirectoryFieldNumber = 5, |
710 | kBuildThreadCountFieldNumber = 1, |
711 | kDumpThreadCountFieldNumber = 2, |
712 | kMaxBuildQpsFieldNumber = 3, |
713 | kFlushInternalFieldNumber = 6, |
714 | kOptimizeInternalFieldNumber = 7, |
715 | }; |
716 | // string index_directory = 5; |
717 | void clear_index_directory(); |
718 | const std::string& index_directory() const; |
719 | void set_index_directory(const std::string& value); |
720 | void set_index_directory(std::string&& value); |
721 | void set_index_directory(const char* value); |
722 | void set_index_directory(const char* value, size_t size); |
723 | std::string* mutable_index_directory(); |
724 | std::string* release_index_directory(); |
725 | void set_allocated_index_directory(std::string* index_directory); |
726 | private: |
727 | const std::string& _internal_index_directory() const; |
728 | void _internal_set_index_directory(const std::string& value); |
729 | std::string* _internal_mutable_index_directory(); |
730 | public: |
731 | |
732 | // uint32 build_thread_count = 1; |
733 | void clear_build_thread_count(); |
734 | ::PROTOBUF_NAMESPACE_ID::uint32 build_thread_count() const; |
735 | void set_build_thread_count(::PROTOBUF_NAMESPACE_ID::uint32 value); |
736 | private: |
737 | ::PROTOBUF_NAMESPACE_ID::uint32 _internal_build_thread_count() const; |
738 | void _internal_set_build_thread_count(::PROTOBUF_NAMESPACE_ID::uint32 value); |
739 | public: |
740 | |
741 | // uint32 dump_thread_count = 2; |
742 | void clear_dump_thread_count(); |
743 | ::PROTOBUF_NAMESPACE_ID::uint32 dump_thread_count() const; |
744 | void set_dump_thread_count(::PROTOBUF_NAMESPACE_ID::uint32 value); |
745 | private: |
746 | ::PROTOBUF_NAMESPACE_ID::uint32 _internal_dump_thread_count() const; |
747 | void _internal_set_dump_thread_count(::PROTOBUF_NAMESPACE_ID::uint32 value); |
748 | public: |
749 | |
750 | // uint32 max_build_qps = 3; |
751 | void clear_max_build_qps(); |
752 | ::PROTOBUF_NAMESPACE_ID::uint32 max_build_qps() const; |
753 | void set_max_build_qps(::PROTOBUF_NAMESPACE_ID::uint32 value); |
754 | private: |
755 | ::PROTOBUF_NAMESPACE_ID::uint32 _internal_max_build_qps() const; |
756 | void _internal_set_max_build_qps(::PROTOBUF_NAMESPACE_ID::uint32 value); |
757 | public: |
758 | |
759 | // uint32 flush_internal = 6; |
760 | void clear_flush_internal(); |
761 | ::PROTOBUF_NAMESPACE_ID::uint32 flush_internal() const; |
762 | void set_flush_internal(::PROTOBUF_NAMESPACE_ID::uint32 value); |
763 | private: |
764 | ::PROTOBUF_NAMESPACE_ID::uint32 _internal_flush_internal() const; |
765 | void _internal_set_flush_internal(::PROTOBUF_NAMESPACE_ID::uint32 value); |
766 | public: |
767 | |
768 | // uint32 optimize_internal = 7; |
769 | void clear_optimize_internal(); |
770 | ::PROTOBUF_NAMESPACE_ID::uint32 optimize_internal() const; |
771 | void set_optimize_internal(::PROTOBUF_NAMESPACE_ID::uint32 value); |
772 | private: |
773 | ::PROTOBUF_NAMESPACE_ID::uint32 _internal_optimize_internal() const; |
774 | void _internal_set_optimize_internal(::PROTOBUF_NAMESPACE_ID::uint32 value); |
775 | public: |
776 | |
777 | // @@protoc_insertion_point(class_scope:proxima.be.proto.IndexConfig) |
778 | private: |
779 | class _Internal; |
780 | |
781 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
782 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr index_directory_; |
783 | ::PROTOBUF_NAMESPACE_ID::uint32 build_thread_count_; |
784 | ::PROTOBUF_NAMESPACE_ID::uint32 dump_thread_count_; |
785 | ::PROTOBUF_NAMESPACE_ID::uint32 max_build_qps_; |
786 | ::PROTOBUF_NAMESPACE_ID::uint32 flush_internal_; |
787 | ::PROTOBUF_NAMESPACE_ID::uint32 optimize_internal_; |
788 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
789 | friend struct ::TableStruct_proto_2fconfig_2eproto; |
790 | }; |
791 | // ------------------------------------------------------------------- |
792 | |
793 | class MetaConfig : |
794 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proxima.be.proto.MetaConfig) */ { |
795 | public: |
796 | MetaConfig(); |
797 | virtual ~MetaConfig(); |
798 | |
799 | MetaConfig(const MetaConfig& from); |
800 | MetaConfig(MetaConfig&& from) noexcept |
801 | : MetaConfig() { |
802 | *this = ::std::move(from); |
803 | } |
804 | |
805 | inline MetaConfig& operator=(const MetaConfig& from) { |
806 | CopyFrom(from); |
807 | return *this; |
808 | } |
809 | inline MetaConfig& operator=(MetaConfig&& from) noexcept { |
810 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
811 | if (this != &from) InternalSwap(&from); |
812 | } else { |
813 | CopyFrom(from); |
814 | } |
815 | return *this; |
816 | } |
817 | |
818 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
819 | return GetDescriptor(); |
820 | } |
821 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
822 | return GetMetadataStatic().descriptor; |
823 | } |
824 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
825 | return GetMetadataStatic().reflection; |
826 | } |
827 | static const MetaConfig& default_instance(); |
828 | |
829 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
830 | static inline const MetaConfig* internal_default_instance() { |
831 | return reinterpret_cast<const MetaConfig*>( |
832 | &_MetaConfig_default_instance_); |
833 | } |
834 | static constexpr int kIndexInFileMessages = |
835 | 4; |
836 | |
837 | friend void swap(MetaConfig& a, MetaConfig& b) { |
838 | a.Swap(&b); |
839 | } |
840 | inline void Swap(MetaConfig* other) { |
841 | if (other == this) return; |
842 | InternalSwap(other); |
843 | } |
844 | |
845 | // implements Message ---------------------------------------------- |
846 | |
847 | inline MetaConfig* New() const final { |
848 | return CreateMaybeMessage<MetaConfig>(nullptr); |
849 | } |
850 | |
851 | MetaConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
852 | return CreateMaybeMessage<MetaConfig>(arena); |
853 | } |
854 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
855 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
856 | void CopyFrom(const MetaConfig& from); |
857 | void MergeFrom(const MetaConfig& from); |
858 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
859 | bool IsInitialized() const final; |
860 | |
861 | size_t ByteSizeLong() const final; |
862 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
863 | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
864 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
865 | int GetCachedSize() const final { return _cached_size_.Get(); } |
866 | |
867 | private: |
868 | inline void SharedCtor(); |
869 | inline void SharedDtor(); |
870 | void SetCachedSize(int size) const final; |
871 | void InternalSwap(MetaConfig* other); |
872 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
873 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
874 | return "proxima.be.proto.MetaConfig" ; |
875 | } |
876 | private: |
877 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
878 | return nullptr; |
879 | } |
880 | inline void* MaybeArenaPtr() const { |
881 | return nullptr; |
882 | } |
883 | public: |
884 | |
885 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
886 | private: |
887 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
888 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_proto_2fconfig_2eproto); |
889 | return ::descriptor_table_proto_2fconfig_2eproto.file_level_metadata[kIndexInFileMessages]; |
890 | } |
891 | |
892 | public: |
893 | |
894 | // nested types ---------------------------------------------------- |
895 | |
896 | // accessors ------------------------------------------------------- |
897 | |
898 | enum : int { |
899 | kMetaUriFieldNumber = 1, |
900 | }; |
901 | // string meta_uri = 1; |
902 | void clear_meta_uri(); |
903 | const std::string& meta_uri() const; |
904 | void set_meta_uri(const std::string& value); |
905 | void set_meta_uri(std::string&& value); |
906 | void set_meta_uri(const char* value); |
907 | void set_meta_uri(const char* value, size_t size); |
908 | std::string* mutable_meta_uri(); |
909 | std::string* release_meta_uri(); |
910 | void set_allocated_meta_uri(std::string* meta_uri); |
911 | private: |
912 | const std::string& _internal_meta_uri() const; |
913 | void _internal_set_meta_uri(const std::string& value); |
914 | std::string* _internal_mutable_meta_uri(); |
915 | public: |
916 | |
917 | // @@protoc_insertion_point(class_scope:proxima.be.proto.MetaConfig) |
918 | private: |
919 | class _Internal; |
920 | |
921 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
922 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr meta_uri_; |
923 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
924 | friend struct ::TableStruct_proto_2fconfig_2eproto; |
925 | }; |
926 | // ------------------------------------------------------------------- |
927 | |
928 | class ProximaSEConfig : |
929 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proxima.be.proto.ProximaSEConfig) */ { |
930 | public: |
931 | ProximaSEConfig(); |
932 | virtual ~ProximaSEConfig(); |
933 | |
934 | ProximaSEConfig(const ProximaSEConfig& from); |
935 | ProximaSEConfig(ProximaSEConfig&& from) noexcept |
936 | : ProximaSEConfig() { |
937 | *this = ::std::move(from); |
938 | } |
939 | |
940 | inline ProximaSEConfig& operator=(const ProximaSEConfig& from) { |
941 | CopyFrom(from); |
942 | return *this; |
943 | } |
944 | inline ProximaSEConfig& operator=(ProximaSEConfig&& from) noexcept { |
945 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
946 | if (this != &from) InternalSwap(&from); |
947 | } else { |
948 | CopyFrom(from); |
949 | } |
950 | return *this; |
951 | } |
952 | |
953 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
954 | return GetDescriptor(); |
955 | } |
956 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
957 | return GetMetadataStatic().descriptor; |
958 | } |
959 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
960 | return GetMetadataStatic().reflection; |
961 | } |
962 | static const ProximaSEConfig& default_instance(); |
963 | |
964 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
965 | static inline const ProximaSEConfig* internal_default_instance() { |
966 | return reinterpret_cast<const ProximaSEConfig*>( |
967 | &_ProximaSEConfig_default_instance_); |
968 | } |
969 | static constexpr int kIndexInFileMessages = |
970 | 5; |
971 | |
972 | friend void swap(ProximaSEConfig& a, ProximaSEConfig& b) { |
973 | a.Swap(&b); |
974 | } |
975 | inline void Swap(ProximaSEConfig* other) { |
976 | if (other == this) return; |
977 | InternalSwap(other); |
978 | } |
979 | |
980 | // implements Message ---------------------------------------------- |
981 | |
982 | inline ProximaSEConfig* New() const final { |
983 | return CreateMaybeMessage<ProximaSEConfig>(nullptr); |
984 | } |
985 | |
986 | ProximaSEConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
987 | return CreateMaybeMessage<ProximaSEConfig>(arena); |
988 | } |
989 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
990 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
991 | void CopyFrom(const ProximaSEConfig& from); |
992 | void MergeFrom(const ProximaSEConfig& from); |
993 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
994 | bool IsInitialized() const final; |
995 | |
996 | size_t ByteSizeLong() const final; |
997 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
998 | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
999 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
1000 | int GetCachedSize() const final { return _cached_size_.Get(); } |
1001 | |
1002 | private: |
1003 | inline void SharedCtor(); |
1004 | inline void SharedDtor(); |
1005 | void SetCachedSize(int size) const final; |
1006 | void InternalSwap(ProximaSEConfig* other); |
1007 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1008 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1009 | return "proxima.be.proto.ProximaSEConfig" ; |
1010 | } |
1011 | private: |
1012 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
1013 | return nullptr; |
1014 | } |
1015 | inline void* MaybeArenaPtr() const { |
1016 | return nullptr; |
1017 | } |
1018 | public: |
1019 | |
1020 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1021 | private: |
1022 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
1023 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_proto_2fconfig_2eproto); |
1024 | return ::descriptor_table_proto_2fconfig_2eproto.file_level_metadata[kIndexInFileMessages]; |
1025 | } |
1026 | |
1027 | public: |
1028 | |
1029 | // nested types ---------------------------------------------------- |
1030 | |
1031 | // accessors ------------------------------------------------------- |
1032 | |
1033 | enum : int { |
1034 | kCommonConfigFieldNumber = 1, |
1035 | kQueryConfigFieldNumber = 2, |
1036 | kIndexConfigFieldNumber = 3, |
1037 | kMetaConfigFieldNumber = 4, |
1038 | }; |
1039 | // .proxima.be.proto.CommonConfig common_config = 1; |
1040 | bool has_common_config() const; |
1041 | private: |
1042 | bool _internal_has_common_config() const; |
1043 | public: |
1044 | void clear_common_config(); |
1045 | const ::proxima::be::proto::CommonConfig& common_config() const; |
1046 | ::proxima::be::proto::CommonConfig* release_common_config(); |
1047 | ::proxima::be::proto::CommonConfig* mutable_common_config(); |
1048 | void set_allocated_common_config(::proxima::be::proto::CommonConfig* common_config); |
1049 | private: |
1050 | const ::proxima::be::proto::CommonConfig& _internal_common_config() const; |
1051 | ::proxima::be::proto::CommonConfig* _internal_mutable_common_config(); |
1052 | public: |
1053 | |
1054 | // .proxima.be.proto.QueryConfig query_config = 2; |
1055 | bool has_query_config() const; |
1056 | private: |
1057 | bool _internal_has_query_config() const; |
1058 | public: |
1059 | void clear_query_config(); |
1060 | const ::proxima::be::proto::QueryConfig& query_config() const; |
1061 | ::proxima::be::proto::QueryConfig* release_query_config(); |
1062 | ::proxima::be::proto::QueryConfig* mutable_query_config(); |
1063 | void set_allocated_query_config(::proxima::be::proto::QueryConfig* query_config); |
1064 | private: |
1065 | const ::proxima::be::proto::QueryConfig& _internal_query_config() const; |
1066 | ::proxima::be::proto::QueryConfig* _internal_mutable_query_config(); |
1067 | public: |
1068 | |
1069 | // .proxima.be.proto.IndexConfig index_config = 3; |
1070 | bool has_index_config() const; |
1071 | private: |
1072 | bool _internal_has_index_config() const; |
1073 | public: |
1074 | void clear_index_config(); |
1075 | const ::proxima::be::proto::IndexConfig& index_config() const; |
1076 | ::proxima::be::proto::IndexConfig* release_index_config(); |
1077 | ::proxima::be::proto::IndexConfig* mutable_index_config(); |
1078 | void set_allocated_index_config(::proxima::be::proto::IndexConfig* index_config); |
1079 | private: |
1080 | const ::proxima::be::proto::IndexConfig& _internal_index_config() const; |
1081 | ::proxima::be::proto::IndexConfig* _internal_mutable_index_config(); |
1082 | public: |
1083 | |
1084 | // .proxima.be.proto.MetaConfig meta_config = 4; |
1085 | bool has_meta_config() const; |
1086 | private: |
1087 | bool _internal_has_meta_config() const; |
1088 | public: |
1089 | void clear_meta_config(); |
1090 | const ::proxima::be::proto::MetaConfig& meta_config() const; |
1091 | ::proxima::be::proto::MetaConfig* release_meta_config(); |
1092 | ::proxima::be::proto::MetaConfig* mutable_meta_config(); |
1093 | void set_allocated_meta_config(::proxima::be::proto::MetaConfig* meta_config); |
1094 | private: |
1095 | const ::proxima::be::proto::MetaConfig& _internal_meta_config() const; |
1096 | ::proxima::be::proto::MetaConfig* _internal_mutable_meta_config(); |
1097 | public: |
1098 | |
1099 | // @@protoc_insertion_point(class_scope:proxima.be.proto.ProximaSEConfig) |
1100 | private: |
1101 | class _Internal; |
1102 | |
1103 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
1104 | ::proxima::be::proto::CommonConfig* common_config_; |
1105 | ::proxima::be::proto::QueryConfig* query_config_; |
1106 | ::proxima::be::proto::IndexConfig* index_config_; |
1107 | ::proxima::be::proto::MetaConfig* meta_config_; |
1108 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1109 | friend struct ::TableStruct_proto_2fconfig_2eproto; |
1110 | }; |
1111 | // =================================================================== |
1112 | |
1113 | |
1114 | // =================================================================== |
1115 | |
1116 | #ifdef __GNUC__ |
1117 | #pragma GCC diagnostic push |
1118 | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
1119 | #endif // __GNUC__ |
1120 | // MetricsConfig |
1121 | |
1122 | // string name = 1; |
1123 | inline void MetricsConfig::clear_name() { |
1124 | name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1125 | } |
1126 | inline const std::string& MetricsConfig::name() const { |
1127 | // @@protoc_insertion_point(field_get:proxima.be.proto.MetricsConfig.name) |
1128 | return _internal_name(); |
1129 | } |
1130 | inline void MetricsConfig::set_name(const std::string& value) { |
1131 | _internal_set_name(value); |
1132 | // @@protoc_insertion_point(field_set:proxima.be.proto.MetricsConfig.name) |
1133 | } |
1134 | inline std::string* MetricsConfig::mutable_name() { |
1135 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.MetricsConfig.name) |
1136 | return _internal_mutable_name(); |
1137 | } |
1138 | inline const std::string& MetricsConfig::_internal_name() const { |
1139 | return name_.GetNoArena(); |
1140 | } |
1141 | inline void MetricsConfig::_internal_set_name(const std::string& value) { |
1142 | |
1143 | name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
1144 | } |
1145 | inline void MetricsConfig::set_name(std::string&& value) { |
1146 | |
1147 | name_.SetNoArena( |
1148 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
1149 | // @@protoc_insertion_point(field_set_rvalue:proxima.be.proto.MetricsConfig.name) |
1150 | } |
1151 | inline void MetricsConfig::set_name(const char* value) { |
1152 | GOOGLE_DCHECK(value != nullptr); |
1153 | |
1154 | name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
1155 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.MetricsConfig.name) |
1156 | } |
1157 | inline void MetricsConfig::set_name(const char* value, size_t size) { |
1158 | |
1159 | name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
1160 | ::std::string(reinterpret_cast<const char*>(value), size)); |
1161 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.MetricsConfig.name) |
1162 | } |
1163 | inline std::string* MetricsConfig::_internal_mutable_name() { |
1164 | |
1165 | return name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1166 | } |
1167 | inline std::string* MetricsConfig::release_name() { |
1168 | // @@protoc_insertion_point(field_release:proxima.be.proto.MetricsConfig.name) |
1169 | |
1170 | return name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1171 | } |
1172 | inline void MetricsConfig::set_allocated_name(std::string* name) { |
1173 | if (name != nullptr) { |
1174 | |
1175 | } else { |
1176 | |
1177 | } |
1178 | name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name); |
1179 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.MetricsConfig.name) |
1180 | } |
1181 | |
1182 | // ------------------------------------------------------------------- |
1183 | |
1184 | // CommonConfig |
1185 | |
1186 | // string protocol = 1; |
1187 | inline void CommonConfig::clear_protocol() { |
1188 | protocol_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1189 | } |
1190 | inline const std::string& CommonConfig::protocol() const { |
1191 | // @@protoc_insertion_point(field_get:proxima.be.proto.CommonConfig.protocol) |
1192 | return _internal_protocol(); |
1193 | } |
1194 | inline void CommonConfig::set_protocol(const std::string& value) { |
1195 | _internal_set_protocol(value); |
1196 | // @@protoc_insertion_point(field_set:proxima.be.proto.CommonConfig.protocol) |
1197 | } |
1198 | inline std::string* CommonConfig::mutable_protocol() { |
1199 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.CommonConfig.protocol) |
1200 | return _internal_mutable_protocol(); |
1201 | } |
1202 | inline const std::string& CommonConfig::_internal_protocol() const { |
1203 | return protocol_.GetNoArena(); |
1204 | } |
1205 | inline void CommonConfig::_internal_set_protocol(const std::string& value) { |
1206 | |
1207 | protocol_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
1208 | } |
1209 | inline void CommonConfig::set_protocol(std::string&& value) { |
1210 | |
1211 | protocol_.SetNoArena( |
1212 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
1213 | // @@protoc_insertion_point(field_set_rvalue:proxima.be.proto.CommonConfig.protocol) |
1214 | } |
1215 | inline void CommonConfig::set_protocol(const char* value) { |
1216 | GOOGLE_DCHECK(value != nullptr); |
1217 | |
1218 | protocol_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
1219 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.CommonConfig.protocol) |
1220 | } |
1221 | inline void CommonConfig::set_protocol(const char* value, size_t size) { |
1222 | |
1223 | protocol_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
1224 | ::std::string(reinterpret_cast<const char*>(value), size)); |
1225 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.CommonConfig.protocol) |
1226 | } |
1227 | inline std::string* CommonConfig::_internal_mutable_protocol() { |
1228 | |
1229 | return protocol_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1230 | } |
1231 | inline std::string* CommonConfig::release_protocol() { |
1232 | // @@protoc_insertion_point(field_release:proxima.be.proto.CommonConfig.protocol) |
1233 | |
1234 | return protocol_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1235 | } |
1236 | inline void CommonConfig::set_allocated_protocol(std::string* protocol) { |
1237 | if (protocol != nullptr) { |
1238 | |
1239 | } else { |
1240 | |
1241 | } |
1242 | protocol_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), protocol); |
1243 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.CommonConfig.protocol) |
1244 | } |
1245 | |
1246 | // uint32 grpc_listen_port = 2; |
1247 | inline void CommonConfig::clear_grpc_listen_port() { |
1248 | grpc_listen_port_ = 0u; |
1249 | } |
1250 | inline ::PROTOBUF_NAMESPACE_ID::uint32 CommonConfig::_internal_grpc_listen_port() const { |
1251 | return grpc_listen_port_; |
1252 | } |
1253 | inline ::PROTOBUF_NAMESPACE_ID::uint32 CommonConfig::grpc_listen_port() const { |
1254 | // @@protoc_insertion_point(field_get:proxima.be.proto.CommonConfig.grpc_listen_port) |
1255 | return _internal_grpc_listen_port(); |
1256 | } |
1257 | inline void CommonConfig::_internal_set_grpc_listen_port(::PROTOBUF_NAMESPACE_ID::uint32 value) { |
1258 | |
1259 | grpc_listen_port_ = value; |
1260 | } |
1261 | inline void CommonConfig::set_grpc_listen_port(::PROTOBUF_NAMESPACE_ID::uint32 value) { |
1262 | _internal_set_grpc_listen_port(value); |
1263 | // @@protoc_insertion_point(field_set:proxima.be.proto.CommonConfig.grpc_listen_port) |
1264 | } |
1265 | |
1266 | // uint32 http_listen_port = 3; |
1267 | inline void CommonConfig::clear_http_listen_port() { |
1268 | http_listen_port_ = 0u; |
1269 | } |
1270 | inline ::PROTOBUF_NAMESPACE_ID::uint32 CommonConfig::_internal_http_listen_port() const { |
1271 | return http_listen_port_; |
1272 | } |
1273 | inline ::PROTOBUF_NAMESPACE_ID::uint32 CommonConfig::http_listen_port() const { |
1274 | // @@protoc_insertion_point(field_get:proxima.be.proto.CommonConfig.http_listen_port) |
1275 | return _internal_http_listen_port(); |
1276 | } |
1277 | inline void CommonConfig::_internal_set_http_listen_port(::PROTOBUF_NAMESPACE_ID::uint32 value) { |
1278 | |
1279 | http_listen_port_ = value; |
1280 | } |
1281 | inline void CommonConfig::set_http_listen_port(::PROTOBUF_NAMESPACE_ID::uint32 value) { |
1282 | _internal_set_http_listen_port(value); |
1283 | // @@protoc_insertion_point(field_set:proxima.be.proto.CommonConfig.http_listen_port) |
1284 | } |
1285 | |
1286 | // string logger_type = 4; |
1287 | inline void CommonConfig::clear_logger_type() { |
1288 | logger_type_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1289 | } |
1290 | inline const std::string& CommonConfig::logger_type() const { |
1291 | // @@protoc_insertion_point(field_get:proxima.be.proto.CommonConfig.logger_type) |
1292 | return _internal_logger_type(); |
1293 | } |
1294 | inline void CommonConfig::set_logger_type(const std::string& value) { |
1295 | _internal_set_logger_type(value); |
1296 | // @@protoc_insertion_point(field_set:proxima.be.proto.CommonConfig.logger_type) |
1297 | } |
1298 | inline std::string* CommonConfig::mutable_logger_type() { |
1299 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.CommonConfig.logger_type) |
1300 | return _internal_mutable_logger_type(); |
1301 | } |
1302 | inline const std::string& CommonConfig::_internal_logger_type() const { |
1303 | return logger_type_.GetNoArena(); |
1304 | } |
1305 | inline void CommonConfig::_internal_set_logger_type(const std::string& value) { |
1306 | |
1307 | logger_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
1308 | } |
1309 | inline void CommonConfig::set_logger_type(std::string&& value) { |
1310 | |
1311 | logger_type_.SetNoArena( |
1312 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
1313 | // @@protoc_insertion_point(field_set_rvalue:proxima.be.proto.CommonConfig.logger_type) |
1314 | } |
1315 | inline void CommonConfig::set_logger_type(const char* value) { |
1316 | GOOGLE_DCHECK(value != nullptr); |
1317 | |
1318 | logger_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
1319 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.CommonConfig.logger_type) |
1320 | } |
1321 | inline void CommonConfig::set_logger_type(const char* value, size_t size) { |
1322 | |
1323 | logger_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
1324 | ::std::string(reinterpret_cast<const char*>(value), size)); |
1325 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.CommonConfig.logger_type) |
1326 | } |
1327 | inline std::string* CommonConfig::_internal_mutable_logger_type() { |
1328 | |
1329 | return logger_type_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1330 | } |
1331 | inline std::string* CommonConfig::release_logger_type() { |
1332 | // @@protoc_insertion_point(field_release:proxima.be.proto.CommonConfig.logger_type) |
1333 | |
1334 | return logger_type_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1335 | } |
1336 | inline void CommonConfig::set_allocated_logger_type(std::string* logger_type) { |
1337 | if (logger_type != nullptr) { |
1338 | |
1339 | } else { |
1340 | |
1341 | } |
1342 | logger_type_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), logger_type); |
1343 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.CommonConfig.logger_type) |
1344 | } |
1345 | |
1346 | // string log_directory = 5; |
1347 | inline void CommonConfig::clear_log_directory() { |
1348 | log_directory_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1349 | } |
1350 | inline const std::string& CommonConfig::log_directory() const { |
1351 | // @@protoc_insertion_point(field_get:proxima.be.proto.CommonConfig.log_directory) |
1352 | return _internal_log_directory(); |
1353 | } |
1354 | inline void CommonConfig::set_log_directory(const std::string& value) { |
1355 | _internal_set_log_directory(value); |
1356 | // @@protoc_insertion_point(field_set:proxima.be.proto.CommonConfig.log_directory) |
1357 | } |
1358 | inline std::string* CommonConfig::mutable_log_directory() { |
1359 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.CommonConfig.log_directory) |
1360 | return _internal_mutable_log_directory(); |
1361 | } |
1362 | inline const std::string& CommonConfig::_internal_log_directory() const { |
1363 | return log_directory_.GetNoArena(); |
1364 | } |
1365 | inline void CommonConfig::_internal_set_log_directory(const std::string& value) { |
1366 | |
1367 | log_directory_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
1368 | } |
1369 | inline void CommonConfig::set_log_directory(std::string&& value) { |
1370 | |
1371 | log_directory_.SetNoArena( |
1372 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
1373 | // @@protoc_insertion_point(field_set_rvalue:proxima.be.proto.CommonConfig.log_directory) |
1374 | } |
1375 | inline void CommonConfig::set_log_directory(const char* value) { |
1376 | GOOGLE_DCHECK(value != nullptr); |
1377 | |
1378 | log_directory_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
1379 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.CommonConfig.log_directory) |
1380 | } |
1381 | inline void CommonConfig::set_log_directory(const char* value, size_t size) { |
1382 | |
1383 | log_directory_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
1384 | ::std::string(reinterpret_cast<const char*>(value), size)); |
1385 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.CommonConfig.log_directory) |
1386 | } |
1387 | inline std::string* CommonConfig::_internal_mutable_log_directory() { |
1388 | |
1389 | return log_directory_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1390 | } |
1391 | inline std::string* CommonConfig::release_log_directory() { |
1392 | // @@protoc_insertion_point(field_release:proxima.be.proto.CommonConfig.log_directory) |
1393 | |
1394 | return log_directory_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1395 | } |
1396 | inline void CommonConfig::set_allocated_log_directory(std::string* log_directory) { |
1397 | if (log_directory != nullptr) { |
1398 | |
1399 | } else { |
1400 | |
1401 | } |
1402 | log_directory_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), log_directory); |
1403 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.CommonConfig.log_directory) |
1404 | } |
1405 | |
1406 | // string log_file = 6; |
1407 | inline void CommonConfig::clear_log_file() { |
1408 | log_file_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1409 | } |
1410 | inline const std::string& CommonConfig::log_file() const { |
1411 | // @@protoc_insertion_point(field_get:proxima.be.proto.CommonConfig.log_file) |
1412 | return _internal_log_file(); |
1413 | } |
1414 | inline void CommonConfig::set_log_file(const std::string& value) { |
1415 | _internal_set_log_file(value); |
1416 | // @@protoc_insertion_point(field_set:proxima.be.proto.CommonConfig.log_file) |
1417 | } |
1418 | inline std::string* CommonConfig::mutable_log_file() { |
1419 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.CommonConfig.log_file) |
1420 | return _internal_mutable_log_file(); |
1421 | } |
1422 | inline const std::string& CommonConfig::_internal_log_file() const { |
1423 | return log_file_.GetNoArena(); |
1424 | } |
1425 | inline void CommonConfig::_internal_set_log_file(const std::string& value) { |
1426 | |
1427 | log_file_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
1428 | } |
1429 | inline void CommonConfig::set_log_file(std::string&& value) { |
1430 | |
1431 | log_file_.SetNoArena( |
1432 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
1433 | // @@protoc_insertion_point(field_set_rvalue:proxima.be.proto.CommonConfig.log_file) |
1434 | } |
1435 | inline void CommonConfig::set_log_file(const char* value) { |
1436 | GOOGLE_DCHECK(value != nullptr); |
1437 | |
1438 | log_file_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
1439 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.CommonConfig.log_file) |
1440 | } |
1441 | inline void CommonConfig::set_log_file(const char* value, size_t size) { |
1442 | |
1443 | log_file_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
1444 | ::std::string(reinterpret_cast<const char*>(value), size)); |
1445 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.CommonConfig.log_file) |
1446 | } |
1447 | inline std::string* CommonConfig::_internal_mutable_log_file() { |
1448 | |
1449 | return log_file_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1450 | } |
1451 | inline std::string* CommonConfig::release_log_file() { |
1452 | // @@protoc_insertion_point(field_release:proxima.be.proto.CommonConfig.log_file) |
1453 | |
1454 | return log_file_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1455 | } |
1456 | inline void CommonConfig::set_allocated_log_file(std::string* log_file) { |
1457 | if (log_file != nullptr) { |
1458 | |
1459 | } else { |
1460 | |
1461 | } |
1462 | log_file_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), log_file); |
1463 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.CommonConfig.log_file) |
1464 | } |
1465 | |
1466 | // int32 log_level = 7; |
1467 | inline void CommonConfig::clear_log_level() { |
1468 | log_level_ = 0; |
1469 | } |
1470 | inline ::PROTOBUF_NAMESPACE_ID::int32 CommonConfig::_internal_log_level() const { |
1471 | return log_level_; |
1472 | } |
1473 | inline ::PROTOBUF_NAMESPACE_ID::int32 CommonConfig::log_level() const { |
1474 | // @@protoc_insertion_point(field_get:proxima.be.proto.CommonConfig.log_level) |
1475 | return _internal_log_level(); |
1476 | } |
1477 | inline void CommonConfig::_internal_set_log_level(::PROTOBUF_NAMESPACE_ID::int32 value) { |
1478 | |
1479 | log_level_ = value; |
1480 | } |
1481 | inline void CommonConfig::set_log_level(::PROTOBUF_NAMESPACE_ID::int32 value) { |
1482 | _internal_set_log_level(value); |
1483 | // @@protoc_insertion_point(field_set:proxima.be.proto.CommonConfig.log_level) |
1484 | } |
1485 | |
1486 | // .proxima.be.proto.MetricsConfig metrics_config = 8; |
1487 | inline bool CommonConfig::_internal_has_metrics_config() const { |
1488 | return this != internal_default_instance() && metrics_config_ != nullptr; |
1489 | } |
1490 | inline bool CommonConfig::has_metrics_config() const { |
1491 | return _internal_has_metrics_config(); |
1492 | } |
1493 | inline void CommonConfig::clear_metrics_config() { |
1494 | if (GetArenaNoVirtual() == nullptr && metrics_config_ != nullptr) { |
1495 | delete metrics_config_; |
1496 | } |
1497 | metrics_config_ = nullptr; |
1498 | } |
1499 | inline const ::proxima::be::proto::MetricsConfig& CommonConfig::_internal_metrics_config() const { |
1500 | const ::proxima::be::proto::MetricsConfig* p = metrics_config_; |
1501 | return p != nullptr ? *p : *reinterpret_cast<const ::proxima::be::proto::MetricsConfig*>( |
1502 | &::proxima::be::proto::_MetricsConfig_default_instance_); |
1503 | } |
1504 | inline const ::proxima::be::proto::MetricsConfig& CommonConfig::metrics_config() const { |
1505 | // @@protoc_insertion_point(field_get:proxima.be.proto.CommonConfig.metrics_config) |
1506 | return _internal_metrics_config(); |
1507 | } |
1508 | inline ::proxima::be::proto::MetricsConfig* CommonConfig::release_metrics_config() { |
1509 | // @@protoc_insertion_point(field_release:proxima.be.proto.CommonConfig.metrics_config) |
1510 | |
1511 | ::proxima::be::proto::MetricsConfig* temp = metrics_config_; |
1512 | metrics_config_ = nullptr; |
1513 | return temp; |
1514 | } |
1515 | inline ::proxima::be::proto::MetricsConfig* CommonConfig::_internal_mutable_metrics_config() { |
1516 | |
1517 | if (metrics_config_ == nullptr) { |
1518 | auto* p = CreateMaybeMessage<::proxima::be::proto::MetricsConfig>(GetArenaNoVirtual()); |
1519 | metrics_config_ = p; |
1520 | } |
1521 | return metrics_config_; |
1522 | } |
1523 | inline ::proxima::be::proto::MetricsConfig* CommonConfig::mutable_metrics_config() { |
1524 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.CommonConfig.metrics_config) |
1525 | return _internal_mutable_metrics_config(); |
1526 | } |
1527 | inline void CommonConfig::set_allocated_metrics_config(::proxima::be::proto::MetricsConfig* metrics_config) { |
1528 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
1529 | if (message_arena == nullptr) { |
1530 | delete metrics_config_; |
1531 | } |
1532 | if (metrics_config) { |
1533 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; |
1534 | if (message_arena != submessage_arena) { |
1535 | metrics_config = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
1536 | message_arena, metrics_config, submessage_arena); |
1537 | } |
1538 | |
1539 | } else { |
1540 | |
1541 | } |
1542 | metrics_config_ = metrics_config; |
1543 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.CommonConfig.metrics_config) |
1544 | } |
1545 | |
1546 | // ------------------------------------------------------------------- |
1547 | |
1548 | // QueryConfig |
1549 | |
1550 | // uint32 query_thread_count = 1; |
1551 | inline void QueryConfig::clear_query_thread_count() { |
1552 | query_thread_count_ = 0u; |
1553 | } |
1554 | inline ::PROTOBUF_NAMESPACE_ID::uint32 QueryConfig::_internal_query_thread_count() const { |
1555 | return query_thread_count_; |
1556 | } |
1557 | inline ::PROTOBUF_NAMESPACE_ID::uint32 QueryConfig::query_thread_count() const { |
1558 | // @@protoc_insertion_point(field_get:proxima.be.proto.QueryConfig.query_thread_count) |
1559 | return _internal_query_thread_count(); |
1560 | } |
1561 | inline void QueryConfig::_internal_set_query_thread_count(::PROTOBUF_NAMESPACE_ID::uint32 value) { |
1562 | |
1563 | query_thread_count_ = value; |
1564 | } |
1565 | inline void QueryConfig::set_query_thread_count(::PROTOBUF_NAMESPACE_ID::uint32 value) { |
1566 | _internal_set_query_thread_count(value); |
1567 | // @@protoc_insertion_point(field_set:proxima.be.proto.QueryConfig.query_thread_count) |
1568 | } |
1569 | |
1570 | // ------------------------------------------------------------------- |
1571 | |
1572 | // IndexConfig |
1573 | |
1574 | // uint32 build_thread_count = 1; |
1575 | inline void IndexConfig::clear_build_thread_count() { |
1576 | build_thread_count_ = 0u; |
1577 | } |
1578 | inline ::PROTOBUF_NAMESPACE_ID::uint32 IndexConfig::_internal_build_thread_count() const { |
1579 | return build_thread_count_; |
1580 | } |
1581 | inline ::PROTOBUF_NAMESPACE_ID::uint32 IndexConfig::build_thread_count() const { |
1582 | // @@protoc_insertion_point(field_get:proxima.be.proto.IndexConfig.build_thread_count) |
1583 | return _internal_build_thread_count(); |
1584 | } |
1585 | inline void IndexConfig::_internal_set_build_thread_count(::PROTOBUF_NAMESPACE_ID::uint32 value) { |
1586 | |
1587 | build_thread_count_ = value; |
1588 | } |
1589 | inline void IndexConfig::set_build_thread_count(::PROTOBUF_NAMESPACE_ID::uint32 value) { |
1590 | _internal_set_build_thread_count(value); |
1591 | // @@protoc_insertion_point(field_set:proxima.be.proto.IndexConfig.build_thread_count) |
1592 | } |
1593 | |
1594 | // uint32 dump_thread_count = 2; |
1595 | inline void IndexConfig::clear_dump_thread_count() { |
1596 | dump_thread_count_ = 0u; |
1597 | } |
1598 | inline ::PROTOBUF_NAMESPACE_ID::uint32 IndexConfig::_internal_dump_thread_count() const { |
1599 | return dump_thread_count_; |
1600 | } |
1601 | inline ::PROTOBUF_NAMESPACE_ID::uint32 IndexConfig::dump_thread_count() const { |
1602 | // @@protoc_insertion_point(field_get:proxima.be.proto.IndexConfig.dump_thread_count) |
1603 | return _internal_dump_thread_count(); |
1604 | } |
1605 | inline void IndexConfig::_internal_set_dump_thread_count(::PROTOBUF_NAMESPACE_ID::uint32 value) { |
1606 | |
1607 | dump_thread_count_ = value; |
1608 | } |
1609 | inline void IndexConfig::set_dump_thread_count(::PROTOBUF_NAMESPACE_ID::uint32 value) { |
1610 | _internal_set_dump_thread_count(value); |
1611 | // @@protoc_insertion_point(field_set:proxima.be.proto.IndexConfig.dump_thread_count) |
1612 | } |
1613 | |
1614 | // uint32 max_build_qps = 3; |
1615 | inline void IndexConfig::clear_max_build_qps() { |
1616 | max_build_qps_ = 0u; |
1617 | } |
1618 | inline ::PROTOBUF_NAMESPACE_ID::uint32 IndexConfig::_internal_max_build_qps() const { |
1619 | return max_build_qps_; |
1620 | } |
1621 | inline ::PROTOBUF_NAMESPACE_ID::uint32 IndexConfig::max_build_qps() const { |
1622 | // @@protoc_insertion_point(field_get:proxima.be.proto.IndexConfig.max_build_qps) |
1623 | return _internal_max_build_qps(); |
1624 | } |
1625 | inline void IndexConfig::_internal_set_max_build_qps(::PROTOBUF_NAMESPACE_ID::uint32 value) { |
1626 | |
1627 | max_build_qps_ = value; |
1628 | } |
1629 | inline void IndexConfig::set_max_build_qps(::PROTOBUF_NAMESPACE_ID::uint32 value) { |
1630 | _internal_set_max_build_qps(value); |
1631 | // @@protoc_insertion_point(field_set:proxima.be.proto.IndexConfig.max_build_qps) |
1632 | } |
1633 | |
1634 | // string index_directory = 5; |
1635 | inline void IndexConfig::clear_index_directory() { |
1636 | index_directory_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1637 | } |
1638 | inline const std::string& IndexConfig::index_directory() const { |
1639 | // @@protoc_insertion_point(field_get:proxima.be.proto.IndexConfig.index_directory) |
1640 | return _internal_index_directory(); |
1641 | } |
1642 | inline void IndexConfig::set_index_directory(const std::string& value) { |
1643 | _internal_set_index_directory(value); |
1644 | // @@protoc_insertion_point(field_set:proxima.be.proto.IndexConfig.index_directory) |
1645 | } |
1646 | inline std::string* IndexConfig::mutable_index_directory() { |
1647 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.IndexConfig.index_directory) |
1648 | return _internal_mutable_index_directory(); |
1649 | } |
1650 | inline const std::string& IndexConfig::_internal_index_directory() const { |
1651 | return index_directory_.GetNoArena(); |
1652 | } |
1653 | inline void IndexConfig::_internal_set_index_directory(const std::string& value) { |
1654 | |
1655 | index_directory_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
1656 | } |
1657 | inline void IndexConfig::set_index_directory(std::string&& value) { |
1658 | |
1659 | index_directory_.SetNoArena( |
1660 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
1661 | // @@protoc_insertion_point(field_set_rvalue:proxima.be.proto.IndexConfig.index_directory) |
1662 | } |
1663 | inline void IndexConfig::set_index_directory(const char* value) { |
1664 | GOOGLE_DCHECK(value != nullptr); |
1665 | |
1666 | index_directory_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
1667 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.IndexConfig.index_directory) |
1668 | } |
1669 | inline void IndexConfig::set_index_directory(const char* value, size_t size) { |
1670 | |
1671 | index_directory_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
1672 | ::std::string(reinterpret_cast<const char*>(value), size)); |
1673 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.IndexConfig.index_directory) |
1674 | } |
1675 | inline std::string* IndexConfig::_internal_mutable_index_directory() { |
1676 | |
1677 | return index_directory_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1678 | } |
1679 | inline std::string* IndexConfig::release_index_directory() { |
1680 | // @@protoc_insertion_point(field_release:proxima.be.proto.IndexConfig.index_directory) |
1681 | |
1682 | return index_directory_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1683 | } |
1684 | inline void IndexConfig::set_allocated_index_directory(std::string* index_directory) { |
1685 | if (index_directory != nullptr) { |
1686 | |
1687 | } else { |
1688 | |
1689 | } |
1690 | index_directory_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), index_directory); |
1691 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.IndexConfig.index_directory) |
1692 | } |
1693 | |
1694 | // uint32 flush_internal = 6; |
1695 | inline void IndexConfig::clear_flush_internal() { |
1696 | flush_internal_ = 0u; |
1697 | } |
1698 | inline ::PROTOBUF_NAMESPACE_ID::uint32 IndexConfig::_internal_flush_internal() const { |
1699 | return flush_internal_; |
1700 | } |
1701 | inline ::PROTOBUF_NAMESPACE_ID::uint32 IndexConfig::flush_internal() const { |
1702 | // @@protoc_insertion_point(field_get:proxima.be.proto.IndexConfig.flush_internal) |
1703 | return _internal_flush_internal(); |
1704 | } |
1705 | inline void IndexConfig::_internal_set_flush_internal(::PROTOBUF_NAMESPACE_ID::uint32 value) { |
1706 | |
1707 | flush_internal_ = value; |
1708 | } |
1709 | inline void IndexConfig::set_flush_internal(::PROTOBUF_NAMESPACE_ID::uint32 value) { |
1710 | _internal_set_flush_internal(value); |
1711 | // @@protoc_insertion_point(field_set:proxima.be.proto.IndexConfig.flush_internal) |
1712 | } |
1713 | |
1714 | // uint32 optimize_internal = 7; |
1715 | inline void IndexConfig::clear_optimize_internal() { |
1716 | optimize_internal_ = 0u; |
1717 | } |
1718 | inline ::PROTOBUF_NAMESPACE_ID::uint32 IndexConfig::_internal_optimize_internal() const { |
1719 | return optimize_internal_; |
1720 | } |
1721 | inline ::PROTOBUF_NAMESPACE_ID::uint32 IndexConfig::optimize_internal() const { |
1722 | // @@protoc_insertion_point(field_get:proxima.be.proto.IndexConfig.optimize_internal) |
1723 | return _internal_optimize_internal(); |
1724 | } |
1725 | inline void IndexConfig::_internal_set_optimize_internal(::PROTOBUF_NAMESPACE_ID::uint32 value) { |
1726 | |
1727 | optimize_internal_ = value; |
1728 | } |
1729 | inline void IndexConfig::set_optimize_internal(::PROTOBUF_NAMESPACE_ID::uint32 value) { |
1730 | _internal_set_optimize_internal(value); |
1731 | // @@protoc_insertion_point(field_set:proxima.be.proto.IndexConfig.optimize_internal) |
1732 | } |
1733 | |
1734 | // ------------------------------------------------------------------- |
1735 | |
1736 | // MetaConfig |
1737 | |
1738 | // string meta_uri = 1; |
1739 | inline void MetaConfig::clear_meta_uri() { |
1740 | meta_uri_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1741 | } |
1742 | inline const std::string& MetaConfig::meta_uri() const { |
1743 | // @@protoc_insertion_point(field_get:proxima.be.proto.MetaConfig.meta_uri) |
1744 | return _internal_meta_uri(); |
1745 | } |
1746 | inline void MetaConfig::set_meta_uri(const std::string& value) { |
1747 | _internal_set_meta_uri(value); |
1748 | // @@protoc_insertion_point(field_set:proxima.be.proto.MetaConfig.meta_uri) |
1749 | } |
1750 | inline std::string* MetaConfig::mutable_meta_uri() { |
1751 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.MetaConfig.meta_uri) |
1752 | return _internal_mutable_meta_uri(); |
1753 | } |
1754 | inline const std::string& MetaConfig::_internal_meta_uri() const { |
1755 | return meta_uri_.GetNoArena(); |
1756 | } |
1757 | inline void MetaConfig::_internal_set_meta_uri(const std::string& value) { |
1758 | |
1759 | meta_uri_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
1760 | } |
1761 | inline void MetaConfig::set_meta_uri(std::string&& value) { |
1762 | |
1763 | meta_uri_.SetNoArena( |
1764 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
1765 | // @@protoc_insertion_point(field_set_rvalue:proxima.be.proto.MetaConfig.meta_uri) |
1766 | } |
1767 | inline void MetaConfig::set_meta_uri(const char* value) { |
1768 | GOOGLE_DCHECK(value != nullptr); |
1769 | |
1770 | meta_uri_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
1771 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.MetaConfig.meta_uri) |
1772 | } |
1773 | inline void MetaConfig::set_meta_uri(const char* value, size_t size) { |
1774 | |
1775 | meta_uri_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
1776 | ::std::string(reinterpret_cast<const char*>(value), size)); |
1777 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.MetaConfig.meta_uri) |
1778 | } |
1779 | inline std::string* MetaConfig::_internal_mutable_meta_uri() { |
1780 | |
1781 | return meta_uri_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1782 | } |
1783 | inline std::string* MetaConfig::release_meta_uri() { |
1784 | // @@protoc_insertion_point(field_release:proxima.be.proto.MetaConfig.meta_uri) |
1785 | |
1786 | return meta_uri_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1787 | } |
1788 | inline void MetaConfig::set_allocated_meta_uri(std::string* meta_uri) { |
1789 | if (meta_uri != nullptr) { |
1790 | |
1791 | } else { |
1792 | |
1793 | } |
1794 | meta_uri_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), meta_uri); |
1795 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.MetaConfig.meta_uri) |
1796 | } |
1797 | |
1798 | // ------------------------------------------------------------------- |
1799 | |
1800 | // ProximaSEConfig |
1801 | |
1802 | // .proxima.be.proto.CommonConfig common_config = 1; |
1803 | inline bool ProximaSEConfig::_internal_has_common_config() const { |
1804 | return this != internal_default_instance() && common_config_ != nullptr; |
1805 | } |
1806 | inline bool ProximaSEConfig::has_common_config() const { |
1807 | return _internal_has_common_config(); |
1808 | } |
1809 | inline void ProximaSEConfig::clear_common_config() { |
1810 | if (GetArenaNoVirtual() == nullptr && common_config_ != nullptr) { |
1811 | delete common_config_; |
1812 | } |
1813 | common_config_ = nullptr; |
1814 | } |
1815 | inline const ::proxima::be::proto::CommonConfig& ProximaSEConfig::_internal_common_config() const { |
1816 | const ::proxima::be::proto::CommonConfig* p = common_config_; |
1817 | return p != nullptr ? *p : *reinterpret_cast<const ::proxima::be::proto::CommonConfig*>( |
1818 | &::proxima::be::proto::_CommonConfig_default_instance_); |
1819 | } |
1820 | inline const ::proxima::be::proto::CommonConfig& ProximaSEConfig::common_config() const { |
1821 | // @@protoc_insertion_point(field_get:proxima.be.proto.ProximaSEConfig.common_config) |
1822 | return _internal_common_config(); |
1823 | } |
1824 | inline ::proxima::be::proto::CommonConfig* ProximaSEConfig::release_common_config() { |
1825 | // @@protoc_insertion_point(field_release:proxima.be.proto.ProximaSEConfig.common_config) |
1826 | |
1827 | ::proxima::be::proto::CommonConfig* temp = common_config_; |
1828 | common_config_ = nullptr; |
1829 | return temp; |
1830 | } |
1831 | inline ::proxima::be::proto::CommonConfig* ProximaSEConfig::_internal_mutable_common_config() { |
1832 | |
1833 | if (common_config_ == nullptr) { |
1834 | auto* p = CreateMaybeMessage<::proxima::be::proto::CommonConfig>(GetArenaNoVirtual()); |
1835 | common_config_ = p; |
1836 | } |
1837 | return common_config_; |
1838 | } |
1839 | inline ::proxima::be::proto::CommonConfig* ProximaSEConfig::mutable_common_config() { |
1840 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.ProximaSEConfig.common_config) |
1841 | return _internal_mutable_common_config(); |
1842 | } |
1843 | inline void ProximaSEConfig::set_allocated_common_config(::proxima::be::proto::CommonConfig* common_config) { |
1844 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
1845 | if (message_arena == nullptr) { |
1846 | delete common_config_; |
1847 | } |
1848 | if (common_config) { |
1849 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; |
1850 | if (message_arena != submessage_arena) { |
1851 | common_config = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
1852 | message_arena, common_config, submessage_arena); |
1853 | } |
1854 | |
1855 | } else { |
1856 | |
1857 | } |
1858 | common_config_ = common_config; |
1859 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.ProximaSEConfig.common_config) |
1860 | } |
1861 | |
1862 | // .proxima.be.proto.QueryConfig query_config = 2; |
1863 | inline bool ProximaSEConfig::_internal_has_query_config() const { |
1864 | return this != internal_default_instance() && query_config_ != nullptr; |
1865 | } |
1866 | inline bool ProximaSEConfig::has_query_config() const { |
1867 | return _internal_has_query_config(); |
1868 | } |
1869 | inline void ProximaSEConfig::clear_query_config() { |
1870 | if (GetArenaNoVirtual() == nullptr && query_config_ != nullptr) { |
1871 | delete query_config_; |
1872 | } |
1873 | query_config_ = nullptr; |
1874 | } |
1875 | inline const ::proxima::be::proto::QueryConfig& ProximaSEConfig::_internal_query_config() const { |
1876 | const ::proxima::be::proto::QueryConfig* p = query_config_; |
1877 | return p != nullptr ? *p : *reinterpret_cast<const ::proxima::be::proto::QueryConfig*>( |
1878 | &::proxima::be::proto::_QueryConfig_default_instance_); |
1879 | } |
1880 | inline const ::proxima::be::proto::QueryConfig& ProximaSEConfig::query_config() const { |
1881 | // @@protoc_insertion_point(field_get:proxima.be.proto.ProximaSEConfig.query_config) |
1882 | return _internal_query_config(); |
1883 | } |
1884 | inline ::proxima::be::proto::QueryConfig* ProximaSEConfig::release_query_config() { |
1885 | // @@protoc_insertion_point(field_release:proxima.be.proto.ProximaSEConfig.query_config) |
1886 | |
1887 | ::proxima::be::proto::QueryConfig* temp = query_config_; |
1888 | query_config_ = nullptr; |
1889 | return temp; |
1890 | } |
1891 | inline ::proxima::be::proto::QueryConfig* ProximaSEConfig::_internal_mutable_query_config() { |
1892 | |
1893 | if (query_config_ == nullptr) { |
1894 | auto* p = CreateMaybeMessage<::proxima::be::proto::QueryConfig>(GetArenaNoVirtual()); |
1895 | query_config_ = p; |
1896 | } |
1897 | return query_config_; |
1898 | } |
1899 | inline ::proxima::be::proto::QueryConfig* ProximaSEConfig::mutable_query_config() { |
1900 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.ProximaSEConfig.query_config) |
1901 | return _internal_mutable_query_config(); |
1902 | } |
1903 | inline void ProximaSEConfig::set_allocated_query_config(::proxima::be::proto::QueryConfig* query_config) { |
1904 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
1905 | if (message_arena == nullptr) { |
1906 | delete query_config_; |
1907 | } |
1908 | if (query_config) { |
1909 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; |
1910 | if (message_arena != submessage_arena) { |
1911 | query_config = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
1912 | message_arena, query_config, submessage_arena); |
1913 | } |
1914 | |
1915 | } else { |
1916 | |
1917 | } |
1918 | query_config_ = query_config; |
1919 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.ProximaSEConfig.query_config) |
1920 | } |
1921 | |
1922 | // .proxima.be.proto.IndexConfig index_config = 3; |
1923 | inline bool ProximaSEConfig::_internal_has_index_config() const { |
1924 | return this != internal_default_instance() && index_config_ != nullptr; |
1925 | } |
1926 | inline bool ProximaSEConfig::has_index_config() const { |
1927 | return _internal_has_index_config(); |
1928 | } |
1929 | inline void ProximaSEConfig::clear_index_config() { |
1930 | if (GetArenaNoVirtual() == nullptr && index_config_ != nullptr) { |
1931 | delete index_config_; |
1932 | } |
1933 | index_config_ = nullptr; |
1934 | } |
1935 | inline const ::proxima::be::proto::IndexConfig& ProximaSEConfig::_internal_index_config() const { |
1936 | const ::proxima::be::proto::IndexConfig* p = index_config_; |
1937 | return p != nullptr ? *p : *reinterpret_cast<const ::proxima::be::proto::IndexConfig*>( |
1938 | &::proxima::be::proto::_IndexConfig_default_instance_); |
1939 | } |
1940 | inline const ::proxima::be::proto::IndexConfig& ProximaSEConfig::index_config() const { |
1941 | // @@protoc_insertion_point(field_get:proxima.be.proto.ProximaSEConfig.index_config) |
1942 | return _internal_index_config(); |
1943 | } |
1944 | inline ::proxima::be::proto::IndexConfig* ProximaSEConfig::release_index_config() { |
1945 | // @@protoc_insertion_point(field_release:proxima.be.proto.ProximaSEConfig.index_config) |
1946 | |
1947 | ::proxima::be::proto::IndexConfig* temp = index_config_; |
1948 | index_config_ = nullptr; |
1949 | return temp; |
1950 | } |
1951 | inline ::proxima::be::proto::IndexConfig* ProximaSEConfig::_internal_mutable_index_config() { |
1952 | |
1953 | if (index_config_ == nullptr) { |
1954 | auto* p = CreateMaybeMessage<::proxima::be::proto::IndexConfig>(GetArenaNoVirtual()); |
1955 | index_config_ = p; |
1956 | } |
1957 | return index_config_; |
1958 | } |
1959 | inline ::proxima::be::proto::IndexConfig* ProximaSEConfig::mutable_index_config() { |
1960 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.ProximaSEConfig.index_config) |
1961 | return _internal_mutable_index_config(); |
1962 | } |
1963 | inline void ProximaSEConfig::set_allocated_index_config(::proxima::be::proto::IndexConfig* index_config) { |
1964 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
1965 | if (message_arena == nullptr) { |
1966 | delete index_config_; |
1967 | } |
1968 | if (index_config) { |
1969 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; |
1970 | if (message_arena != submessage_arena) { |
1971 | index_config = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
1972 | message_arena, index_config, submessage_arena); |
1973 | } |
1974 | |
1975 | } else { |
1976 | |
1977 | } |
1978 | index_config_ = index_config; |
1979 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.ProximaSEConfig.index_config) |
1980 | } |
1981 | |
1982 | // .proxima.be.proto.MetaConfig meta_config = 4; |
1983 | inline bool ProximaSEConfig::_internal_has_meta_config() const { |
1984 | return this != internal_default_instance() && meta_config_ != nullptr; |
1985 | } |
1986 | inline bool ProximaSEConfig::has_meta_config() const { |
1987 | return _internal_has_meta_config(); |
1988 | } |
1989 | inline void ProximaSEConfig::clear_meta_config() { |
1990 | if (GetArenaNoVirtual() == nullptr && meta_config_ != nullptr) { |
1991 | delete meta_config_; |
1992 | } |
1993 | meta_config_ = nullptr; |
1994 | } |
1995 | inline const ::proxima::be::proto::MetaConfig& ProximaSEConfig::_internal_meta_config() const { |
1996 | const ::proxima::be::proto::MetaConfig* p = meta_config_; |
1997 | return p != nullptr ? *p : *reinterpret_cast<const ::proxima::be::proto::MetaConfig*>( |
1998 | &::proxima::be::proto::_MetaConfig_default_instance_); |
1999 | } |
2000 | inline const ::proxima::be::proto::MetaConfig& ProximaSEConfig::meta_config() const { |
2001 | // @@protoc_insertion_point(field_get:proxima.be.proto.ProximaSEConfig.meta_config) |
2002 | return _internal_meta_config(); |
2003 | } |
2004 | inline ::proxima::be::proto::MetaConfig* ProximaSEConfig::release_meta_config() { |
2005 | // @@protoc_insertion_point(field_release:proxima.be.proto.ProximaSEConfig.meta_config) |
2006 | |
2007 | ::proxima::be::proto::MetaConfig* temp = meta_config_; |
2008 | meta_config_ = nullptr; |
2009 | return temp; |
2010 | } |
2011 | inline ::proxima::be::proto::MetaConfig* ProximaSEConfig::_internal_mutable_meta_config() { |
2012 | |
2013 | if (meta_config_ == nullptr) { |
2014 | auto* p = CreateMaybeMessage<::proxima::be::proto::MetaConfig>(GetArenaNoVirtual()); |
2015 | meta_config_ = p; |
2016 | } |
2017 | return meta_config_; |
2018 | } |
2019 | inline ::proxima::be::proto::MetaConfig* ProximaSEConfig::mutable_meta_config() { |
2020 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.ProximaSEConfig.meta_config) |
2021 | return _internal_mutable_meta_config(); |
2022 | } |
2023 | inline void ProximaSEConfig::set_allocated_meta_config(::proxima::be::proto::MetaConfig* meta_config) { |
2024 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
2025 | if (message_arena == nullptr) { |
2026 | delete meta_config_; |
2027 | } |
2028 | if (meta_config) { |
2029 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; |
2030 | if (message_arena != submessage_arena) { |
2031 | meta_config = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
2032 | message_arena, meta_config, submessage_arena); |
2033 | } |
2034 | |
2035 | } else { |
2036 | |
2037 | } |
2038 | meta_config_ = meta_config; |
2039 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.ProximaSEConfig.meta_config) |
2040 | } |
2041 | |
2042 | #ifdef __GNUC__ |
2043 | #pragma GCC diagnostic pop |
2044 | #endif // __GNUC__ |
2045 | // ------------------------------------------------------------------- |
2046 | |
2047 | // ------------------------------------------------------------------- |
2048 | |
2049 | // ------------------------------------------------------------------- |
2050 | |
2051 | // ------------------------------------------------------------------- |
2052 | |
2053 | // ------------------------------------------------------------------- |
2054 | |
2055 | |
2056 | // @@protoc_insertion_point(namespace_scope) |
2057 | |
2058 | } // namespace proto |
2059 | } // namespace be |
2060 | } // namespace proxima |
2061 | |
2062 | // @@protoc_insertion_point(global_scope) |
2063 | |
2064 | #include <google/protobuf/port_undef.inc> |
2065 | #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_proto_2fconfig_2eproto |
2066 | |
2067 | #ifdef __GNUC__ |
2068 | #pragma GCC diagnostic pop |
2069 | #endif |
2070 | |