Gazebo Msgs

API Reference

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