Go to the documentation of this file.
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fparameter_5fname_2eproto
5 #define PROTOBUF_INCLUDED_ignition_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 #pragma GCC system_header
37 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
40 #include <sys/sysmacros.h>
45 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fparameter_5fname_2eproto IGNITION_MSGS_VISIBLE
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[];
62 class ParameterNameDefaultTypeInternal;
68 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::ParameterName* Arena::CreateMaybeMessage<::ignition::msgs::ParameterName>(Arena*);
76 class IGNITION_MSGS_VISIBLE
ParameterName :
public ::google::protobuf::Message {
90 *
this = ::std::move(from);
93 inline ParameterName& operator=(ParameterName&& from) noexcept {
94 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
95 if (
this != &from) InternalSwap(&from);
102 static const ::google::protobuf::Descriptor* descriptor();
103 static const ParameterName& default_instance();
105 static void InitAsDefaultInstance();
110 static constexpr
int kIndexInFileMessages =
121 return CreateMaybeMessage<ParameterName>(NULL);
125 return CreateMaybeMessage<ParameterName>(arena);
127 void CopyFrom(const ::google::protobuf::Message& from)
final;
128 void MergeFrom(const ::google::protobuf::Message& from)
final;
132 bool IsInitialized() const final;
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(); }
146 void SetCachedSize(
int size)
const final;
149 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
152 inline void* MaybeArenaPtr()
const {
157 ::google::protobuf::Metadata GetMetadata() const final;
165 static const
int kNameFieldNumber = 1;
166 const ::
std::
string& name() const;
167 void set_name(const ::
std::
string& value);
171 void set_name(
const char* value);
172 void set_name(
const char* value,
size_t size);
180 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
181 ::google::protobuf::internal::ArenaStringPtr name_;
182 mutable ::google::protobuf::internal::CachedSize _cached_size_;
183 friend struct ::protobuf_ignition_2fmsgs_2fparameter_5fname_2eproto::TableStruct;
191 #pragma GCC diagnostic push
192 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
198 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
202 return name_.GetNoArena();
206 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
213 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::move(value));
218 GOOGLE_DCHECK(value != NULL);
220 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
225 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
226 ::
std::string(
reinterpret_cast<const char*
>(value), size));
232 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
237 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
245 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
name);
250 #pragma GCC diagnostic pop
267 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fparameter_5fname_2eproto
std::shared_ptr< ParameterName > ParameterNameSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/parameter_name.pb.h:255
Definition: build/ignition-msgs8/include/ignition/msgs/parameter_name.pb.h:47
IGNITION_MSGS_VISIBLE ParameterNameDefaultTypeInternal _ParameterName_default_instance_
void set_allocated_name(::std::string *name)
Definition: build/ignition-msgs8/include/ignition/msgs/parameter_name.pb.h:239
static const ParameterName * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/parameter_name.pb.h:106
::std::string * mutable_name()
Definition: build/ignition-msgs8/include/ignition/msgs/parameter_name.pb.h:229
ParameterName & operator=(const ParameterName &from)
Definition: build/ignition-msgs8/include/ignition/msgs/parameter_name.pb.h:83
void Swap(ParameterName *other)
std::shared_ptr< const ParameterName > ConstParameterNameSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/parameter_name.pb.h:256
void set_name(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/parameter_name.pb.h:204
ParameterName * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/parameter_name.pb.h:124
void IGNITION_MSGS_VISIBLE AddDescriptors()
Definition: build/ignition-msgs8/include/ignition/msgs/parameter_name.pb.h:49
Definition: build/ignition-msgs8/include/ignition/msgs/parameter_name.pb.h:76
friend void swap(ParameterName &a, ParameterName &b)
Definition: build/ignition-msgs8/include/ignition/msgs/parameter_name.pb.h:114
const ::std::string & name() const
Definition: build/ignition-msgs8/include/ignition/msgs/parameter_name.pb.h:200
::std::string * release_name()
Definition: build/ignition-msgs8/include/ignition/msgs/parameter_name.pb.h:234
ParameterName * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/parameter_name.pb.h:120
void clear_name()
Definition: build/ignition-msgs8/include/ignition/msgs/parameter_name.pb.h:197
std::unique_ptr< const ParameterName > ConstParameterNameUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/parameter_name.pb.h:254
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:78
std::unique_ptr< ParameterName > ParameterNameUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/parameter_name.pb.h:253