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

#ifndef GOOGLE_PROTOBUF_INCLUDED_osi_5fdetectedlane_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_osi_5fdetectedlane_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_lane.pb.h"
#include "osi_detectedobject.pb.h"
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_osi_5fdetectedlane_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}  // namespace internal
PROTOBUF_NAMESPACE_CLOSE

// Internal implementation detail -- do not use these members.
struct TableStruct_osi_5fdetectedlane_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[4]
    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_5fdetectedlane_2eproto;
::PROTOBUF_NAMESPACE_ID::Metadata descriptor_table_osi_5fdetectedlane_2eproto_metadata_getter(int index);
namespace osi3 {
class DetectedLane;
struct DetectedLaneDefaultTypeInternal;
extern DetectedLaneDefaultTypeInternal _DetectedLane_default_instance_;
class DetectedLaneBoundary;
struct DetectedLaneBoundaryDefaultTypeInternal;
extern DetectedLaneBoundaryDefaultTypeInternal _DetectedLaneBoundary_default_instance_;
class DetectedLaneBoundary_CandidateLaneBoundary;
struct DetectedLaneBoundary_CandidateLaneBoundaryDefaultTypeInternal;
extern DetectedLaneBoundary_CandidateLaneBoundaryDefaultTypeInternal _DetectedLaneBoundary_CandidateLaneBoundary_default_instance_;
class DetectedLane_CandidateLane;
struct DetectedLane_CandidateLaneDefaultTypeInternal;
extern DetectedLane_CandidateLaneDefaultTypeInternal _DetectedLane_CandidateLane_default_instance_;
}  // namespace osi3
PROTOBUF_NAMESPACE_OPEN
template<> ::osi3::DetectedLane* Arena::CreateMaybeMessage<::osi3::DetectedLane>(Arena*);
template<> ::osi3::DetectedLaneBoundary* Arena::CreateMaybeMessage<::osi3::DetectedLaneBoundary>(Arena*);
template<> ::osi3::DetectedLaneBoundary_CandidateLaneBoundary* Arena::CreateMaybeMessage<::osi3::DetectedLaneBoundary_CandidateLaneBoundary>(Arena*);
template<> ::osi3::DetectedLane_CandidateLane* Arena::CreateMaybeMessage<::osi3::DetectedLane_CandidateLane>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace osi3 {

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

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

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

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

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

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

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

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

  public:

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

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

  enum : int {
    kClassificationFieldNumber = 2,
    kProbabilityFieldNumber = 1,
  };
  // .osi3.Lane.Classification classification = 2;
  bool has_classification() const;
  private:
  bool _internal_has_classification() const;
  public:
  void clear_classification();
  const ::osi3::Lane_Classification& classification() const;
  ::osi3::Lane_Classification* release_classification();
  ::osi3::Lane_Classification* mutable_classification();
  void set_allocated_classification(::osi3::Lane_Classification* classification);
  private:
  const ::osi3::Lane_Classification& _internal_classification() const;
  ::osi3::Lane_Classification* _internal_mutable_classification();
  public:
  void unsafe_arena_set_allocated_classification(
      ::osi3::Lane_Classification* classification);
  ::osi3::Lane_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.DetectedLane.CandidateLane)
 private:
  class _Internal;

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

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

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

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

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

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

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

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

  public:

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

  typedef DetectedLane_CandidateLane CandidateLane;

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

  enum : int {
    kCandidateFieldNumber = 2,
    kHeaderFieldNumber = 1,
  };
  // repeated .osi3.DetectedLane.CandidateLane candidate = 2;
  int candidate_size() const;
  private:
  int _internal_candidate_size() const;
  public:
  void clear_candidate();
  ::osi3::DetectedLane_CandidateLane* mutable_candidate(int index);
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::osi3::DetectedLane_CandidateLane >*
      mutable_candidate();
  private:
  const ::osi3::DetectedLane_CandidateLane& _internal_candidate(int index) const;
  ::osi3::DetectedLane_CandidateLane* _internal_add_candidate();
  public:
  const ::osi3::DetectedLane_CandidateLane& candidate(int index) const;
  ::osi3::DetectedLane_CandidateLane* add_candidate();
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::osi3::DetectedLane_CandidateLane >&
      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();

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

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::osi3::DetectedLane_CandidateLane > candidate_;
  ::osi3::DetectedItemHeader* header_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_osi_5fdetectedlane_2eproto;
};
// -------------------------------------------------------------------

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

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

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

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

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

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

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

  public:

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

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

  enum : int {
    kClassificationFieldNumber = 2,
    kProbabilityFieldNumber = 1,
  };
  // .osi3.LaneBoundary.Classification classification = 2;
  bool has_classification() const;
  private:
  bool _internal_has_classification() const;
  public:
  void clear_classification();
  const ::osi3::LaneBoundary_Classification& classification() const;
  ::osi3::LaneBoundary_Classification* release_classification();
  ::osi3::LaneBoundary_Classification* mutable_classification();
  void set_allocated_classification(::osi3::LaneBoundary_Classification* classification);
  private:
  const ::osi3::LaneBoundary_Classification& _internal_classification() const;
  ::osi3::LaneBoundary_Classification* _internal_mutable_classification();
  public:
  void unsafe_arena_set_allocated_classification(
      ::osi3::LaneBoundary_Classification* classification);
  ::osi3::LaneBoundary_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.DetectedLaneBoundary.CandidateLaneBoundary)
 private:
  class _Internal;

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

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

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

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

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

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

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

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

  public:

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

  typedef DetectedLaneBoundary_CandidateLaneBoundary CandidateLaneBoundary;

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

  enum : int {
    kCandidateFieldNumber = 2,
    kBoundaryLineFieldNumber = 3,
    kBoundaryLineRmseFieldNumber = 4,
    kBoundaryLineConfidencesFieldNumber = 5,
    kHeaderFieldNumber = 1,
  };
  // repeated .osi3.DetectedLaneBoundary.CandidateLaneBoundary candidate = 2;
  int candidate_size() const;
  private:
  int _internal_candidate_size() const;
  public:
  void clear_candidate();
  ::osi3::DetectedLaneBoundary_CandidateLaneBoundary* mutable_candidate(int index);
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::osi3::DetectedLaneBoundary_CandidateLaneBoundary >*
      mutable_candidate();
  private:
  const ::osi3::DetectedLaneBoundary_CandidateLaneBoundary& _internal_candidate(int index) const;
  ::osi3::DetectedLaneBoundary_CandidateLaneBoundary* _internal_add_candidate();
  public:
  const ::osi3::DetectedLaneBoundary_CandidateLaneBoundary& candidate(int index) const;
  ::osi3::DetectedLaneBoundary_CandidateLaneBoundary* add_candidate();
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::osi3::DetectedLaneBoundary_CandidateLaneBoundary >&
      candidate() const;

  // repeated .osi3.LaneBoundary.BoundaryPoint boundary_line = 3;
  int boundary_line_size() const;
  private:
  int _internal_boundary_line_size() const;
  public:
  void clear_boundary_line();
  ::osi3::LaneBoundary_BoundaryPoint* mutable_boundary_line(int index);
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::osi3::LaneBoundary_BoundaryPoint >*
      mutable_boundary_line();
  private:
  const ::osi3::LaneBoundary_BoundaryPoint& _internal_boundary_line(int index) const;
  ::osi3::LaneBoundary_BoundaryPoint* _internal_add_boundary_line();
  public:
  const ::osi3::LaneBoundary_BoundaryPoint& boundary_line(int index) const;
  ::osi3::LaneBoundary_BoundaryPoint* add_boundary_line();
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::osi3::LaneBoundary_BoundaryPoint >&
      boundary_line() const;

  // repeated .osi3.LaneBoundary.BoundaryPoint boundary_line_rmse = 4;
  int boundary_line_rmse_size() const;
  private:
  int _internal_boundary_line_rmse_size() const;
  public:
  void clear_boundary_line_rmse();
  ::osi3::LaneBoundary_BoundaryPoint* mutable_boundary_line_rmse(int index);
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::osi3::LaneBoundary_BoundaryPoint >*
      mutable_boundary_line_rmse();
  private:
  const ::osi3::LaneBoundary_BoundaryPoint& _internal_boundary_line_rmse(int index) const;
  ::osi3::LaneBoundary_BoundaryPoint* _internal_add_boundary_line_rmse();
  public:
  const ::osi3::LaneBoundary_BoundaryPoint& boundary_line_rmse(int index) const;
  ::osi3::LaneBoundary_BoundaryPoint* add_boundary_line_rmse();
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::osi3::LaneBoundary_BoundaryPoint >&
      boundary_line_rmse() const;

  // repeated double boundary_line_confidences = 5;
  int boundary_line_confidences_size() const;
  private:
  int _internal_boundary_line_confidences_size() const;
  public:
  void clear_boundary_line_confidences();
  private:
  double _internal_boundary_line_confidences(int index) const;
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
      _internal_boundary_line_confidences() const;
  void _internal_add_boundary_line_confidences(double value);
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
      _internal_mutable_boundary_line_confidences();
  public:
  double boundary_line_confidences(int index) const;
  void set_boundary_line_confidences(int index, double value);
  void add_boundary_line_confidences(double value);
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
      boundary_line_confidences() const;
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
      mutable_boundary_line_confidences();

  // .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();

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

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::osi3::DetectedLaneBoundary_CandidateLaneBoundary > candidate_;
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::osi3::LaneBoundary_BoundaryPoint > boundary_line_;
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::osi3::LaneBoundary_BoundaryPoint > boundary_line_rmse_;
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > boundary_line_confidences_;
  mutable std::atomic<int> _boundary_line_confidences_cached_byte_size_;
  ::osi3::DetectedItemHeader* header_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_osi_5fdetectedlane_2eproto;
};
// ===================================================================


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

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

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

