Gazebo Msgs

API Reference

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