Files
EntityLibrary/include/Orders/protos/MoveOrder.pb.h

528 lines
20 KiB
C++

// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: MoveOrder.proto
#ifndef GOOGLE_PROTOBUF_INCLUDED_MoveOrder_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_MoveOrder_2eproto
#include <limits>
#include <string>
#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3021000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#endif
#if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#endif
#include <google/protobuf/port_undef.inc>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata_lite.h>
#include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h> // IWYU pragma: export
#include <google/protobuf/extension_set.h> // IWYU pragma: export
#include <google/protobuf/unknown_field_set.h>
#include "GeocentricPosition.pb.h"
#include <google/protobuf/timestamp.pb.h>
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_MoveOrder_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
} // namespace internal
PROTOBUF_NAMESPACE_CLOSE
// Internal implementation detail -- do not use these members.
struct TableStruct_MoveOrder_2eproto {
static const uint32_t offsets[];
};
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_MoveOrder_2eproto;
namespace messages {
namespace entity {
namespace order {
class MoveOrder;
struct MoveOrderDefaultTypeInternal;
extern MoveOrderDefaultTypeInternal _MoveOrder_default_instance_;
} // namespace order
} // namespace entity
} // namespace messages
PROTOBUF_NAMESPACE_OPEN
template<> ::messages::entity::order::MoveOrder* Arena::CreateMaybeMessage<::messages::entity::order::MoveOrder>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace messages {
namespace entity {
namespace order {
// ===================================================================
class MoveOrder final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:messages.entity.order.MoveOrder) */ {
public:
inline MoveOrder() : MoveOrder(nullptr) {}
~MoveOrder() override;
explicit PROTOBUF_CONSTEXPR MoveOrder(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
MoveOrder(const MoveOrder& from);
MoveOrder(MoveOrder&& from) noexcept
: MoveOrder() {
*this = ::std::move(from);
}
inline MoveOrder& operator=(const MoveOrder& from) {
CopyFrom(from);
return *this;
}
inline MoveOrder& operator=(MoveOrder&& from) noexcept {
if (this == &from) return *this;
if (GetOwningArena() == from.GetOwningArena()
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
&& GetOwningArena() != nullptr
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const MoveOrder& default_instance() {
return *internal_default_instance();
}
static inline const MoveOrder* internal_default_instance() {
return reinterpret_cast<const MoveOrder*>(
&_MoveOrder_default_instance_);
}
static constexpr int kIndexInFileMessages =
0;
friend void swap(MoveOrder& a, MoveOrder& b) {
a.Swap(&b);
}
inline void Swap(MoveOrder* other) {
if (other == this) return;
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() != nullptr &&
GetOwningArena() == other->GetOwningArena()) {
#else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(MoveOrder* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
MoveOrder* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<MoveOrder>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const MoveOrder& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom( const MoveOrder& from) {
MoveOrder::MergeImpl(*this, from);
}
private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
uint8_t* _InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(MoveOrder* other);
private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "messages.entity.order.MoveOrder";
}
protected:
explicit MoveOrder(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
public:
static const ClassData _class_data_;
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kGeocentricPositionFieldNumber = 1,
kStartingTimeFieldNumber = 4,
kSpeedFieldNumber = 2,
kCourseFieldNumber = 3,
};
// optional .messages.track.EntityGeocentricPosition GeocentricPosition = 1;
bool has_geocentricposition() const;
private:
bool _internal_has_geocentricposition() const;
public:
void clear_geocentricposition();
const ::messages::track::EntityGeocentricPosition& geocentricposition() const;
PROTOBUF_NODISCARD ::messages::track::EntityGeocentricPosition* release_geocentricposition();
::messages::track::EntityGeocentricPosition* mutable_geocentricposition();
void set_allocated_geocentricposition(::messages::track::EntityGeocentricPosition* geocentricposition);
private:
const ::messages::track::EntityGeocentricPosition& _internal_geocentricposition() const;
::messages::track::EntityGeocentricPosition* _internal_mutable_geocentricposition();
public:
void unsafe_arena_set_allocated_geocentricposition(
::messages::track::EntityGeocentricPosition* geocentricposition);
::messages::track::EntityGeocentricPosition* unsafe_arena_release_geocentricposition();
// optional .google.protobuf.Timestamp startingTime = 4;
bool has_startingtime() const;
private:
bool _internal_has_startingtime() const;
public:
void clear_startingtime();
const ::PROTOBUF_NAMESPACE_ID::Timestamp& startingtime() const;
PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Timestamp* release_startingtime();
::PROTOBUF_NAMESPACE_ID::Timestamp* mutable_startingtime();
void set_allocated_startingtime(::PROTOBUF_NAMESPACE_ID::Timestamp* startingtime);
private:
const ::PROTOBUF_NAMESPACE_ID::Timestamp& _internal_startingtime() const;
::PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_startingtime();
public:
void unsafe_arena_set_allocated_startingtime(
::PROTOBUF_NAMESPACE_ID::Timestamp* startingtime);
::PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_startingtime();
// optional double speed = 2;
bool has_speed() const;
private:
bool _internal_has_speed() const;
public:
void clear_speed();
double speed() const;
void set_speed(double value);
private:
double _internal_speed() const;
void _internal_set_speed(double value);
public:
// optional double course = 3;
bool has_course() const;
private:
bool _internal_has_course() const;
public:
void clear_course();
double course() const;
void set_course(double value);
private:
double _internal_course() const;
void _internal_set_course(double value);
public:
// @@protoc_insertion_point(class_scope:messages.entity.order.MoveOrder)
private:
class _Internal;
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
struct Impl_ {
::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
::messages::track::EntityGeocentricPosition* geocentricposition_;
::PROTOBUF_NAMESPACE_ID::Timestamp* startingtime_;
double speed_;
double course_;
};
union { Impl_ _impl_; };
friend struct ::TableStruct_MoveOrder_2eproto;
};
// ===================================================================
// ===================================================================
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif // __GNUC__
// MoveOrder
// optional .messages.track.EntityGeocentricPosition GeocentricPosition = 1;
inline bool MoveOrder::_internal_has_geocentricposition() const {
bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
PROTOBUF_ASSUME(!value || _impl_.geocentricposition_ != nullptr);
return value;
}
inline bool MoveOrder::has_geocentricposition() const {
return _internal_has_geocentricposition();
}
inline const ::messages::track::EntityGeocentricPosition& MoveOrder::_internal_geocentricposition() const {
const ::messages::track::EntityGeocentricPosition* p = _impl_.geocentricposition_;
return p != nullptr ? *p : reinterpret_cast<const ::messages::track::EntityGeocentricPosition&>(
::messages::track::_EntityGeocentricPosition_default_instance_);
}
inline const ::messages::track::EntityGeocentricPosition& MoveOrder::geocentricposition() const {
// @@protoc_insertion_point(field_get:messages.entity.order.MoveOrder.GeocentricPosition)
return _internal_geocentricposition();
}
inline void MoveOrder::unsafe_arena_set_allocated_geocentricposition(
::messages::track::EntityGeocentricPosition* geocentricposition) {
if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.geocentricposition_);
}
_impl_.geocentricposition_ = geocentricposition;
if (geocentricposition) {
_impl_._has_bits_[0] |= 0x00000001u;
} else {
_impl_._has_bits_[0] &= ~0x00000001u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:messages.entity.order.MoveOrder.GeocentricPosition)
}
inline ::messages::track::EntityGeocentricPosition* MoveOrder::release_geocentricposition() {
_impl_._has_bits_[0] &= ~0x00000001u;
::messages::track::EntityGeocentricPosition* temp = _impl_.geocentricposition_;
_impl_.geocentricposition_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
if (GetArenaForAllocation() == nullptr) { delete old; }
#else // PROTOBUF_FORCE_COPY_IN_RELEASE
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::messages::track::EntityGeocentricPosition* MoveOrder::unsafe_arena_release_geocentricposition() {
// @@protoc_insertion_point(field_release:messages.entity.order.MoveOrder.GeocentricPosition)
_impl_._has_bits_[0] &= ~0x00000001u;
::messages::track::EntityGeocentricPosition* temp = _impl_.geocentricposition_;
_impl_.geocentricposition_ = nullptr;
return temp;
}
inline ::messages::track::EntityGeocentricPosition* MoveOrder::_internal_mutable_geocentricposition() {
_impl_._has_bits_[0] |= 0x00000001u;
if (_impl_.geocentricposition_ == nullptr) {
auto* p = CreateMaybeMessage<::messages::track::EntityGeocentricPosition>(GetArenaForAllocation());
_impl_.geocentricposition_ = p;
}
return _impl_.geocentricposition_;
}
inline ::messages::track::EntityGeocentricPosition* MoveOrder::mutable_geocentricposition() {
::messages::track::EntityGeocentricPosition* _msg = _internal_mutable_geocentricposition();
// @@protoc_insertion_point(field_mutable:messages.entity.order.MoveOrder.GeocentricPosition)
return _msg;
}
inline void MoveOrder::set_allocated_geocentricposition(::messages::track::EntityGeocentricPosition* geocentricposition) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.geocentricposition_);
}
if (geocentricposition) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(geocentricposition));
if (message_arena != submessage_arena) {
geocentricposition = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, geocentricposition, submessage_arena);
}
_impl_._has_bits_[0] |= 0x00000001u;
} else {
_impl_._has_bits_[0] &= ~0x00000001u;
}
_impl_.geocentricposition_ = geocentricposition;
// @@protoc_insertion_point(field_set_allocated:messages.entity.order.MoveOrder.GeocentricPosition)
}
// optional double speed = 2;
inline bool MoveOrder::_internal_has_speed() const {
bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool MoveOrder::has_speed() const {
return _internal_has_speed();
}
inline void MoveOrder::clear_speed() {
_impl_.speed_ = 0;
_impl_._has_bits_[0] &= ~0x00000004u;
}
inline double MoveOrder::_internal_speed() const {
return _impl_.speed_;
}
inline double MoveOrder::speed() const {
// @@protoc_insertion_point(field_get:messages.entity.order.MoveOrder.speed)
return _internal_speed();
}
inline void MoveOrder::_internal_set_speed(double value) {
_impl_._has_bits_[0] |= 0x00000004u;
_impl_.speed_ = value;
}
inline void MoveOrder::set_speed(double value) {
_internal_set_speed(value);
// @@protoc_insertion_point(field_set:messages.entity.order.MoveOrder.speed)
}
// optional double course = 3;
inline bool MoveOrder::_internal_has_course() const {
bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool MoveOrder::has_course() const {
return _internal_has_course();
}
inline void MoveOrder::clear_course() {
_impl_.course_ = 0;
_impl_._has_bits_[0] &= ~0x00000008u;
}
inline double MoveOrder::_internal_course() const {
return _impl_.course_;
}
inline double MoveOrder::course() const {
// @@protoc_insertion_point(field_get:messages.entity.order.MoveOrder.course)
return _internal_course();
}
inline void MoveOrder::_internal_set_course(double value) {
_impl_._has_bits_[0] |= 0x00000008u;
_impl_.course_ = value;
}
inline void MoveOrder::set_course(double value) {
_internal_set_course(value);
// @@protoc_insertion_point(field_set:messages.entity.order.MoveOrder.course)
}
// optional .google.protobuf.Timestamp startingTime = 4;
inline bool MoveOrder::_internal_has_startingtime() const {
bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
PROTOBUF_ASSUME(!value || _impl_.startingtime_ != nullptr);
return value;
}
inline bool MoveOrder::has_startingtime() const {
return _internal_has_startingtime();
}
inline const ::PROTOBUF_NAMESPACE_ID::Timestamp& MoveOrder::_internal_startingtime() const {
const ::PROTOBUF_NAMESPACE_ID::Timestamp* p = _impl_.startingtime_;
return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Timestamp&>(
::PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_);
}
inline const ::PROTOBUF_NAMESPACE_ID::Timestamp& MoveOrder::startingtime() const {
// @@protoc_insertion_point(field_get:messages.entity.order.MoveOrder.startingTime)
return _internal_startingtime();
}
inline void MoveOrder::unsafe_arena_set_allocated_startingtime(
::PROTOBUF_NAMESPACE_ID::Timestamp* startingtime) {
if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.startingtime_);
}
_impl_.startingtime_ = startingtime;
if (startingtime) {
_impl_._has_bits_[0] |= 0x00000002u;
} else {
_impl_._has_bits_[0] &= ~0x00000002u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:messages.entity.order.MoveOrder.startingTime)
}
inline ::PROTOBUF_NAMESPACE_ID::Timestamp* MoveOrder::release_startingtime() {
_impl_._has_bits_[0] &= ~0x00000002u;
::PROTOBUF_NAMESPACE_ID::Timestamp* temp = _impl_.startingtime_;
_impl_.startingtime_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
if (GetArenaForAllocation() == nullptr) { delete old; }
#else // PROTOBUF_FORCE_COPY_IN_RELEASE
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::PROTOBUF_NAMESPACE_ID::Timestamp* MoveOrder::unsafe_arena_release_startingtime() {
// @@protoc_insertion_point(field_release:messages.entity.order.MoveOrder.startingTime)
_impl_._has_bits_[0] &= ~0x00000002u;
::PROTOBUF_NAMESPACE_ID::Timestamp* temp = _impl_.startingtime_;
_impl_.startingtime_ = nullptr;
return temp;
}
inline ::PROTOBUF_NAMESPACE_ID::Timestamp* MoveOrder::_internal_mutable_startingtime() {
_impl_._has_bits_[0] |= 0x00000002u;
if (_impl_.startingtime_ == nullptr) {
auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::Timestamp>(GetArenaForAllocation());
_impl_.startingtime_ = p;
}
return _impl_.startingtime_;
}
inline ::PROTOBUF_NAMESPACE_ID::Timestamp* MoveOrder::mutable_startingtime() {
::PROTOBUF_NAMESPACE_ID::Timestamp* _msg = _internal_mutable_startingtime();
// @@protoc_insertion_point(field_mutable:messages.entity.order.MoveOrder.startingTime)
return _msg;
}
inline void MoveOrder::set_allocated_startingtime(::PROTOBUF_NAMESPACE_ID::Timestamp* startingtime) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.startingtime_);
}
if (startingtime) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(startingtime));
if (message_arena != submessage_arena) {
startingtime = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, startingtime, submessage_arena);
}
_impl_._has_bits_[0] |= 0x00000002u;
} else {
_impl_._has_bits_[0] &= ~0x00000002u;
}
_impl_.startingtime_ = startingtime;
// @@protoc_insertion_point(field_set_allocated:messages.entity.order.MoveOrder.startingTime)
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif // __GNUC__
// @@protoc_insertion_point(namespace_scope)
} // namespace order
} // namespace entity
} // namespace messages
// @@protoc_insertion_point(global_scope)
#include <google/protobuf/port_undef.inc>
#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_MoveOrder_2eproto