// .osi3.Lane.Classification classification = 2;
inline bool DetectedLane_CandidateLane::_internal_has_classification() const {
  return this != internal_default_instance() && classification_ != nullptr;
}
inline bool DetectedLane_CandidateLane::has_classification() const {
  return _internal_has_classification();
}
inline const ::osi3::Lane_Classification& DetectedLane_CandidateLane::_internal_classification() const {
  const ::osi3::Lane_Classification* p = classification_;
  return p != nullptr ? *p : reinterpret_cast<const ::osi3::Lane_Classification&>(
      ::osi3::_Lane_Classification_default_instance_);
}
inline const ::osi3::Lane_Classification& DetectedLane_CandidateLane::classification() const {
  // @@protoc_insertion_point(field_get:osi3.DetectedLane.CandidateLane.classification)
  return _internal_classification();
}
inline void DetectedLane_CandidateLane::unsafe_arena_set_allocated_classification(
    ::osi3::Lane_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.DetectedLane.CandidateLane.classification)
}
inline ::osi3::Lane_Classification* DetectedLane_CandidateLane::release_classification() {
  
  ::osi3::Lane_Classification* temp = classification_;
  classification_ = nullptr;
  if (GetArena() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
  return temp;
}
inline ::osi3::Lane_Classification* DetectedLane_CandidateLane::unsafe_arena_release_classification() {
  // @@protoc_insertion_point(field_release:osi3.DetectedLane.CandidateLane.classification)
  
  ::osi3::Lane_Classification* temp = classification_;
  classification_ = nullptr;
  return temp;
}
inline ::osi3::Lane_Classification* DetectedLane_CandidateLane::_internal_mutable_classification() {
  
  if (classification_ == nullptr) {
    auto* p = CreateMaybeMessage<::osi3::Lane_Classification>(GetArena());
    classification_ = p;
  }
  return classification_;
}
inline ::osi3::Lane_Classification* DetectedLane_CandidateLane::mutable_classification() {
  // @@protoc_insertion_point(field_mutable:osi3.DetectedLane.CandidateLane.classification)
  return _internal_mutable_classification();
}
inline void DetectedLane_CandidateLane::set_allocated_classification(::osi3::Lane_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.DetectedLane.CandidateLane.classification)
}

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

