// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: sc_manager.proto

#ifndef GOOGLE_PROTOBUF_INCLUDED_sc_5fmanager_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_sc_5fmanager_2eproto

#include <limits>
#include <string>

#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3012000
#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 3012004 < 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_table_driven.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/inlined_string_field.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 "eigen_matrix.pb.h"
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_sc_5fmanager_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}  // namespace internal
PROTOBUF_NAMESPACE_CLOSE

// Internal implementation detail -- do not use these members.
struct TableStruct_sc_5fmanager_2eproto {
  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
};
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_sc_5fmanager_2eproto;
namespace scancontext {
class FloatMatrix;
class FloatMatrixDefaultTypeInternal;
extern FloatMatrixDefaultTypeInternal _FloatMatrix_default_instance_;
class SCManagerState;
class SCManagerStateDefaultTypeInternal;
extern SCManagerStateDefaultTypeInternal _SCManagerState_default_instance_;
class ScanContextDescriptor;
class ScanContextDescriptorDefaultTypeInternal;
extern ScanContextDescriptorDefaultTypeInternal _ScanContextDescriptor_default_instance_;
}  // namespace scancontext
PROTOBUF_NAMESPACE_OPEN
template<> ::scancontext::FloatMatrix* Arena::CreateMaybeMessage<::scancontext::FloatMatrix>(Arena*);
template<> ::scancontext::SCManagerState* Arena::CreateMaybeMessage<::scancontext::SCManagerState>(Arena*);
template<> ::scancontext::ScanContextDescriptor* Arena::CreateMaybeMessage<::scancontext::ScanContextDescriptor>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace scancontext {

// ===================================================================

class FloatMatrix PROTOBUF_FINAL :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:scancontext.FloatMatrix) */ {
 public:
  inline FloatMatrix() : FloatMatrix(nullptr) {};
  virtual ~FloatMatrix();

  FloatMatrix(const FloatMatrix& from);
  FloatMatrix(FloatMatrix&& from) noexcept
    : FloatMatrix() {
    *this = ::std::move(from);
  }

