4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fdouble_5fv_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fdouble_5fv_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3014000
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 3014000 < 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/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h>
32 #include <google/protobuf/extension_set.h>
33 #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>
46 #include <google/protobuf/port_def.inc>
47 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fdouble_5fv_2eproto IGNITION_MSGS_VISIBLE
48 PROTOBUF_NAMESPACE_OPEN
52 PROTOBUF_NAMESPACE_CLOSE
56 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
58 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
60 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
62 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
63 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
64 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
70 class Double_VDefaultTypeInternal;
74 PROTOBUF_NAMESPACE_OPEN
75 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Double_V* Arena::CreateMaybeMessage<::ignition::msgs::Double_V>(Arena*);
76 PROTOBUF_NAMESPACE_CLOSE
82 class IGNITION_MSGS_VISIBLE Double_V PROTOBUF_FINAL :
83 public ::PROTOBUF_NAMESPACE_ID::Message {
91 *
this = ::std::move(from);
98 inline Double_V&
operator=(Double_V&& from) noexcept {
99 if (GetArena() == from.GetArena()) {
100 if (
this != &from) InternalSwap(&from);
107 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
108 return GetDescriptor();
111 return GetMetadataStatic().descriptor;
114 return GetMetadataStatic().reflection;
119 return reinterpret_cast<const Double_V*
>(
122 static constexpr
int kIndexInFileMessages =
125 friend void swap(Double_V& a, Double_V& b) {
128 inline void Swap(Double_V* other) {
129 if (other ==
this)
return;
130 if (GetArena() == other->GetArena()) {
133 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
137 if (other ==
this)
return;
138 GOOGLE_DCHECK(GetArena() == other->GetArena());
144 inline Double_V*
New() const final {
145 return CreateMaybeMessage<Double_V>(
nullptr);
148 Double_V*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
149 return CreateMaybeMessage<Double_V>(arena);
151 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
152 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
155 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
156 bool IsInitialized() const final;
158 size_t ByteSizeLong() const final;
159 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
160 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
161 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
162 int GetCachedSize() const final {
return _cached_size_.Get(); }
165 inline void SharedCtor();
166 inline void SharedDtor();
167 void SetCachedSize(
int size)
const final;
168 void InternalSwap(Double_V* other);
169 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
170 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
171 return "ignition.msgs.Double_V";
174 explicit Double_V(::PROTOBUF_NAMESPACE_ID::Arena* arena);
176 static void ArenaDtor(
void*
object);
177 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
182 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
194 kDataFieldNumber = 1,
199 int _internal_data_size()
const;
203 double _internal_data(
int index)
const;
204 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
205 _internal_data()
const;
206 void _internal_add_data(
double value);
207 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
208 _internal_mutable_data();
213 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
215 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
222 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
223 typedef void InternalArenaConstructable_;
224 typedef void DestructorSkippable_;
225 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > data_;
227 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
228 friend struct ::TableStruct_ignition_2fmsgs_2fdouble_5fv_2eproto;
236 #pragma GCC diagnostic push
237 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
242 inline int Double_V::_internal_data_size()
const {
245 inline int Double_V::data_size()
const {
246 return _internal_data_size();
248 inline void Double_V::clear_data() {
251 inline double Double_V::_internal_data(
int index)
const {
252 return data_.Get(index);
254 inline double Double_V::data(
int index)
const {
256 return _internal_data(index);
258 inline void Double_V::set_data(
int index,
double value) {
259 data_.Set(index, value);
262 inline void Double_V::_internal_add_data(
double value) {
265 inline void Double_V::add_data(
double value) {
266 _internal_add_data(value);
269 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
270 Double_V::_internal_data()
const {
273 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
274 Double_V::data()
const {
276 return _internal_data();
278 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
279 Double_V::_internal_mutable_data() {
282 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
283 Double_V::mutable_data() {
285 return _internal_mutable_data();
289 #pragma GCC diagnostic pop
306 #include <google/protobuf/port_undef.inc>
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: double_v.pb.h:113
Double_V(Double_V &&from) noexcept
Definition: double_v.pb.h:89
void add_data(double value)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Double_V(const Double_V &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: double_v.pb.h:107
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Double_V * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: double_v.pb.h:148
Double_V & operator=(Double_V &&from) noexcept
Definition: double_v.pb.h:98
void CopyFrom(const Double_V &from)
double data(int index) const
void UnsafeArenaSwap(Double_V *other)
Definition: double_v.pb.h:136
static const Double_V * internal_default_instance()
Definition: double_v.pb.h:118
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Double_V(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void Swap(Double_V *other)
Definition: double_v.pb.h:128
Double_V * New() const final
Definition: double_v.pb.h:144
static const Double_V & default_instance()
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > & data() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: double_v.pb.h:110
friend void swap(Double_V &a, Double_V &b)
Definition: double_v.pb.h:125
void MergeFrom(const Double_V &from)
void set_data(int index, double value)
::PROTOBUF_NAMESPACE_ID::RepeatedField< double > * mutable_data()
Double_V()
Definition: double_v.pb.h:85
Double_V & operator=(const Double_V &from)
Definition: double_v.pb.h:94
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fdouble_5fv_2eproto
std::shared_ptr< Double_V > Double_VSharedPtr
Definition: double_v.pb.h:294
std::shared_ptr< const Double_V > ConstDouble_VSharedPtr
Definition: double_v.pb.h:295
std::unique_ptr< const Double_V > ConstDouble_VUniquePtr
Definition: double_v.pb.h:293
std::unique_ptr< Double_V > Double_VUniquePtr
Definition: double_v.pb.h:292
IGNITION_MSGS_VISIBLE Double_VDefaultTypeInternal _Double_V_default_instance_
Definition: actor.pb.h:52
Definition: double_v.pb.h:55
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)