// DetectedLane

// .osi3.DetectedItemHeader header = 1;
inline bool DetectedLane::_internal_has_header() const {
  return this != internal_default_instance() && header_ != nullptr;
}
inline bool DetectedLane::has_header() const {
  return _internal_has_header();
}
inline const ::osi3::DetectedItemHeader& DetectedLane::_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& DetectedLane::header() const {
  // @@protoc_insertion_point(field_get:osi3.DetectedLane.header)
  return _internal_header();
}
inline void DetectedLane::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.DetectedLane.header)
}
inline ::osi3::DetectedItemHeader* DetectedLane::release_header() {
  
  ::osi3::DetectedItemHeader* temp = header_;
  header_ = nullptr;
  if (GetArena() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
  return temp;
}
inline ::osi3::DetectedItemHeader* DetectedLane::unsafe_arena_release_header() {
  // @@protoc_insertion_point(field_release:osi3.DetectedLane.header)
  
  ::osi3::DetectedItemHeader* temp = header_;
  header_ = nullptr;
  return temp;
}
inline ::osi3::DetectedItemHeader* DetectedLane::_internal_mutable_header() {
  
  if (header_ == nullptr) {
    auto* p = CreateMaybeMessage<::osi3::DetectedItemHeader>(GetArena());
    header_ = p;
  }
  return header_;
}
inline ::osi3::DetectedItemHeader* DetectedLane::mutable_header() {
  // @@protoc_insertion_point(field_mutable:osi3.DetectedLane.header)
  return _internal_mutable_header();
}
inline void DetectedLane::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.DetectedLane.header)
}

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

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

