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

#ifndef GOOGLE_PROTOBUF_INCLUDED_osi_5fdetectedroadmarking_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_osi_5fdetectedroadmarking_2eproto

#include <limits>
#include <string>

#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3015000
#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 3015002 < 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/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 "osi_common.pb.h"
#include "osi_roadmarking.pb.h"
#include "osi_detectedobject.pb.h"
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_osi_5fdetectedroadmarking_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}  // namespace internal
PROTOBUF_NAMESPACE_CLOSE

// Internal implementation detail -- do not use these members.
struct TableStruct_osi_5fdetectedroadmarking_2eproto {
  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
    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_osi_5fdetectedroadmarking_2eproto;
::PROTOBUF_NAMESPACE_ID::Metadata descriptor_table_osi_5fdetectedroadmarking_2eproto_metadata_getter(int index);
namespace osi3 {
class DetectedRoadMarking;
struct DetectedRoadMarkingDefaultTypeInternal;
extern DetectedRoadMarkingDefaultTypeInternal _DetectedRoadMarking_default_instance_;
class DetectedRoadMarking_CandidateRoadMarking;
struct DetectedRoadMarking_CandidateRoadMarkingDefaultTypeInternal;
extern DetectedRoadMarking_CandidateRoadMarkingDefaultTypeInternal _DetectedRoadMarking_CandidateRoadMarking_default_instance_;
}  // namespace osi3
PROTOBUF_NAMESPACE_OPEN
template<> ::osi3::DetectedRoadMarking* Arena::CreateMaybeMessage<::osi3::DetectedRoadMarking>(Arena*);
template<> ::osi3::DetectedRoadMarking_CandidateRoadMarking* Arena::CreateMaybeMessage<::osi3::DetectedRoadMarking_CandidateRoadMarking>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace osi3 {

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

class DetectedRoadMarking_CandidateRoadMarking PROTOBUF_FINAL :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:osi3.DetectedRoadMarking.CandidateRoadMarking) */ {
 public:
  inline DetectedRoadMarking_CandidateRoadMarking() : DetectedRoadMarking_CandidateRoadMarking(nullptr) {}
  virtual ~DetectedRoadMarking_CandidateRoadMarking();
  explicit constexpr DetectedRoadMarking_CandidateRoadMarking(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

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

  inline DetectedRoadMarking_CandidateRoadMarking& operator=(const DetectedRoadMarking_CandidateRoadMarking& from) {
    CopyFrom(from);
    return *this;
  }
  inline DetectedRoadMarking_CandidateRoadMarking& operator=(DetectedRoadMarking_CandidateRoadMarking&& 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 DetectedRoadMarking_CandidateRoadMarking& default_instance() {
    return *internal_default_instance();
  }
  static inline const DetectedRoadMarking_CandidateRoadMarking* internal_default_instance() {
    return reinterpret_cast<const DetectedRoadMarking_CandidateRoadMarking*>(
               &_DetectedRoadMarking_CandidateRoadMarking_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    0;

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

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

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

  DetectedRoadMarking_CandidateRoadMarking* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<DetectedRoadMarking_CandidateRoadMarking>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const DetectedRoadMarking_CandidateRoadMarking& from);
  void MergeFrom(const DetectedRoadMarking_CandidateRoadMarking& 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(DetectedRoadMarking_CandidateRoadMarking* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "osi3.DetectedRoadMarking.CandidateRoadMarking";
  }
  protected:
  explicit DetectedRoadMarking_CandidateRoadMarking(::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() {
    return ::descriptor_table_osi_5fdetectedroadmarking_2eproto_metadata_getter(kIndexInFileMessages);
  }

  public:

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

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

  enum : int {
    kClassificationFieldNumber = 2,
    kProbabilityFieldNumber = 1,
  };
  // .osi3.RoadMarking.Classification classification = 2;
  bool has_classification() const;
  private:
  bool _internal_has_classification() const;
  public:
  void clear_classification();
  const ::osi3::RoadMarking_Classification& classification() const;
  ::osi3::RoadMarking_Classification* release_classification();
  ::osi3::RoadMarking_Classification* mutable_classification();
  void set_allocated_classification(::osi3::RoadMarking_Classification* classification);
  private:
  const ::osi3::RoadMarking_Classification& _internal_classification() const;
  ::osi3::RoadMarking_Classification* _internal_mutable_classification();
  public:
  void unsafe_arena_set_allocated_classification(
      ::osi3::RoadMarking_Classification* classification);
  ::osi3::RoadMarking_Classification* unsafe_arena_release_classification();

  // double probability = 1;
  void clear_probability();
  double probability() const;
  void set_probability(double value);
  private:
  double _internal_probability() const;
  void _internal_set_probability(double value);
  public:

  // @@protoc_insertion_point(class_scope:osi3.DetectedRoadMarking.CandidateRoadMarking)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::osi3::RoadMarking_Classification* classification_;
  double probability_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_osi_5fdetectedroadmarking_2eproto;
};
// -------------------------------------------------------------------

class DetectedRoadMarking PROTOBUF_FINAL :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:osi3.DetectedRoadMarking) */ {
 public:
  inline DetectedRoadMarking() : DetectedRoadMarking(nullptr) {}
  virtual ~DetectedRoadMarking();
  explicit constexpr DetectedRoadMarking(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

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

  inline DetectedRoadMarking& operator=(const DetectedRoadMarking& from) {
    CopyFrom(from);
    return *this;
  }
  inline DetectedRoadMarking& operator=(DetectedRoadMarking&& 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 DetectedRoadMarking& default_instance() {
    return *internal_default_instance();
  }
  static inline const DetectedRoadMarking* internal_default_instance() {
    return reinterpret_cast<const DetectedRoadMarking*>(
               &_DetectedRoadMarking_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    1;

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

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

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

  DetectedRoadMarking* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<DetectedRoadMarking>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const DetectedRoadMarking& from);
  void MergeFrom(const DetectedRoadMarking& 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(DetectedRoadMarking* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "osi3.DetectedRoadMarking";
  }
  protected:
  explicit DetectedRoadMarking(::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() {
    return ::descriptor_table_osi_5fdetectedroadmarking_2eproto_metadata_getter(kIndexInFileMessages);
  }

  public:

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

  typedef DetectedRoadMarking_CandidateRoadMarking CandidateRoadMarking;

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

  enum : int {
    kCandidateFieldNumber = 4,
    kHeaderFieldNumber = 1,
    kBaseFieldNumber = 2,
    kBaseRmseFieldNumber = 3,
  };
  // repeated .osi3.DetectedRoadMarking.CandidateRoadMarking candidate = 4;
  int candidate_size() const;
  private:
  int _internal_candidate_size() const;
  public:
  void clear_candidate();
  ::osi3::DetectedRoadMarking_CandidateRoadMarking* mutable_candidate(int index);
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::osi3::DetectedRoadMarking_CandidateRoadMarking >*
      mutable_candidate();
  private:
  const ::osi3::DetectedRoadMarking_CandidateRoadMarking& _internal_candidate(int index) const;
  ::osi3::DetectedRoadMarking_CandidateRoadMarking* _internal_add_candidate();
  public:
  const ::osi3::DetectedRoadMarking_CandidateRoadMarking& candidate(int index) const;
  ::osi3::DetectedRoadMarking_CandidateRoadMarking* add_candidate();
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::osi3::DetectedRoadMarking_CandidateRoadMarking >&
      candidate() const;

  // .osi3.DetectedItemHeader header = 1;
  bool has_header() const;
  private:
  bool _internal_has_header() const;
  public:
  void clear_header();
  const ::osi3::DetectedItemHeader& header() const;
  ::osi3::DetectedItemHeader* release_header();
  ::osi3::DetectedItemHeader* mutable_header();
  void set_allocated_header(::osi3::DetectedItemHeader* header);
  private:
  const ::osi3::DetectedItemHeader& _internal_header() const;
  ::osi3::DetectedItemHeader* _internal_mutable_header();
  public:
  void unsafe_arena_set_allocated_header(
      ::osi3::DetectedItemHeader* header);
  ::osi3::DetectedItemHeader* unsafe_arena_release_header();

  // .osi3.BaseStationary base = 2;
  bool has_base() const;
  private:
  bool _internal_has_base() const;
  public:
  void clear_base();
  const ::osi3::BaseStationary& base() const;
  ::osi3::BaseStationary* release_base();
  ::osi3::BaseStationary* mutable_base();
  void set_allocated_base(::osi3::BaseStationary* base);
  private:
  const ::osi3::BaseStationary& _internal_base() const;
  ::osi3::BaseStationary* _internal_mutable_base();
  public:
  void unsafe_arena_set_allocated_base(
      ::osi3::BaseStationary* base);
  ::osi3::BaseStationary* unsafe_arena_release_base();

  // .osi3.BaseStationary base_rmse = 3;
  bool has_base_rmse() const;
  private:
  bool _internal_has_base_rmse() const;
  public:
  void clear_base_rmse();
  const ::osi3::BaseStationary& base_rmse() const;
  ::osi3::BaseStationary* release_base_rmse();
  ::osi3::BaseStationary* mutable_base_rmse();
  void set_allocated_base_rmse(::osi3::BaseStationary* base_rmse);
  private:
  const ::osi3::BaseStationary& _internal_base_rmse() const;
  ::osi3::BaseStationary* _internal_mutable_base_rmse();
  public:
  void unsafe_arena_set_allocated_base_rmse(
      ::osi3::BaseStationary* base_rmse);
  ::osi3::BaseStationary* unsafe_arena_release_base_rmse();

  // @@protoc_insertion_point(class_scope:osi3.DetectedRoadMarking)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::osi3::DetectedRoadMarking_CandidateRoadMarking > candidate_;
  ::osi3::DetectedItemHeader* header_;
  ::osi3::BaseStationary* base_;
  ::osi3::BaseStationary* base_rmse_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_osi_5fdetectedroadmarking_2eproto;
};
// ===================================================================


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

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

// double probability = 1;
inline void DetectedRoadMarking_CandidateRoadMarking::clear_probability() {
  probability_ = 0;
}
inline double DetectedRoadMarking_CandidateRoadMarking::_internal_probability() const {
  return probability_;
}
inline double DetectedRoadMarking_CandidateRoadMarking::probability() const {
  // @@protoc_insertion_point(field_get:osi3.DetectedRoadMarking.CandidateRoadMarking.probability)
  return _internal_probability();
}
inline void DetectedRoadMarking_CandidateRoadMarking::_internal_set_probability(double value) {
  
  probability_ = value;
}
inline void DetectedRoadMarking_CandidateRoadMarking::set_probability(double value) {
  _internal_set_probability(value);
  // @@protoc_insertion_point(field_set:osi3.DetectedRoadMarking.CandidateRoadMarking.probability)
}

// .osi3.RoadMarking.Classification classification = 2;
inline bool DetectedRoadMarking_CandidateRoadMarking::_internal_has_classification() const {
  return this != internal_default_instance() && classification_ != nullptr;
}
inline bool DetectedRoadMarking_CandidateRoadMarking::has_classification() const {
  return _internal_has_classification();
}
inline const ::osi3::RoadMarking_Classification& DetectedRoadMarking_CandidateRoadMarking::_internal_classification() const {
  const ::osi3::RoadMarking_Classification* p = classification_;
  return p != nullptr ? *p : reinterpret_cast<const ::osi3::RoadMarking_Classification&>(
      ::osi3::_RoadMarking_Classification_default_instance_);
}
inline const ::osi3::RoadMarking_Classification& DetectedRoadMarking_CandidateRoadMarking::classification() const {
  // @@protoc_insertion_point(field_get:osi3.DetectedRoadMarking.CandidateRoadMarking.classification)
  return _internal_classification();
}
inline void DetectedRoadMarking_CandidateRoadMarking::unsafe_arena_set_allocated_classification(
    ::osi3::RoadMarking_Classification* classification) {
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(classification_);
  }
  classification_ = classification;
  if (classification) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:osi3.DetectedRoadMarking.CandidateRoadMarking.classification)
}
inline ::osi3::RoadMarking_Classification* DetectedRoadMarking_CandidateRoadMarking::release_classification() {
  
  ::osi3::RoadMarking_Classification* temp = classification_;
  classification_ = nullptr;
  if (GetArena() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
  return temp;
}
inline ::osi3::RoadMarking_Classification* DetectedRoadMarking_CandidateRoadMarking::unsafe_arena_release_classification() {
  // @@protoc_insertion_point(field_release:osi3.DetectedRoadMarking.CandidateRoadMarking.classification)
  
  ::osi3::RoadMarking_Classification* temp = classification_;
  classification_ = nullptr;
  return temp;
}
inline ::osi3::RoadMarking_Classification* DetectedRoadMarking_CandidateRoadMarking::_internal_mutable_classification() {
  
  if (classification_ == nullptr) {
    auto* p = CreateMaybeMessage<::osi3::RoadMarking_Classification>(GetArena());
    classification_ = p;
  }
  return classification_;
}
inline ::osi3::RoadMarking_Classification* DetectedRoadMarking_CandidateRoadMarking::mutable_classification() {
  // @@protoc_insertion_point(field_mutable:osi3.DetectedRoadMarking.CandidateRoadMarking.classification)
  return _internal_mutable_classification();
}
inline void DetectedRoadMarking_CandidateRoadMarking::set_allocated_classification(::osi3::RoadMarking_Classification* classification) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(classification_);
  }
  if (classification) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
      reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(classification)->GetArena();
    if (message_arena != submessage_arena) {
      classification = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, classification, submessage_arena);
    }
    
  } else {
    
  }
  classification_ = classification;
  // @@protoc_insertion_point(field_set_allocated:osi3.DetectedRoadMarking.CandidateRoadMarking.classification)
}

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

// DetectedRoadMarking

// .osi3.DetectedItemHeader header = 1;
inline bool DetectedRoadMarking::_internal_has_header() const {
  return this != internal_default_instance() && header_ != nullptr;
}
inline bool DetectedRoadMarking::has_header() const {
  return _internal_has_header();
}
inline const ::osi3::DetectedItemHeader& DetectedRoadMarking::_internal_header() const {
  const ::osi3::DetectedItemHeader* p = header_;
  return p != nullptr ? *p : reinterpret_cast<const ::osi3::DetectedItemHeader&>(
      ::osi3::_DetectedItemHeader_default_instance_);
}
inline const ::osi3::DetectedItemHeader& DetectedRoadMarking::header() const {
  // @@protoc_insertion_point(field_get:osi3.DetectedRoadMarking.header)
  return _internal_header();
}
inline void DetectedRoadMarking::unsafe_arena_set_allocated_header(
    ::osi3::DetectedItemHeader* header) {
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
  }
  header_ = header;
  if (header) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:osi3.DetectedRoadMarking.header)
}
inline ::osi3::DetectedItemHeader* DetectedRoadMarking::release_header() {
  
  ::osi3::DetectedItemHeader* temp = header_;
  header_ = nullptr;
  if (GetArena() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
  return temp;
}
inline ::osi3::DetectedItemHeader* DetectedRoadMarking::unsafe_arena_release_header() {
  // @@protoc_insertion_point(field_release:osi3.DetectedRoadMarking.header)
  
  ::osi3::DetectedItemHeader* temp = header_;
  header_ = nullptr;
  return temp;
}
inline ::osi3::DetectedItemHeader* DetectedRoadMarking::_internal_mutable_header() {
  
  if (header_ == nullptr) {
    auto* p = CreateMaybeMessage<::osi3::DetectedItemHeader>(GetArena());
    header_ = p;
  }
  return header_;
}
inline ::osi3::DetectedItemHeader* DetectedRoadMarking::mutable_header() {
  // @@protoc_insertion_point(field_mutable:osi3.DetectedRoadMarking.header)
  return _internal_mutable_header();
}
inline void DetectedRoadMarking::set_allocated_header(::osi3::DetectedItemHeader* header) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
  }
  if (header) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
      reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header)->GetArena();
    if (message_arena != submessage_arena) {
      header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, header, submessage_arena);
    }
    
  } else {
    
  }
  header_ = header;
  // @@protoc_insertion_point(field_set_allocated:osi3.DetectedRoadMarking.header)
}

