4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2fparameter_5ferror_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2fparameter_5ferror_2eproto
9 #include <google/protobuf/stubs/common.h>
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
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.
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>
31 #include <google/protobuf/extension_set.h>
32 #include <google/protobuf/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
35 #define PROTOBUF_INTERNAL_EXPORT_protobuf_gz_2fmsgs_2fparameter_5ferror_2eproto GZ_MSGS_VISIBLE
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[];
52 class ParameterErrorDefaultTypeInternal;
58 template<> GZ_MSGS_VISIBLE ::gz::msgs::ParameterError* Arena::CreateMaybeMessage<::gz::msgs::ParameterError>(Arena*);
79 return ::google::protobuf::internal::NameOfEnum(
84 return ::google::protobuf::internal::ParseNamedEnum<ParameterError_Type>(
103 *
this = ::std::move(from);
106 inline ParameterError& operator=(ParameterError&& from) noexcept {
107 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
108 if (
this != &from) InternalSwap(&from);
115 static const ::google::protobuf::Descriptor* descriptor();
116 static const ParameterError& default_instance();
118 static void InitAsDefaultInstance();
123 static constexpr
int kIndexInFileMessages =
134 return CreateMaybeMessage<ParameterError>(NULL);
138 return CreateMaybeMessage<ParameterError>(arena);
140 void CopyFrom(const ::google::protobuf::Message& from)
final;
141 void MergeFrom(const ::google::protobuf::Message& from)
final;
145 bool IsInitialized() const final;
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(); }
159 void SetCachedSize(
int size)
const final;
162 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
165 inline void* MaybeArenaPtr()
const {
170 ::google::protobuf::Metadata GetMetadata() const final;
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) {
190 static const int Type_ARRAYSIZE =
192 static inline const ::google::protobuf::EnumDescriptor*
208 static const int kDataFieldNumber = 1;
215 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
217 mutable ::google::protobuf::internal::CachedSize _cached_size_;
218 friend struct ::protobuf_gz_2fmsgs_2fparameter_5ferror_2eproto::TableStruct;
226 #pragma GCC diagnostic push
227 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
246 #pragma GCC diagnostic pop
259 inline const EnumDescriptor* GetEnumDescriptor< ::gz::msgs::ParameterError_Type>() {
268 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2fparameter_5ferror_2eproto