Gazebo Msgs

API Reference

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