// .osi3.BaseStationary base = 2;
inline bool DetectedRoadMarking::_internal_has_base() const {
  return this != internal_default_instance() && base_ != nullptr;
}
inline bool DetectedRoadMarking::has_base() const {
  return _internal_has_base();
}
inline const ::osi3::BaseStationary& DetectedRoadMarking::_internal_base() const {
  const ::osi3::BaseStationary* p = base_;
  return p != nullptr ? *p : reinterpret_cast<const ::osi3::BaseStationary&>(
      ::osi3::_BaseStationary_default_instance_);
}
inline const ::osi3::BaseStationary& DetectedRoadMarking::base() const {
  // @@protoc_insertion_point(field_get:osi3.DetectedRoadMarking.base)
  return _internal_base();
}
inline void DetectedRoadMarking::unsafe_arena_set_allocated_base(
    ::osi3::BaseStationary* base) {
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_);
  }
  base_ = base;
  if (base) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:osi3.DetectedRoadMarking.base)
}
inline ::osi3::BaseStationary* DetectedRoadMarking::release_base() {
  
  ::osi3::BaseStationary* temp = base_;
  base_ = nullptr;
  if (GetArena() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
  return temp;
}
inline ::osi3::BaseStationary* DetectedRoadMarking::unsafe_arena_release_base() {
  // @@protoc_insertion_point(field_release:osi3.DetectedRoadMarking.base)
  
  ::osi3::BaseStationary* temp = base_;
  base_ = nullptr;
  return temp;
}
inline ::osi3::BaseStationary* DetectedRoadMarking::_internal_mutable_base() {
  
  if (base_ == nullptr) {
    auto* p = CreateMaybeMessage<::osi3::BaseStationary>(GetArena());
    base_ = p;
  }
  return base_;
}
inline ::osi3::BaseStationary* DetectedRoadMarking::mutable_base() {
  // @@protoc_insertion_point(field_mutable:osi3.DetectedRoadMarking.base)
  return _internal_mutable_base();
}
inline void DetectedRoadMarking::set_allocated_base(::osi3::BaseStationary* base) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_);
  }
  if (base) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
      reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base)->GetArena();
    if (message_arena != submessage_arena) {
      base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, base, submessage_arena);
    }
    
  } else {
    
  }
  base_ = base;
  // @@protoc_insertion_point(field_set_allocated:osi3.DetectedRoadMarking.base)
}

