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 < 3014000
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 3014000 < 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 ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
66 };
67 extern IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fweb_5frequest_2eproto;
68 namespace ignition {
69 namespace msgs {
70 class WebRequest;
71 class 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 PROTOBUF_FINAL :
84  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.WebRequest) */ {
85  public:
86  inline WebRequest() : WebRequest(nullptr) {}
87  virtual ~WebRequest();
88 
89  WebRequest(const WebRequest& from);
90  WebRequest(WebRequest&& from) noexcept
91  : WebRequest() {
92  *this = ::std::move(from);
93  }
94 
95  inline WebRequest& operator=(const WebRequest& from) {
96  CopyFrom(from);
97  return *this;
98  }
99  inline WebRequest& operator=(WebRequest&& from) noexcept {
100  if (GetArena() == from.GetArena()) {
101  if (this != &from) InternalSwap(&from);
102  } else {
103  CopyFrom(from);
104  }
105  return *this;
106  }
107 
108  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
109  return GetDescriptor();
110  }
111  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
112  return GetMetadataStatic().descriptor;
113  }
114  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
115  return GetMetadataStatic().reflection;
116  }
117  static const WebRequest& default_instance();
118 
119  static inline const WebRequest* internal_default_instance() {
120  return reinterpret_cast<const WebRequest*>(
122  }
123  static constexpr int kIndexInFileMessages =
124  0;
125 
126  friend void swap(WebRequest& a, WebRequest& b) {
127  a.Swap(&b);
128  }
129  inline void Swap(WebRequest* other) {
130  if (other == this) return;
131  if (GetArena() == other->GetArena()) {
132  InternalSwap(other);
133  } else {
134  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
135  }
136  }
137  void UnsafeArenaSwap(WebRequest* other) {
138  if (other == this) return;
139  GOOGLE_DCHECK(GetArena() == other->GetArena());
140  InternalSwap(other);
141  }
142 
143  // implements Message ----------------------------------------------
144 
145  inline WebRequest* New() const final {
146  return CreateMaybeMessage<WebRequest>(nullptr);
147  }
148 
149  WebRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
150  return CreateMaybeMessage<WebRequest>(arena);
151  }
152  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
153  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
154  void CopyFrom(const WebRequest& from);
155  void MergeFrom(const WebRequest& from);
156  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
157  bool IsInitialized() const final;
158 
159  size_t ByteSizeLong() const final;
160  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
161  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
162  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
163  int GetCachedSize() const final { return _cached_size_.Get(); }
164 
165  private:
166  inline void SharedCtor();
167  inline void SharedDtor();
168  void SetCachedSize(int size) const final;
169  void InternalSwap(WebRequest* other);
170  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
171  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
172  return "ignition.msgs.WebRequest";
173  }
174  protected:
175  explicit WebRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena);
176  private:
177  static void ArenaDtor(void* object);
178  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
179  public:
180 
181  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
182  private:
183  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
184  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2fweb_5frequest_2eproto);
185  return ::descriptor_table_ignition_2fmsgs_2fweb_5frequest_2eproto.file_level_metadata[kIndexInFileMessages];
186  }
187 
188  public:
189 
190  // nested types ----------------------------------------------------
191 
192  // accessors -------------------------------------------------------
193 
194  enum : int {
195  kOperationFieldNumber = 2,
196  kTopicFieldNumber = 3,
197  kMsgTypeFieldNumber = 4,
198  kCompressionFieldNumber = 5,
199  kHeaderFieldNumber = 1,
200  kHzFieldNumber = 6,
201  };
202  // string operation = 2;
204  const std::string& operation() const;
205  void set_operation(const std::string& value);
206  void set_operation(std::string&& value);
207  void set_operation(const char* value);
208  void set_operation(const char* value, size_t size);
212  private:
213  const std::string& _internal_operation() const;
214  void _internal_set_operation(const std::string& value);
215  std::string* _internal_mutable_operation();
216  public:
217 
218  // string topic = 3;
219  void clear_topic();
220  const std::string& topic() const;
221  void set_topic(const std::string& value);
222  void set_topic(std::string&& value);
223  void set_topic(const char* value);
224  void set_topic(const char* value, size_t size);
228  private:
229  const std::string& _internal_topic() const;
230  void _internal_set_topic(const std::string& value);
231  std::string* _internal_mutable_topic();
232  public:
233 
234  // string msg_type = 4;
236  const std::string& msg_type() const;
237  void set_msg_type(const std::string& value);
238  void set_msg_type(std::string&& value);
239  void set_msg_type(const char* value);
240  void set_msg_type(const char* value, size_t size);
244  private:
245  const std::string& _internal_msg_type() const;
246  void _internal_set_msg_type(const std::string& value);
247  std::string* _internal_mutable_msg_type();
248  public:
249 
250  // string compression = 5;
252  const std::string& compression() const;
253  void set_compression(const std::string& value);
255  void set_compression(const char* value);
256  void set_compression(const char* value, size_t size);
260  private:
261  const std::string& _internal_compression() const;
262  void _internal_set_compression(const std::string& value);
263  std::string* _internal_mutable_compression();
264  public:
265 
266  // .ignition.msgs.Header header = 1;
267  bool has_header() const;
268  private:
269  bool _internal_has_header() const;
270  public:
271  void clear_header();
272  const ::ignition::msgs::Header& header() const;
273  ::ignition::msgs::Header* release_header();
274  ::ignition::msgs::Header* mutable_header();
275  void set_allocated_header(::ignition::msgs::Header* header);
276  private:
277  const ::ignition::msgs::Header& _internal_header() const;
278  ::ignition::msgs::Header* _internal_mutable_header();
279  public:
281  ::ignition::msgs::Header* header);
282  ::ignition::msgs::Header* unsafe_arena_release_header();
283 
284  // double hz = 6;
285  void clear_hz();
286  double hz() const;
287  void set_hz(double value);
288  private:
289  double _internal_hz() const;
290  void _internal_set_hz(double value);
291  public:
292 
293  // @@protoc_insertion_point(class_scope:ignition.msgs.WebRequest)
294  private:
295  class _Internal;
296 
297  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
298  typedef void InternalArenaConstructable_;
299  typedef void DestructorSkippable_;
300  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr operation_;
301  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr topic_;
302  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr msg_type_;
303  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr compression_;
304  ::ignition::msgs::Header* header_;
305  double hz_;
306  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
307  friend struct ::TableStruct_ignition_2fmsgs_2fweb_5frequest_2eproto;
308 };
309 // ===================================================================
310 
311 
312 // ===================================================================
313 
314 #ifdef __GNUC__
315  #pragma GCC diagnostic push
316  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
317 #endif // __GNUC__
318 // WebRequest
319 
320 // .ignition.msgs.Header header = 1;
321 inline bool WebRequest::_internal_has_header() const {
322  return this != internal_default_instance() && header_ != nullptr;
323 }
324 inline bool WebRequest::has_header() const {
325  return _internal_has_header();
326 }
327 inline const ::ignition::msgs::Header& WebRequest::_internal_header() const {
328  const ::ignition::msgs::Header* p = header_;
329  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Header&>(
331 }
332 inline const ::ignition::msgs::Header& WebRequest::header() const {
333  // @@protoc_insertion_point(field_get:ignition.msgs.WebRequest.header)
334  return _internal_header();
335 }
336 inline void WebRequest::unsafe_arena_set_allocated_header(
337  ::ignition::msgs::Header* header) {
338  if (GetArena() == nullptr) {
339  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
340  }
341  header_ = header;
342  if (header) {
343 
344  } else {
345 
346  }
347  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.WebRequest.header)
348 }
349 inline ::ignition::msgs::Header* WebRequest::release_header() {
350 
351  ::ignition::msgs::Header* temp = header_;
352  header_ = nullptr;
353  if (GetArena() != nullptr) {
354  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
355  }
356  return temp;
357 }
358 inline ::ignition::msgs::Header* WebRequest::unsafe_arena_release_header() {
359  // @@protoc_insertion_point(field_release:ignition.msgs.WebRequest.header)
360 
361  ::ignition::msgs::Header* temp = header_;
362  header_ = nullptr;
363  return temp;
364 }
365 inline ::ignition::msgs::Header* WebRequest::_internal_mutable_header() {
366 
367  if (header_ == nullptr) {
368  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
369  header_ = p;
370  }
371  return header_;
372 }
373 inline ::ignition::msgs::Header* WebRequest::mutable_header() {
374  // @@protoc_insertion_point(field_mutable:ignition.msgs.WebRequest.header)
375  return _internal_mutable_header();
376 }
377 inline void WebRequest::set_allocated_header(::ignition::msgs::Header* header) {
378  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
379  if (message_arena == nullptr) {
380  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
381  }
382  if (header) {
383  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
384  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header)->GetArena();
385  if (message_arena != submessage_arena) {
386  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
387  message_arena, header, submessage_arena);
388  }
389 
390  } else {
391 
392  }
393  header_ = header;
394  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.WebRequest.header)
395 }
396 
397 // string operation = 2;
398 inline void WebRequest::clear_operation() {
399  operation_.ClearToEmpty();
400 }
401 inline const std::string& WebRequest::operation() const {
402  // @@protoc_insertion_point(field_get:ignition.msgs.WebRequest.operation)
403  return _internal_operation();
404 }
405 inline void WebRequest::set_operation(const std::string& value) {
406  _internal_set_operation(value);
407  // @@protoc_insertion_point(field_set:ignition.msgs.WebRequest.operation)
408 }
409 inline std::string* WebRequest::mutable_operation() {
410  // @@protoc_insertion_point(field_mutable:ignition.msgs.WebRequest.operation)
411  return _internal_mutable_operation();
412 }
413 inline const std::string& WebRequest::_internal_operation() const {
414  return operation_.Get();
415 }
416 inline void WebRequest::_internal_set_operation(const std::string& value) {
417 
418  operation_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
419 }
420 inline void WebRequest::set_operation(std::string&& value) {
421 
422  operation_.Set(
423  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
424  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.WebRequest.operation)
425 }
426 inline void WebRequest::set_operation(const char* value) {
427  GOOGLE_DCHECK(value != nullptr);
428 
429  operation_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
430  // @@protoc_insertion_point(field_set_char:ignition.msgs.WebRequest.operation)
431 }
432 inline void WebRequest::set_operation(const char* value,
433  size_t size) {
434 
435  operation_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
436  reinterpret_cast<const char*>(value), size), GetArena());
437  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.WebRequest.operation)
438 }
439 inline std::string* WebRequest::_internal_mutable_operation() {
440 
441  return operation_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
442 }
443 inline std::string* WebRequest::release_operation() {
444  // @@protoc_insertion_point(field_release:ignition.msgs.WebRequest.operation)
445  return operation_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
446 }
447 inline void WebRequest::set_allocated_operation(std::string* operation) {
448  if (operation != nullptr) {
449 
450  } else {
451 
452  }
453  operation_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), operation,
454  GetArena());
455  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.WebRequest.operation)
456 }
457 
458 // string topic = 3;
459 inline void WebRequest::clear_topic() {
460  topic_.ClearToEmpty();
461 }
462 inline const std::string& WebRequest::topic() const {
463  // @@protoc_insertion_point(field_get:ignition.msgs.WebRequest.topic)
464  return _internal_topic();
465 }
466 inline void WebRequest::set_topic(const std::string& value) {
467  _internal_set_topic(value);
468  // @@protoc_insertion_point(field_set:ignition.msgs.WebRequest.topic)
469 }
470 inline std::string* WebRequest::mutable_topic() {
471  // @@protoc_insertion_point(field_mutable:ignition.msgs.WebRequest.topic)
472  return _internal_mutable_topic();
473 }
474 inline const std::string& WebRequest::_internal_topic() const {
475  return topic_.Get();
476 }
477 inline void WebRequest::_internal_set_topic(const std::string& value) {
478 
479  topic_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
480 }
481 inline void WebRequest::set_topic(std::string&& value) {
482 
483  topic_.Set(
484  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
485  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.WebRequest.topic)
486 }
487 inline void WebRequest::set_topic(const char* value) {
488  GOOGLE_DCHECK(value != nullptr);
489 
490  topic_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
491  // @@protoc_insertion_point(field_set_char:ignition.msgs.WebRequest.topic)
492 }
493 inline void WebRequest::set_topic(const char* value,
494  size_t size) {
495 
496  topic_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
497  reinterpret_cast<const char*>(value), size), GetArena());
498  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.WebRequest.topic)
499 }
500 inline std::string* WebRequest::_internal_mutable_topic() {
501 
502  return topic_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
503 }
504 inline std::string* WebRequest::release_topic() {
505  // @@protoc_insertion_point(field_release:ignition.msgs.WebRequest.topic)
506  return topic_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
507 }
508 inline void WebRequest::set_allocated_topic(std::string* topic) {
509  if (topic != nullptr) {
510 
511  } else {
512 
513  }
514  topic_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), topic,
515  GetArena());
516  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.WebRequest.topic)
517 }
518 
519 // string msg_type = 4;
520 inline void WebRequest::clear_msg_type() {
521  msg_type_.ClearToEmpty();
522 }
523 inline const std::string& WebRequest::msg_type() const {
524  // @@protoc_insertion_point(field_get:ignition.msgs.WebRequest.msg_type)
525  return _internal_msg_type();
526 }
527 inline void WebRequest::set_msg_type(const std::string& value) {
528  _internal_set_msg_type(value);
529  // @@protoc_insertion_point(field_set:ignition.msgs.WebRequest.msg_type)
530 }
531 inline std::string* WebRequest::mutable_msg_type() {
532  // @@protoc_insertion_point(field_mutable:ignition.msgs.WebRequest.msg_type)
533  return _internal_mutable_msg_type();
534 }
535 inline const std::string& WebRequest::_internal_msg_type() const {
536  return msg_type_.Get();
537 }
538 inline void WebRequest::_internal_set_msg_type(const std::string& value) {
539 
540  msg_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
541 }
542 inline void WebRequest::set_msg_type(std::string&& value) {
543 
544  msg_type_.Set(
545  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
546  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.WebRequest.msg_type)
547 }
548 inline void WebRequest::set_msg_type(const char* value) {
549  GOOGLE_DCHECK(value != nullptr);
550 
551  msg_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
552  // @@protoc_insertion_point(field_set_char:ignition.msgs.WebRequest.msg_type)
553 }
554 inline void WebRequest::set_msg_type(const char* value,
555  size_t size) {
556 
557  msg_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
558  reinterpret_cast<const char*>(value), size), GetArena());
559  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.WebRequest.msg_type)
560 }
561 inline std::string* WebRequest::_internal_mutable_msg_type() {
562 
563  return msg_type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
564 }
565 inline std::string* WebRequest::release_msg_type() {
566  // @@protoc_insertion_point(field_release:ignition.msgs.WebRequest.msg_type)
567  return msg_type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
568 }
569 inline void WebRequest::set_allocated_msg_type(std::string* msg_type) {
570  if (msg_type != nullptr) {
571 
572  } else {
573 
574  }
575  msg_type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), msg_type,
576  GetArena());
577  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.WebRequest.msg_type)
578 }
579 
580 // string compression = 5;
581 inline void WebRequest::clear_compression() {
582  compression_.ClearToEmpty();
583 }
584 inline const std::string& WebRequest::compression() const {
585  // @@protoc_insertion_point(field_get:ignition.msgs.WebRequest.compression)
586  return _internal_compression();
587 }
588 inline void WebRequest::set_compression(const std::string& value) {
589  _internal_set_compression(value);
590  // @@protoc_insertion_point(field_set:ignition.msgs.WebRequest.compression)
591 }
592 inline std::string* WebRequest::mutable_compression() {
593  // @@protoc_insertion_point(field_mutable:ignition.msgs.WebRequest.compression)
594  return _internal_mutable_compression();
595 }
596 inline const std::string& WebRequest::_internal_compression() const {
597  return compression_.Get();
598 }
599 inline void WebRequest::_internal_set_compression(const std::string& value) {
600 
601  compression_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
602 }
603 inline void WebRequest::set_compression(std::string&& value) {
604 
605  compression_.Set(
606  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
607  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.WebRequest.compression)
608 }
609 inline void WebRequest::set_compression(const char* value) {
610  GOOGLE_DCHECK(value != nullptr);
611 
612  compression_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
613  // @@protoc_insertion_point(field_set_char:ignition.msgs.WebRequest.compression)
614 }
615 inline void WebRequest::set_compression(const char* value,
616  size_t size) {
617 
618  compression_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
619  reinterpret_cast<const char*>(value), size), GetArena());
620  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.WebRequest.compression)
621 }
622 inline std::string* WebRequest::_internal_mutable_compression() {
623 
624  return compression_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
625 }
626 inline std::string* WebRequest::release_compression() {
627  // @@protoc_insertion_point(field_release:ignition.msgs.WebRequest.compression)
628  return compression_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
629 }
630 inline void WebRequest::set_allocated_compression(std::string* compression) {
631  if (compression != nullptr) {
632 
633  } else {
634 
635  }
636  compression_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), compression,
637  GetArena());
638  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.WebRequest.compression)
639 }
640 
641 // double hz = 6;
642 inline void WebRequest::clear_hz() {
643  hz_ = 0;
644 }
645 inline double WebRequest::_internal_hz() const {
646  return hz_;
647 }
648 inline double WebRequest::hz() const {
649  // @@protoc_insertion_point(field_get:ignition.msgs.WebRequest.hz)
650  return _internal_hz();
651 }
652 inline void WebRequest::_internal_set_hz(double value) {
653 
654  hz_ = value;
655 }
656 inline void WebRequest::set_hz(double value) {
657  _internal_set_hz(value);
658  // @@protoc_insertion_point(field_set:ignition.msgs.WebRequest.hz)
659 }
660 
661 #ifdef __GNUC__
662  #pragma GCC diagnostic pop
663 #endif // __GNUC__
664 
669 // @@protoc_insertion_point(namespace_scope)
670 
671 } // namespace msgs
672 } // namespace ignition
673 
674 #ifdef _MSC_VER
675 #pragma warning(pop)
676 #endif
677 // @@protoc_insertion_point(global_scope)
678 
679 #include <google/protobuf/port_undef.inc>
680 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fweb_5frequest_2eproto
void set_compression(const char *value, size_t size)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: web_request.pb.h:114
std::string * release_compression()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::ignition::msgs::Header * release_header()
void CopyFrom(const WebRequest &from)
std::string * release_operation()
void set_compression(const char *value)
::ignition::msgs::Header * mutable_header()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: web_request.pb.h:108
void set_compression(std::string &&value)
WebRequest(WebRequest &&from) noexcept
Definition: web_request.pb.h:90
const std::string & topic() const
void MergeFrom(const WebRequest &from)
void set_allocated_msg_type(std::string *msg_type)
void UnsafeArenaSwap(WebRequest *other)
Definition: web_request.pb.h:137
void set_topic(const std::string &value)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
std::string * mutable_operation()
void set_operation(std::string &&value)
void set_allocated_operation(std::string *operation)
WebRequest & operator=(WebRequest &&from) noexcept
Definition: web_request.pb.h:99
friend void swap(WebRequest &a, WebRequest &b)
Definition: web_request.pb.h:126
void set_operation(const std::string &value)
std::string * mutable_compression()
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
void set_allocated_compression(std::string *compression)
static const WebRequest & default_instance()
void set_msg_type(std::string &&value)
void set_allocated_topic(std::string *topic)
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void set_topic(const char *value, size_t size)
void set_topic(std::string &&value)
std::string * release_msg_type()
WebRequest(const WebRequest &from)
const std::string & msg_type() const
void set_msg_type(const char *value, size_t size)
void set_allocated_header(::ignition::msgs::Header *header)
void set_operation(const char *value)
void Swap(WebRequest *other)
Definition: web_request.pb.h:129
WebRequest * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: web_request.pb.h:149
WebRequest * New() const final
Definition: web_request.pb.h:145
std::string * mutable_msg_type()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void set_compression(const std::string &value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: web_request.pb.h:111
void set_topic(const char *value)
WebRequest(::PROTOBUF_NAMESPACE_ID::Arena *arena)
const std::string & compression() const
WebRequest()
Definition: web_request.pb.h:86
const std::string & operation() const
static const WebRequest * internal_default_instance()
Definition: web_request.pb.h:119
void set_msg_type(const char *value)
void set_msg_type(const std::string &value)
const ::ignition::msgs::Header & header() const
void set_operation(const char *value, size_t size)
WebRequest & operator=(const WebRequest &from)
Definition: web_request.pb.h:95
std::unique_ptr< const WebRequest > ConstWebRequestUniquePtr
Definition: web_request.pb.h:666
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< const WebRequest > ConstWebRequestSharedPtr
Definition: web_request.pb.h:668
IGNITION_MSGS_VISIBLE WebRequestDefaultTypeInternal _WebRequest_default_instance_
std::shared_ptr< WebRequest > WebRequestSharedPtr
Definition: web_request.pb.h:667
std::unique_ptr< WebRequest > WebRequestUniquePtr
Definition: web_request.pb.h:665
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