Gazebo Msgs

API Reference

9.5.0
parameter_error.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: gz/msgs/parameter_error.proto
3 
4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2fparameter_5ferror_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2fparameter_5ferror_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/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
34 // @@protoc_insertion_point(includes)
35 #define PROTOBUF_INTERNAL_EXPORT_protobuf_gz_2fmsgs_2fparameter_5ferror_2eproto GZ_MSGS_VISIBLE
36 
38 // Internal implementation detail -- do not use these members.
39 struct GZ_MSGS_VISIBLE TableStruct {
40  static const ::google::protobuf::internal::ParseTableField entries[];
41  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
42  static const ::google::protobuf::internal::ParseTable schema[1];
43  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
44  static const ::google::protobuf::internal::SerializationTable serialization_table[];
45  static const ::google::protobuf::uint32 offsets[];
46 };
47 void GZ_MSGS_VISIBLE AddDescriptors();
48 } // namespace protobuf_gz_2fmsgs_2fparameter_5ferror_2eproto
49 namespace gz {
50 namespace msgs {
51 class ParameterError;
52 class ParameterErrorDefaultTypeInternal;
53 GZ_MSGS_VISIBLE extern ParameterErrorDefaultTypeInternal _ParameterError_default_instance_;
54 } // namespace msgs
55 } // namespace gz
56 namespace google {
57 namespace protobuf {
58 template<> GZ_MSGS_VISIBLE ::gz::msgs::ParameterError* Arena::CreateMaybeMessage<::gz::msgs::ParameterError>(Arena*);
59 } // namespace protobuf
60 } // namespace google
61 namespace gz {
62 namespace msgs {
63 
71 };
72 GZ_MSGS_VISIBLE bool ParameterError_Type_IsValid(int value);
76 
77 GZ_MSGS_VISIBLE const ::google::protobuf::EnumDescriptor* ParameterError_Type_descriptor();
78 inline const ::std::string& ParameterError_Type_Name(ParameterError_Type value) {
79  return ::google::protobuf::internal::NameOfEnum(
81 }
83  const ::std::string& name, ParameterError_Type* value) {
84  return ::google::protobuf::internal::ParseNamedEnum<ParameterError_Type>(
85  ParameterError_Type_descriptor(), name, value);
86 }
87 // ===================================================================
88 
89 class GZ_MSGS_VISIBLE ParameterError : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.ParameterError) */ {
90  public:
92  virtual ~ParameterError();
93 
94  ParameterError(const ParameterError& from);
95 
96  inline ParameterError& operator=(const ParameterError& from) {
97  CopyFrom(from);
98  return *this;
99  }
100  #if LANG_CXX11
101  ParameterError(ParameterError&& from) noexcept
102  : ParameterError() {
103  *this = ::std::move(from);
104  }
105 
106  inline ParameterError& operator=(ParameterError&& from) noexcept {
107  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
108  if (this != &from) InternalSwap(&from);
109  } else {
110  CopyFrom(from);
111  }
112  return *this;
113  }
114  #endif
115  static const ::google::protobuf::Descriptor* descriptor();
116  static const ParameterError& default_instance();
117 
118  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
119  static inline const ParameterError* internal_default_instance() {
120  return reinterpret_cast<const ParameterError*>(
122  }
123  static constexpr int kIndexInFileMessages =
124  0;
125 
126  void Swap(ParameterError* other);
127  friend void swap(ParameterError& a, ParameterError& b) {
128  a.Swap(&b);
129  }
130 
131  // implements Message ----------------------------------------------
132 
133  inline ParameterError* New() const final {
134  return CreateMaybeMessage<ParameterError>(NULL);
135  }
136 
137  ParameterError* New(::google::protobuf::Arena* arena) const final {
138  return CreateMaybeMessage<ParameterError>(arena);
139  }
140  void CopyFrom(const ::google::protobuf::Message& from) final;
141  void MergeFrom(const ::google::protobuf::Message& from) final;
142  void CopyFrom(const ParameterError& from);
143  void MergeFrom(const ParameterError& from);
144  void Clear() final;
145  bool IsInitialized() const final;
146 
147  size_t ByteSizeLong() const final;
148  bool MergePartialFromCodedStream(
149  ::google::protobuf::io::CodedInputStream* input) final;
150  void SerializeWithCachedSizes(
151  ::google::protobuf::io::CodedOutputStream* output) const final;
152  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
153  bool deterministic, ::google::protobuf::uint8* target) const final;
154  int GetCachedSize() const final { return _cached_size_.Get(); }
155 
156  private:
157  void SharedCtor();
158  void SharedDtor();
159  void SetCachedSize(int size) const final;
160  void InternalSwap(ParameterError* other);
161  private:
162  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
163  return NULL;
164  }
165  inline void* MaybeArenaPtr() const {
166  return NULL;
167  }
168  public:
169 
170  ::google::protobuf::Metadata GetMetadata() const final;
171 
172  // nested types ----------------------------------------------------
173 
175  static const Type SUCCESS =
177  static const Type ALREADY_DECLARED =
179  static const Type INVALID_TYPE =
181  static const Type NOT_DECLARED =
183  static inline bool Type_IsValid(int value) {
184  return ParameterError_Type_IsValid(value);
185  }
186  static const Type Type_MIN =
188  static const Type Type_MAX =
190  static const int Type_ARRAYSIZE =
192  static inline const ::google::protobuf::EnumDescriptor*
195  }
196  static inline const ::std::string& Type_Name(Type value) {
197  return ParameterError_Type_Name(value);
198  }
199  static inline bool Type_Parse(const ::std::string& name,
200  Type* value) {
201  return ParameterError_Type_Parse(name, value);
202  }
203 
204  // accessors -------------------------------------------------------
205 
206  // .gz.msgs.ParameterError.Type data = 1;
207  void clear_data();
208  static const int kDataFieldNumber = 1;
209  ::gz::msgs::ParameterError_Type data() const;
210  void set_data(::gz::msgs::ParameterError_Type value);
211 
212  // @@protoc_insertion_point(class_scope:gz.msgs.ParameterError)
213  private:
214 
215  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
216  int data_;
217  mutable ::google::protobuf::internal::CachedSize _cached_size_;
218  friend struct ::protobuf_gz_2fmsgs_2fparameter_5ferror_2eproto::TableStruct;
219 };
220 // ===================================================================
221 
222 
223 // ===================================================================
224 
225 #ifdef __GNUC__
226  #pragma GCC diagnostic push
227  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
228 #endif // __GNUC__
229 // ParameterError
230 
231 // .gz.msgs.ParameterError.Type data = 1;
233  data_ = 0;
234 }
236  // @@protoc_insertion_point(field_get:gz.msgs.ParameterError.data)
237  return static_cast< ::gz::msgs::ParameterError_Type >(data_);
238 }
240 
241  data_ = value;
242  // @@protoc_insertion_point(field_set:gz.msgs.ParameterError.data)
243 }
244 
245 #ifdef __GNUC__
246  #pragma GCC diagnostic pop
247 #endif // __GNUC__
248 
249 // @@protoc_insertion_point(namespace_scope)
250 
251 } // namespace msgs
252 } // namespace gz
253 
254 namespace google {
255 namespace protobuf {
256 
257 template <> struct is_proto_enum< ::gz::msgs::ParameterError_Type> : ::std::true_type {};
258 template <>
259 inline const EnumDescriptor* GetEnumDescriptor< ::gz::msgs::ParameterError_Type>() {
261 }
262 
263 } // namespace protobuf
264 } // namespace google
265 
266 // @@protoc_insertion_point(global_scope)
267 
268 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2fparameter_5ferror_2eproto