// .osi3.BaseStationary base_rmse = 3;
inline bool DetectedRoadMarking::_internal_has_base_rmse() const {
  return this != internal_default_instance() && base_rmse_ != nullptr;
}
inline bool DetectedRoadMarking::has_base_rmse() const {
  return _internal_has_base_rmse();
}
inline const ::osi3::BaseStationary& DetectedRoadMarking::_internal_base_rmse() const {
  const ::osi3::BaseStationary* p = base_rmse_;
  return p != nullptr ? *p : reinterpret_cast<const ::osi3::BaseStationary&>(
      ::osi3::_BaseStationary_default_instance_);
}
inline const ::osi3::BaseStationary& DetectedRoadMarking::base_rmse() const {
  // @@protoc_insertion_point(field_get:osi3.DetectedRoadMarking.base_rmse)
  return _internal_base_rmse();
}
inline void DetectedRoadMarking::unsafe_arena_set_allocated_base_rmse(
    ::osi3::BaseStationary* base_rmse) {
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_rmse_);
  }
  base_rmse_ = base_rmse;
  if (base_rmse) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:osi3.DetectedRoadMarking.base_rmse)
}
inline ::osi3::BaseStationary* DetectedRoadMarking::release_base_rmse() {
  
  ::osi3::BaseStationary* temp = base_rmse_;
  base_rmse_ = nullptr;
  if (GetArena() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
  return temp;
}
inline ::osi3::BaseStationary* DetectedRoadMarking::unsafe_arena_release_base_rmse() {
  // @@protoc_insertion_point(field_release:osi3.DetectedRoadMarking.base_rmse)
  
  ::osi3::BaseStationary* temp = base_rmse_;
  base_rmse_ = nullptr;
  return temp;
}
inline ::osi3::BaseStationary* DetectedRoadMarking::_internal_mutable_base_rmse() {
  
  if (base_rmse_ == nullptr) {
    auto* p = CreateMaybeMessage<::osi3::BaseStationary>(GetArena());
    base_rmse_ = p;
  }
  return base_rmse_;
}
inline ::osi3::BaseStationary* DetectedRoadMarking::mutable_base_rmse() {
  // @@protoc_insertion_point(field_mutable:osi3.DetectedRoadMarking.base_rmse)
  return _internal_mutable_base_rmse();
}
inline void DetectedRoadMarking::set_allocated_base_rmse(::osi3::BaseStationary* base_rmse) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_rmse_);
  }
  if (base_rmse) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
      reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_rmse)->GetArena();
    if (message_arena != submessage_arena) {
      base_rmse = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, base_rmse, submessage_arena);
    }
    
  } else {
    
  }
  base_rmse_ = base_rmse;
  // @@protoc_insertion_point(field_set_allocated:osi3.DetectedRoadMarking.base_rmse)
}

