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: test.proto |
9 | |
10 | #ifndef GOOGLE_PROTOBUF_INCLUDED_test_2eproto |
11 | #define GOOGLE_PROTOBUF_INCLUDED_test_2eproto |
12 | |
13 | #include <limits> |
14 | #include <string> |
15 | |
16 | #include <google/protobuf/port_def.inc> |
17 | #if PROTOBUF_VERSION < 3011000 |
18 | #error This file was generated by a newer version of protoc which is |
19 | #error incompatible with your Protocol Buffer headers. Please update |
20 | #error your headers. |
21 | #endif |
22 | #if 3011004 < PROTOBUF_MIN_PROTOC_VERSION |
23 | #error This file was generated by an older version of protoc which is |
24 | #error incompatible with your Protocol Buffer headers. Please |
25 | #error regenerate this file with a newer version of protoc. |
26 | #endif |
27 | |
28 | #include <google/protobuf/port_undef.inc> |
29 | #include <google/protobuf/io/coded_stream.h> |
30 | #include <google/protobuf/arena.h> |
31 | #include <google/protobuf/arenastring.h> |
32 | #include <google/protobuf/generated_message_table_driven.h> |
33 | #include <google/protobuf/generated_message_util.h> |
34 | #include <google/protobuf/inlined_string_field.h> |
35 | #include <google/protobuf/metadata.h> |
36 | #include <google/protobuf/generated_message_reflection.h> |
37 | #include <google/protobuf/message.h> |
38 | #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
39 | #include <google/protobuf/extension_set.h> // IWYU pragma: export |
40 | #include <google/protobuf/generated_enum_reflection.h> |
41 | #include <google/protobuf/unknown_field_set.h> |
42 | // @@protoc_insertion_point(includes) |
43 | #include <google/protobuf/port_def.inc> |
44 | #define PROTOBUF_INTERNAL_EXPORT_test_2eproto |
45 | PROTOBUF_NAMESPACE_OPEN |
46 | namespace internal { |
47 | class AnyMetadata; |
48 | } // namespace internal |
49 | PROTOBUF_NAMESPACE_CLOSE |
50 | |
51 | // Internal implementation detail -- do not use these members. |
52 | struct TableStruct_test_2eproto { |
53 | static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] |
54 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
55 | static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] |
56 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
57 | static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2] |
58 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
59 | static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; |
60 | static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; |
61 | static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; |
62 | }; |
63 | extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_test_2eproto; |
64 | namespace proxima { |
65 | namespace be { |
66 | namespace proto { |
67 | namespace test { |
68 | class ProtoTest; |
69 | class ProtoTestDefaultTypeInternal; |
70 | extern ProtoTestDefaultTypeInternal _ProtoTest_default_instance_; |
71 | class ProtoTest_Nest; |
72 | class ProtoTest_NestDefaultTypeInternal; |
73 | extern ProtoTest_NestDefaultTypeInternal _ProtoTest_Nest_default_instance_; |
74 | } // namespace test |
75 | } // namespace proto |
76 | } // namespace be |
77 | } // namespace proxima |
78 | PROTOBUF_NAMESPACE_OPEN |
79 | template<> ::proxima::be::proto::test::ProtoTest* Arena::CreateMaybeMessage<::proxima::be::proto::test::ProtoTest>(Arena*); |
80 | template<> ::proxima::be::proto::test::ProtoTest_Nest* Arena::CreateMaybeMessage<::proxima::be::proto::test::ProtoTest_Nest>(Arena*); |
81 | PROTOBUF_NAMESPACE_CLOSE |
82 | namespace proxima { |
83 | namespace be { |
84 | namespace proto { |
85 | namespace test { |
86 | |
87 | enum ProtoTest_Enum : int { |
88 | ProtoTest_Enum_MON = 0, |
89 | ProtoTest_Enum_TUE = 1, |
90 | ProtoTest_Enum_SUN = 6, |
91 | ProtoTest_Enum_ProtoTest_Enum_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min(), |
92 | ProtoTest_Enum_ProtoTest_Enum_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max() |
93 | }; |
94 | bool ProtoTest_Enum_IsValid(int value); |
95 | constexpr ProtoTest_Enum ProtoTest_Enum_Enum_MIN = ProtoTest_Enum_MON; |
96 | constexpr ProtoTest_Enum ProtoTest_Enum_Enum_MAX = ProtoTest_Enum_SUN; |
97 | constexpr int ProtoTest_Enum_Enum_ARRAYSIZE = ProtoTest_Enum_Enum_MAX + 1; |
98 | |
99 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ProtoTest_Enum_descriptor(); |
100 | template<typename T> |
101 | inline const std::string& ProtoTest_Enum_Name(T enum_t_value) { |
102 | static_assert(::std::is_same<T, ProtoTest_Enum>::value || |
103 | ::std::is_integral<T>::value, |
104 | "Incorrect type passed to function ProtoTest_Enum_Name." ); |
105 | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
106 | ProtoTest_Enum_descriptor(), enum_t_value); |
107 | } |
108 | inline bool ProtoTest_Enum_Parse( |
109 | const std::string& name, ProtoTest_Enum* value) { |
110 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ProtoTest_Enum>( |
111 | ProtoTest_Enum_descriptor(), name, value); |
112 | } |
113 | // =================================================================== |
114 | |
115 | class ProtoTest_Nest : |
116 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proxima.be.proto.test.ProtoTest.Nest) */ { |
117 | public: |
118 | ProtoTest_Nest(); |
119 | virtual ~ProtoTest_Nest(); |
120 | |
121 | ProtoTest_Nest(const ProtoTest_Nest& from); |
122 | ProtoTest_Nest(ProtoTest_Nest&& from) noexcept |
123 | : ProtoTest_Nest() { |
124 | *this = ::std::move(from); |
125 | } |
126 | |
127 | inline ProtoTest_Nest& operator=(const ProtoTest_Nest& from) { |
128 | CopyFrom(from); |
129 | return *this; |
130 | } |
131 | inline ProtoTest_Nest& operator=(ProtoTest_Nest&& from) noexcept { |
132 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
133 | if (this != &from) InternalSwap(&from); |
134 | } else { |
135 | CopyFrom(from); |
136 | } |
137 | return *this; |
138 | } |
139 | |
140 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
141 | return GetDescriptor(); |
142 | } |
143 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
144 | return GetMetadataStatic().descriptor; |
145 | } |
146 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
147 | return GetMetadataStatic().reflection; |
148 | } |
149 | static const ProtoTest_Nest& default_instance(); |
150 | |
151 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
152 | static inline const ProtoTest_Nest* internal_default_instance() { |
153 | return reinterpret_cast<const ProtoTest_Nest*>( |
154 | &_ProtoTest_Nest_default_instance_); |
155 | } |
156 | static constexpr int kIndexInFileMessages = |
157 | 0; |
158 | |
159 | friend void swap(ProtoTest_Nest& a, ProtoTest_Nest& b) { |
160 | a.Swap(&b); |
161 | } |
162 | inline void Swap(ProtoTest_Nest* other) { |
163 | if (other == this) return; |
164 | InternalSwap(other); |
165 | } |
166 | |
167 | // implements Message ---------------------------------------------- |
168 | |
169 | inline ProtoTest_Nest* New() const final { |
170 | return CreateMaybeMessage<ProtoTest_Nest>(nullptr); |
171 | } |
172 | |
173 | ProtoTest_Nest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
174 | return CreateMaybeMessage<ProtoTest_Nest>(arena); |
175 | } |
176 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
177 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
178 | void CopyFrom(const ProtoTest_Nest& from); |
179 | void MergeFrom(const ProtoTest_Nest& from); |
180 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
181 | bool IsInitialized() const final; |
182 | |
183 | size_t ByteSizeLong() const final; |
184 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
185 | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
186 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
187 | int GetCachedSize() const final { return _cached_size_.Get(); } |
188 | |
189 | private: |
190 | inline void SharedCtor(); |
191 | inline void SharedDtor(); |
192 | void SetCachedSize(int size) const final; |
193 | void InternalSwap(ProtoTest_Nest* other); |
194 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
195 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
196 | return "proxima.be.proto.test.ProtoTest.Nest" ; |
197 | } |
198 | private: |
199 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
200 | return nullptr; |
201 | } |
202 | inline void* MaybeArenaPtr() const { |
203 | return nullptr; |
204 | } |
205 | public: |
206 | |
207 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
208 | private: |
209 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
210 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_test_2eproto); |
211 | return ::descriptor_table_test_2eproto.file_level_metadata[kIndexInFileMessages]; |
212 | } |
213 | |
214 | public: |
215 | |
216 | // nested types ---------------------------------------------------- |
217 | |
218 | // accessors ------------------------------------------------------- |
219 | |
220 | enum : int { |
221 | kI32FieldNumber = 1, |
222 | kU32FieldNumber = 2, |
223 | }; |
224 | // int32 i32 = 1; |
225 | void clear_i32(); |
226 | ::PROTOBUF_NAMESPACE_ID::int32 i32() const; |
227 | void set_i32(::PROTOBUF_NAMESPACE_ID::int32 value); |
228 | private: |
229 | ::PROTOBUF_NAMESPACE_ID::int32 _internal_i32() const; |
230 | void _internal_set_i32(::PROTOBUF_NAMESPACE_ID::int32 value); |
231 | public: |
232 | |
233 | // uint32 u32 = 2; |
234 | void clear_u32(); |
235 | ::PROTOBUF_NAMESPACE_ID::uint32 u32() const; |
236 | void set_u32(::PROTOBUF_NAMESPACE_ID::uint32 value); |
237 | private: |
238 | ::PROTOBUF_NAMESPACE_ID::uint32 _internal_u32() const; |
239 | void _internal_set_u32(::PROTOBUF_NAMESPACE_ID::uint32 value); |
240 | public: |
241 | |
242 | // @@protoc_insertion_point(class_scope:proxima.be.proto.test.ProtoTest.Nest) |
243 | private: |
244 | class _Internal; |
245 | |
246 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
247 | ::PROTOBUF_NAMESPACE_ID::int32 i32_; |
248 | ::PROTOBUF_NAMESPACE_ID::uint32 u32_; |
249 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
250 | friend struct ::TableStruct_test_2eproto; |
251 | }; |
252 | // ------------------------------------------------------------------- |
253 | |
254 | class ProtoTest : |
255 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proxima.be.proto.test.ProtoTest) */ { |
256 | public: |
257 | ProtoTest(); |
258 | virtual ~ProtoTest(); |
259 | |
260 | ProtoTest(const ProtoTest& from); |
261 | ProtoTest(ProtoTest&& from) noexcept |
262 | : ProtoTest() { |
263 | *this = ::std::move(from); |
264 | } |
265 | |
266 | inline ProtoTest& operator=(const ProtoTest& from) { |
267 | CopyFrom(from); |
268 | return *this; |
269 | } |
270 | inline ProtoTest& operator=(ProtoTest&& from) noexcept { |
271 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
272 | if (this != &from) InternalSwap(&from); |
273 | } else { |
274 | CopyFrom(from); |
275 | } |
276 | return *this; |
277 | } |
278 | |
279 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
280 | return GetDescriptor(); |
281 | } |
282 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
283 | return GetMetadataStatic().descriptor; |
284 | } |
285 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
286 | return GetMetadataStatic().reflection; |
287 | } |
288 | static const ProtoTest& default_instance(); |
289 | |
290 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
291 | static inline const ProtoTest* internal_default_instance() { |
292 | return reinterpret_cast<const ProtoTest*>( |
293 | &_ProtoTest_default_instance_); |
294 | } |
295 | static constexpr int kIndexInFileMessages = |
296 | 1; |
297 | |
298 | friend void swap(ProtoTest& a, ProtoTest& b) { |
299 | a.Swap(&b); |
300 | } |
301 | inline void Swap(ProtoTest* other) { |
302 | if (other == this) return; |
303 | InternalSwap(other); |
304 | } |
305 | |
306 | // implements Message ---------------------------------------------- |
307 | |
308 | inline ProtoTest* New() const final { |
309 | return CreateMaybeMessage<ProtoTest>(nullptr); |
310 | } |
311 | |
312 | ProtoTest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
313 | return CreateMaybeMessage<ProtoTest>(arena); |
314 | } |
315 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
316 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
317 | void CopyFrom(const ProtoTest& from); |
318 | void MergeFrom(const ProtoTest& from); |
319 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
320 | bool IsInitialized() const final; |
321 | |
322 | size_t ByteSizeLong() const final; |
323 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
324 | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
325 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
326 | int GetCachedSize() const final { return _cached_size_.Get(); } |
327 | |
328 | private: |
329 | inline void SharedCtor(); |
330 | inline void SharedDtor(); |
331 | void SetCachedSize(int size) const final; |
332 | void InternalSwap(ProtoTest* other); |
333 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
334 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
335 | return "proxima.be.proto.test.ProtoTest" ; |
336 | } |
337 | private: |
338 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
339 | return nullptr; |
340 | } |
341 | inline void* MaybeArenaPtr() const { |
342 | return nullptr; |
343 | } |
344 | public: |
345 | |
346 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
347 | private: |
348 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
349 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_test_2eproto); |
350 | return ::descriptor_table_test_2eproto.file_level_metadata[kIndexInFileMessages]; |
351 | } |
352 | |
353 | public: |
354 | |
355 | // nested types ---------------------------------------------------- |
356 | |
357 | typedef ProtoTest_Nest Nest; |
358 | |
359 | typedef ProtoTest_Enum Enum; |
360 | static constexpr Enum MON = |
361 | ProtoTest_Enum_MON; |
362 | static constexpr Enum TUE = |
363 | ProtoTest_Enum_TUE; |
364 | static constexpr Enum SUN = |
365 | ProtoTest_Enum_SUN; |
366 | static inline bool Enum_IsValid(int value) { |
367 | return ProtoTest_Enum_IsValid(value); |
368 | } |
369 | static constexpr Enum Enum_MIN = |
370 | ProtoTest_Enum_Enum_MIN; |
371 | static constexpr Enum Enum_MAX = |
372 | ProtoTest_Enum_Enum_MAX; |
373 | static constexpr int Enum_ARRAYSIZE = |
374 | ProtoTest_Enum_Enum_ARRAYSIZE; |
375 | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
376 | Enum_descriptor() { |
377 | return ProtoTest_Enum_descriptor(); |
378 | } |
379 | template<typename T> |
380 | static inline const std::string& Enum_Name(T enum_t_value) { |
381 | static_assert(::std::is_same<T, Enum>::value || |
382 | ::std::is_integral<T>::value, |
383 | "Incorrect type passed to function Enum_Name." ); |
384 | return ProtoTest_Enum_Name(enum_t_value); |
385 | } |
386 | static inline bool Enum_Parse(const std::string& name, |
387 | Enum* value) { |
388 | return ProtoTest_Enum_Parse(name, value); |
389 | } |
390 | |
391 | // accessors ------------------------------------------------------- |
392 | |
393 | enum : int { |
394 | kI32SFieldNumber = 10, |
395 | kU32SFieldNumber = 11, |
396 | kI64SFieldNumber = 12, |
397 | kU64SFieldNumber = 13, |
398 | kF32SFieldNumber = 14, |
399 | kF64SFieldNumber = 15, |
400 | kBsFieldNumber = 16, |
401 | kEsFieldNumber = 17, |
402 | kNestsFieldNumber = 18, |
403 | kStrsFieldNumber = 21, |
404 | kBinarysFieldNumber = 22, |
405 | kStrFieldNumber = 19, |
406 | kBinaryFieldNumber = 20, |
407 | kNestFieldNumber = 9, |
408 | kI32FieldNumber = 1, |
409 | kU32FieldNumber = 2, |
410 | kI64FieldNumber = 3, |
411 | kU64FieldNumber = 4, |
412 | kF64FieldNumber = 6, |
413 | kF32FieldNumber = 5, |
414 | kBFieldNumber = 7, |
415 | kEFieldNumber = 8, |
416 | }; |
417 | // repeated int32 i32s = 10; |
418 | int i32s_size() const; |
419 | private: |
420 | int _internal_i32s_size() const; |
421 | public: |
422 | void clear_i32s(); |
423 | private: |
424 | ::PROTOBUF_NAMESPACE_ID::int32 _internal_i32s(int index) const; |
425 | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >& |
426 | _internal_i32s() const; |
427 | void _internal_add_i32s(::PROTOBUF_NAMESPACE_ID::int32 value); |
428 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >* |
429 | _internal_mutable_i32s(); |
430 | public: |
431 | ::PROTOBUF_NAMESPACE_ID::int32 i32s(int index) const; |
432 | void set_i32s(int index, ::PROTOBUF_NAMESPACE_ID::int32 value); |
433 | void add_i32s(::PROTOBUF_NAMESPACE_ID::int32 value); |
434 | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >& |
435 | i32s() const; |
436 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >* |
437 | mutable_i32s(); |
438 | |
439 | // repeated uint32 u32s = 11; |
440 | int u32s_size() const; |
441 | private: |
442 | int _internal_u32s_size() const; |
443 | public: |
444 | void clear_u32s(); |
445 | private: |
446 | ::PROTOBUF_NAMESPACE_ID::uint32 _internal_u32s(int index) const; |
447 | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& |
448 | _internal_u32s() const; |
449 | void _internal_add_u32s(::PROTOBUF_NAMESPACE_ID::uint32 value); |
450 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* |
451 | _internal_mutable_u32s(); |
452 | public: |
453 | ::PROTOBUF_NAMESPACE_ID::uint32 u32s(int index) const; |
454 | void set_u32s(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value); |
455 | void add_u32s(::PROTOBUF_NAMESPACE_ID::uint32 value); |
456 | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& |
457 | u32s() const; |
458 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* |
459 | mutable_u32s(); |
460 | |
461 | // repeated int64 i64s = 12; |
462 | int i64s_size() const; |
463 | private: |
464 | int _internal_i64s_size() const; |
465 | public: |
466 | void clear_i64s(); |
467 | private: |
468 | ::PROTOBUF_NAMESPACE_ID::int64 _internal_i64s(int index) const; |
469 | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >& |
470 | _internal_i64s() const; |
471 | void _internal_add_i64s(::PROTOBUF_NAMESPACE_ID::int64 value); |
472 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >* |
473 | _internal_mutable_i64s(); |
474 | public: |
475 | ::PROTOBUF_NAMESPACE_ID::int64 i64s(int index) const; |
476 | void set_i64s(int index, ::PROTOBUF_NAMESPACE_ID::int64 value); |
477 | void add_i64s(::PROTOBUF_NAMESPACE_ID::int64 value); |
478 | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >& |
479 | i64s() const; |
480 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >* |
481 | mutable_i64s(); |
482 | |
483 | // repeated uint64 u64s = 13; |
484 | int u64s_size() const; |
485 | private: |
486 | int _internal_u64s_size() const; |
487 | public: |
488 | void clear_u64s(); |
489 | private: |
490 | ::PROTOBUF_NAMESPACE_ID::uint64 _internal_u64s(int index) const; |
491 | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >& |
492 | _internal_u64s() const; |
493 | void _internal_add_u64s(::PROTOBUF_NAMESPACE_ID::uint64 value); |
494 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >* |
495 | _internal_mutable_u64s(); |
496 | public: |
497 | ::PROTOBUF_NAMESPACE_ID::uint64 u64s(int index) const; |
498 | void set_u64s(int index, ::PROTOBUF_NAMESPACE_ID::uint64 value); |
499 | void add_u64s(::PROTOBUF_NAMESPACE_ID::uint64 value); |
500 | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >& |
501 | u64s() const; |
502 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >* |
503 | mutable_u64s(); |
504 | |
505 | // repeated float f32s = 14; |
506 | int f32s_size() const; |
507 | private: |
508 | int _internal_f32s_size() const; |
509 | public: |
510 | void clear_f32s(); |
511 | private: |
512 | float _internal_f32s(int index) const; |
513 | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& |
514 | _internal_f32s() const; |
515 | void _internal_add_f32s(float value); |
516 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* |
517 | _internal_mutable_f32s(); |
518 | public: |
519 | float f32s(int index) const; |
520 | void set_f32s(int index, float value); |
521 | void add_f32s(float value); |
522 | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& |
523 | f32s() const; |
524 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* |
525 | mutable_f32s(); |
526 | |
527 | // repeated double f64s = 15; |
528 | int f64s_size() const; |
529 | private: |
530 | int _internal_f64s_size() const; |
531 | public: |
532 | void clear_f64s(); |
533 | private: |
534 | double _internal_f64s(int index) const; |
535 | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >& |
536 | _internal_f64s() const; |
537 | void _internal_add_f64s(double value); |
538 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >* |
539 | _internal_mutable_f64s(); |
540 | public: |
541 | double f64s(int index) const; |
542 | void set_f64s(int index, double value); |
543 | void add_f64s(double value); |
544 | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >& |
545 | f64s() const; |
546 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >* |
547 | mutable_f64s(); |
548 | |
549 | // repeated bool bs = 16; |
550 | int bs_size() const; |
551 | private: |
552 | int _internal_bs_size() const; |
553 | public: |
554 | void clear_bs(); |
555 | private: |
556 | bool _internal_bs(int index) const; |
557 | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >& |
558 | _internal_bs() const; |
559 | void _internal_add_bs(bool value); |
560 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >* |
561 | _internal_mutable_bs(); |
562 | public: |
563 | bool bs(int index) const; |
564 | void set_bs(int index, bool value); |
565 | void add_bs(bool value); |
566 | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >& |
567 | bs() const; |
568 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >* |
569 | mutable_bs(); |
570 | |
571 | // repeated .proxima.be.proto.test.ProtoTest.Enum es = 17; |
572 | int es_size() const; |
573 | private: |
574 | int _internal_es_size() const; |
575 | public: |
576 | void clear_es(); |
577 | private: |
578 | ::proxima::be::proto::test::ProtoTest_Enum _internal_es(int index) const; |
579 | void _internal_add_es(::proxima::be::proto::test::ProtoTest_Enum value); |
580 | ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_es(); |
581 | public: |
582 | ::proxima::be::proto::test::ProtoTest_Enum es(int index) const; |
583 | void set_es(int index, ::proxima::be::proto::test::ProtoTest_Enum value); |
584 | void add_es(::proxima::be::proto::test::ProtoTest_Enum value); |
585 | const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& es() const; |
586 | ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_es(); |
587 | |
588 | // repeated .proxima.be.proto.test.ProtoTest.Nest nests = 18; |
589 | int nests_size() const; |
590 | private: |
591 | int _internal_nests_size() const; |
592 | public: |
593 | void clear_nests(); |
594 | ::proxima::be::proto::test::ProtoTest_Nest* mutable_nests(int index); |
595 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::test::ProtoTest_Nest >* |
596 | mutable_nests(); |
597 | private: |
598 | const ::proxima::be::proto::test::ProtoTest_Nest& _internal_nests(int index) const; |
599 | ::proxima::be::proto::test::ProtoTest_Nest* _internal_add_nests(); |
600 | public: |
601 | const ::proxima::be::proto::test::ProtoTest_Nest& nests(int index) const; |
602 | ::proxima::be::proto::test::ProtoTest_Nest* add_nests(); |
603 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::test::ProtoTest_Nest >& |
604 | nests() const; |
605 | |
606 | // repeated string strs = 21; |
607 | int strs_size() const; |
608 | private: |
609 | int _internal_strs_size() const; |
610 | public: |
611 | void clear_strs(); |
612 | const std::string& strs(int index) const; |
613 | std::string* mutable_strs(int index); |
614 | void set_strs(int index, const std::string& value); |
615 | void set_strs(int index, std::string&& value); |
616 | void set_strs(int index, const char* value); |
617 | void set_strs(int index, const char* value, size_t size); |
618 | std::string* add_strs(); |
619 | void add_strs(const std::string& value); |
620 | void add_strs(std::string&& value); |
621 | void add_strs(const char* value); |
622 | void add_strs(const char* value, size_t size); |
623 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& strs() const; |
624 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_strs(); |
625 | private: |
626 | const std::string& _internal_strs(int index) const; |
627 | std::string* _internal_add_strs(); |
628 | public: |
629 | |
630 | // repeated bytes binarys = 22; |
631 | int binarys_size() const; |
632 | private: |
633 | int _internal_binarys_size() const; |
634 | public: |
635 | void clear_binarys(); |
636 | const std::string& binarys(int index) const; |
637 | std::string* mutable_binarys(int index); |
638 | void set_binarys(int index, const std::string& value); |
639 | void set_binarys(int index, std::string&& value); |
640 | void set_binarys(int index, const char* value); |
641 | void set_binarys(int index, const void* value, size_t size); |
642 | std::string* add_binarys(); |
643 | void add_binarys(const std::string& value); |
644 | void add_binarys(std::string&& value); |
645 | void add_binarys(const char* value); |
646 | void add_binarys(const void* value, size_t size); |
647 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& binarys() const; |
648 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_binarys(); |
649 | private: |
650 | const std::string& _internal_binarys(int index) const; |
651 | std::string* _internal_add_binarys(); |
652 | public: |
653 | |
654 | // string str = 19; |
655 | void clear_str(); |
656 | const std::string& str() const; |
657 | void set_str(const std::string& value); |
658 | void set_str(std::string&& value); |
659 | void set_str(const char* value); |
660 | void set_str(const char* value, size_t size); |
661 | std::string* mutable_str(); |
662 | std::string* release_str(); |
663 | void set_allocated_str(std::string* str); |
664 | private: |
665 | const std::string& _internal_str() const; |
666 | void _internal_set_str(const std::string& value); |
667 | std::string* _internal_mutable_str(); |
668 | public: |
669 | |
670 | // bytes binary = 20; |
671 | void clear_binary(); |
672 | const std::string& binary() const; |
673 | void set_binary(const std::string& value); |
674 | void set_binary(std::string&& value); |
675 | void set_binary(const char* value); |
676 | void set_binary(const void* value, size_t size); |
677 | std::string* mutable_binary(); |
678 | std::string* release_binary(); |
679 | void set_allocated_binary(std::string* binary); |
680 | private: |
681 | const std::string& _internal_binary() const; |
682 | void _internal_set_binary(const std::string& value); |
683 | std::string* _internal_mutable_binary(); |
684 | public: |
685 | |
686 | // .proxima.be.proto.test.ProtoTest.Nest nest = 9; |
687 | bool has_nest() const; |
688 | private: |
689 | bool _internal_has_nest() const; |
690 | public: |
691 | void clear_nest(); |
692 | const ::proxima::be::proto::test::ProtoTest_Nest& nest() const; |
693 | ::proxima::be::proto::test::ProtoTest_Nest* release_nest(); |
694 | ::proxima::be::proto::test::ProtoTest_Nest* mutable_nest(); |
695 | void set_allocated_nest(::proxima::be::proto::test::ProtoTest_Nest* nest); |
696 | private: |
697 | const ::proxima::be::proto::test::ProtoTest_Nest& _internal_nest() const; |
698 | ::proxima::be::proto::test::ProtoTest_Nest* _internal_mutable_nest(); |
699 | public: |
700 | |
701 | // int32 i32 = 1; |
702 | void clear_i32(); |
703 | ::PROTOBUF_NAMESPACE_ID::int32 i32() const; |
704 | void set_i32(::PROTOBUF_NAMESPACE_ID::int32 value); |
705 | private: |
706 | ::PROTOBUF_NAMESPACE_ID::int32 _internal_i32() const; |
707 | void _internal_set_i32(::PROTOBUF_NAMESPACE_ID::int32 value); |
708 | public: |
709 | |
710 | // uint32 u32 = 2; |
711 | void clear_u32(); |
712 | ::PROTOBUF_NAMESPACE_ID::uint32 u32() const; |
713 | void set_u32(::PROTOBUF_NAMESPACE_ID::uint32 value); |
714 | private: |
715 | ::PROTOBUF_NAMESPACE_ID::uint32 _internal_u32() const; |
716 | void _internal_set_u32(::PROTOBUF_NAMESPACE_ID::uint32 value); |
717 | public: |
718 | |
719 | // int64 i64 = 3; |
720 | void clear_i64(); |
721 | ::PROTOBUF_NAMESPACE_ID::int64 i64() const; |
722 | void set_i64(::PROTOBUF_NAMESPACE_ID::int64 value); |
723 | private: |
724 | ::PROTOBUF_NAMESPACE_ID::int64 _internal_i64() const; |
725 | void _internal_set_i64(::PROTOBUF_NAMESPACE_ID::int64 value); |
726 | public: |
727 | |
728 | // uint64 u64 = 4; |
729 | void clear_u64(); |
730 | ::PROTOBUF_NAMESPACE_ID::uint64 u64() const; |
731 | void set_u64(::PROTOBUF_NAMESPACE_ID::uint64 value); |
732 | private: |
733 | ::PROTOBUF_NAMESPACE_ID::uint64 _internal_u64() const; |
734 | void _internal_set_u64(::PROTOBUF_NAMESPACE_ID::uint64 value); |
735 | public: |
736 | |
737 | // double f64 = 6; |
738 | void clear_f64(); |
739 | double f64() const; |
740 | void set_f64(double value); |
741 | private: |
742 | double _internal_f64() const; |
743 | void _internal_set_f64(double value); |
744 | public: |
745 | |
746 | // float f32 = 5; |
747 | void clear_f32(); |
748 | float f32() const; |
749 | void set_f32(float value); |
750 | private: |
751 | float _internal_f32() const; |
752 | void _internal_set_f32(float value); |
753 | public: |
754 | |
755 | // bool b = 7; |
756 | void clear_b(); |
757 | bool b() const; |
758 | void set_b(bool value); |
759 | private: |
760 | bool _internal_b() const; |
761 | void _internal_set_b(bool value); |
762 | public: |
763 | |
764 | // .proxima.be.proto.test.ProtoTest.Enum e = 8; |
765 | void clear_e(); |
766 | ::proxima::be::proto::test::ProtoTest_Enum e() const; |
767 | void set_e(::proxima::be::proto::test::ProtoTest_Enum value); |
768 | private: |
769 | ::proxima::be::proto::test::ProtoTest_Enum _internal_e() const; |
770 | void _internal_set_e(::proxima::be::proto::test::ProtoTest_Enum value); |
771 | public: |
772 | |
773 | // @@protoc_insertion_point(class_scope:proxima.be.proto.test.ProtoTest) |
774 | private: |
775 | class _Internal; |
776 | |
777 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
778 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > i32s_; |
779 | mutable std::atomic<int> _i32s_cached_byte_size_; |
780 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 > u32s_; |
781 | mutable std::atomic<int> _u32s_cached_byte_size_; |
782 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 > i64s_; |
783 | mutable std::atomic<int> _i64s_cached_byte_size_; |
784 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 > u64s_; |
785 | mutable std::atomic<int> _u64s_cached_byte_size_; |
786 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > f32s_; |
787 | mutable std::atomic<int> _f32s_cached_byte_size_; |
788 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > f64s_; |
789 | mutable std::atomic<int> _f64s_cached_byte_size_; |
790 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool > bs_; |
791 | mutable std::atomic<int> _bs_cached_byte_size_; |
792 | ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> es_; |
793 | mutable std::atomic<int> _es_cached_byte_size_; |
794 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::test::ProtoTest_Nest > nests_; |
795 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> strs_; |
796 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> binarys_; |
797 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr str_; |
798 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr binary_; |
799 | ::proxima::be::proto::test::ProtoTest_Nest* nest_; |
800 | ::PROTOBUF_NAMESPACE_ID::int32 i32_; |
801 | ::PROTOBUF_NAMESPACE_ID::uint32 u32_; |
802 | ::PROTOBUF_NAMESPACE_ID::int64 i64_; |
803 | ::PROTOBUF_NAMESPACE_ID::uint64 u64_; |
804 | double f64_; |
805 | float f32_; |
806 | bool b_; |
807 | int e_; |
808 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
809 | friend struct ::TableStruct_test_2eproto; |
810 | }; |
811 | // =================================================================== |
812 | |
813 | |
814 | // =================================================================== |
815 | |
816 | #ifdef __GNUC__ |
817 | #pragma GCC diagnostic push |
818 | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
819 | #endif // __GNUC__ |
820 | // ProtoTest_Nest |
821 | |
822 | // int32 i32 = 1; |
823 | inline void ProtoTest_Nest::clear_i32() { |
824 | i32_ = 0; |
825 | } |
826 | inline ::PROTOBUF_NAMESPACE_ID::int32 ProtoTest_Nest::_internal_i32() const { |
827 | return i32_; |
828 | } |
829 | inline ::PROTOBUF_NAMESPACE_ID::int32 ProtoTest_Nest::i32() const { |
830 | // @@protoc_insertion_point(field_get:proxima.be.proto.test.ProtoTest.Nest.i32) |
831 | return _internal_i32(); |
832 | } |
833 | inline void ProtoTest_Nest::_internal_set_i32(::PROTOBUF_NAMESPACE_ID::int32 value) { |
834 | |
835 | i32_ = value; |
836 | } |
837 | inline void ProtoTest_Nest::set_i32(::PROTOBUF_NAMESPACE_ID::int32 value) { |
838 | _internal_set_i32(value); |
839 | // @@protoc_insertion_point(field_set:proxima.be.proto.test.ProtoTest.Nest.i32) |
840 | } |
841 | |
842 | // uint32 u32 = 2; |
843 | inline void ProtoTest_Nest::clear_u32() { |
844 | u32_ = 0u; |
845 | } |
846 | inline ::PROTOBUF_NAMESPACE_ID::uint32 ProtoTest_Nest::_internal_u32() const { |
847 | return u32_; |
848 | } |
849 | inline ::PROTOBUF_NAMESPACE_ID::uint32 ProtoTest_Nest::u32() const { |
850 | // @@protoc_insertion_point(field_get:proxima.be.proto.test.ProtoTest.Nest.u32) |
851 | return _internal_u32(); |
852 | } |
853 | inline void ProtoTest_Nest::_internal_set_u32(::PROTOBUF_NAMESPACE_ID::uint32 value) { |
854 | |
855 | u32_ = value; |
856 | } |
857 | inline void ProtoTest_Nest::set_u32(::PROTOBUF_NAMESPACE_ID::uint32 value) { |
858 | _internal_set_u32(value); |
859 | // @@protoc_insertion_point(field_set:proxima.be.proto.test.ProtoTest.Nest.u32) |
860 | } |
861 | |
862 | // ------------------------------------------------------------------- |
863 | |
864 | // ProtoTest |
865 | |
866 | // int32 i32 = 1; |
867 | inline void ProtoTest::clear_i32() { |
868 | i32_ = 0; |
869 | } |
870 | inline ::PROTOBUF_NAMESPACE_ID::int32 ProtoTest::_internal_i32() const { |
871 | return i32_; |
872 | } |
873 | inline ::PROTOBUF_NAMESPACE_ID::int32 ProtoTest::i32() const { |
874 | // @@protoc_insertion_point(field_get:proxima.be.proto.test.ProtoTest.i32) |
875 | return _internal_i32(); |
876 | } |
877 | inline void ProtoTest::_internal_set_i32(::PROTOBUF_NAMESPACE_ID::int32 value) { |
878 | |
879 | i32_ = value; |
880 | } |
881 | inline void ProtoTest::set_i32(::PROTOBUF_NAMESPACE_ID::int32 value) { |
882 | _internal_set_i32(value); |
883 | // @@protoc_insertion_point(field_set:proxima.be.proto.test.ProtoTest.i32) |
884 | } |
885 | |
886 | // uint32 u32 = 2; |
887 | inline void ProtoTest::clear_u32() { |
888 | u32_ = 0u; |
889 | } |
890 | inline ::PROTOBUF_NAMESPACE_ID::uint32 ProtoTest::_internal_u32() const { |
891 | return u32_; |
892 | } |
893 | inline ::PROTOBUF_NAMESPACE_ID::uint32 ProtoTest::u32() const { |
894 | // @@protoc_insertion_point(field_get:proxima.be.proto.test.ProtoTest.u32) |
895 | return _internal_u32(); |
896 | } |
897 | inline void ProtoTest::_internal_set_u32(::PROTOBUF_NAMESPACE_ID::uint32 value) { |
898 | |
899 | u32_ = value; |
900 | } |
901 | inline void ProtoTest::set_u32(::PROTOBUF_NAMESPACE_ID::uint32 value) { |
902 | _internal_set_u32(value); |
903 | // @@protoc_insertion_point(field_set:proxima.be.proto.test.ProtoTest.u32) |
904 | } |
905 | |
906 | // int64 i64 = 3; |
907 | inline void ProtoTest::clear_i64() { |
908 | i64_ = PROTOBUF_LONGLONG(0); |
909 | } |
910 | inline ::PROTOBUF_NAMESPACE_ID::int64 ProtoTest::_internal_i64() const { |
911 | return i64_; |
912 | } |
913 | inline ::PROTOBUF_NAMESPACE_ID::int64 ProtoTest::i64() const { |
914 | // @@protoc_insertion_point(field_get:proxima.be.proto.test.ProtoTest.i64) |
915 | return _internal_i64(); |
916 | } |
917 | inline void ProtoTest::_internal_set_i64(::PROTOBUF_NAMESPACE_ID::int64 value) { |
918 | |
919 | i64_ = value; |
920 | } |
921 | inline void ProtoTest::set_i64(::PROTOBUF_NAMESPACE_ID::int64 value) { |
922 | _internal_set_i64(value); |
923 | // @@protoc_insertion_point(field_set:proxima.be.proto.test.ProtoTest.i64) |
924 | } |
925 | |
926 | // uint64 u64 = 4; |
927 | inline void ProtoTest::clear_u64() { |
928 | u64_ = PROTOBUF_ULONGLONG(0); |
929 | } |
930 | inline ::PROTOBUF_NAMESPACE_ID::uint64 ProtoTest::_internal_u64() const { |
931 | return u64_; |
932 | } |
933 | inline ::PROTOBUF_NAMESPACE_ID::uint64 ProtoTest::u64() const { |
934 | // @@protoc_insertion_point(field_get:proxima.be.proto.test.ProtoTest.u64) |
935 | return _internal_u64(); |
936 | } |
937 | inline void ProtoTest::_internal_set_u64(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
938 | |
939 | u64_ = value; |
940 | } |
941 | inline void ProtoTest::set_u64(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
942 | _internal_set_u64(value); |
943 | // @@protoc_insertion_point(field_set:proxima.be.proto.test.ProtoTest.u64) |
944 | } |
945 | |
946 | // float f32 = 5; |
947 | inline void ProtoTest::clear_f32() { |
948 | f32_ = 0; |
949 | } |
950 | inline float ProtoTest::_internal_f32() const { |
951 | return f32_; |
952 | } |
953 | inline float ProtoTest::f32() const { |
954 | // @@protoc_insertion_point(field_get:proxima.be.proto.test.ProtoTest.f32) |
955 | return _internal_f32(); |
956 | } |
957 | inline void ProtoTest::_internal_set_f32(float value) { |
958 | |
959 | f32_ = value; |
960 | } |
961 | inline void ProtoTest::set_f32(float value) { |
962 | _internal_set_f32(value); |
963 | // @@protoc_insertion_point(field_set:proxima.be.proto.test.ProtoTest.f32) |
964 | } |
965 | |
966 | // double f64 = 6; |
967 | inline void ProtoTest::clear_f64() { |
968 | f64_ = 0; |
969 | } |
970 | inline double ProtoTest::_internal_f64() const { |
971 | return f64_; |
972 | } |
973 | inline double ProtoTest::f64() const { |
974 | // @@protoc_insertion_point(field_get:proxima.be.proto.test.ProtoTest.f64) |
975 | return _internal_f64(); |
976 | } |
977 | inline void ProtoTest::_internal_set_f64(double value) { |
978 | |
979 | f64_ = value; |
980 | } |
981 | inline void ProtoTest::set_f64(double value) { |
982 | _internal_set_f64(value); |
983 | // @@protoc_insertion_point(field_set:proxima.be.proto.test.ProtoTest.f64) |
984 | } |
985 | |
986 | // bool b = 7; |
987 | inline void ProtoTest::clear_b() { |
988 | b_ = false; |
989 | } |
990 | inline bool ProtoTest::_internal_b() const { |
991 | return b_; |
992 | } |
993 | inline bool ProtoTest::b() const { |
994 | // @@protoc_insertion_point(field_get:proxima.be.proto.test.ProtoTest.b) |
995 | return _internal_b(); |
996 | } |
997 | inline void ProtoTest::_internal_set_b(bool value) { |
998 | |
999 | b_ = value; |
1000 | } |
1001 | inline void ProtoTest::set_b(bool value) { |
1002 | _internal_set_b(value); |
1003 | // @@protoc_insertion_point(field_set:proxima.be.proto.test.ProtoTest.b) |
1004 | } |
1005 | |
1006 | // .proxima.be.proto.test.ProtoTest.Enum e = 8; |
1007 | inline void ProtoTest::clear_e() { |
1008 | e_ = 0; |
1009 | } |
1010 | inline ::proxima::be::proto::test::ProtoTest_Enum ProtoTest::_internal_e() const { |
1011 | return static_cast< ::proxima::be::proto::test::ProtoTest_Enum >(e_); |
1012 | } |
1013 | inline ::proxima::be::proto::test::ProtoTest_Enum ProtoTest::e() const { |
1014 | // @@protoc_insertion_point(field_get:proxima.be.proto.test.ProtoTest.e) |
1015 | return _internal_e(); |
1016 | } |
1017 | inline void ProtoTest::_internal_set_e(::proxima::be::proto::test::ProtoTest_Enum value) { |
1018 | |
1019 | e_ = value; |
1020 | } |
1021 | inline void ProtoTest::set_e(::proxima::be::proto::test::ProtoTest_Enum value) { |
1022 | _internal_set_e(value); |
1023 | // @@protoc_insertion_point(field_set:proxima.be.proto.test.ProtoTest.e) |
1024 | } |
1025 | |
1026 | // .proxima.be.proto.test.ProtoTest.Nest nest = 9; |
1027 | inline bool ProtoTest::_internal_has_nest() const { |
1028 | return this != internal_default_instance() && nest_ != nullptr; |
1029 | } |
1030 | inline bool ProtoTest::has_nest() const { |
1031 | return _internal_has_nest(); |
1032 | } |
1033 | inline void ProtoTest::clear_nest() { |
1034 | if (GetArenaNoVirtual() == nullptr && nest_ != nullptr) { |
1035 | delete nest_; |
1036 | } |
1037 | nest_ = nullptr; |
1038 | } |
1039 | inline const ::proxima::be::proto::test::ProtoTest_Nest& ProtoTest::_internal_nest() const { |
1040 | const ::proxima::be::proto::test::ProtoTest_Nest* p = nest_; |
1041 | return p != nullptr ? *p : *reinterpret_cast<const ::proxima::be::proto::test::ProtoTest_Nest*>( |
1042 | &::proxima::be::proto::test::_ProtoTest_Nest_default_instance_); |
1043 | } |
1044 | inline const ::proxima::be::proto::test::ProtoTest_Nest& ProtoTest::nest() const { |
1045 | // @@protoc_insertion_point(field_get:proxima.be.proto.test.ProtoTest.nest) |
1046 | return _internal_nest(); |
1047 | } |
1048 | inline ::proxima::be::proto::test::ProtoTest_Nest* ProtoTest::release_nest() { |
1049 | // @@protoc_insertion_point(field_release:proxima.be.proto.test.ProtoTest.nest) |
1050 | |
1051 | ::proxima::be::proto::test::ProtoTest_Nest* temp = nest_; |
1052 | nest_ = nullptr; |
1053 | return temp; |
1054 | } |
1055 | inline ::proxima::be::proto::test::ProtoTest_Nest* ProtoTest::_internal_mutable_nest() { |
1056 | |
1057 | if (nest_ == nullptr) { |
1058 | auto* p = CreateMaybeMessage<::proxima::be::proto::test::ProtoTest_Nest>(GetArenaNoVirtual()); |
1059 | nest_ = p; |
1060 | } |
1061 | return nest_; |
1062 | } |
1063 | inline ::proxima::be::proto::test::ProtoTest_Nest* ProtoTest::mutable_nest() { |
1064 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.test.ProtoTest.nest) |
1065 | return _internal_mutable_nest(); |
1066 | } |
1067 | inline void ProtoTest::set_allocated_nest(::proxima::be::proto::test::ProtoTest_Nest* nest) { |
1068 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
1069 | if (message_arena == nullptr) { |
1070 | delete nest_; |
1071 | } |
1072 | if (nest) { |
1073 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; |
1074 | if (message_arena != submessage_arena) { |
1075 | nest = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
1076 | message_arena, nest, submessage_arena); |
1077 | } |
1078 | |
1079 | } else { |
1080 | |
1081 | } |
1082 | nest_ = nest; |
1083 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.test.ProtoTest.nest) |
1084 | } |
1085 | |
1086 | // string str = 19; |
1087 | inline void ProtoTest::clear_str() { |
1088 | str_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1089 | } |
1090 | inline const std::string& ProtoTest::str() const { |
1091 | // @@protoc_insertion_point(field_get:proxima.be.proto.test.ProtoTest.str) |
1092 | return _internal_str(); |
1093 | } |
1094 | inline void ProtoTest::set_str(const std::string& value) { |
1095 | _internal_set_str(value); |
1096 | // @@protoc_insertion_point(field_set:proxima.be.proto.test.ProtoTest.str) |
1097 | } |
1098 | inline std::string* ProtoTest::mutable_str() { |
1099 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.test.ProtoTest.str) |
1100 | return _internal_mutable_str(); |
1101 | } |
1102 | inline const std::string& ProtoTest::_internal_str() const { |
1103 | return str_.GetNoArena(); |
1104 | } |
1105 | inline void ProtoTest::_internal_set_str(const std::string& value) { |
1106 | |
1107 | str_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
1108 | } |
1109 | inline void ProtoTest::set_str(std::string&& value) { |
1110 | |
1111 | str_.SetNoArena( |
1112 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
1113 | // @@protoc_insertion_point(field_set_rvalue:proxima.be.proto.test.ProtoTest.str) |
1114 | } |
1115 | inline void ProtoTest::set_str(const char* value) { |
1116 | GOOGLE_DCHECK(value != nullptr); |
1117 | |
1118 | str_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
1119 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.test.ProtoTest.str) |
1120 | } |
1121 | inline void ProtoTest::set_str(const char* value, size_t size) { |
1122 | |
1123 | str_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
1124 | ::std::string(reinterpret_cast<const char*>(value), size)); |
1125 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.test.ProtoTest.str) |
1126 | } |
1127 | inline std::string* ProtoTest::_internal_mutable_str() { |
1128 | |
1129 | return str_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1130 | } |
1131 | inline std::string* ProtoTest::release_str() { |
1132 | // @@protoc_insertion_point(field_release:proxima.be.proto.test.ProtoTest.str) |
1133 | |
1134 | return str_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1135 | } |
1136 | inline void ProtoTest::set_allocated_str(std::string* str) { |
1137 | if (str != nullptr) { |
1138 | |
1139 | } else { |
1140 | |
1141 | } |
1142 | str_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), str); |
1143 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.test.ProtoTest.str) |
1144 | } |
1145 | |
1146 | // bytes binary = 20; |
1147 | inline void ProtoTest::clear_binary() { |
1148 | binary_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1149 | } |
1150 | inline const std::string& ProtoTest::binary() const { |
1151 | // @@protoc_insertion_point(field_get:proxima.be.proto.test.ProtoTest.binary) |
1152 | return _internal_binary(); |
1153 | } |
1154 | inline void ProtoTest::set_binary(const std::string& value) { |
1155 | _internal_set_binary(value); |
1156 | // @@protoc_insertion_point(field_set:proxima.be.proto.test.ProtoTest.binary) |
1157 | } |
1158 | inline std::string* ProtoTest::mutable_binary() { |
1159 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.test.ProtoTest.binary) |
1160 | return _internal_mutable_binary(); |
1161 | } |
1162 | inline const std::string& ProtoTest::_internal_binary() const { |
1163 | return binary_.GetNoArena(); |
1164 | } |
1165 | inline void ProtoTest::_internal_set_binary(const std::string& value) { |
1166 | |
1167 | binary_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
1168 | } |
1169 | inline void ProtoTest::set_binary(std::string&& value) { |
1170 | |
1171 | binary_.SetNoArena( |
1172 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
1173 | // @@protoc_insertion_point(field_set_rvalue:proxima.be.proto.test.ProtoTest.binary) |
1174 | } |
1175 | inline void ProtoTest::set_binary(const char* value) { |
1176 | GOOGLE_DCHECK(value != nullptr); |
1177 | |
1178 | binary_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
1179 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.test.ProtoTest.binary) |
1180 | } |
1181 | inline void ProtoTest::set_binary(const void* value, size_t size) { |
1182 | |
1183 | binary_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
1184 | ::std::string(reinterpret_cast<const char*>(value), size)); |
1185 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.test.ProtoTest.binary) |
1186 | } |
1187 | inline std::string* ProtoTest::_internal_mutable_binary() { |
1188 | |
1189 | return binary_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1190 | } |
1191 | inline std::string* ProtoTest::release_binary() { |
1192 | // @@protoc_insertion_point(field_release:proxima.be.proto.test.ProtoTest.binary) |
1193 | |
1194 | return binary_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1195 | } |
1196 | inline void ProtoTest::set_allocated_binary(std::string* binary) { |
1197 | if (binary != nullptr) { |
1198 | |
1199 | } else { |
1200 | |
1201 | } |
1202 | binary_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), binary); |
1203 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.test.ProtoTest.binary) |
1204 | } |
1205 | |
1206 | // repeated int32 i32s = 10; |
1207 | inline int ProtoTest::_internal_i32s_size() const { |
1208 | return i32s_.size(); |
1209 | } |
1210 | inline int ProtoTest::i32s_size() const { |
1211 | return _internal_i32s_size(); |
1212 | } |
1213 | inline void ProtoTest::clear_i32s() { |
1214 | i32s_.Clear(); |
1215 | } |
1216 | inline ::PROTOBUF_NAMESPACE_ID::int32 ProtoTest::_internal_i32s(int index) const { |
1217 | return i32s_.Get(index); |
1218 | } |
1219 | inline ::PROTOBUF_NAMESPACE_ID::int32 ProtoTest::i32s(int index) const { |
1220 | // @@protoc_insertion_point(field_get:proxima.be.proto.test.ProtoTest.i32s) |
1221 | return _internal_i32s(index); |
1222 | } |
1223 | inline void ProtoTest::set_i32s(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) { |
1224 | i32s_.Set(index, value); |
1225 | // @@protoc_insertion_point(field_set:proxima.be.proto.test.ProtoTest.i32s) |
1226 | } |
1227 | inline void ProtoTest::_internal_add_i32s(::PROTOBUF_NAMESPACE_ID::int32 value) { |
1228 | i32s_.Add(value); |
1229 | } |
1230 | inline void ProtoTest::add_i32s(::PROTOBUF_NAMESPACE_ID::int32 value) { |
1231 | _internal_add_i32s(value); |
1232 | // @@protoc_insertion_point(field_add:proxima.be.proto.test.ProtoTest.i32s) |
1233 | } |
1234 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >& |
1235 | ProtoTest::_internal_i32s() const { |
1236 | return i32s_; |
1237 | } |
1238 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >& |
1239 | ProtoTest::i32s() const { |
1240 | // @@protoc_insertion_point(field_list:proxima.be.proto.test.ProtoTest.i32s) |
1241 | return _internal_i32s(); |
1242 | } |
1243 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >* |
1244 | ProtoTest::_internal_mutable_i32s() { |
1245 | return &i32s_; |
1246 | } |
1247 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >* |
1248 | ProtoTest::mutable_i32s() { |
1249 | // @@protoc_insertion_point(field_mutable_list:proxima.be.proto.test.ProtoTest.i32s) |
1250 | return _internal_mutable_i32s(); |
1251 | } |
1252 | |
1253 | // repeated uint32 u32s = 11; |
1254 | inline int ProtoTest::_internal_u32s_size() const { |
1255 | return u32s_.size(); |
1256 | } |
1257 | inline int ProtoTest::u32s_size() const { |
1258 | return _internal_u32s_size(); |
1259 | } |
1260 | inline void ProtoTest::clear_u32s() { |
1261 | u32s_.Clear(); |
1262 | } |
1263 | inline ::PROTOBUF_NAMESPACE_ID::uint32 ProtoTest::_internal_u32s(int index) const { |
1264 | return u32s_.Get(index); |
1265 | } |
1266 | inline ::PROTOBUF_NAMESPACE_ID::uint32 ProtoTest::u32s(int index) const { |
1267 | // @@protoc_insertion_point(field_get:proxima.be.proto.test.ProtoTest.u32s) |
1268 | return _internal_u32s(index); |
1269 | } |
1270 | inline void ProtoTest::set_u32s(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value) { |
1271 | u32s_.Set(index, value); |
1272 | // @@protoc_insertion_point(field_set:proxima.be.proto.test.ProtoTest.u32s) |
1273 | } |
1274 | inline void ProtoTest::_internal_add_u32s(::PROTOBUF_NAMESPACE_ID::uint32 value) { |
1275 | u32s_.Add(value); |
1276 | } |
1277 | inline void ProtoTest::add_u32s(::PROTOBUF_NAMESPACE_ID::uint32 value) { |
1278 | _internal_add_u32s(value); |
1279 | // @@protoc_insertion_point(field_add:proxima.be.proto.test.ProtoTest.u32s) |
1280 | } |
1281 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& |
1282 | ProtoTest::_internal_u32s() const { |
1283 | return u32s_; |
1284 | } |
1285 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& |
1286 | ProtoTest::u32s() const { |
1287 | // @@protoc_insertion_point(field_list:proxima.be.proto.test.ProtoTest.u32s) |
1288 | return _internal_u32s(); |
1289 | } |
1290 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* |
1291 | ProtoTest::_internal_mutable_u32s() { |
1292 | return &u32s_; |
1293 | } |
1294 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* |
1295 | ProtoTest::mutable_u32s() { |
1296 | // @@protoc_insertion_point(field_mutable_list:proxima.be.proto.test.ProtoTest.u32s) |
1297 | return _internal_mutable_u32s(); |
1298 | } |
1299 | |
1300 | // repeated int64 i64s = 12; |
1301 | inline int ProtoTest::_internal_i64s_size() const { |
1302 | return i64s_.size(); |
1303 | } |
1304 | inline int ProtoTest::i64s_size() const { |
1305 | return _internal_i64s_size(); |
1306 | } |
1307 | inline void ProtoTest::clear_i64s() { |
1308 | i64s_.Clear(); |
1309 | } |
1310 | inline ::PROTOBUF_NAMESPACE_ID::int64 ProtoTest::_internal_i64s(int index) const { |
1311 | return i64s_.Get(index); |
1312 | } |
1313 | inline ::PROTOBUF_NAMESPACE_ID::int64 ProtoTest::i64s(int index) const { |
1314 | // @@protoc_insertion_point(field_get:proxima.be.proto.test.ProtoTest.i64s) |
1315 | return _internal_i64s(index); |
1316 | } |
1317 | inline void ProtoTest::set_i64s(int index, ::PROTOBUF_NAMESPACE_ID::int64 value) { |
1318 | i64s_.Set(index, value); |
1319 | // @@protoc_insertion_point(field_set:proxima.be.proto.test.ProtoTest.i64s) |
1320 | } |
1321 | inline void ProtoTest::_internal_add_i64s(::PROTOBUF_NAMESPACE_ID::int64 value) { |
1322 | i64s_.Add(value); |
1323 | } |
1324 | inline void ProtoTest::add_i64s(::PROTOBUF_NAMESPACE_ID::int64 value) { |
1325 | _internal_add_i64s(value); |
1326 | // @@protoc_insertion_point(field_add:proxima.be.proto.test.ProtoTest.i64s) |
1327 | } |
1328 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >& |
1329 | ProtoTest::_internal_i64s() const { |
1330 | return i64s_; |
1331 | } |
1332 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >& |
1333 | ProtoTest::i64s() const { |
1334 | // @@protoc_insertion_point(field_list:proxima.be.proto.test.ProtoTest.i64s) |
1335 | return _internal_i64s(); |
1336 | } |
1337 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >* |
1338 | ProtoTest::_internal_mutable_i64s() { |
1339 | return &i64s_; |
1340 | } |
1341 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >* |
1342 | ProtoTest::mutable_i64s() { |
1343 | // @@protoc_insertion_point(field_mutable_list:proxima.be.proto.test.ProtoTest.i64s) |
1344 | return _internal_mutable_i64s(); |
1345 | } |
1346 | |
1347 | // repeated uint64 u64s = 13; |
1348 | inline int ProtoTest::_internal_u64s_size() const { |
1349 | return u64s_.size(); |
1350 | } |
1351 | inline int ProtoTest::u64s_size() const { |
1352 | return _internal_u64s_size(); |
1353 | } |
1354 | inline void ProtoTest::clear_u64s() { |
1355 | u64s_.Clear(); |
1356 | } |
1357 | inline ::PROTOBUF_NAMESPACE_ID::uint64 ProtoTest::_internal_u64s(int index) const { |
1358 | return u64s_.Get(index); |
1359 | } |
1360 | inline ::PROTOBUF_NAMESPACE_ID::uint64 ProtoTest::u64s(int index) const { |
1361 | // @@protoc_insertion_point(field_get:proxima.be.proto.test.ProtoTest.u64s) |
1362 | return _internal_u64s(index); |
1363 | } |
1364 | inline void ProtoTest::set_u64s(int index, ::PROTOBUF_NAMESPACE_ID::uint64 value) { |
1365 | u64s_.Set(index, value); |
1366 | // @@protoc_insertion_point(field_set:proxima.be.proto.test.ProtoTest.u64s) |
1367 | } |
1368 | inline void ProtoTest::_internal_add_u64s(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
1369 | u64s_.Add(value); |
1370 | } |
1371 | inline void ProtoTest::add_u64s(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
1372 | _internal_add_u64s(value); |
1373 | // @@protoc_insertion_point(field_add:proxima.be.proto.test.ProtoTest.u64s) |
1374 | } |
1375 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >& |
1376 | ProtoTest::_internal_u64s() const { |
1377 | return u64s_; |
1378 | } |
1379 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >& |
1380 | ProtoTest::u64s() const { |
1381 | // @@protoc_insertion_point(field_list:proxima.be.proto.test.ProtoTest.u64s) |
1382 | return _internal_u64s(); |
1383 | } |
1384 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >* |
1385 | ProtoTest::_internal_mutable_u64s() { |
1386 | return &u64s_; |
1387 | } |
1388 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >* |
1389 | ProtoTest::mutable_u64s() { |
1390 | // @@protoc_insertion_point(field_mutable_list:proxima.be.proto.test.ProtoTest.u64s) |
1391 | return _internal_mutable_u64s(); |
1392 | } |
1393 | |
1394 | // repeated float f32s = 14; |
1395 | inline int ProtoTest::_internal_f32s_size() const { |
1396 | return f32s_.size(); |
1397 | } |
1398 | inline int ProtoTest::f32s_size() const { |
1399 | return _internal_f32s_size(); |
1400 | } |
1401 | inline void ProtoTest::clear_f32s() { |
1402 | f32s_.Clear(); |
1403 | } |
1404 | inline float ProtoTest::_internal_f32s(int index) const { |
1405 | return f32s_.Get(index); |
1406 | } |
1407 | inline float ProtoTest::f32s(int index) const { |
1408 | // @@protoc_insertion_point(field_get:proxima.be.proto.test.ProtoTest.f32s) |
1409 | return _internal_f32s(index); |
1410 | } |
1411 | inline void ProtoTest::set_f32s(int index, float value) { |
1412 | f32s_.Set(index, value); |
1413 | // @@protoc_insertion_point(field_set:proxima.be.proto.test.ProtoTest.f32s) |
1414 | } |
1415 | inline void ProtoTest::_internal_add_f32s(float value) { |
1416 | f32s_.Add(value); |
1417 | } |
1418 | inline void ProtoTest::add_f32s(float value) { |
1419 | _internal_add_f32s(value); |
1420 | // @@protoc_insertion_point(field_add:proxima.be.proto.test.ProtoTest.f32s) |
1421 | } |
1422 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& |
1423 | ProtoTest::_internal_f32s() const { |
1424 | return f32s_; |
1425 | } |
1426 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& |
1427 | ProtoTest::f32s() const { |
1428 | // @@protoc_insertion_point(field_list:proxima.be.proto.test.ProtoTest.f32s) |
1429 | return _internal_f32s(); |
1430 | } |
1431 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* |
1432 | ProtoTest::_internal_mutable_f32s() { |
1433 | return &f32s_; |
1434 | } |
1435 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* |
1436 | ProtoTest::mutable_f32s() { |
1437 | // @@protoc_insertion_point(field_mutable_list:proxima.be.proto.test.ProtoTest.f32s) |
1438 | return _internal_mutable_f32s(); |
1439 | } |
1440 | |
1441 | // repeated double f64s = 15; |
1442 | inline int ProtoTest::_internal_f64s_size() const { |
1443 | return f64s_.size(); |
1444 | } |
1445 | inline int ProtoTest::f64s_size() const { |
1446 | return _internal_f64s_size(); |
1447 | } |
1448 | inline void ProtoTest::clear_f64s() { |
1449 | f64s_.Clear(); |
1450 | } |
1451 | inline double ProtoTest::_internal_f64s(int index) const { |
1452 | return f64s_.Get(index); |
1453 | } |
1454 | inline double ProtoTest::f64s(int index) const { |
1455 | // @@protoc_insertion_point(field_get:proxima.be.proto.test.ProtoTest.f64s) |
1456 | return _internal_f64s(index); |
1457 | } |
1458 | inline void ProtoTest::set_f64s(int index, double value) { |
1459 | f64s_.Set(index, value); |
1460 | // @@protoc_insertion_point(field_set:proxima.be.proto.test.ProtoTest.f64s) |
1461 | } |
1462 | inline void ProtoTest::_internal_add_f64s(double value) { |
1463 | f64s_.Add(value); |
1464 | } |
1465 | inline void ProtoTest::add_f64s(double value) { |
1466 | _internal_add_f64s(value); |
1467 | // @@protoc_insertion_point(field_add:proxima.be.proto.test.ProtoTest.f64s) |
1468 | } |
1469 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >& |
1470 | ProtoTest::_internal_f64s() const { |
1471 | return f64s_; |
1472 | } |
1473 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >& |
1474 | ProtoTest::f64s() const { |
1475 | // @@protoc_insertion_point(field_list:proxima.be.proto.test.ProtoTest.f64s) |
1476 | return _internal_f64s(); |
1477 | } |
1478 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >* |
1479 | ProtoTest::_internal_mutable_f64s() { |
1480 | return &f64s_; |
1481 | } |
1482 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >* |
1483 | ProtoTest::mutable_f64s() { |
1484 | // @@protoc_insertion_point(field_mutable_list:proxima.be.proto.test.ProtoTest.f64s) |
1485 | return _internal_mutable_f64s(); |
1486 | } |
1487 | |
1488 | // repeated bool bs = 16; |
1489 | inline int ProtoTest::_internal_bs_size() const { |
1490 | return bs_.size(); |
1491 | } |
1492 | inline int ProtoTest::bs_size() const { |
1493 | return _internal_bs_size(); |
1494 | } |
1495 | inline void ProtoTest::clear_bs() { |
1496 | bs_.Clear(); |
1497 | } |
1498 | inline bool ProtoTest::_internal_bs(int index) const { |
1499 | return bs_.Get(index); |
1500 | } |
1501 | inline bool ProtoTest::bs(int index) const { |
1502 | // @@protoc_insertion_point(field_get:proxima.be.proto.test.ProtoTest.bs) |
1503 | return _internal_bs(index); |
1504 | } |
1505 | inline void ProtoTest::set_bs(int index, bool value) { |
1506 | bs_.Set(index, value); |
1507 | // @@protoc_insertion_point(field_set:proxima.be.proto.test.ProtoTest.bs) |
1508 | } |
1509 | inline void ProtoTest::_internal_add_bs(bool value) { |
1510 | bs_.Add(value); |
1511 | } |
1512 | inline void ProtoTest::add_bs(bool value) { |
1513 | _internal_add_bs(value); |
1514 | // @@protoc_insertion_point(field_add:proxima.be.proto.test.ProtoTest.bs) |
1515 | } |
1516 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >& |
1517 | ProtoTest::_internal_bs() const { |
1518 | return bs_; |
1519 | } |
1520 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >& |
1521 | ProtoTest::bs() const { |
1522 | // @@protoc_insertion_point(field_list:proxima.be.proto.test.ProtoTest.bs) |
1523 | return _internal_bs(); |
1524 | } |
1525 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >* |
1526 | ProtoTest::_internal_mutable_bs() { |
1527 | return &bs_; |
1528 | } |
1529 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >* |
1530 | ProtoTest::mutable_bs() { |
1531 | // @@protoc_insertion_point(field_mutable_list:proxima.be.proto.test.ProtoTest.bs) |
1532 | return _internal_mutable_bs(); |
1533 | } |
1534 | |
1535 | // repeated .proxima.be.proto.test.ProtoTest.Enum es = 17; |
1536 | inline int ProtoTest::_internal_es_size() const { |
1537 | return es_.size(); |
1538 | } |
1539 | inline int ProtoTest::es_size() const { |
1540 | return _internal_es_size(); |
1541 | } |
1542 | inline void ProtoTest::clear_es() { |
1543 | es_.Clear(); |
1544 | } |
1545 | inline ::proxima::be::proto::test::ProtoTest_Enum ProtoTest::_internal_es(int index) const { |
1546 | return static_cast< ::proxima::be::proto::test::ProtoTest_Enum >(es_.Get(index)); |
1547 | } |
1548 | inline ::proxima::be::proto::test::ProtoTest_Enum ProtoTest::es(int index) const { |
1549 | // @@protoc_insertion_point(field_get:proxima.be.proto.test.ProtoTest.es) |
1550 | return _internal_es(index); |
1551 | } |
1552 | inline void ProtoTest::set_es(int index, ::proxima::be::proto::test::ProtoTest_Enum value) { |
1553 | es_.Set(index, value); |
1554 | // @@protoc_insertion_point(field_set:proxima.be.proto.test.ProtoTest.es) |
1555 | } |
1556 | inline void ProtoTest::_internal_add_es(::proxima::be::proto::test::ProtoTest_Enum value) { |
1557 | es_.Add(value); |
1558 | } |
1559 | inline void ProtoTest::add_es(::proxima::be::proto::test::ProtoTest_Enum value) { |
1560 | // @@protoc_insertion_point(field_add:proxima.be.proto.test.ProtoTest.es) |
1561 | _internal_add_es(value); |
1562 | } |
1563 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& |
1564 | ProtoTest::es() const { |
1565 | // @@protoc_insertion_point(field_list:proxima.be.proto.test.ProtoTest.es) |
1566 | return es_; |
1567 | } |
1568 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* |
1569 | ProtoTest::_internal_mutable_es() { |
1570 | return &es_; |
1571 | } |
1572 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* |
1573 | ProtoTest::mutable_es() { |
1574 | // @@protoc_insertion_point(field_mutable_list:proxima.be.proto.test.ProtoTest.es) |
1575 | return _internal_mutable_es(); |
1576 | } |
1577 | |
1578 | // repeated .proxima.be.proto.test.ProtoTest.Nest nests = 18; |
1579 | inline int ProtoTest::_internal_nests_size() const { |
1580 | return nests_.size(); |
1581 | } |
1582 | inline int ProtoTest::nests_size() const { |
1583 | return _internal_nests_size(); |
1584 | } |
1585 | inline void ProtoTest::clear_nests() { |
1586 | nests_.Clear(); |
1587 | } |
1588 | inline ::proxima::be::proto::test::ProtoTest_Nest* ProtoTest::mutable_nests(int index) { |
1589 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.test.ProtoTest.nests) |
1590 | return nests_.Mutable(index); |
1591 | } |
1592 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::test::ProtoTest_Nest >* |
1593 | ProtoTest::mutable_nests() { |
1594 | // @@protoc_insertion_point(field_mutable_list:proxima.be.proto.test.ProtoTest.nests) |
1595 | return &nests_; |
1596 | } |
1597 | inline const ::proxima::be::proto::test::ProtoTest_Nest& ProtoTest::_internal_nests(int index) const { |
1598 | return nests_.Get(index); |
1599 | } |
1600 | inline const ::proxima::be::proto::test::ProtoTest_Nest& ProtoTest::nests(int index) const { |
1601 | // @@protoc_insertion_point(field_get:proxima.be.proto.test.ProtoTest.nests) |
1602 | return _internal_nests(index); |
1603 | } |
1604 | inline ::proxima::be::proto::test::ProtoTest_Nest* ProtoTest::_internal_add_nests() { |
1605 | return nests_.Add(); |
1606 | } |
1607 | inline ::proxima::be::proto::test::ProtoTest_Nest* ProtoTest::add_nests() { |
1608 | // @@protoc_insertion_point(field_add:proxima.be.proto.test.ProtoTest.nests) |
1609 | return _internal_add_nests(); |
1610 | } |
1611 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::test::ProtoTest_Nest >& |
1612 | ProtoTest::nests() const { |
1613 | // @@protoc_insertion_point(field_list:proxima.be.proto.test.ProtoTest.nests) |
1614 | return nests_; |
1615 | } |
1616 | |
1617 | // repeated string strs = 21; |
1618 | inline int ProtoTest::_internal_strs_size() const { |
1619 | return strs_.size(); |
1620 | } |
1621 | inline int ProtoTest::strs_size() const { |
1622 | return _internal_strs_size(); |
1623 | } |
1624 | inline void ProtoTest::clear_strs() { |
1625 | strs_.Clear(); |
1626 | } |
1627 | inline std::string* ProtoTest::add_strs() { |
1628 | // @@protoc_insertion_point(field_add_mutable:proxima.be.proto.test.ProtoTest.strs) |
1629 | return _internal_add_strs(); |
1630 | } |
1631 | inline const std::string& ProtoTest::_internal_strs(int index) const { |
1632 | return strs_.Get(index); |
1633 | } |
1634 | inline const std::string& ProtoTest::strs(int index) const { |
1635 | // @@protoc_insertion_point(field_get:proxima.be.proto.test.ProtoTest.strs) |
1636 | return _internal_strs(index); |
1637 | } |
1638 | inline std::string* ProtoTest::mutable_strs(int index) { |
1639 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.test.ProtoTest.strs) |
1640 | return strs_.Mutable(index); |
1641 | } |
1642 | inline void ProtoTest::set_strs(int index, const std::string& value) { |
1643 | // @@protoc_insertion_point(field_set:proxima.be.proto.test.ProtoTest.strs) |
1644 | strs_.Mutable(index)->assign(value); |
1645 | } |
1646 | inline void ProtoTest::set_strs(int index, std::string&& value) { |
1647 | // @@protoc_insertion_point(field_set:proxima.be.proto.test.ProtoTest.strs) |
1648 | strs_.Mutable(index)->assign(std::move(value)); |
1649 | } |
1650 | inline void ProtoTest::set_strs(int index, const char* value) { |
1651 | GOOGLE_DCHECK(value != nullptr); |
1652 | strs_.Mutable(index)->assign(value); |
1653 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.test.ProtoTest.strs) |
1654 | } |
1655 | inline void ProtoTest::set_strs(int index, const char* value, size_t size) { |
1656 | strs_.Mutable(index)->assign( |
1657 | reinterpret_cast<const char*>(value), size); |
1658 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.test.ProtoTest.strs) |
1659 | } |
1660 | inline std::string* ProtoTest::_internal_add_strs() { |
1661 | return strs_.Add(); |
1662 | } |
1663 | inline void ProtoTest::add_strs(const std::string& value) { |
1664 | strs_.Add()->assign(value); |
1665 | // @@protoc_insertion_point(field_add:proxima.be.proto.test.ProtoTest.strs) |
1666 | } |
1667 | inline void ProtoTest::add_strs(std::string&& value) { |
1668 | strs_.Add(std::move(value)); |
1669 | // @@protoc_insertion_point(field_add:proxima.be.proto.test.ProtoTest.strs) |
1670 | } |
1671 | inline void ProtoTest::add_strs(const char* value) { |
1672 | GOOGLE_DCHECK(value != nullptr); |
1673 | strs_.Add()->assign(value); |
1674 | // @@protoc_insertion_point(field_add_char:proxima.be.proto.test.ProtoTest.strs) |
1675 | } |
1676 | inline void ProtoTest::add_strs(const char* value, size_t size) { |
1677 | strs_.Add()->assign(reinterpret_cast<const char*>(value), size); |
1678 | // @@protoc_insertion_point(field_add_pointer:proxima.be.proto.test.ProtoTest.strs) |
1679 | } |
1680 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
1681 | ProtoTest::strs() const { |
1682 | // @@protoc_insertion_point(field_list:proxima.be.proto.test.ProtoTest.strs) |
1683 | return strs_; |
1684 | } |
1685 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* |
1686 | ProtoTest::mutable_strs() { |
1687 | // @@protoc_insertion_point(field_mutable_list:proxima.be.proto.test.ProtoTest.strs) |
1688 | return &strs_; |
1689 | } |
1690 | |
1691 | // repeated bytes binarys = 22; |
1692 | inline int ProtoTest::_internal_binarys_size() const { |
1693 | return binarys_.size(); |
1694 | } |
1695 | inline int ProtoTest::binarys_size() const { |
1696 | return _internal_binarys_size(); |
1697 | } |
1698 | inline void ProtoTest::clear_binarys() { |
1699 | binarys_.Clear(); |
1700 | } |
1701 | inline std::string* ProtoTest::add_binarys() { |
1702 | // @@protoc_insertion_point(field_add_mutable:proxima.be.proto.test.ProtoTest.binarys) |
1703 | return _internal_add_binarys(); |
1704 | } |
1705 | inline const std::string& ProtoTest::_internal_binarys(int index) const { |
1706 | return binarys_.Get(index); |
1707 | } |
1708 | inline const std::string& ProtoTest::binarys(int index) const { |
1709 | // @@protoc_insertion_point(field_get:proxima.be.proto.test.ProtoTest.binarys) |
1710 | return _internal_binarys(index); |
1711 | } |
1712 | inline std::string* ProtoTest::mutable_binarys(int index) { |
1713 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.test.ProtoTest.binarys) |
1714 | return binarys_.Mutable(index); |
1715 | } |
1716 | inline void ProtoTest::set_binarys(int index, const std::string& value) { |
1717 | // @@protoc_insertion_point(field_set:proxima.be.proto.test.ProtoTest.binarys) |
1718 | binarys_.Mutable(index)->assign(value); |
1719 | } |
1720 | inline void ProtoTest::set_binarys(int index, std::string&& value) { |
1721 | // @@protoc_insertion_point(field_set:proxima.be.proto.test.ProtoTest.binarys) |
1722 | binarys_.Mutable(index)->assign(std::move(value)); |
1723 | } |
1724 | inline void ProtoTest::set_binarys(int index, const char* value) { |
1725 | GOOGLE_DCHECK(value != nullptr); |
1726 | binarys_.Mutable(index)->assign(value); |
1727 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.test.ProtoTest.binarys) |
1728 | } |
1729 | inline void ProtoTest::set_binarys(int index, const void* value, size_t size) { |
1730 | binarys_.Mutable(index)->assign( |
1731 | reinterpret_cast<const char*>(value), size); |
1732 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.test.ProtoTest.binarys) |
1733 | } |
1734 | inline std::string* ProtoTest::_internal_add_binarys() { |
1735 | return binarys_.Add(); |
1736 | } |
1737 | inline void ProtoTest::add_binarys(const std::string& value) { |
1738 | binarys_.Add()->assign(value); |
1739 | // @@protoc_insertion_point(field_add:proxima.be.proto.test.ProtoTest.binarys) |
1740 | } |
1741 | inline void ProtoTest::add_binarys(std::string&& value) { |
1742 | binarys_.Add(std::move(value)); |
1743 | // @@protoc_insertion_point(field_add:proxima.be.proto.test.ProtoTest.binarys) |
1744 | } |
1745 | inline void ProtoTest::add_binarys(const char* value) { |
1746 | GOOGLE_DCHECK(value != nullptr); |
1747 | binarys_.Add()->assign(value); |
1748 | // @@protoc_insertion_point(field_add_char:proxima.be.proto.test.ProtoTest.binarys) |
1749 | } |
1750 | inline void ProtoTest::add_binarys(const void* value, size_t size) { |
1751 | binarys_.Add()->assign(reinterpret_cast<const char*>(value), size); |
1752 | // @@protoc_insertion_point(field_add_pointer:proxima.be.proto.test.ProtoTest.binarys) |
1753 | } |
1754 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
1755 | ProtoTest::binarys() const { |
1756 | // @@protoc_insertion_point(field_list:proxima.be.proto.test.ProtoTest.binarys) |
1757 | return binarys_; |
1758 | } |
1759 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* |
1760 | ProtoTest::mutable_binarys() { |
1761 | // @@protoc_insertion_point(field_mutable_list:proxima.be.proto.test.ProtoTest.binarys) |
1762 | return &binarys_; |
1763 | } |
1764 | |
1765 | #ifdef __GNUC__ |
1766 | #pragma GCC diagnostic pop |
1767 | #endif // __GNUC__ |
1768 | // ------------------------------------------------------------------- |
1769 | |
1770 | |
1771 | // @@protoc_insertion_point(namespace_scope) |
1772 | |
1773 | } // namespace test |
1774 | } // namespace proto |
1775 | } // namespace be |
1776 | } // namespace proxima |
1777 | |
1778 | PROTOBUF_NAMESPACE_OPEN |
1779 | |
1780 | template <> struct is_proto_enum< ::proxima::be::proto::test::ProtoTest_Enum> : ::std::true_type {}; |
1781 | template <> |
1782 | inline const EnumDescriptor* GetEnumDescriptor< ::proxima::be::proto::test::ProtoTest_Enum>() { |
1783 | return ::proxima::be::proto::test::ProtoTest_Enum_descriptor(); |
1784 | } |
1785 | |
1786 | PROTOBUF_NAMESPACE_CLOSE |
1787 | |
1788 | // @@protoc_insertion_point(global_scope) |
1789 | |
1790 | #include <google/protobuf/port_undef.inc> |
1791 | #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_test_2eproto |
1792 | |
1793 | #ifdef __GNUC__ |
1794 | #pragma GCC diagnostic pop |
1795 | #endif |
1796 | |