  inline FloatMatrix& operator=(const FloatMatrix& from) {
    CopyFrom(from);
    return *this;
  }
  inline FloatMatrix& operator=(FloatMatrix&& from) noexcept {
    if (GetArena() == from.GetArena()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
    return GetMetadataStatic().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return GetMetadataStatic().reflection;
  }
  static const FloatMatrix& default_instance();

  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
  static inline const FloatMatrix* internal_default_instance() {
    return reinterpret_cast<const FloatMatrix*>(
               &_FloatMatrix_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    0;

  friend void swap(FloatMatrix& a, FloatMatrix& b) {
    a.Swap(&b);
  }
  inline void Swap(FloatMatrix* other) {
    if (other == this) return;
    if (GetArena() == other->GetArena()) {
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(FloatMatrix* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  inline FloatMatrix* New() const final {
    return CreateMaybeMessage<FloatMatrix>(nullptr);
  }

  FloatMatrix* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<FloatMatrix>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const FloatMatrix& from);
  void MergeFrom(const FloatMatrix& from);
  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;
  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
      ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _cached_size_.Get(); }

  private:
  inline void SharedCtor();
  inline void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(FloatMatrix* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "scancontext.FloatMatrix";
  }
  protected:
  explicit FloatMatrix(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  private:
  static void ArenaDtor(void* object);
  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  public:

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  private:
  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
    ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_sc_5fmanager_2eproto);
    return ::descriptor_table_sc_5fmanager_2eproto.file_level_metadata[kIndexInFileMessages];
  }

  public:

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  enum : int {
    kDataFieldNumber = 3,
    kRowsFieldNumber = 1,
    kColsFieldNumber = 2,
  };
  // repeated float data = 3;
  int data_size() const;
  private:
  int _internal_data_size() const;
  public:
  void clear_data();
  private:
  float _internal_data(int index) const;
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
      _internal_data() const;
  void _internal_add_data(float value);
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
      _internal_mutable_data();
  public:
  float data(int index) const;
  void set_data(int index, float value);
  void add_data(float value);
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
      data() const;
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
      mutable_data();

  // int32 rows = 1;
  void clear_rows();
  ::PROTOBUF_NAMESPACE_ID::int32 rows() const;
  void set_rows(::PROTOBUF_NAMESPACE_ID::int32 value);
  private:
  ::PROTOBUF_NAMESPACE_ID::int32 _internal_rows() const;
  void _internal_set_rows(::PROTOBUF_NAMESPACE_ID::int32 value);
  public:

  // int32 cols = 2;
  void clear_cols();
  ::PROTOBUF_NAMESPACE_ID::int32 cols() const;
  void set_cols(::PROTOBUF_NAMESPACE_ID::int32 value);
  private:
  ::PROTOBUF_NAMESPACE_ID::int32 _internal_cols() const;
  void _internal_set_cols(::PROTOBUF_NAMESPACE_ID::int32 value);
  public:

  // @@protoc_insertion_point(class_scope:scancontext.FloatMatrix)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > data_;
  mutable std::atomic<int> _data_cached_byte_size_;
  ::PROTOBUF_NAMESPACE_ID::int32 rows_;
  ::PROTOBUF_NAMESPACE_ID::int32 cols_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_sc_5fmanager_2eproto;
};
// -------------------------------------------------------------------

class ScanContextDescriptor PROTOBUF_FINAL :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:scancontext.ScanContextDescriptor) */ {
 public:
  inline ScanContextDescriptor() : ScanContextDescriptor(nullptr) {};
  virtual ~ScanContextDescriptor();

  ScanContextDescriptor(const ScanContextDescriptor& from);
  ScanContextDescriptor(ScanContextDescriptor&& from) noexcept
    : ScanContextDescriptor() {
    *this = ::std::move(from);
  }

  inline ScanContextDescriptor& operator=(const ScanContextDescriptor& from) {
    CopyFrom(from);
    return *this;
  }
  inline ScanContextDescriptor& operator=(ScanContextDescriptor&& from) noexcept {
    if (GetArena() == from.GetArena()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
    return GetMetadataStatic().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return GetMetadataStatic().reflection;
  }
  static const ScanContextDescriptor& default_instance();

  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
  static inline const ScanContextDescriptor* internal_default_instance() {
    return reinterpret_cast<const ScanContextDescriptor*>(
               &_ScanContextDescriptor_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    1;

  friend void swap(ScanContextDescriptor& a, ScanContextDescriptor& b) {
    a.Swap(&b);
  }
  inline void Swap(ScanContextDescriptor* other) {
    if (other == this) return;
    if (GetArena() == other->GetArena()) {
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(ScanContextDescriptor* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  inline ScanContextDescriptor* New() const final {
    return CreateMaybeMessage<ScanContextDescriptor>(nullptr);
  }

  ScanContextDescriptor* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<ScanContextDescriptor>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const ScanContextDescriptor& from);
  void MergeFrom(const ScanContextDescriptor& from);
  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;
  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
      ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _cached_size_.Get(); }

  private:
  inline void SharedCtor();
  inline void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(ScanContextDescriptor* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "scancontext.ScanContextDescriptor";
  }
  protected:
  explicit ScanContextDescriptor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  private:
  static void ArenaDtor(void* object);
  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  public:

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  private:
  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
    ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_sc_5fmanager_2eproto);
    return ::descriptor_table_sc_5fmanager_2eproto.file_level_metadata[kIndexInFileMessages];
  }

  public:

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  enum : int {
    kScDescriptorFieldNumber = 1,
    kRingkeyFieldNumber = 2,
    kSectorkeyFieldNumber = 3,
    kPolarcontextInvkeysMatFieldNumber = 5,
    kPoseFieldNumber = 6,
    kTimestampFieldNumber = 4,
    kFrameIdFieldNumber = 7,
  };
  // .eigen.MatrixXd sc_descriptor = 1;
  bool has_sc_descriptor() const;
  private:
  bool _internal_has_sc_descriptor() const;
  public:
  void clear_sc_descriptor();
  const ::eigen::MatrixXd& sc_descriptor() const;
  ::eigen::MatrixXd* release_sc_descriptor();
  ::eigen::MatrixXd* mutable_sc_descriptor();
  void set_allocated_sc_descriptor(::eigen::MatrixXd* sc_descriptor);
  private:
  const ::eigen::MatrixXd& _internal_sc_descriptor() const;
  ::eigen::MatrixXd* _internal_mutable_sc_descriptor();
  public:
  void unsafe_arena_set_allocated_sc_descriptor(
      ::eigen::MatrixXd* sc_descriptor);
  ::eigen::MatrixXd* unsafe_arena_release_sc_descriptor();

  // .eigen.MatrixXd ringkey = 2;
  bool has_ringkey() const;
  private:
  bool _internal_has_ringkey() const;
  public:
  void clear_ringkey();
  const ::eigen::MatrixXd& ringkey() const;
  ::eigen::MatrixXd* release_ringkey();
  ::eigen::MatrixXd* mutable_ringkey();
  void set_allocated_ringkey(::eigen::MatrixXd* ringkey);
  private:
  const ::eigen::MatrixXd& _internal_ringkey() const;
  ::eigen::MatrixXd* _internal_mutable_ringkey();
  public:
  void unsafe_arena_set_allocated_ringkey(
      ::eigen::MatrixXd* ringkey);
  ::eigen::MatrixXd* unsafe_arena_release_ringkey();

  // .eigen.MatrixXd sectorkey = 3;
  bool has_sectorkey() const;
  private:
  bool _internal_has_sectorkey() const;
  public:
  void clear_sectorkey();
  const ::eigen::MatrixXd& sectorkey() const;
  ::eigen::MatrixXd* release_sectorkey();
  ::eigen::MatrixXd* mutable_sectorkey();
  void set_allocated_sectorkey(::eigen::MatrixXd* sectorkey);
  private:
  const ::eigen::MatrixXd& _internal_sectorkey() const;
  ::eigen::MatrixXd* _internal_mutable_sectorkey();
  public:
  void unsafe_arena_set_allocated_sectorkey(
      ::eigen::MatrixXd* sectorkey);
  ::eigen::MatrixXd* unsafe_arena_release_sectorkey();

  // .scancontext.FloatMatrix polarcontext_invkeys_mat = 5;
  bool has_polarcontext_invkeys_mat() const;
  private:
  bool _internal_has_polarcontext_invkeys_mat() const;
  public:
  void clear_polarcontext_invkeys_mat();
  const ::scancontext::FloatMatrix& polarcontext_invkeys_mat() const;
  ::scancontext::FloatMatrix* release_polarcontext_invkeys_mat();
  ::scancontext::FloatMatrix* mutable_polarcontext_invkeys_mat();
  void set_allocated_polarcontext_invkeys_mat(::scancontext::FloatMatrix* polarcontext_invkeys_mat);
  private:
  const ::scancontext::FloatMatrix& _internal_polarcontext_invkeys_mat() const;
  ::scancontext::FloatMatrix* _internal_mutable_polarcontext_invkeys_mat();
  public:
  void unsafe_arena_set_allocated_polarcontext_invkeys_mat(
      ::scancontext::FloatMatrix* polarcontext_invkeys_mat);
  ::scancontext::FloatMatrix* unsafe_arena_release_polarcontext_invkeys_mat();

  // .eigen.Matrix4d pose = 6;
  bool has_pose() const;
  private:
  bool _internal_has_pose() const;
  public:
  void clear_pose();
  const ::eigen::Matrix4d& pose() const;
  ::eigen::Matrix4d* release_pose();
  ::eigen::Matrix4d* mutable_pose();
  void set_allocated_pose(::eigen::Matrix4d* pose);
  private:
  const ::eigen::Matrix4d& _internal_pose() const;
  ::eigen::Matrix4d* _internal_mutable_pose();
  public:
  void unsafe_arena_set_allocated_pose(
      ::eigen::Matrix4d* pose);
  ::eigen::Matrix4d* unsafe_arena_release_pose();

  // double timestamp = 4;
  void clear_timestamp();
  double timestamp() const;
  void set_timestamp(double value);
  private:
  double _internal_timestamp() const;
  void _internal_set_timestamp(double value);
  public:

  // uint64 frame_id = 7;
  void clear_frame_id();
  ::PROTOBUF_NAMESPACE_ID::uint64 frame_id() const;
  void set_frame_id(::PROTOBUF_NAMESPACE_ID::uint64 value);
  private:
  ::PROTOBUF_NAMESPACE_ID::uint64 _internal_frame_id() const;
  void _internal_set_frame_id(::PROTOBUF_NAMESPACE_ID::uint64 value);
  public:

  // @@protoc_insertion_point(class_scope:scancontext.ScanContextDescriptor)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::eigen::MatrixXd* sc_descriptor_;
  ::eigen::MatrixXd* ringkey_;
  ::eigen::MatrixXd* sectorkey_;
  ::scancontext::FloatMatrix* polarcontext_invkeys_mat_;
  ::eigen::Matrix4d* pose_;
  double timestamp_;
  ::PROTOBUF_NAMESPACE_ID::uint64 frame_id_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_sc_5fmanager_2eproto;
};
// -------------------------------------------------------------------

class SCManagerState PROTOBUF_FINAL :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:scancontext.SCManagerState) */ {
 public:
  inline SCManagerState() : SCManagerState(nullptr) {};
  virtual ~SCManagerState();

  SCManagerState(const SCManagerState& from);
  SCManagerState(SCManagerState&& from) noexcept
    : SCManagerState() {
    *this = ::std::move(from);
  }

  inline SCManagerState& operator=(const SCManagerState& from) {
    CopyFrom(from);
    return *this;
  }
  inline SCManagerState& operator=(SCManagerState&& from) noexcept {
    if (GetArena() == from.GetArena()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
    return GetMetadataStatic().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return GetMetadataStatic().reflection;
  }
  static const SCManagerState& default_instance();

  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
  static inline const SCManagerState* internal_default_instance() {
    return reinterpret_cast<const SCManagerState*>(
               &_SCManagerState_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    2;

  friend void swap(SCManagerState& a, SCManagerState& b) {
    a.Swap(&b);
  }
  inline void Swap(SCManagerState* other) {
    if (other == this) return;
    if (GetArena() == other->GetArena()) {
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(SCManagerState* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  inline SCManagerState* New() const final {
    return CreateMaybeMessage<SCManagerState>(nullptr);
  }

  SCManagerState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<SCManagerState>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const SCManagerState& from);
  void MergeFrom(const SCManagerState& from);
  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;
  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
      ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _cached_size_.Get(); }

  private:
  inline void SharedCtor();
  inline void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(SCManagerState* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "scancontext.SCManagerState";
  }
  protected:
  explicit SCManagerState(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  private:
  static void ArenaDtor(void* object);
  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  public:

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  private:
  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
    ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_sc_5fmanager_2eproto);
    return ::descriptor_table_sc_5fmanager_2eproto.file_level_metadata[kIndexInFileMessages];
  }

  public:

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  enum : int {
    kDescriptorsFieldNumber = 6,
    kLidarHeightFieldNumber = 1,
    kPcNumRingFieldNumber = 2,
    kPcNumSectorFieldNumber = 3,
    kPcMaxRadiusFieldNumber = 4,
    kScDistThresFieldNumber = 5,
    kIsTreeBatchMadeFieldNumber = 7,
  };
  // repeated .scancontext.ScanContextDescriptor descriptors = 6;
  int descriptors_size() const;
  private:
  int _internal_descriptors_size() const;
  public:
  void clear_descriptors();
  ::scancontext::ScanContextDescriptor* mutable_descriptors(int index);
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::scancontext::ScanContextDescriptor >*
      mutable_descriptors();
  private:
  const ::scancontext::ScanContextDescriptor& _internal_descriptors(int index) const;
  ::scancontext::ScanContextDescriptor* _internal_add_descriptors();
  public:
  const ::scancontext::ScanContextDescriptor& descriptors(int index) const;
  ::scancontext::ScanContextDescriptor* add_descriptors();
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::scancontext::ScanContextDescriptor >&
      descriptors() const;

  // double lidar_height = 1;
  void clear_lidar_height();
  double lidar_height() const;
  void set_lidar_height(double value);
  private:
  double _internal_lidar_height() const;
  void _internal_set_lidar_height(double value);
  public:

  // int32 pc_num_ring = 2;
  void clear_pc_num_ring();
  ::PROTOBUF_NAMESPACE_ID::int32 pc_num_ring() const;
  void set_pc_num_ring(::PROTOBUF_NAMESPACE_ID::int32 value);
  private:
  ::PROTOBUF_NAMESPACE_ID::int32 _internal_pc_num_ring() const;
  void _internal_set_pc_num_ring(::PROTOBUF_NAMESPACE_ID::int32 value);
  public:

  // int32 pc_num_sector = 3;
  void clear_pc_num_sector();
  ::PROTOBUF_NAMESPACE_ID::int32 pc_num_sector() const;
  void set_pc_num_sector(::PROTOBUF_NAMESPACE_ID::int32 value);
  private:
  ::PROTOBUF_NAMESPACE_ID::int32 _internal_pc_num_sector() const;
  void _internal_set_pc_num_sector(::PROTOBUF_NAMESPACE_ID::int32 value);
  public:

  // double pc_max_radius = 4;
  void clear_pc_max_radius();
  double pc_max_radius() const;
  void set_pc_max_radius(double value);
  private:
  double _internal_pc_max_radius() const;
  void _internal_set_pc_max_radius(double value);
  public:

  // double sc_dist_thres = 5;
  void clear_sc_dist_thres();
  double sc_dist_thres() const;
  void set_sc_dist_thres(double value);
  private:
  double _internal_sc_dist_thres() const;
  void _internal_set_sc_dist_thres(double value);
  public:

  // bool is_tree_batch_made = 7;
  void clear_is_tree_batch_made();
  bool is_tree_batch_made() const;
  void set_is_tree_batch_made(bool value);
  private:
  bool _internal_is_tree_batch_made() const;
  void _internal_set_is_tree_batch_made(bool value);
  public:

  // @@protoc_insertion_point(class_scope:scancontext.SCManagerState)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::scancontext::ScanContextDescriptor > descriptors_;
  double lidar_height_;
  ::PROTOBUF_NAMESPACE_ID::int32 pc_num_ring_;
  ::PROTOBUF_NAMESPACE_ID::int32 pc_num_sector_;
  double pc_max_radius_;
  double sc_dist_thres_;
  bool is_tree_batch_made_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_sc_5fmanager_2eproto;
};
// ===================================================================


// ===================================================================

#ifdef __GNUC__
  #pragma GCC diagnostic push
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif  // __GNUC__
// FloatMatrix

// int32 rows = 1;
inline void FloatMatrix::clear_rows() {
  rows_ = 0;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 FloatMatrix::_internal_rows() const {
  return rows_;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 FloatMatrix::rows() const {
  // @@protoc_insertion_point(field_get:scancontext.FloatMatrix.rows)
  return _internal_rows();
}
inline void FloatMatrix::_internal_set_rows(::PROTOBUF_NAMESPACE_ID::int32 value) {
  
  rows_ = value;
}
inline void FloatMatrix::set_rows(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _internal_set_rows(value);
  // @@protoc_insertion_point(field_set:scancontext.FloatMatrix.rows)
}

// int32 cols = 2;
inline void FloatMatrix::clear_cols() {
  cols_ = 0;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 FloatMatrix::_internal_cols() const {
  return cols_;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 FloatMatrix::cols() const {
  // @@protoc_insertion_point(field_get:scancontext.FloatMatrix.cols)
  return _internal_cols();
}
inline void FloatMatrix::_internal_set_cols(::PROTOBUF_NAMESPACE_ID::int32 value) {
  
  cols_ = value;
}
inline void FloatMatrix::set_cols(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _internal_set_cols(value);
  // @@protoc_insertion_point(field_set:scancontext.FloatMatrix.cols)
}

// repeated float data = 3;
inline int FloatMatrix::_internal_data_size() const {
  return data_.size();
}
inline int FloatMatrix::data_size() const {
  return _internal_data_size();
}
inline void FloatMatrix::clear_data() {
  data_.Clear();
}
inline float FloatMatrix::_internal_data(int index) const {
  return data_.Get(index);
}
inline float FloatMatrix::data(int index) const {
  // @@protoc_insertion_point(field_get:scancontext.FloatMatrix.data)
  return _internal_data(index);
}
inline void FloatMatrix::set_data(int index, float value) {
  data_.Set(index, value);
  // @@protoc_insertion_point(field_set:scancontext.FloatMatrix.data)
}
inline void FloatMatrix::_internal_add_data(float value) {
  data_.Add(value);
}
inline void FloatMatrix::add_data(float value) {
  _internal_add_data(value);
  // @@protoc_insertion_point(field_add:scancontext.FloatMatrix.data)
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
FloatMatrix::_internal_data() const {
  return data_;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
FloatMatrix::data() const {
  // @@protoc_insertion_point(field_list:scancontext.FloatMatrix.data)
  return _internal_data();
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
FloatMatrix::_internal_mutable_data() {
  return &data_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
FloatMatrix::mutable_data() {
  // @@protoc_insertion_point(field_mutable_list:scancontext.FloatMatrix.data)
  return _internal_mutable_data();
}

// -------------------------------------------------------------------

// ScanContextDescriptor

// .eigen.MatrixXd sc_descriptor = 1;
inline bool ScanContextDescriptor::_internal_has_sc_descriptor() const {
  return this != internal_default_instance() && sc_descriptor_ != nullptr;
}
inline bool ScanContextDescriptor::has_sc_descriptor() const {
  return _internal_has_sc_descriptor();
}
inline const ::eigen::MatrixXd& ScanContextDescriptor::_internal_sc_descriptor() const {
  const ::eigen::MatrixXd* p = sc_descriptor_;
  return p != nullptr ? *p : *reinterpret_cast<const ::eigen::MatrixXd*>(
      &::eigen::_MatrixXd_default_instance_);
}
inline const ::eigen::MatrixXd& ScanContextDescriptor::sc_descriptor() const {
  // @@protoc_insertion_point(field_get:scancontext.ScanContextDescriptor.sc_descriptor)
  return _internal_sc_descriptor();
}
inline void ScanContextDescriptor::unsafe_arena_set_allocated_sc_descriptor(
    ::eigen::MatrixXd* sc_descriptor) {
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(sc_descriptor_);
  }
  sc_descriptor_ = sc_descriptor;
  if (sc_descriptor) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:scancontext.ScanContextDescriptor.sc_descriptor)
}
inline ::eigen::MatrixXd* ScanContextDescriptor::release_sc_descriptor() {
  auto temp = unsafe_arena_release_sc_descriptor();
  if (GetArena() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
  return temp;
}
inline ::eigen::MatrixXd* ScanContextDescriptor::unsafe_arena_release_sc_descriptor() {
  // @@protoc_insertion_point(field_release:scancontext.ScanContextDescriptor.sc_descriptor)
  
  ::eigen::MatrixXd* temp = sc_descriptor_;
  sc_descriptor_ = nullptr;
  return temp;
}
inline ::eigen::MatrixXd* ScanContextDescriptor::_internal_mutable_sc_descriptor() {
  
  if (sc_descriptor_ == nullptr) {
    auto* p = CreateMaybeMessage<::eigen::MatrixXd>(GetArena());
    sc_descriptor_ = p;
  }
  return sc_descriptor_;
}
inline ::eigen::MatrixXd* ScanContextDescriptor::mutable_sc_descriptor() {
  // @@protoc_insertion_point(field_mutable:scancontext.ScanContextDescriptor.sc_descriptor)
  return _internal_mutable_sc_descriptor();
}
inline void ScanContextDescriptor::set_allocated_sc_descriptor(::eigen::MatrixXd* sc_descriptor) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(sc_descriptor_);
  }
  if (sc_descriptor) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
      reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(sc_descriptor)->GetArena();
    if (message_arena != submessage_arena) {
      sc_descriptor = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, sc_descriptor, submessage_arena);
    }
    
  } else {
    
  }
  sc_descriptor_ = sc_descriptor;
  // @@protoc_insertion_point(field_set_allocated:scancontext.ScanContextDescriptor.sc_descriptor)
}

// .eigen.MatrixXd ringkey = 2;
inline bool ScanContextDescriptor::_internal_has_ringkey() const {
  return this != internal_default_instance() && ringkey_ != nullptr;
}
inline bool ScanContextDescriptor::has_ringkey() const {
  return _internal_has_ringkey();
}
inline const ::eigen::MatrixXd& ScanContextDescriptor::_internal_ringkey() const {
  const ::eigen::MatrixXd* p = ringkey_;
  return p != nullptr ? *p : *reinterpret_cast<const ::eigen::MatrixXd*>(
      &::eigen::_MatrixXd_default_instance_);
}
inline const ::eigen::MatrixXd& ScanContextDescriptor::ringkey() const {
  // @@protoc_insertion_point(field_get:scancontext.ScanContextDescriptor.ringkey)
  return _internal_ringkey();
}
inline void ScanContextDescriptor::unsafe_arena_set_allocated_ringkey(
    ::eigen::MatrixXd* ringkey) {
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(ringkey_);
  }
  ringkey_ = ringkey;
  if (ringkey) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:scancontext.ScanContextDescriptor.ringkey)
}
inline ::eigen::MatrixXd* ScanContextDescriptor::release_ringkey() {
  auto temp = unsafe_arena_release_ringkey();
  if (GetArena() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
  return temp;
}
inline ::eigen::MatrixXd* ScanContextDescriptor::unsafe_arena_release_ringkey() {
  // @@protoc_insertion_point(field_release:scancontext.ScanContextDescriptor.ringkey)
  
  ::eigen::MatrixXd* temp = ringkey_;
  ringkey_ = nullptr;
  return temp;
}
inline ::eigen::MatrixXd* ScanContextDescriptor::_internal_mutable_ringkey() {
  
  if (ringkey_ == nullptr) {
    auto* p = CreateMaybeMessage<::eigen::MatrixXd>(GetArena());
    ringkey_ = p;
  }
  return ringkey_;
}
inline ::eigen::MatrixXd* ScanContextDescriptor::mutable_ringkey() {
  // @@protoc_insertion_point(field_mutable:scancontext.ScanContextDescriptor.ringkey)
  return _internal_mutable_ringkey();
}
inline void ScanContextDescriptor::set_allocated_ringkey(::eigen::MatrixXd* ringkey) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(ringkey_);
  }
  if (ringkey) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
      reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(ringkey)->GetArena();
    if (message_arena != submessage_arena) {
      ringkey = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, ringkey, submessage_arena);
    }
    
  } else {
    
  }
  ringkey_ = ringkey;
  // @@protoc_insertion_point(field_set_allocated:scancontext.ScanContextDescriptor.ringkey)
}

// .eigen.MatrixXd sectorkey = 3;
inline bool ScanContextDescriptor::_internal_has_sectorkey() const {
  return this != internal_default_instance() && sectorkey_ != nullptr;
}
inline bool ScanContextDescriptor::has_sectorkey() const {
  return _internal_has_sectorkey();
}
inline const ::eigen::MatrixXd& ScanContextDescriptor::_internal_sectorkey() const {
  const ::eigen::MatrixXd* p = sectorkey_;
  return p != nullptr ? *p : *reinterpret_cast<const ::eigen::MatrixXd*>(
      &::eigen::_MatrixXd_default_instance_);
}
inline const ::eigen::MatrixXd& ScanContextDescriptor::sectorkey() const {
  // @@protoc_insertion_point(field_get:scancontext.ScanContextDescriptor.sectorkey)
  return _internal_sectorkey();
}
inline void ScanContextDescriptor::unsafe_arena_set_allocated_sectorkey(
    ::eigen::MatrixXd* sectorkey) {
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(sectorkey_);
  }
  sectorkey_ = sectorkey;
  if (sectorkey) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:scancontext.ScanContextDescriptor.sectorkey)
}
inline ::eigen::MatrixXd* ScanContextDescriptor::release_sectorkey() {
  auto temp = unsafe_arena_release_sectorkey();
  if (GetArena() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
  return temp;
}
inline ::eigen::MatrixXd* ScanContextDescriptor::unsafe_arena_release_sectorkey() {
  // @@protoc_insertion_point(field_release:scancontext.ScanContextDescriptor.sectorkey)
  
  ::eigen::MatrixXd* temp = sectorkey_;
  sectorkey_ = nullptr;
  return temp;
}
inline ::eigen::MatrixXd* ScanContextDescriptor::_internal_mutable_sectorkey() {
  
  if (sectorkey_ == nullptr) {
    auto* p = CreateMaybeMessage<::eigen::MatrixXd>(GetArena());
    sectorkey_ = p;
  }
  return sectorkey_;
}
inline ::eigen::MatrixXd* ScanContextDescriptor::mutable_sectorkey() {
  // @@protoc_insertion_point(field_mutable:scancontext.ScanContextDescriptor.sectorkey)
  return _internal_mutable_sectorkey();
}
inline void ScanContextDescriptor::set_allocated_sectorkey(::eigen::MatrixXd* sectorkey) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(sectorkey_);
  }
  if (sectorkey) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
      reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(sectorkey)->GetArena();
    if (message_arena != submessage_arena) {
      sectorkey = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, sectorkey, submessage_arena);
    }
    
  } else {
    
  }
  sectorkey_ = sectorkey;
  // @@protoc_insertion_point(field_set_allocated:scancontext.ScanContextDescriptor.sectorkey)
}

