4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2fparameter_5fname_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2fparameter_5fname_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/unknown_field_set.h>
34 #define PROTOBUF_INTERNAL_EXPORT_protobuf_gz_2fmsgs_2fparameter_5fname_2eproto GZ_MSGS_VISIBLE
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[];
51 class ParameterNameDefaultTypeInternal;
57 template<> GZ_MSGS_VISIBLE ::gz::msgs::ParameterName* Arena::CreateMaybeMessage<::gz::msgs::ParameterName>(Arena*);
65 class GZ_MSGS_VISIBLE
ParameterName :
public ::google::protobuf::Message {
79 *
this = ::std::move(from);
82 inline ParameterName& operator=(ParameterName&& from) noexcept {
83 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
84 if (
this != &from) InternalSwap(&from);
91 static const ::google::protobuf::Descriptor* descriptor();
92 static const ParameterName& default_instance();
94 static void InitAsDefaultInstance();
99 static constexpr
int kIndexInFileMessages =
110 return CreateMaybeMessage<ParameterName>(NULL);
114 return CreateMaybeMessage<ParameterName>(arena);
116 void CopyFrom(const ::google::protobuf::Message& from)
final;
117 void MergeFrom(const ::google::protobuf::Message& from)
final;
121 bool IsInitialized() const final;
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(); }
135 void SetCachedSize(
int size)
const final;
138 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
141 inline void* MaybeArenaPtr()
const {
146 ::google::protobuf::Metadata GetMetadata() const final;
154 static const
int kNameFieldNumber = 1;
155 const ::
std::
string& name() const;
156 void set_name(const ::
std::
string& value);
160 void set_name(
const char* value);
161 void set_name(
const char* value,
size_t size);
169 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
170 ::google::protobuf::internal::ArenaStringPtr name_;
171 mutable ::google::protobuf::internal::CachedSize _cached_size_;
172 friend struct ::protobuf_gz_2fmsgs_2fparameter_5fname_2eproto::TableStruct;
180 #pragma GCC diagnostic push
181 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
187 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
191 return name_.GetNoArena();
195 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
202 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::move(value));
207 GOOGLE_DCHECK(value != NULL);
209 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
214 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
215 ::
std::string(
reinterpret_cast<const char*
>(value), size));
221 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
226 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
234 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
name);
239 #pragma GCC diagnostic pop
249 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2fparameter_5fname_2eproto