Gazebo Msgs

API Reference

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