// repeated .osi3.DetectedRoadMarking.CandidateRoadMarking candidate = 4;
inline int DetectedRoadMarking::_internal_candidate_size() const {
  return candidate_.size();
}
inline int DetectedRoadMarking::candidate_size() const {
  return _internal_candidate_size();
}
inline void DetectedRoadMarking::clear_candidate() {
  candidate_.Clear();
}
inline ::osi3::DetectedRoadMarking_CandidateRoadMarking* DetectedRoadMarking::mutable_candidate(int index) {
  // @@protoc_insertion_point(field_mutable:osi3.DetectedRoadMarking.candidate)
  return candidate_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::osi3::DetectedRoadMarking_CandidateRoadMarking >*
DetectedRoadMarking::mutable_candidate() {
  // @@protoc_insertion_point(field_mutable_list:osi3.DetectedRoadMarking.candidate)
  return &candidate_;
}
inline const ::osi3::DetectedRoadMarking_CandidateRoadMarking& DetectedRoadMarking::_internal_candidate(int index) const {
  return candidate_.Get(index);
}
inline const ::osi3::DetectedRoadMarking_CandidateRoadMarking& DetectedRoadMarking::candidate(int index) const {
  // @@protoc_insertion_point(field_get:osi3.DetectedRoadMarking.candidate)
  return _internal_candidate(index);
}
inline ::osi3::DetectedRoadMarking_CandidateRoadMarking* DetectedRoadMarking::_internal_add_candidate() {
  return candidate_.Add();
}
inline ::osi3::DetectedRoadMarking_CandidateRoadMarking* DetectedRoadMarking::add_candidate() {
  // @@protoc_insertion_point(field_add:osi3.DetectedRoadMarking.candidate)
  return _internal_add_candidate();
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::osi3::DetectedRoadMarking_CandidateRoadMarking >&
DetectedRoadMarking::candidate() const {
  // @@protoc_insertion_point(field_list:osi3.DetectedRoadMarking.candidate)
  return candidate_;
}

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


// @@protoc_insertion_point(namespace_scope)

}  // namespace osi3

// @@protoc_insertion_point(global_scope)

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