Gazebo Msgs

API Reference

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