// double timestamp = 4;
inline void ScanContextDescriptor::clear_timestamp() {
  timestamp_ = 0;
}
inline double ScanContextDescriptor::_internal_timestamp() const {
  return timestamp_;
}
inline double ScanContextDescriptor::timestamp() const {
  // @@protoc_insertion_point(field_get:scancontext.ScanContextDescriptor.timestamp)
  return _internal_timestamp();
}
inline void ScanContextDescriptor::_internal_set_timestamp(double value) {
  
  timestamp_ = value;
}
inline void ScanContextDescriptor::set_timestamp(double value) {
  _internal_set_timestamp(value);
  // @@protoc_insertion_point(field_set:scancontext.ScanContextDescriptor.timestamp)
}

// .scancontext.FloatMatrix polarcontext_invkeys_mat = 5;
inline bool ScanContextDescriptor::_internal_has_polarcontext_invkeys_mat() const {
  return this != internal_default_instance() && polarcontext_invkeys_mat_ != nullptr;
}
inline bool ScanContextDescriptor::has_polarcontext_invkeys_mat() const {
  return _internal_has_polarcontext_invkeys_mat();
}
inline void ScanContextDescriptor::clear_polarcontext_invkeys_mat() {
  if (GetArena() == nullptr && polarcontext_invkeys_mat_ != nullptr) {
    delete polarcontext_invkeys_mat_;
  }
  polarcontext_invkeys_mat_ = nullptr;
}
inline const ::scancontext::FloatMatrix& ScanContextDescriptor::_internal_polarcontext_invkeys_mat() const {
  const ::scancontext::FloatMatrix* p = polarcontext_invkeys_mat_;
  return p != nullptr ? *p : *reinterpret_cast<const ::scancontext::FloatMatrix*>(
      &::scancontext::_FloatMatrix_default_instance_);
}
inline const ::scancontext::FloatMatrix& ScanContextDescriptor::polarcontext_invkeys_mat() const {
  // @@protoc_insertion_point(field_get:scancontext.ScanContextDescriptor.polarcontext_invkeys_mat)
  return _internal_polarcontext_invkeys_mat();
}
inline void ScanContextDescriptor::unsafe_arena_set_allocated_polarcontext_invkeys_mat(
    ::scancontext::FloatMatrix* polarcontext_invkeys_mat) {
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(polarcontext_invkeys_mat_);
  }
  polarcontext_invkeys_mat_ = polarcontext_invkeys_mat;
  if (polarcontext_invkeys_mat) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:scancontext.ScanContextDescriptor.polarcontext_invkeys_mat)
}
inline ::scancontext::FloatMatrix* ScanContextDescriptor::release_polarcontext_invkeys_mat() {
  auto temp = unsafe_arena_release_polarcontext_invkeys_mat();
  if (GetArena() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
  return temp;
}
inline ::scancontext::FloatMatrix* ScanContextDescriptor::unsafe_arena_release_polarcontext_invkeys_mat() {
  // @@protoc_insertion_point(field_release:scancontext.ScanContextDescriptor.polarcontext_invkeys_mat)
  
  ::scancontext::FloatMatrix* temp = polarcontext_invkeys_mat_;
  polarcontext_invkeys_mat_ = nullptr;
  return temp;
}
inline ::scancontext::FloatMatrix* ScanContextDescriptor::_internal_mutable_polarcontext_invkeys_mat() {
  
  if (polarcontext_invkeys_mat_ == nullptr) {
    auto* p = CreateMaybeMessage<::scancontext::FloatMatrix>(GetArena());
    polarcontext_invkeys_mat_ = p;
  }
  return polarcontext_invkeys_mat_;
}
inline ::scancontext::FloatMatrix* ScanContextDescriptor::mutable_polarcontext_invkeys_mat() {
  // @@protoc_insertion_point(field_mutable:scancontext.ScanContextDescriptor.polarcontext_invkeys_mat)
  return _internal_mutable_polarcontext_invkeys_mat();
}
inline void ScanContextDescriptor::set_allocated_polarcontext_invkeys_mat(::scancontext::FloatMatrix* polarcontext_invkeys_mat) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  if (message_arena == nullptr) {
    delete polarcontext_invkeys_mat_;
  }
  if (polarcontext_invkeys_mat) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
      ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(polarcontext_invkeys_mat);
    if (message_arena != submessage_arena) {
      polarcontext_invkeys_mat = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, polarcontext_invkeys_mat, submessage_arena);
    }
    
  } else {
    
  }
  polarcontext_invkeys_mat_ = polarcontext_invkeys_mat;
  // @@protoc_insertion_point(field_set_allocated:scancontext.ScanContextDescriptor.polarcontext_invkeys_mat)
}

