Ignition Msgs

API Reference

5.8.1
web_request.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/web_request.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fweb_5frequest_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fweb_5frequest_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_2fweb_5frequest_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.
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_2fweb_5frequest_2eproto;
68 namespace ignition {
69 namespace msgs {
70 class WebRequest;
71 struct WebRequestDefaultTypeInternal;
72 IGNITION_MSGS_VISIBLE extern WebRequestDefaultTypeInternal _WebRequest_default_instance_;
73 } // namespace msgs
74 } // namespace ignition
75 PROTOBUF_NAMESPACE_OPEN
76 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::WebRequest* Arena::CreateMaybeMessage<::ignition::msgs::WebRequest>(Arena*);
77 PROTOBUF_NAMESPACE_CLOSE
78 namespace ignition {
79 namespace msgs {
80 
81 // ===================================================================
82 
83 class IGNITION_MSGS_VISIBLE WebRequest final :
84  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.WebRequest) */ {
85  public:
86  inline WebRequest() : WebRequest(nullptr) {}
87  ~WebRequest() override;
88  explicit constexpr WebRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
89 
90  WebRequest(const WebRequest& from);
91  WebRequest(WebRequest&& from) noexcept
92  : WebRequest() {
93  *this = ::std::move(from);
94  }
95 
96  inline WebRequest& operator=(const WebRequest& from) {
97  CopyFrom(from);
98  return *this;
99  }
100  inline WebRequest& operator=(WebRequest&& 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 WebRequest& default_instance() {
124  return *internal_default_instance();
125  }
126  static inline const WebRequest* internal_default_instance() {
127  return reinterpret_cast<const WebRequest*>(
129  }
130  static constexpr int kIndexInFileMessages =
131  0;
132 
133  friend void swap(WebRequest& a, WebRequest& b) {
134  a.Swap(&b);
135  }
136  inline void Swap(WebRequest* 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  }
150  if (other == this) return;
151  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
152  InternalSwap(other);
153  }
154 
155  // implements Message ----------------------------------------------
156 
157  WebRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
158  return CreateMaybeMessage<WebRequest>(arena);
159  }
160  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
161  void CopyFrom(const WebRequest& from);
162  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
163  void MergeFrom(const WebRequest& 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(WebRequest* other);
181 
182  private:
183  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
184  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
185  return "ignition.msgs.WebRequest";
186  }
187  protected:
188  explicit WebRequest(::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  kOperationFieldNumber = 2,
206  kTopicFieldNumber = 3,
207  kMsgTypeFieldNumber = 4,
208  kCompressionFieldNumber = 5,
209  kHeaderFieldNumber = 1,
210  kHzFieldNumber = 6,
211  };
212  // string operation = 2;
213  void clear_operation();
214  const std::string& operation() const;
215  template <typename ArgT0 = const std::string&, typename... ArgT>
216  void set_operation(ArgT0&& arg0, ArgT... args);
217  std::string* mutable_operation();
218  PROTOBUF_NODISCARD std::string* release_operation();
219  void set_allocated_operation(std::string* operation);
220  private:
221  const std::string& _internal_operation() const;
222  inline PROTOBUF_ALWAYS_INLINE void _internal_set_operation(const std::string& value);
223  std::string* _internal_mutable_operation();
224  public:
225 
226  // string topic = 3;
227  void clear_topic();
228  const std::string& topic() const;
229  template <typename ArgT0 = const std::string&, typename... ArgT>
230  void set_topic(ArgT0&& arg0, ArgT... args);
231  std::string* mutable_topic();
232  PROTOBUF_NODISCARD std::string* release_topic();
233  void set_allocated_topic(std::string* topic);
234  private:
235  const std::string& _internal_topic() const;
236  inline PROTOBUF_ALWAYS_INLINE void _internal_set_topic(const std::string& value);
237  std::string* _internal_mutable_topic();
238  public:
239 
240  // string msg_type = 4;
241  void clear_msg_type();
242  const std::string& msg_type() const;
243  template <typename ArgT0 = const std::string&, typename... ArgT>
244  void set_msg_type(ArgT0&& arg0, ArgT... args);
245  std::string* mutable_msg_type();
246  PROTOBUF_NODISCARD std::string* release_msg_type();
247  void set_allocated_msg_type(std::string* msg_type);
248  private:
249  const std::string& _internal_msg_type() const;
250  inline PROTOBUF_ALWAYS_INLINE void _internal_set_msg_type(const std::string& value);
251  std::string* _internal_mutable_msg_type();
252  public:
253 
254  // string compression = 5;
255  void clear_compression();
256  const std::string& compression() const;
257  template <typename ArgT0 = const std::string&, typename... ArgT>
258  void set_compression(ArgT0&& arg0, ArgT... args);
259  std::string* mutable_compression();
260  PROTOBUF_NODISCARD std::string* release_compression();
261  void set_allocated_compression(std::string* compression);
262  private:
263  const std::string& _internal_compression() const;
264  inline PROTOBUF_ALWAYS_INLINE void _internal_set_compression(const std::string& value);
265  std::string* _internal_mutable_compression();
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  // double hz = 6;
287  void clear_hz();
288  double hz() const;
289  void set_hz(double value);
290  private:
291  double _internal_hz() const;
292  void _internal_set_hz(double value);
293  public:
294 
295  // @@protoc_insertion_point(class_scope:ignition.msgs.WebRequest)
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 operation_;
303  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr topic_;
304  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr msg_type_;
305  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr compression_;
306  ::ignition::msgs::Header* header_;
307  double hz_;
308  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
309  friend struct ::TableStruct_ignition_2fmsgs_2fweb_5frequest_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 // WebRequest
321 
322 // .ignition.msgs.Header header = 1;
323 inline bool WebRequest::_internal_has_header() const {
324  return this != internal_default_instance() && header_ != nullptr;
325 }
326 inline bool WebRequest::has_header() const {
327  return _internal_has_header();
328 }
329 inline const ::ignition::msgs::Header& WebRequest::_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& WebRequest::header() const {
335  // @@protoc_insertion_point(field_get:ignition.msgs.WebRequest.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.WebRequest.header)
350 }
351 inline ::ignition::msgs::Header* WebRequest::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* WebRequest::unsafe_arena_release_header() {
367  // @@protoc_insertion_point(field_release:ignition.msgs.WebRequest.header)
368 
369  ::ignition::msgs::Header* temp = header_;
370  header_ = nullptr;
371  return temp;
372 }
373 inline ::ignition::msgs::Header* WebRequest::_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* WebRequest::mutable_header() {
382  ::ignition::msgs::Header* _msg = _internal_mutable_header();
383  // @@protoc_insertion_point(field_mutable:ignition.msgs.WebRequest.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.WebRequest.header)
406 }
407 
408 // string operation = 2;
410  operation_.ClearToEmpty();
411 }
412 inline const std::string& WebRequest::operation() const {
413  // @@protoc_insertion_point(field_get:ignition.msgs.WebRequest.operation)
414  return _internal_operation();
415 }
416 template <typename ArgT0, typename... ArgT>
417 inline PROTOBUF_ALWAYS_INLINE
418 void WebRequest::set_operation(ArgT0&& arg0, ArgT... args) {
419 
420  operation_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
421  // @@protoc_insertion_point(field_set:ignition.msgs.WebRequest.operation)
422 }
424  std::string* _s = _internal_mutable_operation();
425  // @@protoc_insertion_point(field_mutable:ignition.msgs.WebRequest.operation)
426  return _s;
427 }
428 inline const std::string& WebRequest::_internal_operation() const {
429  return operation_.Get();
430 }
431 inline void WebRequest::_internal_set_operation(const std::string& value) {
432 
433  operation_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
434 }
435 inline std::string* WebRequest::_internal_mutable_operation() {
436 
437  return operation_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
438 }
440  // @@protoc_insertion_point(field_release:ignition.msgs.WebRequest.operation)
441  return operation_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
442 }
444  if (operation != nullptr) {
445 
446  } else {
447 
448  }
449  operation_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), operation,
450  GetArenaForAllocation());
451 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
452  if (operation_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
453  operation_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
454  }
455 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
456  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.WebRequest.operation)
457 }
458 
459 // string topic = 3;
460 inline void WebRequest::clear_topic() {
461  topic_.ClearToEmpty();
462 }
463 inline const std::string& WebRequest::topic() const {
464  // @@protoc_insertion_point(field_get:ignition.msgs.WebRequest.topic)
465  return _internal_topic();
466 }
467 template <typename ArgT0, typename... ArgT>
468 inline PROTOBUF_ALWAYS_INLINE
469 void WebRequest::set_topic(ArgT0&& arg0, ArgT... args) {
470 
471  topic_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
472  // @@protoc_insertion_point(field_set:ignition.msgs.WebRequest.topic)
473 }
475  std::string* _s = _internal_mutable_topic();
476  // @@protoc_insertion_point(field_mutable:ignition.msgs.WebRequest.topic)
477  return _s;
478 }
479 inline const std::string& WebRequest::_internal_topic() const {
480  return topic_.Get();
481 }
482 inline void WebRequest::_internal_set_topic(const std::string& value) {
483 
484  topic_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
485 }
486 inline std::string* WebRequest::_internal_mutable_topic() {
487 
488  return topic_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
489 }
491  // @@protoc_insertion_point(field_release:ignition.msgs.WebRequest.topic)
492  return topic_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
493 }
495  if (topic != nullptr) {
496 
497  } else {
498 
499  }
500  topic_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), topic,
501  GetArenaForAllocation());
502 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
503  if (topic_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
504  topic_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
505  }
506 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
507  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.WebRequest.topic)
508 }
509 
510 // string msg_type = 4;
512  msg_type_.ClearToEmpty();
513 }
514 inline const std::string& WebRequest::msg_type() const {
515  // @@protoc_insertion_point(field_get:ignition.msgs.WebRequest.msg_type)
516  return _internal_msg_type();
517 }
518 template <typename ArgT0, typename... ArgT>
519 inline PROTOBUF_ALWAYS_INLINE
520 void WebRequest::set_msg_type(ArgT0&& arg0, ArgT... args) {
521 
522  msg_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
523  // @@protoc_insertion_point(field_set:ignition.msgs.WebRequest.msg_type)
524 }
526  std::string* _s = _internal_mutable_msg_type();
527  // @@protoc_insertion_point(field_mutable:ignition.msgs.WebRequest.msg_type)
528  return _s;
529 }
530 inline const std::string& WebRequest::_internal_msg_type() const {
531  return msg_type_.Get();
532 }
533 inline void WebRequest::_internal_set_msg_type(const std::string& value) {
534 
535  msg_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
536 }
537 inline std::string* WebRequest::_internal_mutable_msg_type() {
538 
539  return msg_type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
540 }
542  // @@protoc_insertion_point(field_release:ignition.msgs.WebRequest.msg_type)
543  return msg_type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
544 }
546  if (msg_type != nullptr) {
547 
548  } else {
549 
550  }
551  msg_type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), msg_type,
552  GetArenaForAllocation());
553 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
554  if (msg_type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
555  msg_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
556  }
557 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
558  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.WebRequest.msg_type)
559 }
560 
561 // string compression = 5;
563  compression_.ClearToEmpty();
564 }
565 inline const std::string& WebRequest::compression() const {
566  // @@protoc_insertion_point(field_get:ignition.msgs.WebRequest.compression)
567  return _internal_compression();
568 }
569 template <typename ArgT0, typename... ArgT>
570 inline PROTOBUF_ALWAYS_INLINE
571 void WebRequest::set_compression(ArgT0&& arg0, ArgT... args) {
572 
573  compression_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
574  // @@protoc_insertion_point(field_set:ignition.msgs.WebRequest.compression)
575 }
577  std::string* _s = _internal_mutable_compression();
578  // @@protoc_insertion_point(field_mutable:ignition.msgs.WebRequest.compression)
579  return _s;
580 }
581 inline const std::string& WebRequest::_internal_compression() const {
582  return compression_.Get();
583 }
584 inline void WebRequest::_internal_set_compression(const std::string& value) {
585 
586  compression_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
587 }
588 inline std::string* WebRequest::_internal_mutable_compression() {
589 
590  return compression_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
591 }
593  // @@protoc_insertion_point(field_release:ignition.msgs.WebRequest.compression)
594  return compression_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
595 }
597  if (compression != nullptr) {
598 
599  } else {
600 
601  }
602  compression_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), compression,
603  GetArenaForAllocation());
604 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
605  if (compression_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
606  compression_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
607  }
608 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
609  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.WebRequest.compression)
610 }
611 
612 // double hz = 6;
613 inline void WebRequest::clear_hz() {
614  hz_ = 0;
615 }
616 inline double WebRequest::_internal_hz() const {
617  return hz_;
618 }
619 inline double WebRequest::hz() const {
620  // @@protoc_insertion_point(field_get:ignition.msgs.WebRequest.hz)
621  return _internal_hz();
622 }
623 inline void WebRequest::_internal_set_hz(double value) {
624 
625  hz_ = value;
626 }
627 inline void WebRequest::set_hz(double value) {
628  _internal_set_hz(value);
629  // @@protoc_insertion_point(field_set:ignition.msgs.WebRequest.hz)
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_2fweb_5frequest_2eproto
Definition: header.pb.h:265
Definition: web_request.pb.h:84
void clear_hz()
Definition: web_request.pb.h:613
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: web_request.pb.h:120
const std::string & compression() const
Definition: web_request.pb.h:565
bool has_header() const
Definition: web_request.pb.h:326
::ignition::msgs::Header * mutable_header()
Definition: web_request.pb.h:381
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
WebRequest * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: web_request.pb.h:157
void set_topic(ArgT0 &&arg0, ArgT... args)
void CopyFrom(const WebRequest &from)
std::string * mutable_msg_type()
Definition: web_request.pb.h:525
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: web_request.pb.h:114
WebRequest(WebRequest &&from) noexcept
Definition: web_request.pb.h:91
void set_operation(ArgT0 &&arg0, ArgT... args)
void MergeFrom(const WebRequest &from)
void set_allocated_msg_type(std::string *msg_type)
Definition: web_request.pb.h:545
void UnsafeArenaSwap(WebRequest *other)
Definition: web_request.pb.h:149
const std::string & topic() const
Definition: web_request.pb.h:463
std::string * mutable_topic()
Definition: web_request.pb.h:474
std::string * mutable_compression()
Definition: web_request.pb.h:576
constexpr WebRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void set_allocated_operation(std::string *operation)
Definition: web_request.pb.h:443
WebRequest & operator=(WebRequest &&from) noexcept
Definition: web_request.pb.h:100
PROTOBUF_NODISCARD std::string * release_compression()
Definition: web_request.pb.h:592
friend void swap(WebRequest &a, WebRequest &b)
Definition: web_request.pb.h:133
const std::string & msg_type() const
Definition: web_request.pb.h:514
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: web_request.pb.h:338
void set_allocated_compression(std::string *compression)
Definition: web_request.pb.h:596
static const WebRequest & default_instance()
Definition: web_request.pb.h:123
void set_allocated_topic(std::string *topic)
Definition: web_request.pb.h:494
PROTOBUF_NODISCARD std::string * release_msg_type()
Definition: web_request.pb.h:541
WebRequest(const WebRequest &from)
PROTOBUF_NODISCARD std::string * release_topic()
Definition: web_request.pb.h:490
void set_compression(ArgT0 &&arg0, ArgT... args)
void set_allocated_header(::ignition::msgs::Header *header)
Definition: web_request.pb.h:386
void Swap(WebRequest *other)
Definition: web_request.pb.h:136
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: web_request.pb.h:351
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void clear_operation()
Definition: web_request.pb.h:409
std::string * mutable_operation()
Definition: web_request.pb.h:423
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: web_request.pb.h:117
void clear_msg_type()
Definition: web_request.pb.h:511
void clear_topic()
Definition: web_request.pb.h:460
const ::ignition::msgs::Header & header() const
Definition: web_request.pb.h:334
void clear_compression()
Definition: web_request.pb.h:562
static const ClassData _class_data_
Definition: web_request.pb.h:195
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: web_request.pb.h:366
PROTOBUF_NODISCARD std::string * release_operation()
Definition: web_request.pb.h:439
WebRequest()
Definition: web_request.pb.h:86
double hz() const
Definition: web_request.pb.h:619
WebRequest(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const WebRequest * internal_default_instance()
Definition: web_request.pb.h:126
void set_hz(double value)
Definition: web_request.pb.h:627
const std::string & operation() const
Definition: web_request.pb.h:412
void set_msg_type(ArgT0 &&arg0, ArgT... args)
WebRequest & operator=(const WebRequest &from)
Definition: web_request.pb.h:96
std::unique_ptr< const WebRequest > ConstWebRequestUniquePtr
Definition: web_request.pb.h:637
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< const WebRequest > ConstWebRequestSharedPtr
Definition: web_request.pb.h:639
IGNITION_MSGS_VISIBLE WebRequestDefaultTypeInternal _WebRequest_default_instance_
std::shared_ptr< WebRequest > WebRequestSharedPtr
Definition: web_request.pb.h:638
std::unique_ptr< WebRequest > WebRequestUniquePtr
Definition: web_request.pb.h:636
Definition: actor.pb.h:52
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)
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fweb_5frequest_2eproto