rad  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
hellorad.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: hellorad.proto
3 
4 #ifndef PROTOBUF_INCLUDED_hellorad_2eproto
5 #define PROTOBUF_INCLUDED_hellorad_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3006000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3006000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/unknown_field_set.h>
33 // @@protoc_insertion_point(includes)
34 #define PROTOBUF_INTERNAL_EXPORT_protobuf_hellorad_2eproto
35 
36 namespace protobuf_hellorad_2eproto {
37 // Internal implementation detail -- do not use these members.
38 struct TableStruct {
39  static const ::google::protobuf::internal::ParseTableField entries[];
40  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
41  static const ::google::protobuf::internal::ParseTable schema[2];
42  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
43  static const ::google::protobuf::internal::SerializationTable serialization_table[];
44  static const ::google::protobuf::uint32 offsets[];
45 };
46 void AddDescriptors();
47 } // namespace protobuf_hellorad_2eproto
48 class RepTest;
49 class RepTestDefaultTypeInternal;
50 extern RepTestDefaultTypeInternal _RepTest_default_instance_;
51 class ReqTest;
52 class ReqTestDefaultTypeInternal;
53 extern ReqTestDefaultTypeInternal _ReqTest_default_instance_;
54 namespace google {
55 namespace protobuf {
56 template<> ::RepTest* Arena::CreateMaybeMessage<::RepTest>(Arena*);
57 template<> ::ReqTest* Arena::CreateMaybeMessage<::ReqTest>(Arena*);
58 } // namespace protobuf
59 } // namespace google
60 
61 // ===================================================================
62 
63 class ReqTest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ReqTest) */ {
64  public:
65  ReqTest();
66  virtual ~ReqTest();
67 
68  ReqTest(const ReqTest& from);
69 
70  inline ReqTest& operator=(const ReqTest& from) {
71  CopyFrom(from);
72  return *this;
73  }
74  #if LANG_CXX11
75  ReqTest(ReqTest&& from) noexcept
76  : ReqTest() {
77  *this = ::std::move(from);
78  }
79 
80  inline ReqTest& operator=(ReqTest&& from) noexcept {
81  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
82  if (this != &from) InternalSwap(&from);
83  } else {
84  CopyFrom(from);
85  }
86  return *this;
87  }
88  #endif
89  static const ::google::protobuf::Descriptor* descriptor();
90  static const ReqTest& default_instance();
91 
92  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
93  static inline const ReqTest* internal_default_instance() {
94  return reinterpret_cast<const ReqTest*>(
96  }
97  static constexpr int kIndexInFileMessages =
98  0;
99 
100  void Swap(ReqTest* other);
101  friend void swap(ReqTest& a, ReqTest& b) {
102  a.Swap(&b);
103  }
104 
105  // implements Message ----------------------------------------------
106 
107  inline ReqTest* New() const final {
108  return CreateMaybeMessage<ReqTest>(NULL);
109  }
110 
111  ReqTest* New(::google::protobuf::Arena* arena) const final {
112  return CreateMaybeMessage<ReqTest>(arena);
113  }
114  void CopyFrom(const ::google::protobuf::Message& from) final;
115  void MergeFrom(const ::google::protobuf::Message& from) final;
116  void CopyFrom(const ReqTest& from);
117  void MergeFrom(const ReqTest& from);
118  void Clear() final;
119  bool IsInitialized() const final;
120 
121  size_t ByteSizeLong() const final;
123  ::google::protobuf::io::CodedInputStream* input) final;
125  ::google::protobuf::io::CodedOutputStream* output) const final;
126  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
127  bool deterministic, ::google::protobuf::uint8* target) const final;
128  int GetCachedSize() const final { return _cached_size_.Get(); }
129 
130  private:
131  void SharedCtor();
132  void SharedDtor();
133  void SetCachedSize(int size) const final;
134  void InternalSwap(ReqTest* other);
135  private:
136  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
137  return NULL;
138  }
139  inline void* MaybeArenaPtr() const {
140  return NULL;
141  }
142  public:
143 
144  ::google::protobuf::Metadata GetMetadata() const final;
145 
146  // nested types ----------------------------------------------------
147 
148  // accessors -------------------------------------------------------
149 
150  // string message = 1;
151  void clear_message();
152  static const int kMessageFieldNumber = 1;
153  const ::std::string& message() const;
154  void set_message(const ::std::string& value);
155  #if LANG_CXX11
156  void set_message(::std::string&& value);
157  #endif
158  void set_message(const char* value);
159  void set_message(const char* value, size_t size);
160  ::std::string* mutable_message();
161  ::std::string* release_message();
162  void set_allocated_message(::std::string* message);
163 
164  // @@protoc_insertion_point(class_scope:ReqTest)
165  private:
166 
167  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
168  ::google::protobuf::internal::ArenaStringPtr message_;
169  mutable ::google::protobuf::internal::CachedSize _cached_size_;
170  friend struct ::protobuf_hellorad_2eproto::TableStruct;
171 };
172 // -------------------------------------------------------------------
173 
174 class RepTest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:RepTest) */ {
175  public:
176  RepTest();
177  virtual ~RepTest();
178 
179  RepTest(const RepTest& from);
180 
181  inline RepTest& operator=(const RepTest& from) {
182  CopyFrom(from);
183  return *this;
184  }
185  #if LANG_CXX11
186  RepTest(RepTest&& from) noexcept
187  : RepTest() {
188  *this = ::std::move(from);
189  }
190 
191  inline RepTest& operator=(RepTest&& from) noexcept {
192  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
193  if (this != &from) InternalSwap(&from);
194  } else {
195  CopyFrom(from);
196  }
197  return *this;
198  }
199  #endif
200  static const ::google::protobuf::Descriptor* descriptor();
201  static const RepTest& default_instance();
202 
203  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
204  static inline const RepTest* internal_default_instance() {
205  return reinterpret_cast<const RepTest*>(
207  }
208  static constexpr int kIndexInFileMessages =
209  1;
210 
211  void Swap(RepTest* other);
212  friend void swap(RepTest& a, RepTest& b) {
213  a.Swap(&b);
214  }
215 
216  // implements Message ----------------------------------------------
217 
218  inline RepTest* New() const final {
219  return CreateMaybeMessage<RepTest>(NULL);
220  }
221 
222  RepTest* New(::google::protobuf::Arena* arena) const final {
223  return CreateMaybeMessage<RepTest>(arena);
224  }
225  void CopyFrom(const ::google::protobuf::Message& from) final;
226  void MergeFrom(const ::google::protobuf::Message& from) final;
227  void CopyFrom(const RepTest& from);
228  void MergeFrom(const RepTest& from);
229  void Clear() final;
230  bool IsInitialized() const final;
231 
232  size_t ByteSizeLong() const final;
234  ::google::protobuf::io::CodedInputStream* input) final;
236  ::google::protobuf::io::CodedOutputStream* output) const final;
237  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
238  bool deterministic, ::google::protobuf::uint8* target) const final;
239  int GetCachedSize() const final { return _cached_size_.Get(); }
240 
241  private:
242  void SharedCtor();
243  void SharedDtor();
244  void SetCachedSize(int size) const final;
245  void InternalSwap(RepTest* other);
246  private:
247  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
248  return NULL;
249  }
250  inline void* MaybeArenaPtr() const {
251  return NULL;
252  }
253  public:
254 
255  ::google::protobuf::Metadata GetMetadata() const final;
256 
257  // nested types ----------------------------------------------------
258 
259  // accessors -------------------------------------------------------
260 
261  // string message = 1;
262  void clear_message();
263  static const int kMessageFieldNumber = 1;
264  const ::std::string& message() const;
265  void set_message(const ::std::string& value);
266  #if LANG_CXX11
267  void set_message(::std::string&& value);
268  #endif
269  void set_message(const char* value);
270  void set_message(const char* value, size_t size);
271  ::std::string* mutable_message();
272  ::std::string* release_message();
273  void set_allocated_message(::std::string* message);
274 
275  // @@protoc_insertion_point(class_scope:RepTest)
276  private:
277 
278  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
279  ::google::protobuf::internal::ArenaStringPtr message_;
280  mutable ::google::protobuf::internal::CachedSize _cached_size_;
281  friend struct ::protobuf_hellorad_2eproto::TableStruct;
282 };
283 // ===================================================================
284 
285 
286 // ===================================================================
287 
288 #ifdef __GNUC__
289  #pragma GCC diagnostic push
290  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
291 #endif // __GNUC__
292 // ReqTest
293 
294 // string message = 1;
295 inline void ReqTest::clear_message() {
296  message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
297 }
298 inline const ::std::string& ReqTest::message() const {
299  // @@protoc_insertion_point(field_get:ReqTest.message)
300  return message_.GetNoArena();
301 }
302 inline void ReqTest::set_message(const ::std::string& value) {
303 
304  message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
305  // @@protoc_insertion_point(field_set:ReqTest.message)
306 }
307 #if LANG_CXX11
308 inline void ReqTest::set_message(::std::string&& value) {
309 
310  message_.SetNoArena(
311  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
312  // @@protoc_insertion_point(field_set_rvalue:ReqTest.message)
313 }
314 #endif
315 inline void ReqTest::set_message(const char* value) {
316  GOOGLE_DCHECK(value != NULL);
317 
318  message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
319  // @@protoc_insertion_point(field_set_char:ReqTest.message)
320 }
321 inline void ReqTest::set_message(const char* value, size_t size) {
322 
323  message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
324  ::std::string(reinterpret_cast<const char*>(value), size));
325  // @@protoc_insertion_point(field_set_pointer:ReqTest.message)
326 }
327 inline ::std::string* ReqTest::mutable_message() {
328 
329  // @@protoc_insertion_point(field_mutable:ReqTest.message)
330  return message_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
331 }
332 inline ::std::string* ReqTest::release_message() {
333  // @@protoc_insertion_point(field_release:ReqTest.message)
334 
335  return message_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
336 }
337 inline void ReqTest::set_allocated_message(::std::string* message) {
338  if (message != NULL) {
339 
340  } else {
341 
342  }
343  message_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), message);
344  // @@protoc_insertion_point(field_set_allocated:ReqTest.message)
345 }
346 
347 // -------------------------------------------------------------------
348 
349 // RepTest
350 
351 // string message = 1;
352 inline void RepTest::clear_message() {
353  message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
354 }
355 inline const ::std::string& RepTest::message() const {
356  // @@protoc_insertion_point(field_get:RepTest.message)
357  return message_.GetNoArena();
358 }
359 inline void RepTest::set_message(const ::std::string& value) {
360 
361  message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
362  // @@protoc_insertion_point(field_set:RepTest.message)
363 }
364 #if LANG_CXX11
365 inline void RepTest::set_message(::std::string&& value) {
366 
367  message_.SetNoArena(
368  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
369  // @@protoc_insertion_point(field_set_rvalue:RepTest.message)
370 }
371 #endif
372 inline void RepTest::set_message(const char* value) {
373  GOOGLE_DCHECK(value != NULL);
374 
375  message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
376  // @@protoc_insertion_point(field_set_char:RepTest.message)
377 }
378 inline void RepTest::set_message(const char* value, size_t size) {
379 
380  message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
381  ::std::string(reinterpret_cast<const char*>(value), size));
382  // @@protoc_insertion_point(field_set_pointer:RepTest.message)
383 }
384 inline ::std::string* RepTest::mutable_message() {
385 
386  // @@protoc_insertion_point(field_mutable:RepTest.message)
387  return message_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
388 }
389 inline ::std::string* RepTest::release_message() {
390  // @@protoc_insertion_point(field_release:RepTest.message)
391 
392  return message_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
393 }
394 inline void RepTest::set_allocated_message(::std::string* message) {
395  if (message != NULL) {
396 
397  } else {
398 
399  }
400  message_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), message);
401  // @@protoc_insertion_point(field_set_allocated:RepTest.message)
402 }
403 
404 #ifdef __GNUC__
405  #pragma GCC diagnostic pop
406 #endif // __GNUC__
407 // -------------------------------------------------------------------
408 
409 
410 // @@protoc_insertion_point(namespace_scope)
411 
412 
413 // @@protoc_insertion_point(global_scope)
414 
415 #endif // PROTOBUF_INCLUDED_hellorad_2eproto
::std::string * release_message()
Definition: hellorad.pb.h:389
static const ::google::protobuf::uint32 offsets[]
Definition: hellorad.pb.h:44
void set_allocated_message(::std::string *message)
Definition: hellorad.pb.h:337
int GetCachedSize() const final
Definition: hellorad.pb.h:239
void clear_message()
Definition: hellorad.pb.h:295
void set_allocated_message(::std::string *message)
Definition: hellorad.pb.h:394
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic,::google::protobuf::uint8 *target) const final
static constexpr int kIndexInFileMessages
Definition: hellorad.pb.h:97
size_t ByteSizeLong() const final
Definition: hellorad.pb.h:38
static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
Definition: hellorad.pb.h:40
ReqTest & operator=(const ReqTest &from)
Definition: hellorad.pb.h:70
static const ::google::protobuf::internal::ParseTable schema[2]
Definition: hellorad.pb.h:41
::std::string * mutable_message()
Definition: hellorad.pb.h:384
static const ::google::protobuf::internal::FieldMetadata field_metadata[]
Definition: hellorad.pb.h:42
static const ::google::protobuf::internal::SerializationTable serialization_table[]
Definition: hellorad.pb.h:43
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
static void InitAsDefaultInstance()
void Clear() final
static const RepTest * internal_default_instance()
Definition: hellorad.pb.h:204
static const RepTest & default_instance()
void Swap(ReqTest *other)
::std::string * release_message()
Definition: hellorad.pb.h:332
static const ::google::protobuf::Descriptor * descriptor()
const ::std::string & message() const
Definition: hellorad.pb.h:355
virtual ~RepTest()
static const ::google::protobuf::Descriptor * descriptor()
size_t ByteSizeLong() const final
ReqTest * New() const final
Definition: hellorad.pb.h:107
bool IsInitialized() const final
void CopyFrom(const ::google::protobuf::Message &from) final
void Clear() final
void clear_message()
Definition: hellorad.pb.h:352
::std::string * mutable_message()
Definition: hellorad.pb.h:327
ReqTest * New(::google::protobuf::Arena *arena) const final
Definition: hellorad.pb.h:111
Definition: hellorad.pb.h:174
void set_message(const ::std::string &value)
Definition: hellorad.pb.h:359
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
static const int kMessageFieldNumber
Definition: hellorad.pb.h:263
static const ReqTest & default_instance()
void set_message(const ::std::string &value)
Definition: hellorad.pb.h:302
const ::std::string & message() const
Definition: hellorad.pb.h:298
static void InitAsDefaultInstance()
void MergeFrom(const ::google::protobuf::Message &from) final
RepTest * New() const final
Definition: hellorad.pb.h:218
RepTest * New(::google::protobuf::Arena *arena) const final
Definition: hellorad.pb.h:222
static const int kMessageFieldNumber
Definition: hellorad.pb.h:152
void CopyFrom(const ::google::protobuf::Message &from) final
virtual ~ReqTest()
RepTest & operator=(const RepTest &from)
Definition: hellorad.pb.h:181
void MergeFrom(const ::google::protobuf::Message &from) final
ReqTestDefaultTypeInternal _ReqTest_default_instance_
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
::google::protobuf::Metadata GetMetadata() const final
Definition: hellorad.pb.h:63
int GetCachedSize() const final
Definition: hellorad.pb.h:128
static const ReqTest * internal_default_instance()
Definition: hellorad.pb.h:93
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic,::google::protobuf::uint8 *target) const final
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
RepTestDefaultTypeInternal _RepTest_default_instance_
friend void swap(ReqTest &a, ReqTest &b)
Definition: hellorad.pb.h:101
::google::protobuf::Metadata GetMetadata() const final
static constexpr int kIndexInFileMessages
Definition: hellorad.pb.h:208
bool IsInitialized() const final
friend void swap(RepTest &a, RepTest &b)
Definition: hellorad.pb.h:212
static const ::google::protobuf::internal::ParseTableField entries[]
Definition: hellorad.pb.h:39
void Swap(RepTest *other)