4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fuint64_5fv_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fuint64_5fv_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3019000
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 3019000 < 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>
36 #pragma GCC system_header
39 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
42 #include <sys/sysmacros.h>
47 #include <google/protobuf/port_def.inc>
48 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fuint64_5fv_2eproto IGNITION_MSGS_VISIBLE
49 PROTOBUF_NAMESPACE_OPEN
53 PROTOBUF_NAMESPACE_CLOSE
57 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
59 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
61 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
63 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
64 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
65 static const uint32_t offsets[];
71 struct UInt64_VDefaultTypeInternal;
75 PROTOBUF_NAMESPACE_OPEN
76 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::UInt64_V* Arena::CreateMaybeMessage<::ignition::msgs::UInt64_V>(Arena*);
77 PROTOBUF_NAMESPACE_CLOSE
84 public ::PROTOBUF_NAMESPACE_ID::Message {
88 explicit constexpr
UInt64_V(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
93 *
this = ::std::move(from);
101 if (
this == &from)
return *
this;
102 if (GetOwningArena() == from.GetOwningArena()
103 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
104 && GetOwningArena() !=
nullptr
114 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
115 return GetDescriptor();
118 return default_instance().GetMetadata().descriptor;
121 return default_instance().GetMetadata().reflection;
124 return *internal_default_instance();
127 return reinterpret_cast<const UInt64_V*
>(
130 static constexpr
int kIndexInFileMessages =
137 if (other ==
this)
return;
138 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
139 if (GetOwningArena() !=
nullptr &&
140 GetOwningArena() == other->GetOwningArena()) {
142 if (GetOwningArena() == other->GetOwningArena()) {
146 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
150 if (other ==
this)
return;
151 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
157 UInt64_V*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
158 return CreateMaybeMessage<UInt64_V>(arena);
160 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
162 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
165 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
167 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
168 bool IsInitialized() const final;
170 size_t ByteSizeLong() const final;
171 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
172 uint8_t* _InternalSerialize(
173 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
174 int GetCachedSize() const final {
return _cached_size_.Get(); }
179 void SetCachedSize(
int size)
const final;
183 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
184 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
185 return "ignition.msgs.UInt64_V";
188 explicit UInt64_V(::PROTOBUF_NAMESPACE_ID::Arena* arena,
189 bool is_message_owned =
false);
191 static void ArenaDtor(
void*
object);
192 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
196 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
198 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
205 kDataFieldNumber = 2,
206 kHeaderFieldNumber = 1,
209 int data_size()
const;
211 int _internal_data_size()
const;
215 uint64_t _internal_data(
int index)
const;
216 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
217 _internal_data()
const;
218 void _internal_add_data(uint64_t value);
219 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
220 _internal_mutable_data();
222 uint64_t data(
int index)
const;
223 void set_data(
int index, uint64_t value);
224 void add_data(uint64_t value);
225 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
227 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
231 bool has_header()
const;
233 bool _internal_has_header()
const;
236 const ::ignition::msgs::Header& header()
const;
237 PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
241 const ::ignition::msgs::Header& _internal_header()
const;
244 void unsafe_arena_set_allocated_header(
252 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
253 typedef void InternalArenaConstructable_;
254 typedef void DestructorSkippable_;
255 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > data_;
258 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
259 friend struct ::TableStruct_ignition_2fmsgs_2fuint64_5fv_2eproto;
267 #pragma GCC diagnostic push
268 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
273 inline bool UInt64_V::_internal_has_header()
const {
274 return this != internal_default_instance() && header_ !=
nullptr;
277 return _internal_has_header();
279 inline const ::ignition::msgs::Header& UInt64_V::_internal_header()
const {
280 const ::ignition::msgs::Header* p = header_;
286 return _internal_header();
290 if (GetArenaForAllocation() ==
nullptr) {
291 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
305 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
306 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
307 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
308 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
310 if (GetArenaForAllocation() !=
nullptr) {
311 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
323 inline ::ignition::msgs::Header* UInt64_V::_internal_mutable_header() {
325 if (header_ ==
nullptr) {
326 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
337 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
338 if (message_arena ==
nullptr) {
339 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
342 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
343 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
344 ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
345 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header));
346 if (message_arena != submessage_arena) {
347 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
348 message_arena, header, submessage_arena);
359 inline int UInt64_V::_internal_data_size()
const {
363 return _internal_data_size();
368 inline uint64_t UInt64_V::_internal_data(
int index)
const {
369 return data_.Get(index);
373 return _internal_data(index);
376 data_.Set(index, value);
379 inline void UInt64_V::_internal_add_data(uint64_t value) {
383 _internal_add_data(value);
386 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
387 UInt64_V::_internal_data()
const {
390 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
393 return _internal_data();
395 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
396 UInt64_V::_internal_mutable_data() {
399 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
402 return _internal_mutable_data();
406 #pragma GCC diagnostic pop
423 #include <google/protobuf/port_undef.inc>
Definition: uint64_v.pb.h:84
void clear_data()
Definition: uint64_v.pb.h:365
UInt64_V(const UInt64_V &from)
void set_data(int index, uint64_t value)
Definition: uint64_v.pb.h:375
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: uint64_v.pb.h:120
void add_data(uint64_t value)
Definition: uint64_v.pb.h:382
bool has_header() const
Definition: uint64_v.pb.h:276
::ignition::msgs::Header * mutable_header()
Definition: uint64_v.pb.h:331
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
UInt64_V & operator=(UInt64_V &&from) noexcept
Definition: uint64_v.pb.h:100
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: uint64_v.pb.h:114
void Swap(UInt64_V *other)
Definition: uint64_v.pb.h:136
void UnsafeArenaSwap(UInt64_V *other)
Definition: uint64_v.pb.h:149
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: uint64_v.pb.h:288
UInt64_V(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void MergeFrom(const UInt64_V &from)
void CopyFrom(const UInt64_V &from)
static const UInt64_V & default_instance()
Definition: uint64_v.pb.h:123
::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > * mutable_data()
Definition: uint64_v.pb.h:400
void set_allocated_header(::ignition::msgs::Header *header)
Definition: uint64_v.pb.h:336
constexpr UInt64_V(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: uint64_v.pb.h:301
int data_size() const
Definition: uint64_v.pb.h:362
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const UInt64_V * internal_default_instance()
Definition: uint64_v.pb.h:126
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: uint64_v.pb.h:117
const ::ignition::msgs::Header & header() const
Definition: uint64_v.pb.h:284
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > & data() const
Definition: uint64_v.pb.h:391
static const ClassData _class_data_
Definition: uint64_v.pb.h:195
UInt64_V()
Definition: uint64_v.pb.h:86
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: uint64_v.pb.h:316
UInt64_V & operator=(const UInt64_V &from)
Definition: uint64_v.pb.h:96
UInt64_V * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: uint64_v.pb.h:157
UInt64_V(UInt64_V &&from) noexcept
Definition: uint64_v.pb.h:91
friend void swap(UInt64_V &a, UInt64_V &b)
Definition: uint64_v.pb.h:133
std::unique_ptr< const UInt64_V > ConstUInt64_VUniquePtr
Definition: uint64_v.pb.h:410
IGNITION_MSGS_VISIBLE UInt64_VDefaultTypeInternal _UInt64_V_default_instance_
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< const UInt64_V > ConstUInt64_VSharedPtr
Definition: uint64_v.pb.h:412
std::shared_ptr< UInt64_V > UInt64_VSharedPtr
Definition: uint64_v.pb.h:411
std::unique_ptr< UInt64_V > UInt64_VUniquePtr
Definition: uint64_v.pb.h:409
Definition: actor.pb.h:52
Definition: uint64_v.pb.h:56
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)
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fuint64_5fv_2eproto