Gazebo Msgs

API Reference

8.7.1
build/ignition-msgs8/include/ignition/msgs/test.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/test.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2ftest_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2ftest_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3012000
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 3012004 < 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/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
31 #include <google/protobuf/message.h>
32 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
33 #include <google/protobuf/extension_set.h> // IWYU pragma: export
34 #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 #include <google/protobuf/port_def.inc>
49 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2ftest_2eproto IGNITION_MSGS_VISIBLE
50 PROTOBUF_NAMESPACE_OPEN
51 namespace internal {
52 class AnyMetadata;
53 } // namespace internal
54 PROTOBUF_NAMESPACE_CLOSE
55 
56 // Internal implementation detail -- do not use these members.
57 struct IGNITION_MSGS_VISIBLE TableStruct_ignition_2fmsgs_2ftest_2eproto {
58  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
59  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
60  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
61  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
62  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
63  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
64  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
65  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
66  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
67 };
68 extern IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2ftest_2eproto;
69 namespace ignition {
70 namespace msgs {
71 class Test;
72 class TestDefaultTypeInternal;
73 IGNITION_MSGS_VISIBLE extern TestDefaultTypeInternal _Test_default_instance_;
74 } // namespace msgs
75 } // namespace ignition
76 PROTOBUF_NAMESPACE_OPEN
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Test* Arena::CreateMaybeMessage<::ignition::msgs::Test>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
79 namespace ignition {
80 namespace msgs {
81 
82 // ===================================================================
83 
84 class IGNITION_MSGS_VISIBLE Test PROTOBUF_FINAL :
85  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Test) */ {
86  public:
87  inline Test() : Test(nullptr) {};
88  virtual ~Test();
89 
90  Test(const Test& from);
91  Test(Test&& from) noexcept
92  : Test() {
93  *this = ::std::move(from);
94  }
95 
96  inline Test& operator=(const Test& from) {
97  CopyFrom(from);
98  return *this;
99  }
100  inline Test& operator=(Test&& from) noexcept {
101  if (GetArena() == from.GetArena()) {
102  if (this != &from) InternalSwap(&from);
103  } else {
104  CopyFrom(from);
105  }
106  return *this;
107  }
108 
109  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
110  return GetDescriptor();
111  }
112  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
113  return GetMetadataStatic().descriptor;
114  }
115  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
116  return GetMetadataStatic().reflection;
117  }
118  static const Test& default_instance();
119 
120  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
121  static inline const Test* internal_default_instance() {
122  return reinterpret_cast<const Test*>(
124  }
125  static constexpr int kIndexInFileMessages =
126  0;
127 
128  friend void swap(Test& a, Test& b) {
129  a.Swap(&b);
130  }
131  inline void Swap(Test* other) {
132  if (other == this) return;
133  if (GetArena() == other->GetArena()) {
134  InternalSwap(other);
135  } else {
136  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
137  }
138  }
139  void UnsafeArenaSwap(Test* other) {
140  if (other == this) return;
141  GOOGLE_DCHECK(GetArena() == other->GetArena());
142  InternalSwap(other);
143  }
144 
145  // implements Message ----------------------------------------------
146 
147  inline Test* New() const final {
148  return CreateMaybeMessage<Test>(nullptr);
149  }
150 
151  Test* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
152  return CreateMaybeMessage<Test>(arena);
153  }
154  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
155  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
156  void CopyFrom(const Test& from);
157  void MergeFrom(const Test& from);
158  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
159  bool IsInitialized() const final;
160 
161  size_t ByteSizeLong() const final;
162  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
163  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
164  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
165  int GetCachedSize() const final { return _cached_size_.Get(); }
166 
167  private:
168  inline void SharedCtor();
169  inline void SharedDtor();
170  void SetCachedSize(int size) const final;
171  void InternalSwap(Test* other);
172  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
173  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
174  return "ignition.msgs.Test";
175  }
176  protected:
177  explicit Test(::PROTOBUF_NAMESPACE_ID::Arena* arena);
178  private:
179  static void ArenaDtor(void* object);
180  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
181  public:
182 
183  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
184  private:
185  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
186  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2ftest_2eproto);
187  return ::descriptor_table_ignition_2fmsgs_2ftest_2eproto.file_level_metadata[kIndexInFileMessages];
188  }
189 
190  public:
191 
192  // nested types ----------------------------------------------------
193 
194  // accessors -------------------------------------------------------
195 
196  enum : int {
197  kHeaderFieldNumber = 1,
198  };
199  // .ignition.msgs.Header header = 1;
200  bool has_header() const;
201  private:
202  bool _internal_has_header() const;
203  public:
204  void clear_header();
205  const ::ignition::msgs::Header& header() const;
206  ::ignition::msgs::Header* release_header();
207  ::ignition::msgs::Header* mutable_header();
208  void set_allocated_header(::ignition::msgs::Header* header);
209  private:
210  const ::ignition::msgs::Header& _internal_header() const;
211  ::ignition::msgs::Header* _internal_mutable_header();
212  public:
214  ::ignition::msgs::Header* header);
215  ::ignition::msgs::Header* unsafe_arena_release_header();
216 
217  // @@protoc_insertion_point(class_scope:ignition.msgs.Test)
218  private:
219  class _Internal;
220 
221  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
222  typedef void InternalArenaConstructable_;
223  typedef void DestructorSkippable_;
224  ::ignition::msgs::Header* header_;
225  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
226  friend struct ::TableStruct_ignition_2fmsgs_2ftest_2eproto;
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 // Test
238 
239 // .ignition.msgs.Header header = 1;
240 inline bool Test::_internal_has_header() const {
241  return this != internal_default_instance() && header_ != nullptr;
242 }
243 inline bool Test::has_header() const {
244  return _internal_has_header();
245 }
246 inline const ::ignition::msgs::Header& Test::_internal_header() const {
247  const ::ignition::msgs::Header* p = header_;
248  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
250 }
251 inline const ::ignition::msgs::Header& Test::header() const {
252  // @@protoc_insertion_point(field_get:ignition.msgs.Test.header)
253  return _internal_header();
254 }
255 inline void Test::unsafe_arena_set_allocated_header(
256  ::ignition::msgs::Header* header) {
257  if (GetArena() == nullptr) {
258  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
259  }
260  header_ = header;
261  if (header) {
262 
263  } else {
264 
265  }
266  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Test.header)
267 }
268 inline ::ignition::msgs::Header* Test::release_header() {
269  auto temp = unsafe_arena_release_header();
270  if (GetArena() != nullptr) {
271  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
272  }
273  return temp;
274 }
275 inline ::ignition::msgs::Header* Test::unsafe_arena_release_header() {
276  // @@protoc_insertion_point(field_release:ignition.msgs.Test.header)
277 
278  ::ignition::msgs::Header* temp = header_;
279  header_ = nullptr;
280  return temp;
281 }
282 inline ::ignition::msgs::Header* Test::_internal_mutable_header() {
283 
284  if (header_ == nullptr) {
285  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
286  header_ = p;
287  }
288  return header_;
289 }
290 inline ::ignition::msgs::Header* Test::mutable_header() {
291  // @@protoc_insertion_point(field_mutable:ignition.msgs.Test.header)
292  return _internal_mutable_header();
293 }
294 inline void Test::set_allocated_header(::ignition::msgs::Header* header) {
295  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
296  if (message_arena == nullptr) {
297  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
298  }
299  if (header) {
300  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
301  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header)->GetArena();
302  if (message_arena != submessage_arena) {
303  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
304  message_arena, header, submessage_arena);
305  }
306 
307  } else {
308 
309  }
310  header_ = header;
311  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Test.header)
312 }
313 
314 #ifdef __GNUC__
315  #pragma GCC diagnostic pop
316 #endif // __GNUC__
317 
322 // @@protoc_insertion_point(namespace_scope)
323 
324 } // namespace msgs
325 } // namespace ignition
326 
327 #ifdef _MSC_VER
328 #pragma warning(pop)
329 #endif
330 // @@protoc_insertion_point(global_scope)
331 
332 #include <google/protobuf/port_undef.inc>
333 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2ftest_2eproto
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2ftest_2eproto
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: build/ignition-msgs8/include/ignition/msgs/test.pb.h:115
Test(Test &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/test.pb.h:91
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const Test & default_instance()
::ignition::msgs::Header * release_header()
void Swap(Test *other)
Definition: build/ignition-msgs8/include/ignition/msgs/test.pb.h:131
::ignition::msgs::Header * mutable_header()
static const Test * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/test.pb.h:121
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/test.pb.h:109
Test()
Definition: build/ignition-msgs8/include/ignition/msgs/test.pb.h:87
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Test & operator=(Test &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/test.pb.h:100
void MergeFrom(const Test &from)
friend void swap(Test &a, Test &b)
Definition: build/ignition-msgs8/include/ignition/msgs/test.pb.h:128
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
void CopyFrom(const Test &from)
::ignition::msgs::Header * unsafe_arena_release_header()
void UnsafeArenaSwap(Test *other)
Definition: build/ignition-msgs8/include/ignition/msgs/test.pb.h:139
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Test * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/test.pb.h:151
void set_allocated_header(::ignition::msgs::Header *header)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/test.pb.h:112
Test & operator=(const Test &from)
Definition: build/ignition-msgs8/include/ignition/msgs/test.pb.h:96
Test * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/test.pb.h:147
const ::ignition::msgs::Header & header() const
Test(::PROTOBUF_NAMESPACE_ID::Arena *arena)
std::unique_ptr< const Test > ConstTestUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/test.pb.h:319
std::unique_ptr< Test > TestUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/test.pb.h:318
IGNITION_MSGS_VISIBLE TestDefaultTypeInternal _Test_default_instance_
std::shared_ptr< const Test > ConstTestSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/test.pb.h:321
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< Test > TestSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/test.pb.h:320
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:53
Definition: build/ignition-msgs8/include/ignition/msgs/test.pb.h:57
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)