Ignition Msgs

API Reference

5.8.1
response.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/response.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fresponse_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fresponse_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3019000
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 3019000 < 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/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
32 #include <google/protobuf/extension_set.h> // IWYU pragma: export
33 #include <google/protobuf/unknown_field_set.h>
35 #ifndef _MSC_VER
36 #pragma GCC system_header
37 #else
38 #pragma warning(push)
39 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
40 #endif
41 #ifdef __linux__
42 #include <sys/sysmacros.h>
43 #endif
44 #include <memory>
45 #include <ignition/msgs/Export.hh>
46 // @@protoc_insertion_point(includes)
47 #include <google/protobuf/port_def.inc>
48 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fresponse_2eproto IGNITION_MSGS_VISIBLE
49 PROTOBUF_NAMESPACE_OPEN
50 namespace internal {
51 class AnyMetadata;
52 } // namespace internal
53 PROTOBUF_NAMESPACE_CLOSE
54 
55 // Internal implementation detail -- do not use these members.
56 struct IGNITION_MSGS_VISIBLE TableStruct_ignition_2fmsgs_2fresponse_2eproto {
57  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
58  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
59  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
60  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
61  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
62  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
63  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
64  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
65  static const uint32_t offsets[];
66 };
67 IGNITION_MSGS_VISIBLE extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fresponse_2eproto;
68 namespace ignition {
69 namespace msgs {
70 class Response;
71 struct ResponseDefaultTypeInternal;
72 IGNITION_MSGS_VISIBLE extern ResponseDefaultTypeInternal _Response_default_instance_;
73 } // namespace msgs
74 } // namespace ignition
75 PROTOBUF_NAMESPACE_OPEN
76 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Response* Arena::CreateMaybeMessage<::ignition::msgs::Response>(Arena*);
77 PROTOBUF_NAMESPACE_CLOSE
78 namespace ignition {
79 namespace msgs {
80 
81 // ===================================================================
82 
83 class IGNITION_MSGS_VISIBLE Response final :
84  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Response) */ {
85  public:
86  inline Response() : Response(nullptr) {}
87  ~Response() override;
88  explicit constexpr Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
89 
90  Response(const Response& from);
91  Response(Response&& from) noexcept
92  : Response() {
93  *this = ::std::move(from);
94  }
95 
96  inline Response& operator=(const Response& from) {
97  CopyFrom(from);
98  return *this;
99  }
100  inline Response& operator=(Response&& from) noexcept {
101  if (this == &from) return *this;
102  if (GetOwningArena() == from.GetOwningArena()
103  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
104  && GetOwningArena() != nullptr
105  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
106  ) {
107  InternalSwap(&from);
108  } else {
109  CopyFrom(from);
110  }
111  return *this;
112  }
113 
114  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
115  return GetDescriptor();
116  }
117  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
118  return default_instance().GetMetadata().descriptor;
119  }
120  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
121  return default_instance().GetMetadata().reflection;
122  }
123  static const Response& default_instance() {
124  return *internal_default_instance();
125  }
126  static inline const Response* internal_default_instance() {
127  return reinterpret_cast<const Response*>(
129  }
130  static constexpr int kIndexInFileMessages =
131  0;
132 
133  friend void swap(Response& a, Response& b) {
134  a.Swap(&b);
135  }
136  inline void Swap(Response* other) {
137  if (other == this) return;
138  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
139  if (GetOwningArena() != nullptr &&
140  GetOwningArena() == other->GetOwningArena()) {
141  #else // PROTOBUF_FORCE_COPY_IN_SWAP
142  if (GetOwningArena() == other->GetOwningArena()) {
143  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
144  InternalSwap(other);
145  } else {
146  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
147  }
148  }
149  void UnsafeArenaSwap(Response* other) {
150  if (other == this) return;
151  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
152  InternalSwap(other);
153  }
154 
155  // implements Message ----------------------------------------------
156 
157  Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
158  return CreateMaybeMessage<Response>(arena);
159  }
160  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
161  void CopyFrom(const Response& from);
162  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
163  void MergeFrom(const Response& from);
164  private:
165  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
166  public:
167  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
168  bool IsInitialized() const final;
169 
170  size_t ByteSizeLong() const final;
171  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
172  uint8_t* _InternalSerialize(
173  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
174  int GetCachedSize() const final { return _cached_size_.Get(); }
175 
176  private:
177  void SharedCtor();
178  void SharedDtor();
179  void SetCachedSize(int size) const final;
180  void InternalSwap(Response* other);
181 
182  private:
183  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
184  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
185  return "ignition.msgs.Response";
186  }
187  protected:
188  explicit Response(::PROTOBUF_NAMESPACE_ID::Arena* arena,
189  bool is_message_owned = false);
190  private:
191  static void ArenaDtor(void* object);
192  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
193  public:
194 
195  static const ClassData _class_data_;
196  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
197 
198  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
199 
200  // nested types ----------------------------------------------------
201 
202  // accessors -------------------------------------------------------
203 
204  enum : int {
205  kRequestFieldNumber = 3,
206  kResponseFieldNumber = 4,
207  kTypeFieldNumber = 5,
208  kSerializedDataFieldNumber = 6,
209  kHeaderFieldNumber = 1,
210  kIdFieldNumber = 2,
211  };
212  // string request = 3;
213  void clear_request();
214  const std::string& request() const;
215  template <typename ArgT0 = const std::string&, typename... ArgT>
216  void set_request(ArgT0&& arg0, ArgT... args);
217  std::string* mutable_request();
218  PROTOBUF_NODISCARD std::string* release_request();
219  void set_allocated_request(std::string* request);
220  private:
221  const std::string& _internal_request() const;
222  inline PROTOBUF_ALWAYS_INLINE void _internal_set_request(const std::string& value);
223  std::string* _internal_mutable_request();
224  public:
225 
226  // string response = 4;
227  void clear_response();
228  const std::string& response() const;
229  template <typename ArgT0 = const std::string&, typename... ArgT>
230  void set_response(ArgT0&& arg0, ArgT... args);
231  std::string* mutable_response();
232  PROTOBUF_NODISCARD std::string* release_response();
233  void set_allocated_response(std::string* response);
234  private:
235  const std::string& _internal_response() const;
236  inline PROTOBUF_ALWAYS_INLINE void _internal_set_response(const std::string& value);
237  std::string* _internal_mutable_response();
238  public:
239 
240  // string type = 5;
241  void clear_type();
242  const std::string& type() const;
243  template <typename ArgT0 = const std::string&, typename... ArgT>
244  void set_type(ArgT0&& arg0, ArgT... args);
245  std::string* mutable_type();
246  PROTOBUF_NODISCARD std::string* release_type();
247  void set_allocated_type(std::string* type);
248  private:
249  const std::string& _internal_type() const;
250  inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
251  std::string* _internal_mutable_type();
252  public:
253 
254  // bytes serialized_data = 6;
255  void clear_serialized_data();
256  const std::string& serialized_data() const;
257  template <typename ArgT0 = const std::string&, typename... ArgT>
258  void set_serialized_data(ArgT0&& arg0, ArgT... args);
259  std::string* mutable_serialized_data();
260  PROTOBUF_NODISCARD std::string* release_serialized_data();
261  void set_allocated_serialized_data(std::string* serialized_data);
262  private:
263  const std::string& _internal_serialized_data() const;
264  inline PROTOBUF_ALWAYS_INLINE void _internal_set_serialized_data(const std::string& value);
265  std::string* _internal_mutable_serialized_data();
266  public:
267 
268  // .ignition.msgs.Header header = 1;
269  bool has_header() const;
270  private:
271  bool _internal_has_header() const;
272  public:
273  void clear_header();
274  const ::ignition::msgs::Header& header() const;
275  PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
276  ::ignition::msgs::Header* mutable_header();
277  void set_allocated_header(::ignition::msgs::Header* header);
278  private:
279  const ::ignition::msgs::Header& _internal_header() const;
280  ::ignition::msgs::Header* _internal_mutable_header();
281  public:
282  void unsafe_arena_set_allocated_header(
283  ::ignition::msgs::Header* header);
284  ::ignition::msgs::Header* unsafe_arena_release_header();
285 
286  // int32 id = 2;
287  void clear_id();
288  int32_t id() const;
289  void set_id(int32_t value);
290  private:
291  int32_t _internal_id() const;
292  void _internal_set_id(int32_t value);
293  public:
294 
295  // @@protoc_insertion_point(class_scope:ignition.msgs.Response)
296  private:
297  class _Internal;
298 
299  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
300  typedef void InternalArenaConstructable_;
301  typedef void DestructorSkippable_;
302  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr request_;
303  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr response_;
304  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
305  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr serialized_data_;
306  ::ignition::msgs::Header* header_;
307  int32_t id_;
308  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
309  friend struct ::TableStruct_ignition_2fmsgs_2fresponse_2eproto;
310 };
311 // ===================================================================
312 
313 
314 // ===================================================================
315 
316 #ifdef __GNUC__
317  #pragma GCC diagnostic push
318  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
319 #endif // __GNUC__
320 // Response
321 
322 // .ignition.msgs.Header header = 1;
323 inline bool Response::_internal_has_header() const {
324  return this != internal_default_instance() && header_ != nullptr;
325 }
326 inline bool Response::has_header() const {
327  return _internal_has_header();
328 }
329 inline const ::ignition::msgs::Header& Response::_internal_header() const {
330  const ::ignition::msgs::Header* p = header_;
331  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Header&>(
333 }
334 inline const ::ignition::msgs::Header& Response::header() const {
335  // @@protoc_insertion_point(field_get:ignition.msgs.Response.header)
336  return _internal_header();
337 }
339  ::ignition::msgs::Header* header) {
340  if (GetArenaForAllocation() == nullptr) {
341  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
342  }
343  header_ = header;
344  if (header) {
345 
346  } else {
347 
348  }
349  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Response.header)
350 }
351 inline ::ignition::msgs::Header* Response::release_header() {
352 
353  ::ignition::msgs::Header* temp = header_;
354  header_ = nullptr;
355 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
356  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
357  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
358  if (GetArenaForAllocation() == nullptr) { delete old; }
359 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
360  if (GetArenaForAllocation() != nullptr) {
361  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
362  }
363 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
364  return temp;
365 }
366 inline ::ignition::msgs::Header* Response::unsafe_arena_release_header() {
367  // @@protoc_insertion_point(field_release:ignition.msgs.Response.header)
368 
369  ::ignition::msgs::Header* temp = header_;
370  header_ = nullptr;
371  return temp;
372 }
373 inline ::ignition::msgs::Header* Response::_internal_mutable_header() {
374 
375  if (header_ == nullptr) {
376  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
377  header_ = p;
378  }
379  return header_;
380 }
381 inline ::ignition::msgs::Header* Response::mutable_header() {
382  ::ignition::msgs::Header* _msg = _internal_mutable_header();
383  // @@protoc_insertion_point(field_mutable:ignition.msgs.Response.header)
384  return _msg;
385 }
387  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
388  if (message_arena == nullptr) {
389  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
390  }
391  if (header) {
392  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
393  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
394  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
395  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header));
396  if (message_arena != submessage_arena) {
397  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
398  message_arena, header, submessage_arena);
399  }
400 
401  } else {
402 
403  }
404  header_ = header;
405  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Response.header)
406 }
407 
408 // int32 id = 2;
409 inline void Response::clear_id() {
410  id_ = 0;
411 }
412 inline int32_t Response::_internal_id() const {
413  return id_;
414 }
415 inline int32_t Response::id() const {
416  // @@protoc_insertion_point(field_get:ignition.msgs.Response.id)
417  return _internal_id();
418 }
419 inline void Response::_internal_set_id(int32_t value) {
420 
421  id_ = value;
422 }
423 inline void Response::set_id(int32_t value) {
424  _internal_set_id(value);
425  // @@protoc_insertion_point(field_set:ignition.msgs.Response.id)
426 }
427 
428 // string request = 3;
429 inline void Response::clear_request() {
430  request_.ClearToEmpty();
431 }
432 inline const std::string& Response::request() const {
433  // @@protoc_insertion_point(field_get:ignition.msgs.Response.request)
434  return _internal_request();
435 }
436 template <typename ArgT0, typename... ArgT>
437 inline PROTOBUF_ALWAYS_INLINE
438 void Response::set_request(ArgT0&& arg0, ArgT... args) {
439 
440  request_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
441  // @@protoc_insertion_point(field_set:ignition.msgs.Response.request)
442 }
444  std::string* _s = _internal_mutable_request();
445  // @@protoc_insertion_point(field_mutable:ignition.msgs.Response.request)
446  return _s;
447 }
448 inline const std::string& Response::_internal_request() const {
449  return request_.Get();
450 }
451 inline void Response::_internal_set_request(const std::string& value) {
452 
453  request_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
454 }
455 inline std::string* Response::_internal_mutable_request() {
456 
457  return request_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
458 }
460  // @@protoc_insertion_point(field_release:ignition.msgs.Response.request)
461  return request_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
462 }
464  if (request != nullptr) {
465 
466  } else {
467 
468  }
469  request_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), request,
470  GetArenaForAllocation());
471 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
472  if (request_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
473  request_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
474  }
475 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
476  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Response.request)
477 }
478 
479 // string response = 4;
481  response_.ClearToEmpty();
482 }
483 inline const std::string& Response::response() const {
484  // @@protoc_insertion_point(field_get:ignition.msgs.Response.response)
485  return _internal_response();
486 }
487 template <typename ArgT0, typename... ArgT>
488 inline PROTOBUF_ALWAYS_INLINE
489 void Response::set_response(ArgT0&& arg0, ArgT... args) {
490 
491  response_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
492  // @@protoc_insertion_point(field_set:ignition.msgs.Response.response)
493 }
495  std::string* _s = _internal_mutable_response();
496  // @@protoc_insertion_point(field_mutable:ignition.msgs.Response.response)
497  return _s;
498 }
499 inline const std::string& Response::_internal_response() const {
500  return response_.Get();
501 }
502 inline void Response::_internal_set_response(const std::string& value) {
503 
504  response_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
505 }
506 inline std::string* Response::_internal_mutable_response() {
507 
508  return response_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
509 }
511  // @@protoc_insertion_point(field_release:ignition.msgs.Response.response)
512  return response_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
513 }
515  if (response != nullptr) {
516 
517  } else {
518 
519  }
520  response_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), response,
521  GetArenaForAllocation());
522 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
523  if (response_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
524  response_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
525  }
526 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
527  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Response.response)
528 }
529 
530 // string type = 5;
531 inline void Response::clear_type() {
532  type_.ClearToEmpty();
533 }
534 inline const std::string& Response::type() const {
535  // @@protoc_insertion_point(field_get:ignition.msgs.Response.type)
536  return _internal_type();
537 }
538 template <typename ArgT0, typename... ArgT>
539 inline PROTOBUF_ALWAYS_INLINE
540 void Response::set_type(ArgT0&& arg0, ArgT... args) {
541 
542  type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
543  // @@protoc_insertion_point(field_set:ignition.msgs.Response.type)
544 }
546  std::string* _s = _internal_mutable_type();
547  // @@protoc_insertion_point(field_mutable:ignition.msgs.Response.type)
548  return _s;
549 }
550 inline const std::string& Response::_internal_type() const {
551  return type_.Get();
552 }
553 inline void Response::_internal_set_type(const std::string& value) {
554 
555  type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
556 }
557 inline std::string* Response::_internal_mutable_type() {
558 
559  return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
560 }
562  // @@protoc_insertion_point(field_release:ignition.msgs.Response.type)
563  return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
564 }
566  if (type != nullptr) {
567 
568  } else {
569 
570  }
571  type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
572  GetArenaForAllocation());
573 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
574  if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
575  type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
576  }
577 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
578  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Response.type)
579 }
580 
581 // bytes serialized_data = 6;
583  serialized_data_.ClearToEmpty();
584 }
585 inline const std::string& Response::serialized_data() const {
586  // @@protoc_insertion_point(field_get:ignition.msgs.Response.serialized_data)
587  return _internal_serialized_data();
588 }
589 template <typename ArgT0, typename... ArgT>
590 inline PROTOBUF_ALWAYS_INLINE
591 void Response::set_serialized_data(ArgT0&& arg0, ArgT... args) {
592 
593  serialized_data_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
594  // @@protoc_insertion_point(field_set:ignition.msgs.Response.serialized_data)
595 }
597  std::string* _s = _internal_mutable_serialized_data();
598  // @@protoc_insertion_point(field_mutable:ignition.msgs.Response.serialized_data)
599  return _s;
600 }
601 inline const std::string& Response::_internal_serialized_data() const {
602  return serialized_data_.Get();
603 }
604 inline void Response::_internal_set_serialized_data(const std::string& value) {
605 
606  serialized_data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
607 }
608 inline std::string* Response::_internal_mutable_serialized_data() {
609 
610  return serialized_data_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
611 }
613  // @@protoc_insertion_point(field_release:ignition.msgs.Response.serialized_data)
614  return serialized_data_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
615 }
617  if (serialized_data != nullptr) {
618 
619  } else {
620 
621  }
622  serialized_data_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), serialized_data,
623  GetArenaForAllocation());
624 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
625  if (serialized_data_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
626  serialized_data_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
627  }
628 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
629  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Response.serialized_data)
630 }
631 
632 #ifdef __GNUC__
633  #pragma GCC diagnostic pop
634 #endif // __GNUC__
635 
640 // @@protoc_insertion_point(namespace_scope)
641 
642 } // namespace msgs
643 } // namespace ignition
644 
645 #ifdef _MSC_VER
646 #pragma warning(pop)
647 #endif
648 // @@protoc_insertion_point(global_scope)
649 
650 #include <google/protobuf/port_undef.inc>
651 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fresponse_2eproto
Definition: header.pb.h:265
Definition: response.pb.h:84
const std::string & serialized_data() const
Definition: response.pb.h:585
void set_type(ArgT0 &&arg0, ArgT... args)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: response.pb.h:120
Response & operator=(Response &&from) noexcept
Definition: response.pb.h:100
void clear_request()
Definition: response.pb.h:429
bool has_header() const
Definition: response.pb.h:326
void set_allocated_response(std::string *response)
Definition: response.pb.h:514
std::string * mutable_type()
Definition: response.pb.h:545
::ignition::msgs::Header * mutable_header()
Definition: response.pb.h:381
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_allocated_request(std::string *request)
Definition: response.pb.h:463
const std::string & response() const
Definition: response.pb.h:483
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: response.pb.h:114
void set_serialized_data(ArgT0 &&arg0, ArgT... args)
void clear_serialized_data()
Definition: response.pb.h:582
const std::string & type() const
Definition: response.pb.h:534
Response(const Response &from)
PROTOBUF_NODISCARD std::string * release_type()
Definition: response.pb.h:561
std::string * mutable_response()
Definition: response.pb.h:494
void CopyFrom(const Response &from)
void clear_id()
Definition: response.pb.h:409
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: response.pb.h:338
Response & operator=(const Response &from)
Definition: response.pb.h:96
PROTOBUF_NODISCARD std::string * release_serialized_data()
Definition: response.pb.h:612
void set_id(int32_t value)
Definition: response.pb.h:423
void Swap(Response *other)
Definition: response.pb.h:136
void MergeFrom(const Response &from)
std::string * mutable_request()
Definition: response.pb.h:443
std::string * mutable_serialized_data()
Definition: response.pb.h:596
void set_response(ArgT0 &&arg0, ArgT... args)
static const Response & default_instance()
Definition: response.pb.h:123
void clear_type()
Definition: response.pb.h:531
constexpr Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void set_allocated_header(::ignition::msgs::Header *header)
Definition: response.pb.h:386
Response()
Definition: response.pb.h:86
void UnsafeArenaSwap(Response *other)
Definition: response.pb.h:149
int32_t id() const
Definition: response.pb.h:415
PROTOBUF_NODISCARD std::string * release_response()
Definition: response.pb.h:510
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: response.pb.h:351
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const Response * internal_default_instance()
Definition: response.pb.h:126
Response(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
friend void swap(Response &a, Response &b)
Definition: response.pb.h:133
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: response.pb.h:117
void set_allocated_type(std::string *type)
Definition: response.pb.h:565
void set_allocated_serialized_data(std::string *serialized_data)
Definition: response.pb.h:616
const ::ignition::msgs::Header & header() const
Definition: response.pb.h:334
static const ClassData _class_data_
Definition: response.pb.h:195
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: response.pb.h:366
Response(Response &&from) noexcept
Definition: response.pb.h:91
PROTOBUF_NODISCARD std::string * release_request()
Definition: response.pb.h:459
Response * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: response.pb.h:157
const std::string & request() const
Definition: response.pb.h:432
void clear_response()
Definition: response.pb.h:480
void set_request(ArgT0 &&arg0, ArgT... args)
std::unique_ptr< const Response > ConstResponseUniquePtr
Definition: response.pb.h:637
std::unique_ptr< Response > ResponseUniquePtr
Definition: response.pb.h:636
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
IGNITION_MSGS_VISIBLE ResponseDefaultTypeInternal _Response_default_instance_
std::shared_ptr< Response > ResponseSharedPtr
Definition: response.pb.h:638
std::shared_ptr< const Response > ConstResponseSharedPtr
Definition: response.pb.h:639
Definition: actor.pb.h:52
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fresponse_2eproto
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)