Gazebo Msgs

API Reference

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