// DetectedLaneBoundary_CandidateLaneBoundary

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

// .osi3.LaneBoundary.Classification classification = 2;
inline bool DetectedLaneBoundary_CandidateLaneBoundary::_internal_has_classification() const {
  return this != internal_default_instance() && classification_ != nullptr;
}
inline bool DetectedLaneBoundary_CandidateLaneBoundary::has_classification() const {
  return _internal_has_classification();
}
inline const ::osi3::LaneBoundary_Classification& DetectedLaneBoundary_CandidateLaneBoundary::_internal_classification() const {
  const ::osi3::LaneBoundary_Classification* p = classification_;
  return p != nullptr ? *p : reinterpret_cast<const ::osi3::LaneBoundary_Classification&>(
      ::osi3::_LaneBoundary_Classification_default_instance_);
}
inline const ::osi3::LaneBoundary_Classification& DetectedLaneBoundary_CandidateLaneBoundary::classification() const {
  // @@protoc_insertion_point(field_get:osi3.DetectedLaneBoundary.CandidateLaneBoundary.classification)
  return _internal_classification();
}
inline void DetectedLaneBoundary_CandidateLaneBoundary::unsafe_arena_set_allocated_classification(
    ::osi3::LaneBoundary_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.DetectedLaneBoundary.CandidateLaneBoundary.classification)
}
inline ::osi3::LaneBoundary_Classification* DetectedLaneBoundary_CandidateLaneBoundary::release_classification() {
  
  ::osi3::LaneBoundary_Classification* temp = classification_;
  classification_ = nullptr;
  if (GetArena() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
  return temp;
}
inline ::osi3::LaneBoundary_Classification* DetectedLaneBoundary_CandidateLaneBoundary::unsafe_arena_release_classification() {
  // @@protoc_insertion_point(field_release:osi3.DetectedLaneBoundary.CandidateLaneBoundary.classification)
  
  ::osi3::LaneBoundary_Classification* temp = classification_;
  classification_ = nullptr;
  return temp;
}
inline ::osi3::LaneBoundary_Classification* DetectedLaneBoundary_CandidateLaneBoundary::_internal_mutable_classification() {
  
  if (classification_ == nullptr) {
    auto* p = CreateMaybeMessage<::osi3::LaneBoundary_Classification>(GetArena());
    classification_ = p;
  }
  return classification_;
}
inline ::osi3::LaneBoundary_Classification* DetectedLaneBoundary_CandidateLaneBoundary::mutable_classification() {
  // @@protoc_insertion_point(field_mutable:osi3.DetectedLaneBoundary.CandidateLaneBoundary.classification)
  return _internal_mutable_classification();
}
inline void DetectedLaneBoundary_CandidateLaneBoundary::set_allocated_classification(::osi3::LaneBoundary_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.DetectedLaneBoundary.CandidateLaneBoundary.classification)
}

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

