Gazebo Msgs

API Reference

8.7.0
build/ignition-msgs8/include/ignition/msgs/param.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/param.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fparam_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fparam_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/map.h> // IWYU pragma: export
33 #include <google/protobuf/map_entry.h>
34 #include <google/protobuf/map_field_inl.h>
35 #include <google/protobuf/unknown_field_set.h>
36 #include "ignition/msgs/any.pb.h"
38 #ifndef _MSC_VER
39 #pragma GCC system_header
40 #else
41 #pragma warning(push)
42 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
43 #endif
44 #ifdef __linux__
45 #include <sys/sysmacros.h>
46 #endif
47 #include <memory>
48 #include <ignition/msgs/Export.hh>
49 // @@protoc_insertion_point(includes)
50 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fparam_2eproto IGNITION_MSGS_VISIBLE
51 
53 // Internal implementation detail -- do not use these members.
54 struct IGNITION_MSGS_VISIBLE TableStruct {
55  static const ::google::protobuf::internal::ParseTableField entries[];
56  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
57  static const ::google::protobuf::internal::ParseTable schema[2];
58  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
59  static const ::google::protobuf::internal::SerializationTable serialization_table[];
60  static const ::google::protobuf::uint32 offsets[];
61 };
62 void IGNITION_MSGS_VISIBLE AddDescriptors();
63 } // namespace protobuf_ignition_2fmsgs_2fparam_2eproto
64 namespace ignition {
65 namespace msgs {
66 class Param;
67 class ParamDefaultTypeInternal;
68 IGNITION_MSGS_VISIBLE extern ParamDefaultTypeInternal _Param_default_instance_;
69 class Param_ParamsEntry_DoNotUse;
70 class Param_ParamsEntry_DoNotUseDefaultTypeInternal;
71 IGNITION_MSGS_VISIBLE extern Param_ParamsEntry_DoNotUseDefaultTypeInternal _Param_ParamsEntry_DoNotUse_default_instance_;
72 } // namespace msgs
73 } // namespace ignition
74 namespace google {
75 namespace protobuf {
76 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Param* Arena::CreateMaybeMessage<::ignition::msgs::Param>(Arena*);
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Param_ParamsEntry_DoNotUse* Arena::CreateMaybeMessage<::ignition::msgs::Param_ParamsEntry_DoNotUse>(Arena*);
78 } // namespace protobuf
79 } // namespace google
80 namespace ignition {
81 namespace msgs {
82 
83 // ===================================================================
84 
85 class Param_ParamsEntry_DoNotUse : public ::google::protobuf::internal::MapEntry<Param_ParamsEntry_DoNotUse,
86  ::std::string, ::ignition::msgs::Any,
87  ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
88  ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
89  0 > {
90 public:
91  typedef ::google::protobuf::internal::MapEntry<Param_ParamsEntry_DoNotUse,
93  ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
94  ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
95  0 > SuperType;
97  Param_ParamsEntry_DoNotUse(::google::protobuf::Arena* arena);
98  void MergeFrom(const Param_ParamsEntry_DoNotUse& other);
100  void MergeFrom(const ::google::protobuf::Message& other) final;
101  ::google::protobuf::Metadata GetMetadata() const;
102 };
103 
104 // -------------------------------------------------------------------
105 
106 class IGNITION_MSGS_VISIBLE Param : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Param) */ {
107  public:
108  Param();
109  virtual ~Param();
110 
111  Param(const Param& from);
112 
113  inline Param& operator=(const Param& from) {
114  CopyFrom(from);
115  return *this;
116  }
117  #if LANG_CXX11
118  Param(Param&& from) noexcept
119  : Param() {
120  *this = ::std::move(from);
121  }
122 
123  inline Param& operator=(Param&& from) noexcept {
124  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
125  if (this != &from) InternalSwap(&from);
126  } else {
127  CopyFrom(from);
128  }
129  return *this;
130  }
131  #endif
132  static const ::google::protobuf::Descriptor* descriptor();
133  static const Param& default_instance();
134 
135  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
136  static inline const Param* internal_default_instance() {
137  return reinterpret_cast<const Param*>(
139  }
140  static constexpr int kIndexInFileMessages =
141  1;
142 
143  void Swap(Param* other);
144  friend void swap(Param& a, Param& b) {
145  a.Swap(&b);
146  }
147 
148  // implements Message ----------------------------------------------
149 
150  inline Param* New() const final {
151  return CreateMaybeMessage<Param>(NULL);
152  }
153 
154  Param* New(::google::protobuf::Arena* arena) const final {
155  return CreateMaybeMessage<Param>(arena);
156  }
157  void CopyFrom(const ::google::protobuf::Message& from) final;
158  void MergeFrom(const ::google::protobuf::Message& from) final;
159  void CopyFrom(const Param& from);
160  void MergeFrom(const Param& from);
161  void Clear() final;
162  bool IsInitialized() const final;
163 
164  size_t ByteSizeLong() const final;
165  bool MergePartialFromCodedStream(
166  ::google::protobuf::io::CodedInputStream* input) final;
167  void SerializeWithCachedSizes(
168  ::google::protobuf::io::CodedOutputStream* output) const final;
169  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
170  bool deterministic, ::google::protobuf::uint8* target) const final;
171  int GetCachedSize() const final { return _cached_size_.Get(); }
172 
173  private:
174  void SharedCtor();
175  void SharedDtor();
176  void SetCachedSize(int size) const final;
177  void InternalSwap(Param* other);
178  private:
179  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
180  return NULL;
181  }
182  inline void* MaybeArenaPtr() const {
183  return NULL;
184  }
185  public:
186 
187  ::google::protobuf::Metadata GetMetadata() const final;
188 
189  // nested types ----------------------------------------------------
190 
191 
192  // accessors -------------------------------------------------------
193 
194  // map<string, .ignition.msgs.Any> params = 2;
195  int params_size() const;
196  void clear_params();
197  static const int kParamsFieldNumber = 2;
198  const ::google::protobuf::Map< ::std::string, ::ignition::msgs::Any >&
199  params() const;
200  ::google::protobuf::Map< ::std::string, ::ignition::msgs::Any >*
201  mutable_params();
202 
203  // repeated .ignition.msgs.Param children = 3;
204  int children_size() const;
205  void clear_children();
206  static const int kChildrenFieldNumber = 3;
207  ::ignition::msgs::Param* mutable_children(int index);
208  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Param >*
209  mutable_children();
210  const ::ignition::msgs::Param& children(int index) const;
211  ::ignition::msgs::Param* add_children();
212  const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Param >&
213  children() const;
214 
215  // .ignition.msgs.Header header = 1;
216  bool has_header() const;
217  void clear_header();
218  static const int kHeaderFieldNumber = 1;
219  private:
220  const ::ignition::msgs::Header& _internal_header() const;
221  public:
222  const ::ignition::msgs::Header& header() const;
223  ::ignition::msgs::Header* release_header();
224  ::ignition::msgs::Header* mutable_header();
225  void set_allocated_header(::ignition::msgs::Header* header);
226 
227  // @@protoc_insertion_point(class_scope:ignition.msgs.Param)
228  private:
229 
230  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
231  ::google::protobuf::internal::MapField<
233  ::std::string, ::ignition::msgs::Any,
234  ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
235  ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
236  0 > params_;
237  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Param > children_;
238  ::ignition::msgs::Header* header_;
239  mutable ::google::protobuf::internal::CachedSize _cached_size_;
240  friend struct ::protobuf_ignition_2fmsgs_2fparam_2eproto::TableStruct;
241 };
242 // ===================================================================
243 
244 
245 // ===================================================================
246 
247 #ifdef __GNUC__
248  #pragma GCC diagnostic push
249  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
250 #endif // __GNUC__
251 // -------------------------------------------------------------------
252 
253 // Param
254 
255 // .ignition.msgs.Header header = 1;
256 inline bool Param::has_header() const {
257  return this != internal_default_instance() && header_ != NULL;
258 }
259 inline const ::ignition::msgs::Header& Param::_internal_header() const {
260  return *header_;
261 }
262 inline const ::ignition::msgs::Header& Param::header() const {
263  const ::ignition::msgs::Header* p = header_;
264  // @@protoc_insertion_point(field_get:ignition.msgs.Param.header)
265  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
267 }
268 inline ::ignition::msgs::Header* Param::release_header() {
269  // @@protoc_insertion_point(field_release:ignition.msgs.Param.header)
270 
271  ::ignition::msgs::Header* temp = header_;
272  header_ = NULL;
273  return temp;
274 }
275 inline ::ignition::msgs::Header* Param::mutable_header() {
276 
277  if (header_ == NULL) {
278  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
279  header_ = p;
280  }
281  // @@protoc_insertion_point(field_mutable:ignition.msgs.Param.header)
282  return header_;
283 }
285  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
286  if (message_arena == NULL) {
287  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
288  }
289  if (header) {
290  ::google::protobuf::Arena* submessage_arena = NULL;
291  if (message_arena != submessage_arena) {
292  header = ::google::protobuf::internal::GetOwnedMessage(
293  message_arena, header, submessage_arena);
294  }
295 
296  } else {
297 
298  }
299  header_ = header;
300  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Param.header)
301 }
302 
303 // map<string, .ignition.msgs.Any> params = 2;
304 inline int Param::params_size() const {
305  return params_.size();
306 }
307 inline const ::google::protobuf::Map< ::std::string, ::ignition::msgs::Any >&
308 Param::params() const {
309  // @@protoc_insertion_point(field_map:ignition.msgs.Param.params)
310  return params_.GetMap();
311 }
312 inline ::google::protobuf::Map< ::std::string, ::ignition::msgs::Any >*
314  // @@protoc_insertion_point(field_mutable_map:ignition.msgs.Param.params)
315  return params_.MutableMap();
316 }
317 
318 // repeated .ignition.msgs.Param children = 3;
319 inline int Param::children_size() const {
320  return children_.size();
321 }
322 inline void Param::clear_children() {
323  children_.Clear();
324 }
325 inline ::ignition::msgs::Param* Param::mutable_children(int index) {
326  // @@protoc_insertion_point(field_mutable:ignition.msgs.Param.children)
327  return children_.Mutable(index);
328 }
329 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Param >*
331  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Param.children)
332  return &children_;
333 }
334 inline const ::ignition::msgs::Param& Param::children(int index) const {
335  // @@protoc_insertion_point(field_get:ignition.msgs.Param.children)
336  return children_.Get(index);
337 }
338 inline ::ignition::msgs::Param* Param::add_children() {
339  // @@protoc_insertion_point(field_add:ignition.msgs.Param.children)
340  return children_.Add();
341 }
342 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Param >&
344  // @@protoc_insertion_point(field_list:ignition.msgs.Param.children)
345  return children_;
346 }
347 
348 #ifdef __GNUC__
349  #pragma GCC diagnostic pop
350 #endif // __GNUC__
351 // -------------------------------------------------------------------
352 
353 
358 // @@protoc_insertion_point(namespace_scope)
359 
360 } // namespace msgs
361 } // namespace ignition
362 
363 #ifdef _MSC_VER
364 #pragma warning(pop)
365 #endif
366 // @@protoc_insertion_point(global_scope)
367 
368 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fparam_2eproto
void Swap(Param *other)
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs8/include/ignition/msgs/param.pb.h:262
int params_size() const
Definition: build/ignition-msgs8/include/ignition/msgs/param.pb.h:304
friend void swap(Param &a, Param &b)
Definition: build/ignition-msgs8/include/ignition/msgs/param.pb.h:144
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Param > & children() const
Definition: build/ignition-msgs8/include/ignition/msgs/param.pb.h:343
static const Param * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/param.pb.h:136
STL class.
STL class.
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs8/include/ignition/msgs/param.pb.h:268
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Param > * mutable_children()
Definition: build/ignition-msgs8/include/ignition/msgs/param.pb.h:330
std::shared_ptr< const Param > ConstParamSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/param.pb.h:357
Definition: build/ignition-msgs8/include/ignition/msgs/param.pb.h:106
::google::protobuf::Metadata GetMetadata() const
std::shared_ptr< Param > ParamSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/param.pb.h:356
Definition: build/ignition-msgs8/include/ignition/msgs/param.pb.h:85
static const Param_ParamsEntry_DoNotUse * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/param.pb.h:99
Definition: build/ignition-msgs8/include/ignition/msgs/param.pb.h:52
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs8/include/ignition/msgs/param.pb.h:275
Param * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/param.pb.h:154
std::unique_ptr< const Param > ConstParamUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/param.pb.h:355
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs8/include/ignition/msgs/param.pb.h:284
void IGNITION_MSGS_VISIBLE AddDescriptors()
std::unique_ptr< Param > ParamUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/param.pb.h:354
int children_size() const
Definition: build/ignition-msgs8/include/ignition/msgs/param.pb.h:319
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
void clear_children()
Definition: build/ignition-msgs8/include/ignition/msgs/param.pb.h:322
IGNITION_MSGS_VISIBLE ParamDefaultTypeInternal _Param_default_instance_
STL namespace.
Definition: build/ignition-msgs8/include/ignition/msgs/header.pb.h:215
Param * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/param.pb.h:150
void MergeFrom(const Param_ParamsEntry_DoNotUse &other)
::google::protobuf::Map< ::std::string, ::ignition::msgs::Any > * mutable_params()
Definition: build/ignition-msgs8/include/ignition/msgs/param.pb.h:313
::google::protobuf::internal::MapEntry< Param_ParamsEntry_DoNotUse, ::std::string, ::ignition::msgs::Any, ::google::protobuf::internal::WireFormatLite::TYPE_STRING, ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE, 0 > SuperType
Definition: build/ignition-msgs8/include/ignition/msgs/param.pb.h:95
::ignition::msgs::Param * add_children()
Definition: build/ignition-msgs8/include/ignition/msgs/param.pb.h:338
IGNITION_MSGS_VISIBLE Param_ParamsEntry_DoNotUseDefaultTypeInternal _Param_ParamsEntry_DoNotUse_default_instance_
Definition: build/ignition-msgs8/include/ignition/msgs/any.pb.h:112
STL class.
const ::google::protobuf::Map< ::std::string, ::ignition::msgs::Any > & params() const
Definition: build/ignition-msgs8/include/ignition/msgs/param.pb.h:308
Param & operator=(const Param &from)
Definition: build/ignition-msgs8/include/ignition/msgs/param.pb.h:113
Definition: build/ignition-msgs8/include/ignition/msgs/param.pb.h:54
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:78
bool has_header() const
Definition: build/ignition-msgs8/include/ignition/msgs/param.pb.h:256