// .eigen.Matrix4d pose = 6;
inline bool ScanContextDescriptor::_internal_has_pose() const {
  return this != internal_default_instance() && pose_ != nullptr;
}
inline bool ScanContextDescriptor::has_pose() const {
  return _internal_has_pose();
}
inline const ::eigen::Matrix4d& ScanContextDescriptor::_internal_pose() const {
  const ::eigen::Matrix4d* p = pose_;
  return p != nullptr ? *p : *reinterpret_cast<const ::eigen::Matrix4d*>(
      &::eigen::_Matrix4d_default_instance_);
}
inline const ::eigen::Matrix4d& ScanContextDescriptor::pose() const {
  // @@protoc_insertion_point(field_get:scancontext.ScanContextDescriptor.pose)
  return _internal_pose();
}
inline void ScanContextDescriptor::unsafe_arena_set_allocated_pose(
    ::eigen::Matrix4d* pose) {
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(pose_);
  }
  pose_ = pose;
  if (pose) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:scancontext.ScanContextDescriptor.pose)
}
inline ::eigen::Matrix4d* ScanContextDescriptor::release_pose() {
  auto temp = unsafe_arena_release_pose();
  if (GetArena() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
  return temp;
}
inline ::eigen::Matrix4d* ScanContextDescriptor::unsafe_arena_release_pose() {
  // @@protoc_insertion_point(field_release:scancontext.ScanContextDescriptor.pose)
  
  ::eigen::Matrix4d* temp = pose_;
  pose_ = nullptr;
  return temp;
}
inline ::eigen::Matrix4d* ScanContextDescriptor::_internal_mutable_pose() {
  
  if (pose_ == nullptr) {
    auto* p = CreateMaybeMessage<::eigen::Matrix4d>(GetArena());
    pose_ = p;
  }
  return pose_;
}
inline ::eigen::Matrix4d* ScanContextDescriptor::mutable_pose() {
  // @@protoc_insertion_point(field_mutable:scancontext.ScanContextDescriptor.pose)
  return _internal_mutable_pose();
}
inline void ScanContextDescriptor::set_allocated_pose(::eigen::Matrix4d* pose) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(pose_);
  }
  if (pose) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
      reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(pose)->GetArena();
    if (message_arena != submessage_arena) {
      pose = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, pose, submessage_arena);
    }
    
  } else {
    
  }
  pose_ = pose;
  // @@protoc_insertion_point(field_set_allocated:scancontext.ScanContextDescriptor.pose)
}