// DetectedLaneBoundary

// .osi3.DetectedItemHeader header = 1;
inline bool DetectedLaneBoundary::_internal_has_header() const {
  return this != internal_default_instance() && header_ != nullptr;
}
inline bool DetectedLaneBoundary::has_header() const {
  return _internal_has_header();
}
inline const ::osi3::DetectedItemHeader& DetectedLaneBoundary::_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& DetectedLaneBoundary::header() const {
  // @@protoc_insertion_point(field_get:osi3.DetectedLaneBoundary.header)
  return _internal_header();
}
inline void DetectedLaneBoundary::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.DetectedLaneBoundary.header)
}
inline ::osi3::DetectedItemHeader* DetectedLaneBoundary::release_header() {
  
  ::osi3::DetectedItemHeader* temp = header_;
  header_ = nullptr;
  if (GetArena() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
  return temp;
}
inline ::osi3::DetectedItemHeader* DetectedLaneBoundary::unsafe_arena_release_header() {
  // @@protoc_insertion_point(field_release:osi3.DetectedLaneBoundary.header)
  
  ::osi3::DetectedItemHeader* temp = header_;
  header_ = nullptr;
  return temp;
}
inline ::osi3::DetectedItemHeader* DetectedLaneBoundary::_internal_mutable_header() {
  
  if (header_ == nullptr) {
    auto* p = CreateMaybeMessage<::osi3::DetectedItemHeader>(GetArena());
    header_ = p;
  }
  return header_;
}
inline ::osi3::DetectedItemHeader* DetectedLaneBoundary::mutable_header() {
  // @@protoc_insertion_point(field_mutable:osi3.DetectedLaneBoundary.header)
  return _internal_mutable_header();
}
inline void DetectedLaneBoundary::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.DetectedLaneBoundary.header)
}

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

