4 #ifndef PROTOBUF_ignition_2fmsgs_2fparam_2eproto__INCLUDED 5 #define PROTOBUF_ignition_2fmsgs_2fparam_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/map.h> 30 #include <google/protobuf/map_field_inl.h> 31 #include <google/protobuf/unknown_field_set.h> 35 #pragma GCC system_header 38 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251) 41 #include <sys/sysmacros.h> 59 class IGNITION_MSGS_VISIBLE
Param :
public ::google::protobuf::Message {
71 static const ::google::protobuf::Descriptor* descriptor();
72 static const Param& default_instance();
74 void Swap(
Param* other);
80 Param* New(::google::protobuf::Arena* arena)
const;
81 void CopyFrom(const ::google::protobuf::Message& from);
82 void MergeFrom(const ::google::protobuf::Message& from);
83 void CopyFrom(
const Param& from);
84 void MergeFrom(
const Param& from);
86 bool IsInitialized()
const;
89 bool MergePartialFromCodedStream(
90 ::google::protobuf::io::CodedInputStream* input);
91 void SerializeWithCachedSizes(
92 ::google::protobuf::io::CodedOutputStream* output)
const;
93 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
94 bool deterministic, ::google::protobuf::uint8* output)
const;
96 return InternalSerializeWithCachedSizesToArray(
false, output);
102 void SetCachedSize(
int size)
const;
103 void InternalSwap(
Param* other);
105 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
106 return _internal_metadata_.arena();
108 inline void* MaybeArenaPtr()
const {
109 return _internal_metadata_.raw_arena_ptr();
113 ::google::protobuf::Metadata GetMetadata()
const;
121 bool has_header()
const;
123 static const int kHeaderFieldNumber = 1;
124 const ::ignition::msgs::Header& header()
const;
130 int params_size()
const;
132 static const int kParamsFieldNumber = 2;
133 const ::google::protobuf::Map< ::std::string, ::ignition::msgs::Any >&
135 ::google::protobuf::Map< ::std::string, ::ignition::msgs::Any >*
139 int children_size()
const;
140 void clear_children();
141 static const int kChildrenFieldNumber = 3;
142 const ::ignition::msgs::Param& children(
int index)
const;
145 ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Param >*
147 const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Param >&
153 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
154 bool _is_default_instance_;
156 typedef ::google::protobuf::internal::MapEntryLite<
158 ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
159 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
162 ::google::protobuf::internal::MapField<
163 ::std::string, ::ignition::msgs::Any,
164 ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
165 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
167 ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Param > children_;
168 mutable int _cached_size_;
173 void InitAsDefaultInstance();
174 static Param* default_instance_;
181 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 186 return !_is_default_instance_ && header_ != NULL;
189 if (GetArenaNoVirtual() == NULL && header_ != NULL)
delete header_;
194 return header_ != NULL ? *header_ : *default_instance_->header_;
198 if (header_ == NULL) {
199 header_ = new ::ignition::msgs::Header;
224 return params_.size();
229 inline const ::google::protobuf::Map< ::std::string, ::ignition::msgs::Any >&
232 return params_.GetMap();
234 inline ::google::protobuf::Map< ::std::string, ::ignition::msgs::Any >*
237 return params_.MutableMap();
242 return children_.size();
249 return children_.Get(index);
253 return children_.Mutable(index);
257 return children_.Add();
259 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Param >*
264 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Param >&
270 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 286 #endif // PROTOBUF_ignition_2fmsgs_2fparam_2eproto__INCLUDED Param * New() const
Definition: param.pb.h:78
void protobuf_ShutdownFile_ignition_2fmsgs_2fparam_2eproto()
void clear_children()
Definition: param.pb.h:244
bool has_header() const
Definition: param.pb.h:185
std::shared_ptr< const Param > ConstParamSharedPtr
Definition: param.pb.h:275
std::unique_ptr< Param > ParamUniquePtr
Definition: param.pb.h:272
std::shared_ptr< Param > ParamSharedPtr
Definition: param.pb.h:274
::ignition::msgs::Param * add_children()
Definition: param.pb.h:255
void clear_params()
Definition: param.pb.h:226
int GetCachedSize() const
Definition: param.pb.h:98
int children_size() const
Definition: param.pb.h:241
Definition: param.pb.h:59
void set_allocated_header(::ignition::msgs::Header *header)
Definition: param.pb.h:211
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fparam_2eproto()
::ignition::msgs::Header * mutable_header()
Definition: param.pb.h:196
Param & operator=(const Param &from)
Definition: param.pb.h:66
std::unique_ptr< const Param > ConstParamUniquePtr
Definition: param.pb.h:273
int params_size() const
Definition: param.pb.h:223
::ignition::msgs::Header * release_header()
Definition: param.pb.h:204
void protobuf_AssignDesc_ignition_2fmsgs_2fparam_2eproto()
const ::google::protobuf::Map< ::std::string, ::ignition::msgs::Any > & params() const
Definition: param.pb.h:230
const ::ignition::msgs::Header & header() const
Definition: param.pb.h:192
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: param.pb.h:95
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Param > * mutable_children()
Definition: param.pb.h:260
void clear_header()
Definition: param.pb.h:188
::google::protobuf::Map< ::std::string, ::ignition::msgs::Any > * mutable_params()
Definition: param.pb.h:235
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Param > & children() const
Definition: param.pb.h:265