// uint64 frame_id = 7;
inline void ScanContextDescriptor::clear_frame_id() {
  frame_id_ = PROTOBUF_ULONGLONG(0);
}
inline ::PROTOBUF_NAMESPACE_ID::uint64 ScanContextDescriptor::_internal_frame_id() const {
  return frame_id_;
}
inline ::PROTOBUF_NAMESPACE_ID::uint64 ScanContextDescriptor::frame_id() const {
  // @@protoc_insertion_point(field_get:scancontext.ScanContextDescriptor.frame_id)
  return _internal_frame_id();
}
inline void ScanContextDescriptor::_internal_set_frame_id(::PROTOBUF_NAMESPACE_ID::uint64 value) {
  
  frame_id_ = value;
}
inline void ScanContextDescriptor::set_frame_id(::PROTOBUF_NAMESPACE_ID::uint64 value) {
  _internal_set_frame_id(value);
  // @@protoc_insertion_point(field_set:scancontext.ScanContextDescriptor.frame_id)
}

// -------------------------------------------------------------------

// SCManagerState

// double lidar_height = 1;
inline void SCManagerState::clear_lidar_height() {
  lidar_height_ = 0;
}
inline double SCManagerState::_internal_lidar_height() const {
  return lidar_height_;
}
inline double SCManagerState::lidar_height() const {
  // @@protoc_insertion_point(field_get:scancontext.SCManagerState.lidar_height)
  return _internal_lidar_height();
}
inline void SCManagerState::_internal_set_lidar_height(double value) {
  
  lidar_height_ = value;
}
inline void SCManagerState::set_lidar_height(double value) {
  _internal_set_lidar_height(value);
  // @@protoc_insertion_point(field_set:scancontext.SCManagerState.lidar_height)
}