// repeated .osi3.LaneBoundary.BoundaryPoint boundary_line = 3;
inline int DetectedLaneBoundary::_internal_boundary_line_size() const {
  return boundary_line_.size();
}
inline int DetectedLaneBoundary::boundary_line_size() const {
  return _internal_boundary_line_size();
}
inline ::osi3::LaneBoundary_BoundaryPoint* DetectedLaneBoundary::mutable_boundary_line(int index) {
  // @@protoc_insertion_point(field_mutable:osi3.DetectedLaneBoundary.boundary_line)
  return boundary_line_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::osi3::LaneBoundary_BoundaryPoint >*
DetectedLaneBoundary::mutable_boundary_line() {
  // @@protoc_insertion_point(field_mutable_list:osi3.DetectedLaneBoundary.boundary_line)
  return &boundary_line_;
}
inline const ::osi3::LaneBoundary_BoundaryPoint& DetectedLaneBoundary::_internal_boundary_line(int index) const {
  return boundary_line_.Get(index);
}
inline const ::osi3::LaneBoundary_BoundaryPoint& DetectedLaneBoundary::boundary_line(int index) const {
  // @@protoc_insertion_point(field_get:osi3.DetectedLaneBoundary.boundary_line)
  return _internal_boundary_line(index);
}
inline ::osi3::LaneBoundary_BoundaryPoint* DetectedLaneBoundary::_internal_add_boundary_line() {
  return boundary_line_.Add();
}
inline ::osi3::LaneBoundary_BoundaryPoint* DetectedLaneBoundary::add_boundary_line() {
  // @@protoc_insertion_point(field_add:osi3.DetectedLaneBoundary.boundary_line)
  return _internal_add_boundary_line();
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::osi3::LaneBoundary_BoundaryPoint >&
DetectedLaneBoundary::boundary_line() const {
  // @@protoc_insertion_point(field_list:osi3.DetectedLaneBoundary.boundary_line)
  return boundary_line_;
}

// repeated .osi3.LaneBoundary.BoundaryPoint boundary_line_rmse = 4;
inline int DetectedLaneBoundary::_internal_boundary_line_rmse_size() const {
  return boundary_line_rmse_.size();
}
inline int DetectedLaneBoundary::boundary_line_rmse_size() const {
  return _internal_boundary_line_rmse_size();
}
inline ::osi3::LaneBoundary_BoundaryPoint* DetectedLaneBoundary::mutable_boundary_line_rmse(int index) {
  // @@protoc_insertion_point(field_mutable:osi3.DetectedLaneBoundary.boundary_line_rmse)
  return boundary_line_rmse_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::osi3::LaneBoundary_BoundaryPoint >*
DetectedLaneBoundary::mutable_boundary_line_rmse() {
  // @@protoc_insertion_point(field_mutable_list:osi3.DetectedLaneBoundary.boundary_line_rmse)
  return &boundary_line_rmse_;
}
inline const ::osi3::LaneBoundary_BoundaryPoint& DetectedLaneBoundary::_internal_boundary_line_rmse(int index) const {
  return boundary_line_rmse_.Get(index);
}
inline const ::osi3::LaneBoundary_BoundaryPoint& DetectedLaneBoundary::boundary_line_rmse(int index) const {
  // @@protoc_insertion_point(field_get:osi3.DetectedLaneBoundary.boundary_line_rmse)
  return _internal_boundary_line_rmse(index);
}
inline ::osi3::LaneBoundary_BoundaryPoint* DetectedLaneBoundary::_internal_add_boundary_line_rmse() {
  return boundary_line_rmse_.Add();
}
inline ::osi3::LaneBoundary_BoundaryPoint* DetectedLaneBoundary::add_boundary_line_rmse() {
  // @@protoc_insertion_point(field_add:osi3.DetectedLaneBoundary.boundary_line_rmse)
  return _internal_add_boundary_line_rmse();
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::osi3::LaneBoundary_BoundaryPoint >&
DetectedLaneBoundary::boundary_line_rmse() const {
  // @@protoc_insertion_point(field_list:osi3.DetectedLaneBoundary.boundary_line_rmse)
  return boundary_line_rmse_;
}

// repeated double boundary_line_confidences = 5;
inline int DetectedLaneBoundary::_internal_boundary_line_confidences_size() const {
  return boundary_line_confidences_.size();
}
inline int DetectedLaneBoundary::boundary_line_confidences_size() const {
  return _internal_boundary_line_confidences_size();
}
inline void DetectedLaneBoundary::clear_boundary_line_confidences() {
  boundary_line_confidences_.Clear();
}
inline double DetectedLaneBoundary::_internal_boundary_line_confidences(int index) const {
  return boundary_line_confidences_.Get(index);
}
inline double DetectedLaneBoundary::boundary_line_confidences(int index) const {
  // @@protoc_insertion_point(field_get:osi3.DetectedLaneBoundary.boundary_line_confidences)
  return _internal_boundary_line_confidences(index);
}
inline void DetectedLaneBoundary::set_boundary_line_confidences(int index, double value) {
  boundary_line_confidences_.Set(index, value);
  // @@protoc_insertion_point(field_set:osi3.DetectedLaneBoundary.boundary_line_confidences)
}
inline void DetectedLaneBoundary::_internal_add_boundary_line_confidences(double value) {
  boundary_line_confidences_.Add(value);
}
inline void DetectedLaneBoundary::add_boundary_line_confidences(double value) {
  _internal_add_boundary_line_confidences(value);
  // @@protoc_insertion_point(field_add:osi3.DetectedLaneBoundary.boundary_line_confidences)
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
DetectedLaneBoundary::_internal_boundary_line_confidences() const {
  return boundary_line_confidences_;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
DetectedLaneBoundary::boundary_line_confidences() const {
  // @@protoc_insertion_point(field_list:osi3.DetectedLaneBoundary.boundary_line_confidences)
  return _internal_boundary_line_confidences();
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
DetectedLaneBoundary::_internal_mutable_boundary_line_confidences() {
  return &boundary_line_confidences_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
DetectedLaneBoundary::mutable_boundary_line_confidences() {
  // @@protoc_insertion_point(field_mutable_list:osi3.DetectedLaneBoundary.boundary_line_confidences)
  return _internal_mutable_boundary_line_confidences();
}

#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_5fdetectedlane_2eproto
