Gazebo Msgs

API Reference

8.7.0
build/ignition-msgs8/include/ignition/msgs/request.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/request.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2frequest_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2frequest_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
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 3006001 < 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>
34 #ifndef _MSC_VER
35 #pragma GCC system_header
36 #else
37 #pragma warning(push)
38 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
39 #endif
40 #ifdef __linux__
41 #include <sys/sysmacros.h>
42 #endif
43 #include <memory>
44 #include <ignition/msgs/Export.hh>
45 // @@protoc_insertion_point(includes)
46 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2frequest_2eproto IGNITION_MSGS_VISIBLE
47 
49 // Internal implementation detail -- do not use these members.
50 struct IGNITION_MSGS_VISIBLE TableStruct {
51  static const ::google::protobuf::internal::ParseTableField entries[];
52  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
53  static const ::google::protobuf::internal::ParseTable schema[1];
54  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
55  static const ::google::protobuf::internal::SerializationTable serialization_table[];
56  static const ::google::protobuf::uint32 offsets[];
57 };
58 void IGNITION_MSGS_VISIBLE AddDescriptors();
59 } // namespace protobuf_ignition_2fmsgs_2frequest_2eproto
60 namespace ignition {
61 namespace msgs {
62 class Request;
63 class RequestDefaultTypeInternal;
64 IGNITION_MSGS_VISIBLE extern RequestDefaultTypeInternal _Request_default_instance_;
65 } // namespace msgs
66 } // namespace ignition
67 namespace google {
68 namespace protobuf {
69 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Request* Arena::CreateMaybeMessage<::ignition::msgs::Request>(Arena*);
70 } // namespace protobuf
71 } // namespace google
72 namespace ignition {
73 namespace msgs {
74 
75 // ===================================================================
76 
77 class IGNITION_MSGS_VISIBLE Request : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Request) */ {
78  public:
79  Request();
80  virtual ~Request();
81 
82  Request(const Request& from);
83 
84  inline Request& operator=(const Request& from) {
85  CopyFrom(from);
86  return *this;
87  }
88  #if LANG_CXX11
89  Request(Request&& from) noexcept
90  : Request() {
91  *this = ::std::move(from);
92  }
93 
94  inline Request& operator=(Request&& from) noexcept {
95  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
96  if (this != &from) InternalSwap(&from);
97  } else {
98  CopyFrom(from);
99  }
100  return *this;
101  }
102  #endif
103  static const ::google::protobuf::Descriptor* descriptor();
104  static const Request& default_instance();
105 
106  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
107  static inline const Request* internal_default_instance() {
108  return reinterpret_cast<const Request*>(
110  }
111  static constexpr int kIndexInFileMessages =
112  0;
113 
114  void Swap(Request* other);
115  friend void swap(Request& a, Request& b) {
116  a.Swap(&b);
117  }
118 
119  // implements Message ----------------------------------------------
120 
121  inline Request* New() const final {
122  return CreateMaybeMessage<Request>(NULL);
123  }
124 
125  Request* New(::google::protobuf::Arena* arena) const final {
126  return CreateMaybeMessage<Request>(arena);
127  }
128  void CopyFrom(const ::google::protobuf::Message& from) final;
129  void MergeFrom(const ::google::protobuf::Message& from) final;
130  void CopyFrom(const Request& from);
131  void MergeFrom(const Request& from);
132  void Clear() final;
133  bool IsInitialized() const final;
134 
135  size_t ByteSizeLong() const final;
136  bool MergePartialFromCodedStream(
137  ::google::protobuf::io::CodedInputStream* input) final;
138  void SerializeWithCachedSizes(
139  ::google::protobuf::io::CodedOutputStream* output) const final;
140  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
141  bool deterministic, ::google::protobuf::uint8* target) const final;
142  int GetCachedSize() const final { return _cached_size_.Get(); }
143 
144  private:
145  void SharedCtor();
146  void SharedDtor();
147  void SetCachedSize(int size) const final;
148  void InternalSwap(Request* other);
149  private:
150  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
151  return NULL;
152  }
153  inline void* MaybeArenaPtr() const {
154  return NULL;
155  }
156  public:
157 
158  ::google::protobuf::Metadata GetMetadata() const final;
159 
160  // nested types ----------------------------------------------------
161 
162  // accessors -------------------------------------------------------
163 
164  // string request = 3;
165  void clear_request();
166  static const int kRequestFieldNumber = 3;
167  const ::std::string& request() const;
168  void set_request(const ::std::string& value);
169  #if LANG_CXX11
170  void set_request(::std::string&& value);
171  #endif
172  void set_request(const char* value);
173  void set_request(const char* value, size_t size);
174  ::std::string* mutable_request();
175  ::std::string* release_request();
176  void set_allocated_request(::std::string* request);
177 
178  // string data = 4;
179  void clear_data();
180  static const int kDataFieldNumber = 4;
181  const ::std::string& data() const;
182  void set_data(const ::std::string& value);
183  #if LANG_CXX11
184  void set_data(::std::string&& value);
185  #endif
186  void set_data(const char* value);
187  void set_data(const char* value, size_t size);
188  ::std::string* mutable_data();
189  ::std::string* release_data();
190  void set_allocated_data(::std::string* data);
191 
192  // .ignition.msgs.Header header = 1;
193  bool has_header() const;
194  void clear_header();
195  static const int kHeaderFieldNumber = 1;
196  private:
197  const ::ignition::msgs::Header& _internal_header() const;
198  public:
199  const ::ignition::msgs::Header& header() const;
200  ::ignition::msgs::Header* release_header();
201  ::ignition::msgs::Header* mutable_header();
202  void set_allocated_header(::ignition::msgs::Header* header);
203 
204  // double dbl_data = 5;
205  void clear_dbl_data();
206  static const int kDblDataFieldNumber = 5;
207  double dbl_data() const;
208  void set_dbl_data(double value);
209 
210  // int32 id = 2;
211  void clear_id();
212  static const int kIdFieldNumber = 2;
213  ::google::protobuf::int32 id() const;
214  void set_id(::google::protobuf::int32 value);
215 
216  // @@protoc_insertion_point(class_scope:ignition.msgs.Request)
217  private:
218 
219  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
220  ::google::protobuf::internal::ArenaStringPtr request_;
221  ::google::protobuf::internal::ArenaStringPtr data_;
222  ::ignition::msgs::Header* header_;
223  double dbl_data_;
224  ::google::protobuf::int32 id_;
225  mutable ::google::protobuf::internal::CachedSize _cached_size_;
226  friend struct ::protobuf_ignition_2fmsgs_2frequest_2eproto::TableStruct;
227 };
228 // ===================================================================
229 
230 
231 // ===================================================================
232 
233 #ifdef __GNUC__
234  #pragma GCC diagnostic push
235  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
236 #endif // __GNUC__
237 // Request
238 
239 // .ignition.msgs.Header header = 1;
240 inline bool Request::has_header() const {
241  return this != internal_default_instance() && header_ != NULL;
242 }
243 inline const ::ignition::msgs::Header& Request::_internal_header() const {
244  return *header_;
245 }
246 inline const ::ignition::msgs::Header& Request::header() const {
247  const ::ignition::msgs::Header* p = header_;
248  // @@protoc_insertion_point(field_get:ignition.msgs.Request.header)
249  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
251 }
252 inline ::ignition::msgs::Header* Request::release_header() {
253  // @@protoc_insertion_point(field_release:ignition.msgs.Request.header)
254 
255  ::ignition::msgs::Header* temp = header_;
256  header_ = NULL;
257  return temp;
258 }
259 inline ::ignition::msgs::Header* Request::mutable_header() {
260 
261  if (header_ == NULL) {
262  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
263  header_ = p;
264  }
265  // @@protoc_insertion_point(field_mutable:ignition.msgs.Request.header)
266  return header_;
267 }
269  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
270  if (message_arena == NULL) {
271  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
272  }
273  if (header) {
274  ::google::protobuf::Arena* submessage_arena = NULL;
275  if (message_arena != submessage_arena) {
276  header = ::google::protobuf::internal::GetOwnedMessage(
277  message_arena, header, submessage_arena);
278  }
279 
280  } else {
281 
282  }
283  header_ = header;
284  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Request.header)
285 }
286 
287 // int32 id = 2;
288 inline void Request::clear_id() {
289  id_ = 0;
290 }
291 inline ::google::protobuf::int32 Request::id() const {
292  // @@protoc_insertion_point(field_get:ignition.msgs.Request.id)
293  return id_;
294 }
295 inline void Request::set_id(::google::protobuf::int32 value) {
296 
297  id_ = value;
298  // @@protoc_insertion_point(field_set:ignition.msgs.Request.id)
299 }
300 
301 // string request = 3;
302 inline void Request::clear_request() {
303  request_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
304 }
305 inline const ::std::string& Request::request() const {
306  // @@protoc_insertion_point(field_get:ignition.msgs.Request.request)
307  return request_.GetNoArena();
308 }
309 inline void Request::set_request(const ::std::string& value) {
310 
311  request_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
312  // @@protoc_insertion_point(field_set:ignition.msgs.Request.request)
313 }
314 #if LANG_CXX11
315 inline void Request::set_request(::std::string&& value) {
316 
317  request_.SetNoArena(
318  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
319  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Request.request)
320 }
321 #endif
322 inline void Request::set_request(const char* value) {
323  GOOGLE_DCHECK(value != NULL);
324 
325  request_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
326  // @@protoc_insertion_point(field_set_char:ignition.msgs.Request.request)
327 }
328 inline void Request::set_request(const char* value, size_t size) {
329 
330  request_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
331  ::std::string(reinterpret_cast<const char*>(value), size));
332  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Request.request)
333 }
334 inline ::std::string* Request::mutable_request() {
335 
336  // @@protoc_insertion_point(field_mutable:ignition.msgs.Request.request)
337  return request_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
338 }
339 inline ::std::string* Request::release_request() {
340  // @@protoc_insertion_point(field_release:ignition.msgs.Request.request)
341 
342  return request_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
343 }
345  if (request != NULL) {
346 
347  } else {
348 
349  }
350  request_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), request);
351  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Request.request)
352 }
353 
354 // string data = 4;
355 inline void Request::clear_data() {
356  data_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
357 }
358 inline const ::std::string& Request::data() const {
359  // @@protoc_insertion_point(field_get:ignition.msgs.Request.data)
360  return data_.GetNoArena();
361 }
362 inline void Request::set_data(const ::std::string& value) {
363 
364  data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
365  // @@protoc_insertion_point(field_set:ignition.msgs.Request.data)
366 }
367 #if LANG_CXX11
368 inline void Request::set_data(::std::string&& value) {
369 
370  data_.SetNoArena(
371  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
372  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Request.data)
373 }
374 #endif
375 inline void Request::set_data(const char* value) {
376  GOOGLE_DCHECK(value != NULL);
377 
378  data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
379  // @@protoc_insertion_point(field_set_char:ignition.msgs.Request.data)
380 }
381 inline void Request::set_data(const char* value, size_t size) {
382 
383  data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
384  ::std::string(reinterpret_cast<const char*>(value), size));
385  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Request.data)
386 }
387 inline ::std::string* Request::mutable_data() {
388 
389  // @@protoc_insertion_point(field_mutable:ignition.msgs.Request.data)
390  return data_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
391 }
392 inline ::std::string* Request::release_data() {
393  // @@protoc_insertion_point(field_release:ignition.msgs.Request.data)
394 
395  return data_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
396 }
398  if (data != NULL) {
399 
400  } else {
401 
402  }
403  data_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), data);
404  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Request.data)
405 }
406 
407 // double dbl_data = 5;
408 inline void Request::clear_dbl_data() {
409  dbl_data_ = 0;
410 }
411 inline double Request::dbl_data() const {
412  // @@protoc_insertion_point(field_get:ignition.msgs.Request.dbl_data)
413  return dbl_data_;
414 }
415 inline void Request::set_dbl_data(double value) {
416 
417  dbl_data_ = value;
418  // @@protoc_insertion_point(field_set:ignition.msgs.Request.dbl_data)
419 }
420 
421 #ifdef __GNUC__
422  #pragma GCC diagnostic pop
423 #endif // __GNUC__
424 
429 // @@protoc_insertion_point(namespace_scope)
430 
431 } // namespace msgs
432 } // namespace ignition
433 
434 #ifdef _MSC_VER
435 #pragma warning(pop)
436 #endif
437 // @@protoc_insertion_point(global_scope)
438 
439 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2frequest_2eproto
void set_allocated_data(::std::string *data)
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:397
STL class.
void set_data(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:362
STL class.
void clear_dbl_data()
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:408
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:77
::std::string * release_request()
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:339
T move(T... args)
void set_request(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:309
std::unique_ptr< Request > RequestUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:425
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:259
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:252
std::shared_ptr< const Request > ConstRequestSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:428
const ::std::string & data() const
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:358
const ::std::string & request() const
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:305
void clear_id()
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:288
::std::string * release_data()
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:392
void Swap(Request *other)
void clear_data()
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:355
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:50
Request * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:125
::std::string * mutable_data()
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:387
Request * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:121
double dbl_data() const
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:411
IGNITION_MSGS_VISIBLE RequestDefaultTypeInternal _Request_default_instance_
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:48
static const Request * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:107
void IGNITION_MSGS_VISIBLE AddDescriptors()
void set_allocated_request(::std::string *request)
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:344
friend void swap(Request &a, Request &b)
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:115
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
void clear_request()
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:302
std::unique_ptr< const Request > ConstRequestUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:426
STL namespace.
Definition: build/ignition-msgs8/include/ignition/msgs/header.pb.h:215
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:246
void set_dbl_data(double value)
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:415
Request & operator=(const Request &from)
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:84
::google::protobuf::int32 id() const
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:291
::std::string * mutable_request()
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:334
STL class.
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:268
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:78
std::shared_ptr< Request > RequestSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:427
void set_id(::google::protobuf::int32 value)
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:295
bool has_header() const
Definition: build/ignition-msgs8/include/ignition/msgs/request.pb.h:240