// int32 pc_num_ring = 2;
inline void SCManagerState::clear_pc_num_ring() {
  pc_num_ring_ = 0;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 SCManagerState::_internal_pc_num_ring() const {
  return pc_num_ring_;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 SCManagerState::pc_num_ring() const {
  // @@protoc_insertion_point(field_get:scancontext.SCManagerState.pc_num_ring)
  return _internal_pc_num_ring();
}
inline void SCManagerState::_internal_set_pc_num_ring(::PROTOBUF_NAMESPACE_ID::int32 value) {
  
  pc_num_ring_ = value;
}
inline void SCManagerState::set_pc_num_ring(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _internal_set_pc_num_ring(value);
  // @@protoc_insertion_point(field_set:scancontext.SCManagerState.pc_num_ring)
}

// int32 pc_num_sector = 3;
inline void SCManagerState::clear_pc_num_sector() {
  pc_num_sector_ = 0;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 SCManagerState::_internal_pc_num_sector() const {
  return pc_num_sector_;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 SCManagerState::pc_num_sector() const {
  // @@protoc_insertion_point(field_get:scancontext.SCManagerState.pc_num_sector)
  return _internal_pc_num_sector();
}
inline void SCManagerState::_internal_set_pc_num_sector(::PROTOBUF_NAMESPACE_ID::int32 value) {
  
  pc_num_sector_ = value;
}
inline void SCManagerState::set_pc_num_sector(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _internal_set_pc_num_sector(value);
  // @@protoc_insertion_point(field_set:scancontext.SCManagerState.pc_num_sector)
}

// double pc_max_radius = 4;
inline void SCManagerState::clear_pc_max_radius() {
  pc_max_radius_ = 0;
}
inline double SCManagerState::_internal_pc_max_radius() const {
  return pc_max_radius_;
}
inline double SCManagerState::pc_max_radius() const {
  // @@protoc_insertion_point(field_get:scancontext.SCManagerState.pc_max_radius)
  return _internal_pc_max_radius();
}
inline void SCManagerState::_internal_set_pc_max_radius(double value) {
  
  pc_max_radius_ = value;
}
inline void SCManagerState::set_pc_max_radius(double value) {
  _internal_set_pc_max_radius(value);
  // @@protoc_insertion_point(field_set:scancontext.SCManagerState.pc_max_radius)
}

// double sc_dist_thres = 5;
inline void SCManagerState::clear_sc_dist_thres() {
  sc_dist_thres_ = 0;
}
inline double SCManagerState::_internal_sc_dist_thres() const {
  return sc_dist_thres_;
}
inline double SCManagerState::sc_dist_thres() const {
  // @@protoc_insertion_point(field_get:scancontext.SCManagerState.sc_dist_thres)
  return _internal_sc_dist_thres();
}
inline void SCManagerState::_internal_set_sc_dist_thres(double value) {
  
  sc_dist_thres_ = value;
}
inline void SCManagerState::set_sc_dist_thres(double value) {
  _internal_set_sc_dist_thres(value);
  // @@protoc_insertion_point(field_set:scancontext.SCManagerState.sc_dist_thres)
}

// repeated .scancontext.ScanContextDescriptor descriptors = 6;
inline int SCManagerState::_internal_descriptors_size() const {
  return descriptors_.size();
}
inline int SCManagerState::descriptors_size() const {
  return _internal_descriptors_size();
}
inline void SCManagerState::clear_descriptors() {
  descriptors_.Clear();
}
inline ::scancontext::ScanContextDescriptor* SCManagerState::mutable_descriptors(int index) {
  // @@protoc_insertion_point(field_mutable:scancontext.SCManagerState.descriptors)
  return descriptors_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::scancontext::ScanContextDescriptor >*
SCManagerState::mutable_descriptors() {
  // @@protoc_insertion_point(field_mutable_list:scancontext.SCManagerState.descriptors)
  return &descriptors_;
}
inline const ::scancontext::ScanContextDescriptor& SCManagerState::_internal_descriptors(int index) const {
  return descriptors_.Get(index);
}
inline const ::scancontext::ScanContextDescriptor& SCManagerState::descriptors(int index) const {
  // @@protoc_insertion_point(field_get:scancontext.SCManagerState.descriptors)
  return _internal_descriptors(index);
}
inline ::scancontext::ScanContextDescriptor* SCManagerState::_internal_add_descriptors() {
  return descriptors_.Add();
}
inline ::scancontext::ScanContextDescriptor* SCManagerState::add_descriptors() {
  // @@protoc_insertion_point(field_add:scancontext.SCManagerState.descriptors)
  return _internal_add_descriptors();
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::scancontext::ScanContextDescriptor >&
SCManagerState::descriptors() const {
  // @@protoc_insertion_point(field_list:scancontext.SCManagerState.descriptors)
  return descriptors_;
}

// bool is_tree_batch_made = 7;
inline void SCManagerState::clear_is_tree_batch_made() {
  is_tree_batch_made_ = false;
}
inline bool SCManagerState::_internal_is_tree_batch_made() const {
  return is_tree_batch_made_;
}
inline bool SCManagerState::is_tree_batch_made() const {
  // @@protoc_insertion_point(field_get:scancontext.SCManagerState.is_tree_batch_made)
  return _internal_is_tree_batch_made();
}
inline void SCManagerState::_internal_set_is_tree_batch_made(bool value) {
  
  is_tree_batch_made_ = value;
}
inline void SCManagerState::set_is_tree_batch_made(bool value) {
  _internal_set_is_tree_batch_made(value);
  // @@protoc_insertion_point(field_set:scancontext.SCManagerState.is_tree_batch_made)
}

#ifdef __GNUC__
  #pragma GCC diagnostic pop
#endif  // __GNUC__
// -------------------------------------------------------------------

// -------------------------------------------------------------------


// @@protoc_insertion_point(namespace_scope)

}  // namespace scancontext

// @@protoc_insertion_point(global_scope)

#include <google/protobuf/port_undef.inc>
#endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_sc_5fmanager_2eproto
