4 #ifndef PROTOBUF_ignition_2fmsgs_2fplugin_2eproto__INCLUDED 5 #define PROTOBUF_ignition_2fmsgs_2fplugin_2eproto__INCLUDED 9 #include <google/protobuf/stubs/common.h> 11 #if GOOGLE_PROTOBUF_VERSION < 3000000 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 3000000 < 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/arena.h> 23 #include <google/protobuf/arenastring.h> 24 #include <google/protobuf/generated_message_util.h> 25 #include <google/protobuf/metadata.h> 26 #include <google/protobuf/message.h> 27 #include <google/protobuf/repeated_field.h> 28 #include <google/protobuf/extension_set.h> 29 #include <google/protobuf/unknown_field_set.h> 32 #pragma GCC system_header 35 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251) 38 #include <sys/sysmacros.h> 56 class IGNITION_MSGS_VISIBLE
Plugin :
public ::google::protobuf::Message {
68 static const ::google::protobuf::Descriptor* descriptor();
69 static const Plugin& default_instance();
77 Plugin* New(::google::protobuf::Arena* arena)
const;
78 void CopyFrom(const ::google::protobuf::Message& from);
79 void MergeFrom(const ::google::protobuf::Message& from);
80 void CopyFrom(
const Plugin& from);
81 void MergeFrom(
const Plugin& from);
83 bool IsInitialized()
const;
86 bool MergePartialFromCodedStream(
87 ::google::protobuf::io::CodedInputStream* input);
88 void SerializeWithCachedSizes(
89 ::google::protobuf::io::CodedOutputStream* output)
const;
90 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
91 bool deterministic, ::google::protobuf::uint8* output)
const;
93 return InternalSerializeWithCachedSizesToArray(
false, output);
99 void SetCachedSize(
int size)
const;
100 void InternalSwap(
Plugin* other);
102 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
103 return _internal_metadata_.arena();
105 inline void* MaybeArenaPtr()
const {
106 return _internal_metadata_.raw_arena_ptr();
110 ::google::protobuf::Metadata GetMetadata()
const;
117 bool has_header()
const;
119 static const int kHeaderFieldNumber = 1;
120 const ::ignition::msgs::Header& header()
const;
127 static const int kNameFieldNumber = 2;
128 const ::std::string& name()
const;
129 void set_name(const ::std::string& value);
130 void set_name(
const char* value);
131 void set_name(
const char* value,
size_t size);
137 void clear_filename();
138 static const int kFilenameFieldNumber = 3;
139 const ::std::string& filename()
const;
140 void set_filename(const ::std::string& value);
141 void set_filename(
const char* value);
142 void set_filename(
const char* value,
size_t size);
145 void set_allocated_filename(::
std::string* filename);
148 void clear_innerxml();
149 static const int kInnerxmlFieldNumber = 4;
150 const ::std::string& innerxml()
const;
151 void set_innerxml(const ::std::string& value);
152 void set_innerxml(
const char* value);
153 void set_innerxml(
const char* value,
size_t size);
156 void set_allocated_innerxml(::
std::string* innerxml);
161 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
162 bool _is_default_instance_;
164 ::google::protobuf::internal::ArenaStringPtr name_;
165 ::google::protobuf::internal::ArenaStringPtr filename_;
166 ::google::protobuf::internal::ArenaStringPtr innerxml_;
167 mutable int _cached_size_;
172 void InitAsDefaultInstance();
173 static Plugin* default_instance_;
180 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 185 return !_is_default_instance_ && header_ != NULL;
188 if (GetArenaNoVirtual() == NULL && header_ != NULL)
delete header_;
193 return header_ != NULL ? *header_ : *default_instance_->header_;
197 if (header_ == NULL) {
198 header_ = new ::ignition::msgs::Header;
223 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
227 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
231 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
236 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
241 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
242 ::
std::string(reinterpret_cast<const char*>(value), size));
248 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
253 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
261 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
267 filename_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
271 return filename_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
275 filename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
280 filename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
285 filename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
286 ::
std::string(reinterpret_cast<const char*>(value), size));
292 return filename_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
297 return filename_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
300 if (filename != NULL) {
305 filename_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), filename);
311 innerxml_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
315 return innerxml_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
319 innerxml_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
324 innerxml_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
329 innerxml_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
330 ::
std::string(reinterpret_cast<const char*>(value), size));
336 return innerxml_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
341 return innerxml_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
344 if (innerxml != NULL) {
349 innerxml_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), innerxml);
353 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 369 #endif // PROTOBUF_ignition_2fmsgs_2fplugin_2eproto__INCLUDED void set_allocated_header(::ignition::msgs::Header *header)
Definition: plugin.pb.h:210
::std::string * mutable_innerxml()
Definition: plugin.pb.h:333
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: plugin.pb.h:92
std::unique_ptr< Plugin > PluginUniquePtr
Definition: plugin.pb.h:355
void clear_header()
Definition: plugin.pb.h:187
void clear_innerxml()
Definition: plugin.pb.h:310
::ignition::msgs::Header * mutable_header()
Definition: plugin.pb.h:195
std::shared_ptr< const Plugin > ConstPluginSharedPtr
Definition: plugin.pb.h:358
const ::std::string & filename() const
Definition: plugin.pb.h:269
void set_innerxml(const ::std::string &value)
Definition: plugin.pb.h:317
::std::string * release_innerxml()
Definition: plugin.pb.h:338
const ::ignition::msgs::Header & header() const
Definition: plugin.pb.h:191
void set_allocated_filename(::std::string *filename)
Definition: plugin.pb.h:299
::ignition::msgs::Header * release_header()
Definition: plugin.pb.h:203
void clear_filename()
Definition: plugin.pb.h:266
int GetCachedSize() const
Definition: plugin.pb.h:95
Definition: plugin.pb.h:56
void set_allocated_name(::std::string *name)
Definition: plugin.pb.h:255
std::shared_ptr< Plugin > PluginSharedPtr
Definition: plugin.pb.h:357
void set_name(const ::std::string &value)
Definition: plugin.pb.h:229
::std::string * mutable_name()
Definition: plugin.pb.h:245
bool has_header() const
Definition: plugin.pb.h:184
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fplugin_2eproto()
void set_allocated_innerxml(::std::string *innerxml)
Definition: plugin.pb.h:343
const ::std::string & name() const
Definition: plugin.pb.h:225
Plugin * New() const
Definition: plugin.pb.h:75
void protobuf_AssignDesc_ignition_2fmsgs_2fplugin_2eproto()
Plugin & operator=(const Plugin &from)
Definition: plugin.pb.h:63
const ::std::string & innerxml() const
Definition: plugin.pb.h:313
::std::string * release_name()
Definition: plugin.pb.h:250
void protobuf_ShutdownFile_ignition_2fmsgs_2fplugin_2eproto()
void set_filename(const ::std::string &value)
Definition: plugin.pb.h:273
void clear_name()
Definition: plugin.pb.h:222
std::unique_ptr< const Plugin > ConstPluginUniquePtr
Definition: plugin.pb.h:356
::std::string * mutable_filename()
Definition: plugin.pb.h:289
::std::string * release_filename()
Definition: plugin.pb.h:294