// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: object_detection/protos/box_predictor.proto

#ifndef GOOGLE_PROTOBUF_INCLUDED_object_5fdetection_2fprotos_2fbox_5fpredictor_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_object_5fdetection_2fprotos_2fbox_5fpredictor_2eproto

#include <limits>
#include <string>

#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3009000
#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 3009002 < 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.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/generated_enum_reflection.h>
#include <google/protobuf/unknown_field_set.h>
#include "object_detection/protos/hyperparams.pb.h"
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_object_5fdetection_2fprotos_2fbox_5fpredictor_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}  // namespace internal
PROTOBUF_NAMESPACE_CLOSE

// Internal implementation detail -- do not use these members.
struct TableStruct_object_5fdetection_2fprotos_2fbox_5fpredictor_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[7]
    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_object_5fdetection_2fprotos_2fbox_5fpredictor_2eproto;
namespace object_detection {
namespace protos {
class BoxPredictor;
class BoxPredictorDefaultTypeInternal;
extern BoxPredictorDefaultTypeInternal _BoxPredictor_default_instance_;
class ConvolutionalBoxPredictor;
class ConvolutionalBoxPredictorDefaultTypeInternal;
extern ConvolutionalBoxPredictorDefaultTypeInternal _ConvolutionalBoxPredictor_default_instance_;
class ConvolutionalBoxPredictor_BoxEncodingsClipRange;
class ConvolutionalBoxPredictor_BoxEncodingsClipRangeDefaultTypeInternal;
extern ConvolutionalBoxPredictor_BoxEncodingsClipRangeDefaultTypeInternal _ConvolutionalBoxPredictor_BoxEncodingsClipRange_default_instance_;
class MaskRCNNBoxPredictor;
class MaskRCNNBoxPredictorDefaultTypeInternal;
extern MaskRCNNBoxPredictorDefaultTypeInternal _MaskRCNNBoxPredictor_default_instance_;
class RfcnBoxPredictor;
class RfcnBoxPredictorDefaultTypeInternal;
extern RfcnBoxPredictorDefaultTypeInternal _RfcnBoxPredictor_default_instance_;
class WeightSharedConvolutionalBoxPredictor;
class WeightSharedConvolutionalBoxPredictorDefaultTypeInternal;
extern WeightSharedConvolutionalBoxPredictorDefaultTypeInternal _WeightSharedConvolutionalBoxPredictor_default_instance_;
class WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange;
class WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRangeDefaultTypeInternal;
extern WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRangeDefaultTypeInternal _WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange_default_instance_;
}  // namespace protos
}  // namespace object_detection
PROTOBUF_NAMESPACE_OPEN
template<> ::object_detection::protos::BoxPredictor* Arena::CreateMaybeMessage<::object_detection::protos::BoxPredictor>(Arena*);
template<> ::object_detection::protos::ConvolutionalBoxPredictor* Arena::CreateMaybeMessage<::object_detection::protos::ConvolutionalBoxPredictor>(Arena*);
template<> ::object_detection::protos::ConvolutionalBoxPredictor_BoxEncodingsClipRange* Arena::CreateMaybeMessage<::object_detection::protos::ConvolutionalBoxPredictor_BoxEncodingsClipRange>(Arena*);
template<> ::object_detection::protos::MaskRCNNBoxPredictor* Arena::CreateMaybeMessage<::object_detection::protos::MaskRCNNBoxPredictor>(Arena*);
template<> ::object_detection::protos::RfcnBoxPredictor* Arena::CreateMaybeMessage<::object_detection::protos::RfcnBoxPredictor>(Arena*);
template<> ::object_detection::protos::WeightSharedConvolutionalBoxPredictor* Arena::CreateMaybeMessage<::object_detection::protos::WeightSharedConvolutionalBoxPredictor>(Arena*);
template<> ::object_detection::protos::WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange* Arena::CreateMaybeMessage<::object_detection::protos::WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace object_detection {
namespace protos {

enum WeightSharedConvolutionalBoxPredictor_ScoreConverter : int {
  WeightSharedConvolutionalBoxPredictor_ScoreConverter_IDENTITY = 0,
  WeightSharedConvolutionalBoxPredictor_ScoreConverter_SIGMOID = 1
};
bool WeightSharedConvolutionalBoxPredictor_ScoreConverter_IsValid(int value);
constexpr WeightSharedConvolutionalBoxPredictor_ScoreConverter WeightSharedConvolutionalBoxPredictor_ScoreConverter_ScoreConverter_MIN = WeightSharedConvolutionalBoxPredictor_ScoreConverter_IDENTITY;
constexpr WeightSharedConvolutionalBoxPredictor_ScoreConverter WeightSharedConvolutionalBoxPredictor_ScoreConverter_ScoreConverter_MAX = WeightSharedConvolutionalBoxPredictor_ScoreConverter_SIGMOID;
constexpr int WeightSharedConvolutionalBoxPredictor_ScoreConverter_ScoreConverter_ARRAYSIZE = WeightSharedConvolutionalBoxPredictor_ScoreConverter_ScoreConverter_MAX + 1;

const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* WeightSharedConvolutionalBoxPredictor_ScoreConverter_descriptor();
template<typename T>
inline const std::string& WeightSharedConvolutionalBoxPredictor_ScoreConverter_Name(T enum_t_value) {
  static_assert(::std::is_same<T, WeightSharedConvolutionalBoxPredictor_ScoreConverter>::value ||
    ::std::is_integral<T>::value,
    "Incorrect type passed to function WeightSharedConvolutionalBoxPredictor_ScoreConverter_Name.");
  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
    WeightSharedConvolutionalBoxPredictor_ScoreConverter_descriptor(), enum_t_value);
}
inline bool WeightSharedConvolutionalBoxPredictor_ScoreConverter_Parse(
    const std::string& name, WeightSharedConvolutionalBoxPredictor_ScoreConverter* value) {
  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<WeightSharedConvolutionalBoxPredictor_ScoreConverter>(
    WeightSharedConvolutionalBoxPredictor_ScoreConverter_descriptor(), name, value);
}
// ===================================================================

class BoxPredictor :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:object_detection.protos.BoxPredictor) */ {
 public:
  BoxPredictor();
  virtual ~BoxPredictor();

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

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

  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  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 BoxPredictor& default_instance();

  enum BoxPredictorOneofCase {
    kConvolutionalBoxPredictor = 1,
    kMaskRcnnBoxPredictor = 2,
    kRfcnBoxPredictor = 3,
    kWeightSharedConvolutionalBoxPredictor = 4,
    BOX_PREDICTOR_ONEOF_NOT_SET = 0,
  };

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

  friend void swap(BoxPredictor& a, BoxPredictor& b) {
    a.Swap(&b);
  }
  inline void Swap(BoxPredictor* other) {
    if (other == this) return;
    InternalSwap(other);
  }

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

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

  BoxPredictor* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<BoxPredictor>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const BoxPredictor& from);
  void MergeFrom(const BoxPredictor& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  #else
  bool MergePartialFromCodedStream(
      ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
  #endif  // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  void SerializeWithCachedSizes(
      ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
  ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
      ::PROTOBUF_NAMESPACE_ID::uint8* target) 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(BoxPredictor* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "object_detection.protos.BoxPredictor";
  }
  private:
  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
    return nullptr;
  }
  inline void* MaybeArenaPtr() const {
    return nullptr;
  }
  public:

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

  public:

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

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

  enum : int {
    kConvolutionalBoxPredictorFieldNumber = 1,
    kMaskRcnnBoxPredictorFieldNumber = 2,
    kRfcnBoxPredictorFieldNumber = 3,
    kWeightSharedConvolutionalBoxPredictorFieldNumber = 4,
  };
  // optional .object_detection.protos.ConvolutionalBoxPredictor convolutional_box_predictor = 1;
  bool has_convolutional_box_predictor() const;
  void clear_convolutional_box_predictor();
  const ::object_detection::protos::ConvolutionalBoxPredictor& convolutional_box_predictor() const;
  ::object_detection::protos::ConvolutionalBoxPredictor* release_convolutional_box_predictor();
  ::object_detection::protos::ConvolutionalBoxPredictor* mutable_convolutional_box_predictor();
  void set_allocated_convolutional_box_predictor(::object_detection::protos::ConvolutionalBoxPredictor* convolutional_box_predictor);

  // optional .object_detection.protos.MaskRCNNBoxPredictor mask_rcnn_box_predictor = 2;
  bool has_mask_rcnn_box_predictor() const;
  void clear_mask_rcnn_box_predictor();
  const ::object_detection::protos::MaskRCNNBoxPredictor& mask_rcnn_box_predictor() const;
  ::object_detection::protos::MaskRCNNBoxPredictor* release_mask_rcnn_box_predictor();
  ::object_detection::protos::MaskRCNNBoxPredictor* mutable_mask_rcnn_box_predictor();
  void set_allocated_mask_rcnn_box_predictor(::object_detection::protos::MaskRCNNBoxPredictor* mask_rcnn_box_predictor);

  // optional .object_detection.protos.RfcnBoxPredictor rfcn_box_predictor = 3;
  bool has_rfcn_box_predictor() const;
  void clear_rfcn_box_predictor();
  const ::object_detection::protos::RfcnBoxPredictor& rfcn_box_predictor() const;
  ::object_detection::protos::RfcnBoxPredictor* release_rfcn_box_predictor();
  ::object_detection::protos::RfcnBoxPredictor* mutable_rfcn_box_predictor();
  void set_allocated_rfcn_box_predictor(::object_detection::protos::RfcnBoxPredictor* rfcn_box_predictor);

  // optional .object_detection.protos.WeightSharedConvolutionalBoxPredictor weight_shared_convolutional_box_predictor = 4;
  bool has_weight_shared_convolutional_box_predictor() const;
  void clear_weight_shared_convolutional_box_predictor();
  const ::object_detection::protos::WeightSharedConvolutionalBoxPredictor& weight_shared_convolutional_box_predictor() const;
  ::object_detection::protos::WeightSharedConvolutionalBoxPredictor* release_weight_shared_convolutional_box_predictor();
  ::object_detection::protos::WeightSharedConvolutionalBoxPredictor* mutable_weight_shared_convolutional_box_predictor();
  void set_allocated_weight_shared_convolutional_box_predictor(::object_detection::protos::WeightSharedConvolutionalBoxPredictor* weight_shared_convolutional_box_predictor);

  void clear_box_predictor_oneof();
  BoxPredictorOneofCase box_predictor_oneof_case() const;
  // @@protoc_insertion_point(class_scope:object_detection.protos.BoxPredictor)
 private:
  class _Internal;
  void set_has_convolutional_box_predictor();
  void set_has_mask_rcnn_box_predictor();
  void set_has_rfcn_box_predictor();
  void set_has_weight_shared_convolutional_box_predictor();

  inline bool has_box_predictor_oneof() const;
  inline void clear_has_box_predictor_oneof();

  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  union BoxPredictorOneofUnion {
    BoxPredictorOneofUnion() {}
    ::object_detection::protos::ConvolutionalBoxPredictor* convolutional_box_predictor_;
    ::object_detection::protos::MaskRCNNBoxPredictor* mask_rcnn_box_predictor_;
    ::object_detection::protos::RfcnBoxPredictor* rfcn_box_predictor_;
    ::object_detection::protos::WeightSharedConvolutionalBoxPredictor* weight_shared_convolutional_box_predictor_;
  } box_predictor_oneof_;
  ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1];

  friend struct ::TableStruct_object_5fdetection_2fprotos_2fbox_5fpredictor_2eproto;
};
// -------------------------------------------------------------------

class ConvolutionalBoxPredictor_BoxEncodingsClipRange :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:object_detection.protos.ConvolutionalBoxPredictor.BoxEncodingsClipRange) */ {
 public:
  ConvolutionalBoxPredictor_BoxEncodingsClipRange();
  virtual ~ConvolutionalBoxPredictor_BoxEncodingsClipRange();

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

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

  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  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 ConvolutionalBoxPredictor_BoxEncodingsClipRange& default_instance();

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

  friend void swap(ConvolutionalBoxPredictor_BoxEncodingsClipRange& a, ConvolutionalBoxPredictor_BoxEncodingsClipRange& b) {
    a.Swap(&b);
  }
  inline void Swap(ConvolutionalBoxPredictor_BoxEncodingsClipRange* other) {
    if (other == this) return;
    InternalSwap(other);
  }

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

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

  ConvolutionalBoxPredictor_BoxEncodingsClipRange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<ConvolutionalBoxPredictor_BoxEncodingsClipRange>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const ConvolutionalBoxPredictor_BoxEncodingsClipRange& from);
  void MergeFrom(const ConvolutionalBoxPredictor_BoxEncodingsClipRange& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  #else
  bool MergePartialFromCodedStream(
      ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
  #endif  // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  void SerializeWithCachedSizes(
      ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
  ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
      ::PROTOBUF_NAMESPACE_ID::uint8* target) 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(ConvolutionalBoxPredictor_BoxEncodingsClipRange* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "object_detection.protos.ConvolutionalBoxPredictor.BoxEncodingsClipRange";
  }
  private:
  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
    return nullptr;
  }
  inline void* MaybeArenaPtr() const {
    return nullptr;
  }
  public:

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

  public:

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

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

  enum : int {
    kMinFieldNumber = 1,
    kMaxFieldNumber = 2,
  };
  // optional float min = 1;
  bool has_min() const;
  void clear_min();
  float min() const;
  void set_min(float value);

  // optional float max = 2;
  bool has_max() const;
  void clear_max();
  float max() const;
  void set_max(float value);

  // @@protoc_insertion_point(class_scope:object_detection.protos.ConvolutionalBoxPredictor.BoxEncodingsClipRange)
 private:
  class _Internal;

  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  float min_;
  float max_;
  friend struct ::TableStruct_object_5fdetection_2fprotos_2fbox_5fpredictor_2eproto;
};
// -------------------------------------------------------------------

class ConvolutionalBoxPredictor :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:object_detection.protos.ConvolutionalBoxPredictor) */ {
 public:
  ConvolutionalBoxPredictor();
  virtual ~ConvolutionalBoxPredictor();

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

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

  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  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 ConvolutionalBoxPredictor& default_instance();

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

  friend void swap(ConvolutionalBoxPredictor& a, ConvolutionalBoxPredictor& b) {
    a.Swap(&b);
  }
  inline void Swap(ConvolutionalBoxPredictor* other) {
    if (other == this) return;
    InternalSwap(other);
  }

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

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

  ConvolutionalBoxPredictor* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<ConvolutionalBoxPredictor>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const ConvolutionalBoxPredictor& from);
  void MergeFrom(const ConvolutionalBoxPredictor& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  #else
  bool MergePartialFromCodedStream(
      ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
  #endif  // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  void SerializeWithCachedSizes(
      ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
  ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
      ::PROTOBUF_NAMESPACE_ID::uint8* target) 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(ConvolutionalBoxPredictor* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "object_detection.protos.ConvolutionalBoxPredictor";
  }
  private:
  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
    return nullptr;
  }
  inline void* MaybeArenaPtr() const {
    return nullptr;
  }
  public:

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

  public:

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

  typedef ConvolutionalBoxPredictor_BoxEncodingsClipRange BoxEncodingsClipRange;

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

  enum : int {
    kConvHyperparamsFieldNumber = 1,
    kBoxEncodingsClipRangeFieldNumber = 12,
    kMinDepthFieldNumber = 2,
    kMaxDepthFieldNumber = 3,
    kNumLayersBeforePredictorFieldNumber = 4,
    kClassPredictionBiasInitFieldNumber = 10,
    kApplySigmoidToScoresFieldNumber = 9,
    kUseDepthwiseFieldNumber = 11,
    kUseDropoutFieldNumber = 5,
    kDropoutKeepProbabilityFieldNumber = 6,
    kKernelSizeFieldNumber = 7,
    kBoxCodeSizeFieldNumber = 8,
  };
  // optional .object_detection.protos.Hyperparams conv_hyperparams = 1;
  bool has_conv_hyperparams() const;
  void clear_conv_hyperparams();
  const ::object_detection::protos::Hyperparams& conv_hyperparams() const;
  ::object_detection::protos::Hyperparams* release_conv_hyperparams();
  ::object_detection::protos::Hyperparams* mutable_conv_hyperparams();
  void set_allocated_conv_hyperparams(::object_detection::protos::Hyperparams* conv_hyperparams);

  // optional .object_detection.protos.ConvolutionalBoxPredictor.BoxEncodingsClipRange box_encodings_clip_range = 12;
  bool has_box_encodings_clip_range() const;
  void clear_box_encodings_clip_range();
  const ::object_detection::protos::ConvolutionalBoxPredictor_BoxEncodingsClipRange& box_encodings_clip_range() const;
  ::object_detection::protos::ConvolutionalBoxPredictor_BoxEncodingsClipRange* release_box_encodings_clip_range();
  ::object_detection::protos::ConvolutionalBoxPredictor_BoxEncodingsClipRange* mutable_box_encodings_clip_range();
  void set_allocated_box_encodings_clip_range(::object_detection::protos::ConvolutionalBoxPredictor_BoxEncodingsClipRange* box_encodings_clip_range);

  // optional int32 min_depth = 2 [default = 0];
  bool has_min_depth() const;
  void clear_min_depth();
  ::PROTOBUF_NAMESPACE_ID::int32 min_depth() const;
  void set_min_depth(::PROTOBUF_NAMESPACE_ID::int32 value);

  // optional int32 max_depth = 3 [default = 0];
  bool has_max_depth() const;
  void clear_max_depth();
  ::PROTOBUF_NAMESPACE_ID::int32 max_depth() const;
  void set_max_depth(::PROTOBUF_NAMESPACE_ID::int32 value);

  // optional int32 num_layers_before_predictor = 4 [default = 0];
  bool has_num_layers_before_predictor() const;
  void clear_num_layers_before_predictor();
  ::PROTOBUF_NAMESPACE_ID::int32 num_layers_before_predictor() const;
  void set_num_layers_before_predictor(::PROTOBUF_NAMESPACE_ID::int32 value);

  // optional float class_prediction_bias_init = 10 [default = 0];
  bool has_class_prediction_bias_init() const;
  void clear_class_prediction_bias_init();
  float class_prediction_bias_init() const;
  void set_class_prediction_bias_init(float value);

  // optional bool apply_sigmoid_to_scores = 9 [default = false];
  bool has_apply_sigmoid_to_scores() const;
  void clear_apply_sigmoid_to_scores();
  bool apply_sigmoid_to_scores() const;
  void set_apply_sigmoid_to_scores(bool value);

  // optional bool use_depthwise = 11 [default = false];
  bool has_use_depthwise() const;
  void clear_use_depthwise();
  bool use_depthwise() const;
  void set_use_depthwise(bool value);

  // optional bool use_dropout = 5 [default = true];
  bool has_use_dropout() const;
  void clear_use_dropout();
  bool use_dropout() const;
  void set_use_dropout(bool value);

  // optional float dropout_keep_probability = 6 [default = 0.8];
  bool has_dropout_keep_probability() const;
  void clear_dropout_keep_probability();
  float dropout_keep_probability() const;
  void set_dropout_keep_probability(float value);

  // optional int32 kernel_size = 7 [default = 1];
  bool has_kernel_size() const;
  void clear_kernel_size();
  ::PROTOBUF_NAMESPACE_ID::int32 kernel_size() const;
  void set_kernel_size(::PROTOBUF_NAMESPACE_ID::int32 value);

  // optional int32 box_code_size = 8 [default = 4];
  bool has_box_code_size() const;
  void clear_box_code_size();
  ::PROTOBUF_NAMESPACE_ID::int32 box_code_size() const;
  void set_box_code_size(::PROTOBUF_NAMESPACE_ID::int32 value);

  // @@protoc_insertion_point(class_scope:object_detection.protos.ConvolutionalBoxPredictor)
 private:
  class _Internal;

  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  ::object_detection::protos::Hyperparams* conv_hyperparams_;
  ::object_detection::protos::ConvolutionalBoxPredictor_BoxEncodingsClipRange* box_encodings_clip_range_;
  ::PROTOBUF_NAMESPACE_ID::int32 min_depth_;
  ::PROTOBUF_NAMESPACE_ID::int32 max_depth_;
  ::PROTOBUF_NAMESPACE_ID::int32 num_layers_before_predictor_;
  float class_prediction_bias_init_;
  bool apply_sigmoid_to_scores_;
  bool use_depthwise_;
  bool use_dropout_;
  float dropout_keep_probability_;
  ::PROTOBUF_NAMESPACE_ID::int32 kernel_size_;
  ::PROTOBUF_NAMESPACE_ID::int32 box_code_size_;
  friend struct ::TableStruct_object_5fdetection_2fprotos_2fbox_5fpredictor_2eproto;
};
// -------------------------------------------------------------------

class WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:object_detection.protos.WeightSharedConvolutionalBoxPredictor.BoxEncodingsClipRange) */ {
 public:
  WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange();
  virtual ~WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange();

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

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

  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  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 WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange& default_instance();

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

  friend void swap(WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange& a, WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange& b) {
    a.Swap(&b);
  }
  inline void Swap(WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange* other) {
    if (other == this) return;
    InternalSwap(other);
  }

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

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

  WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange& from);
  void MergeFrom(const WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  #else
  bool MergePartialFromCodedStream(
      ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
  #endif  // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  void SerializeWithCachedSizes(
      ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
  ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
      ::PROTOBUF_NAMESPACE_ID::uint8* target) 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(WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "object_detection.protos.WeightSharedConvolutionalBoxPredictor.BoxEncodingsClipRange";
  }
  private:
  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
    return nullptr;
  }
  inline void* MaybeArenaPtr() const {
    return nullptr;
  }
  public:

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

  public:

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

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

  enum : int {
    kMinFieldNumber = 1,
    kMaxFieldNumber = 2,
  };
  // optional float min = 1;
  bool has_min() const;
  void clear_min();
  float min() const;
  void set_min(float value);

  // optional float max = 2;
  bool has_max() const;
  void clear_max();
  float max() const;
  void set_max(float value);

  // @@protoc_insertion_point(class_scope:object_detection.protos.WeightSharedConvolutionalBoxPredictor.BoxEncodingsClipRange)
 private:
  class _Internal;

  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  float min_;
  float max_;
  friend struct ::TableStruct_object_5fdetection_2fprotos_2fbox_5fpredictor_2eproto;
};
// -------------------------------------------------------------------

class WeightSharedConvolutionalBoxPredictor :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:object_detection.protos.WeightSharedConvolutionalBoxPredictor) */ {
 public:
  WeightSharedConvolutionalBoxPredictor();
  virtual ~WeightSharedConvolutionalBoxPredictor();

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

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

  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  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 WeightSharedConvolutionalBoxPredictor& default_instance();

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

  friend void swap(WeightSharedConvolutionalBoxPredictor& a, WeightSharedConvolutionalBoxPredictor& b) {
    a.Swap(&b);
  }
  inline void Swap(WeightSharedConvolutionalBoxPredictor* other) {
    if (other == this) return;
    InternalSwap(other);
  }

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

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

  WeightSharedConvolutionalBoxPredictor* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<WeightSharedConvolutionalBoxPredictor>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const WeightSharedConvolutionalBoxPredictor& from);
  void MergeFrom(const WeightSharedConvolutionalBoxPredictor& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  #else
  bool MergePartialFromCodedStream(
      ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
  #endif  // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  void SerializeWithCachedSizes(
      ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
  ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
      ::PROTOBUF_NAMESPACE_ID::uint8* target) 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(WeightSharedConvolutionalBoxPredictor* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "object_detection.protos.WeightSharedConvolutionalBoxPredictor";
  }
  private:
  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
    return nullptr;
  }
  inline void* MaybeArenaPtr() const {
    return nullptr;
  }
  public:

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

  public:

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

  typedef WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange BoxEncodingsClipRange;

  typedef WeightSharedConvolutionalBoxPredictor_ScoreConverter ScoreConverter;
  static constexpr ScoreConverter IDENTITY =
    WeightSharedConvolutionalBoxPredictor_ScoreConverter_IDENTITY;
  static constexpr ScoreConverter SIGMOID =
    WeightSharedConvolutionalBoxPredictor_ScoreConverter_SIGMOID;
  static inline bool ScoreConverter_IsValid(int value) {
    return WeightSharedConvolutionalBoxPredictor_ScoreConverter_IsValid(value);
  }
  static constexpr ScoreConverter ScoreConverter_MIN =
    WeightSharedConvolutionalBoxPredictor_ScoreConverter_ScoreConverter_MIN;
  static constexpr ScoreConverter ScoreConverter_MAX =
    WeightSharedConvolutionalBoxPredictor_ScoreConverter_ScoreConverter_MAX;
  static constexpr int ScoreConverter_ARRAYSIZE =
    WeightSharedConvolutionalBoxPredictor_ScoreConverter_ScoreConverter_ARRAYSIZE;
  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
  ScoreConverter_descriptor() {
    return WeightSharedConvolutionalBoxPredictor_ScoreConverter_descriptor();
  }
  template<typename T>
  static inline const std::string& ScoreConverter_Name(T enum_t_value) {
    static_assert(::std::is_same<T, ScoreConverter>::value ||
      ::std::is_integral<T>::value,
      "Incorrect type passed to function ScoreConverter_Name.");
    return WeightSharedConvolutionalBoxPredictor_ScoreConverter_Name(enum_t_value);
  }
  static inline bool ScoreConverter_Parse(const std::string& name,
      ScoreConverter* value) {
    return WeightSharedConvolutionalBoxPredictor_ScoreConverter_Parse(name, value);
  }

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

  enum : int {
    kConvHyperparamsFieldNumber = 1,
    kBoxEncodingsClipRangeFieldNumber = 17,
    kDepthFieldNumber = 2,
    kNumLayersBeforePredictorFieldNumber = 4,
    kClassPredictionBiasInitFieldNumber = 10,
    kUseDropoutFieldNumber = 11,
    kSharePredictionTowerFieldNumber = 13,
    kUseDepthwiseFieldNumber = 14,
    kScoreConverterFieldNumber = 16,
    kDropoutKeepProbabilityFieldNumber = 12,
    kKernelSizeFieldNumber = 7,
    kBoxCodeSizeFieldNumber = 8,
  };
  // optional .object_detection.protos.Hyperparams conv_hyperparams = 1;
  bool has_conv_hyperparams() const;
  void clear_conv_hyperparams();
  const ::object_detection::protos::Hyperparams& conv_hyperparams() const;
  ::object_detection::protos::Hyperparams* release_conv_hyperparams();
  ::object_detection::protos::Hyperparams* mutable_conv_hyperparams();
  void set_allocated_conv_hyperparams(::object_detection::protos::Hyperparams* conv_hyperparams);

  // optional .object_detection.protos.WeightSharedConvolutionalBoxPredictor.BoxEncodingsClipRange box_encodings_clip_range = 17;
  bool has_box_encodings_clip_range() const;
  void clear_box_encodings_clip_range();
  const ::object_detection::protos::WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange& box_encodings_clip_range() const;
  ::object_detection::protos::WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange* release_box_encodings_clip_range();
  ::object_detection::protos::WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange* mutable_box_encodings_clip_range();
  void set_allocated_box_encodings_clip_range(::object_detection::protos::WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange* box_encodings_clip_range);

  // optional int32 depth = 2 [default = 0];
  bool has_depth() const;
  void clear_depth();
  ::PROTOBUF_NAMESPACE_ID::int32 depth() const;
  void set_depth(::PROTOBUF_NAMESPACE_ID::int32 value);

  // optional int32 num_layers_before_predictor = 4 [default = 0];
  bool has_num_layers_before_predictor() const;
  void clear_num_layers_before_predictor();
  ::PROTOBUF_NAMESPACE_ID::int32 num_layers_before_predictor() const;
  void set_num_layers_before_predictor(::PROTOBUF_NAMESPACE_ID::int32 value);

  // optional float class_prediction_bias_init = 10 [default = 0];
  bool has_class_prediction_bias_init() const;
  void clear_class_prediction_bias_init();
  float class_prediction_bias_init() const;
  void set_class_prediction_bias_init(float value);

  // optional bool use_dropout = 11 [default = false];
  bool has_use_dropout() const;
  void clear_use_dropout();
  bool use_dropout() const;
  void set_use_dropout(bool value);

  // optional bool share_prediction_tower = 13 [default = false];
  bool has_share_prediction_tower() const;
  void clear_share_prediction_tower();
  bool share_prediction_tower() const;
  void set_share_prediction_tower(bool value);

  // optional bool use_depthwise = 14 [default = false];
  bool has_use_depthwise() const;
  void clear_use_depthwise();
  bool use_depthwise() const;
  void set_use_depthwise(bool value);

  // optional .object_detection.protos.WeightSharedConvolutionalBoxPredictor.ScoreConverter score_converter = 16 [default = IDENTITY];
  bool has_score_converter() const;
  void clear_score_converter();
  ::object_detection::protos::WeightSharedConvolutionalBoxPredictor_ScoreConverter score_converter() const;
  void set_score_converter(::object_detection::protos::WeightSharedConvolutionalBoxPredictor_ScoreConverter value);

  // optional float dropout_keep_probability = 12 [default = 0.8];
  bool has_dropout_keep_probability() const;
  void clear_dropout_keep_probability();
  float dropout_keep_probability() const;
  void set_dropout_keep_probability(float value);

  // optional int32 kernel_size = 7 [default = 3];
  bool has_kernel_size() const;
  void clear_kernel_size();
  ::PROTOBUF_NAMESPACE_ID::int32 kernel_size() const;
  void set_kernel_size(::PROTOBUF_NAMESPACE_ID::int32 value);

  // optional int32 box_code_size = 8 [default = 4];
  bool has_box_code_size() const;
  void clear_box_code_size();
  ::PROTOBUF_NAMESPACE_ID::int32 box_code_size() const;
  void set_box_code_size(::PROTOBUF_NAMESPACE_ID::int32 value);

  // @@protoc_insertion_point(class_scope:object_detection.protos.WeightSharedConvolutionalBoxPredictor)
 private:
  class _Internal;

  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  ::object_detection::protos::Hyperparams* conv_hyperparams_;
  ::object_detection::protos::WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange* box_encodings_clip_range_;
  ::PROTOBUF_NAMESPACE_ID::int32 depth_;
  ::PROTOBUF_NAMESPACE_ID::int32 num_layers_before_predictor_;
  float class_prediction_bias_init_;
  bool use_dropout_;
  bool share_prediction_tower_;
  bool use_depthwise_;
  int score_converter_;
  float dropout_keep_probability_;
  ::PROTOBUF_NAMESPACE_ID::int32 kernel_size_;
  ::PROTOBUF_NAMESPACE_ID::int32 box_code_size_;
  friend struct ::TableStruct_object_5fdetection_2fprotos_2fbox_5fpredictor_2eproto;
};
// -------------------------------------------------------------------

class MaskRCNNBoxPredictor :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:object_detection.protos.MaskRCNNBoxPredictor) */ {
 public:
  MaskRCNNBoxPredictor();
  virtual ~MaskRCNNBoxPredictor();

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

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

  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  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 MaskRCNNBoxPredictor& default_instance();

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

  friend void swap(MaskRCNNBoxPredictor& a, MaskRCNNBoxPredictor& b) {
    a.Swap(&b);
  }
  inline void Swap(MaskRCNNBoxPredictor* other) {
    if (other == this) return;
    InternalSwap(other);
  }

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

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

  MaskRCNNBoxPredictor* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<MaskRCNNBoxPredictor>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const MaskRCNNBoxPredictor& from);
  void MergeFrom(const MaskRCNNBoxPredictor& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  #else
  bool MergePartialFromCodedStream(
      ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
  #endif  // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  void SerializeWithCachedSizes(
      ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
  ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
      ::PROTOBUF_NAMESPACE_ID::uint8* target) 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(MaskRCNNBoxPredictor* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "object_detection.protos.MaskRCNNBoxPredictor";
  }
  private:
  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
    return nullptr;
  }
  inline void* MaybeArenaPtr() const {
    return nullptr;
  }
  public:

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

  public:

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

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

  enum : int {
    kFcHyperparamsFieldNumber = 1,
    kConvHyperparamsFieldNumber = 5,
    kUseDropoutFieldNumber = 2,
    kPredictInstanceMasksFieldNumber = 6,
    kPredictKeypointsFieldNumber = 8,
    kMasksAreClassAgnosticFieldNumber = 12,
    kShareBoxAcrossClassesFieldNumber = 13,
    kConvolveThenUpsampleMasksFieldNumber = 14,
    kDropoutKeepProbabilityFieldNumber = 3,
    kBoxCodeSizeFieldNumber = 4,
    kMaskPredictionConvDepthFieldNumber = 7,
    kMaskHeightFieldNumber = 9,
    kMaskWidthFieldNumber = 10,
    kMaskPredictionNumConvLayersFieldNumber = 11,
  };
  // optional .object_detection.protos.Hyperparams fc_hyperparams = 1;
  bool has_fc_hyperparams() const;
  void clear_fc_hyperparams();
  const ::object_detection::protos::Hyperparams& fc_hyperparams() const;
  ::object_detection::protos::Hyperparams* release_fc_hyperparams();
  ::object_detection::protos::Hyperparams* mutable_fc_hyperparams();
  void set_allocated_fc_hyperparams(::object_detection::protos::Hyperparams* fc_hyperparams);

  // optional .object_detection.protos.Hyperparams conv_hyperparams = 5;
  bool has_conv_hyperparams() const;
  void clear_conv_hyperparams();
  const ::object_detection::protos::Hyperparams& conv_hyperparams() const;
  ::object_detection::protos::Hyperparams* release_conv_hyperparams();
  ::object_detection::protos::Hyperparams* mutable_conv_hyperparams();
  void set_allocated_conv_hyperparams(::object_detection::protos::Hyperparams* conv_hyperparams);

  // optional bool use_dropout = 2 [default = false];
  bool has_use_dropout() const;
  void clear_use_dropout();
  bool use_dropout() const;
  void set_use_dropout(bool value);

  // optional bool predict_instance_masks = 6 [default = false];
  bool has_predict_instance_masks() const;
  void clear_predict_instance_masks();
  bool predict_instance_masks() const;
  void set_predict_instance_masks(bool value);

  // optional bool predict_keypoints = 8 [default = false];
  bool has_predict_keypoints() const;
  void clear_predict_keypoints();
  bool predict_keypoints() const;
  void set_predict_keypoints(bool value);

  // optional bool masks_are_class_agnostic = 12 [default = false];
  bool has_masks_are_class_agnostic() const;
  void clear_masks_are_class_agnostic();
  bool masks_are_class_agnostic() const;
  void set_masks_are_class_agnostic(bool value);

  // optional bool share_box_across_classes = 13 [default = false];
  bool has_share_box_across_classes() const;
  void clear_share_box_across_classes();
  bool share_box_across_classes() const;
  void set_share_box_across_classes(bool value);

  // optional bool convolve_then_upsample_masks = 14 [default = false];
  bool has_convolve_then_upsample_masks() const;
  void clear_convolve_then_upsample_masks();
  bool convolve_then_upsample_masks() const;
  void set_convolve_then_upsample_masks(bool value);

  // optional float dropout_keep_probability = 3 [default = 0.5];
  bool has_dropout_keep_probability() const;
  void clear_dropout_keep_probability();
  float dropout_keep_probability() const;
  void set_dropout_keep_probability(float value);

  // optional int32 box_code_size = 4 [default = 4];
  bool has_box_code_size() const;
  void clear_box_code_size();
  ::PROTOBUF_NAMESPACE_ID::int32 box_code_size() const;
  void set_box_code_size(::PROTOBUF_NAMESPACE_ID::int32 value);

  // optional int32 mask_prediction_conv_depth = 7 [default = 256];
  bool has_mask_prediction_conv_depth() const;
  void clear_mask_prediction_conv_depth();
  ::PROTOBUF_NAMESPACE_ID::int32 mask_prediction_conv_depth() const;
  void set_mask_prediction_conv_depth(::PROTOBUF_NAMESPACE_ID::int32 value);

  // optional int32 mask_height = 9 [default = 15];
  bool has_mask_height() const;
  void clear_mask_height();
  ::PROTOBUF_NAMESPACE_ID::int32 mask_height() const;
  void set_mask_height(::PROTOBUF_NAMESPACE_ID::int32 value);

  // optional int32 mask_width = 10 [default = 15];
  bool has_mask_width() const;
  void clear_mask_width();
  ::PROTOBUF_NAMESPACE_ID::int32 mask_width() const;
  void set_mask_width(::PROTOBUF_NAMESPACE_ID::int32 value);

  // optional int32 mask_prediction_num_conv_layers = 11 [default = 2];
  bool has_mask_prediction_num_conv_layers() const;
  void clear_mask_prediction_num_conv_layers();
  ::PROTOBUF_NAMESPACE_ID::int32 mask_prediction_num_conv_layers() const;
  void set_mask_prediction_num_conv_layers(::PROTOBUF_NAMESPACE_ID::int32 value);

  // @@protoc_insertion_point(class_scope:object_detection.protos.MaskRCNNBoxPredictor)
 private:
  class _Internal;

  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  ::object_detection::protos::Hyperparams* fc_hyperparams_;
  ::object_detection::protos::Hyperparams* conv_hyperparams_;
  bool use_dropout_;
  bool predict_instance_masks_;
  bool predict_keypoints_;
  bool masks_are_class_agnostic_;
  bool share_box_across_classes_;
  bool convolve_then_upsample_masks_;
  float dropout_keep_probability_;
  ::PROTOBUF_NAMESPACE_ID::int32 box_code_size_;
  ::PROTOBUF_NAMESPACE_ID::int32 mask_prediction_conv_depth_;
  ::PROTOBUF_NAMESPACE_ID::int32 mask_height_;
  ::PROTOBUF_NAMESPACE_ID::int32 mask_width_;
  ::PROTOBUF_NAMESPACE_ID::int32 mask_prediction_num_conv_layers_;
  friend struct ::TableStruct_object_5fdetection_2fprotos_2fbox_5fpredictor_2eproto;
};
// -------------------------------------------------------------------

class RfcnBoxPredictor :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:object_detection.protos.RfcnBoxPredictor) */ {
 public:
  RfcnBoxPredictor();
  virtual ~RfcnBoxPredictor();

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

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

  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  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 RfcnBoxPredictor& default_instance();

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

  friend void swap(RfcnBoxPredictor& a, RfcnBoxPredictor& b) {
    a.Swap(&b);
  }
  inline void Swap(RfcnBoxPredictor* other) {
    if (other == this) return;
    InternalSwap(other);
  }

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

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

  RfcnBoxPredictor* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<RfcnBoxPredictor>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const RfcnBoxPredictor& from);
  void MergeFrom(const RfcnBoxPredictor& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  #else
  bool MergePartialFromCodedStream(
      ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
  #endif  // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  void SerializeWithCachedSizes(
      ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
  ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
      ::PROTOBUF_NAMESPACE_ID::uint8* target) 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(RfcnBoxPredictor* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "object_detection.protos.RfcnBoxPredictor";
  }
  private:
  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
    return nullptr;
  }
  inline void* MaybeArenaPtr() const {
    return nullptr;
  }
  public:

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

  public:

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

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

  enum : int {
    kConvHyperparamsFieldNumber = 1,
    kNumSpatialBinsHeightFieldNumber = 2,
    kNumSpatialBinsWidthFieldNumber = 3,
    kDepthFieldNumber = 4,
    kBoxCodeSizeFieldNumber = 5,
    kCropHeightFieldNumber = 6,
    kCropWidthFieldNumber = 7,
  };
  // optional .object_detection.protos.Hyperparams conv_hyperparams = 1;
  bool has_conv_hyperparams() const;
  void clear_conv_hyperparams();
  const ::object_detection::protos::Hyperparams& conv_hyperparams() const;
  ::object_detection::protos::Hyperparams* release_conv_hyperparams();
  ::object_detection::protos::Hyperparams* mutable_conv_hyperparams();
  void set_allocated_conv_hyperparams(::object_detection::protos::Hyperparams* conv_hyperparams);

  // optional int32 num_spatial_bins_height = 2 [default = 3];
  bool has_num_spatial_bins_height() const;
  void clear_num_spatial_bins_height();
  ::PROTOBUF_NAMESPACE_ID::int32 num_spatial_bins_height() const;
  void set_num_spatial_bins_height(::PROTOBUF_NAMESPACE_ID::int32 value);

  // optional int32 num_spatial_bins_width = 3 [default = 3];
  bool has_num_spatial_bins_width() const;
  void clear_num_spatial_bins_width();
  ::PROTOBUF_NAMESPACE_ID::int32 num_spatial_bins_width() const;
  void set_num_spatial_bins_width(::PROTOBUF_NAMESPACE_ID::int32 value);

  // optional int32 depth = 4 [default = 1024];
  bool has_depth() const;
  void clear_depth();
  ::PROTOBUF_NAMESPACE_ID::int32 depth() const;
  void set_depth(::PROTOBUF_NAMESPACE_ID::int32 value);

  // optional int32 box_code_size = 5 [default = 4];
  bool has_box_code_size() const;
  void clear_box_code_size();
  ::PROTOBUF_NAMESPACE_ID::int32 box_code_size() const;
  void set_box_code_size(::PROTOBUF_NAMESPACE_ID::int32 value);

  // optional int32 crop_height = 6 [default = 12];
  bool has_crop_height() const;
  void clear_crop_height();
  ::PROTOBUF_NAMESPACE_ID::int32 crop_height() const;
  void set_crop_height(::PROTOBUF_NAMESPACE_ID::int32 value);

  // optional int32 crop_width = 7 [default = 12];
  bool has_crop_width() const;
  void clear_crop_width();
  ::PROTOBUF_NAMESPACE_ID::int32 crop_width() const;
  void set_crop_width(::PROTOBUF_NAMESPACE_ID::int32 value);

  // @@protoc_insertion_point(class_scope:object_detection.protos.RfcnBoxPredictor)
 private:
  class _Internal;

  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  ::object_detection::protos::Hyperparams* conv_hyperparams_;
  ::PROTOBUF_NAMESPACE_ID::int32 num_spatial_bins_height_;
  ::PROTOBUF_NAMESPACE_ID::int32 num_spatial_bins_width_;
  ::PROTOBUF_NAMESPACE_ID::int32 depth_;
  ::PROTOBUF_NAMESPACE_ID::int32 box_code_size_;
  ::PROTOBUF_NAMESPACE_ID::int32 crop_height_;
  ::PROTOBUF_NAMESPACE_ID::int32 crop_width_;
  friend struct ::TableStruct_object_5fdetection_2fprotos_2fbox_5fpredictor_2eproto;
};
// ===================================================================


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

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

// optional .object_detection.protos.ConvolutionalBoxPredictor convolutional_box_predictor = 1;
inline bool BoxPredictor::has_convolutional_box_predictor() const {
  return box_predictor_oneof_case() == kConvolutionalBoxPredictor;
}
inline void BoxPredictor::set_has_convolutional_box_predictor() {
  _oneof_case_[0] = kConvolutionalBoxPredictor;
}
inline void BoxPredictor::clear_convolutional_box_predictor() {
  if (has_convolutional_box_predictor()) {
    delete box_predictor_oneof_.convolutional_box_predictor_;
    clear_has_box_predictor_oneof();
  }
}
inline ::object_detection::protos::ConvolutionalBoxPredictor* BoxPredictor::release_convolutional_box_predictor() {
  // @@protoc_insertion_point(field_release:object_detection.protos.BoxPredictor.convolutional_box_predictor)
  if (has_convolutional_box_predictor()) {
    clear_has_box_predictor_oneof();
      ::object_detection::protos::ConvolutionalBoxPredictor* temp = box_predictor_oneof_.convolutional_box_predictor_;
    box_predictor_oneof_.convolutional_box_predictor_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::object_detection::protos::ConvolutionalBoxPredictor& BoxPredictor::convolutional_box_predictor() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.BoxPredictor.convolutional_box_predictor)
  return has_convolutional_box_predictor()
      ? *box_predictor_oneof_.convolutional_box_predictor_
      : *reinterpret_cast< ::object_detection::protos::ConvolutionalBoxPredictor*>(&::object_detection::protos::_ConvolutionalBoxPredictor_default_instance_);
}
inline ::object_detection::protos::ConvolutionalBoxPredictor* BoxPredictor::mutable_convolutional_box_predictor() {
  if (!has_convolutional_box_predictor()) {
    clear_box_predictor_oneof();
    set_has_convolutional_box_predictor();
    box_predictor_oneof_.convolutional_box_predictor_ = CreateMaybeMessage< ::object_detection::protos::ConvolutionalBoxPredictor >(
        GetArenaNoVirtual());
  }
  // @@protoc_insertion_point(field_mutable:object_detection.protos.BoxPredictor.convolutional_box_predictor)
  return box_predictor_oneof_.convolutional_box_predictor_;
}

// optional .object_detection.protos.MaskRCNNBoxPredictor mask_rcnn_box_predictor = 2;
inline bool BoxPredictor::has_mask_rcnn_box_predictor() const {
  return box_predictor_oneof_case() == kMaskRcnnBoxPredictor;
}
inline void BoxPredictor::set_has_mask_rcnn_box_predictor() {
  _oneof_case_[0] = kMaskRcnnBoxPredictor;
}
inline void BoxPredictor::clear_mask_rcnn_box_predictor() {
  if (has_mask_rcnn_box_predictor()) {
    delete box_predictor_oneof_.mask_rcnn_box_predictor_;
    clear_has_box_predictor_oneof();
  }
}
inline ::object_detection::protos::MaskRCNNBoxPredictor* BoxPredictor::release_mask_rcnn_box_predictor() {
  // @@protoc_insertion_point(field_release:object_detection.protos.BoxPredictor.mask_rcnn_box_predictor)
  if (has_mask_rcnn_box_predictor()) {
    clear_has_box_predictor_oneof();
      ::object_detection::protos::MaskRCNNBoxPredictor* temp = box_predictor_oneof_.mask_rcnn_box_predictor_;
    box_predictor_oneof_.mask_rcnn_box_predictor_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::object_detection::protos::MaskRCNNBoxPredictor& BoxPredictor::mask_rcnn_box_predictor() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.BoxPredictor.mask_rcnn_box_predictor)
  return has_mask_rcnn_box_predictor()
      ? *box_predictor_oneof_.mask_rcnn_box_predictor_
      : *reinterpret_cast< ::object_detection::protos::MaskRCNNBoxPredictor*>(&::object_detection::protos::_MaskRCNNBoxPredictor_default_instance_);
}
inline ::object_detection::protos::MaskRCNNBoxPredictor* BoxPredictor::mutable_mask_rcnn_box_predictor() {
  if (!has_mask_rcnn_box_predictor()) {
    clear_box_predictor_oneof();
    set_has_mask_rcnn_box_predictor();
    box_predictor_oneof_.mask_rcnn_box_predictor_ = CreateMaybeMessage< ::object_detection::protos::MaskRCNNBoxPredictor >(
        GetArenaNoVirtual());
  }
  // @@protoc_insertion_point(field_mutable:object_detection.protos.BoxPredictor.mask_rcnn_box_predictor)
  return box_predictor_oneof_.mask_rcnn_box_predictor_;
}

// optional .object_detection.protos.RfcnBoxPredictor rfcn_box_predictor = 3;
inline bool BoxPredictor::has_rfcn_box_predictor() const {
  return box_predictor_oneof_case() == kRfcnBoxPredictor;
}
inline void BoxPredictor::set_has_rfcn_box_predictor() {
  _oneof_case_[0] = kRfcnBoxPredictor;
}
inline void BoxPredictor::clear_rfcn_box_predictor() {
  if (has_rfcn_box_predictor()) {
    delete box_predictor_oneof_.rfcn_box_predictor_;
    clear_has_box_predictor_oneof();
  }
}
inline ::object_detection::protos::RfcnBoxPredictor* BoxPredictor::release_rfcn_box_predictor() {
  // @@protoc_insertion_point(field_release:object_detection.protos.BoxPredictor.rfcn_box_predictor)
  if (has_rfcn_box_predictor()) {
    clear_has_box_predictor_oneof();
      ::object_detection::protos::RfcnBoxPredictor* temp = box_predictor_oneof_.rfcn_box_predictor_;
    box_predictor_oneof_.rfcn_box_predictor_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::object_detection::protos::RfcnBoxPredictor& BoxPredictor::rfcn_box_predictor() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.BoxPredictor.rfcn_box_predictor)
  return has_rfcn_box_predictor()
      ? *box_predictor_oneof_.rfcn_box_predictor_
      : *reinterpret_cast< ::object_detection::protos::RfcnBoxPredictor*>(&::object_detection::protos::_RfcnBoxPredictor_default_instance_);
}
inline ::object_detection::protos::RfcnBoxPredictor* BoxPredictor::mutable_rfcn_box_predictor() {
  if (!has_rfcn_box_predictor()) {
    clear_box_predictor_oneof();
    set_has_rfcn_box_predictor();
    box_predictor_oneof_.rfcn_box_predictor_ = CreateMaybeMessage< ::object_detection::protos::RfcnBoxPredictor >(
        GetArenaNoVirtual());
  }
  // @@protoc_insertion_point(field_mutable:object_detection.protos.BoxPredictor.rfcn_box_predictor)
  return box_predictor_oneof_.rfcn_box_predictor_;
}

// optional .object_detection.protos.WeightSharedConvolutionalBoxPredictor weight_shared_convolutional_box_predictor = 4;
inline bool BoxPredictor::has_weight_shared_convolutional_box_predictor() const {
  return box_predictor_oneof_case() == kWeightSharedConvolutionalBoxPredictor;
}
inline void BoxPredictor::set_has_weight_shared_convolutional_box_predictor() {
  _oneof_case_[0] = kWeightSharedConvolutionalBoxPredictor;
}
inline void BoxPredictor::clear_weight_shared_convolutional_box_predictor() {
  if (has_weight_shared_convolutional_box_predictor()) {
    delete box_predictor_oneof_.weight_shared_convolutional_box_predictor_;
    clear_has_box_predictor_oneof();
  }
}
inline ::object_detection::protos::WeightSharedConvolutionalBoxPredictor* BoxPredictor::release_weight_shared_convolutional_box_predictor() {
  // @@protoc_insertion_point(field_release:object_detection.protos.BoxPredictor.weight_shared_convolutional_box_predictor)
  if (has_weight_shared_convolutional_box_predictor()) {
    clear_has_box_predictor_oneof();
      ::object_detection::protos::WeightSharedConvolutionalBoxPredictor* temp = box_predictor_oneof_.weight_shared_convolutional_box_predictor_;
    box_predictor_oneof_.weight_shared_convolutional_box_predictor_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::object_detection::protos::WeightSharedConvolutionalBoxPredictor& BoxPredictor::weight_shared_convolutional_box_predictor() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.BoxPredictor.weight_shared_convolutional_box_predictor)
  return has_weight_shared_convolutional_box_predictor()
      ? *box_predictor_oneof_.weight_shared_convolutional_box_predictor_
      : *reinterpret_cast< ::object_detection::protos::WeightSharedConvolutionalBoxPredictor*>(&::object_detection::protos::_WeightSharedConvolutionalBoxPredictor_default_instance_);
}
inline ::object_detection::protos::WeightSharedConvolutionalBoxPredictor* BoxPredictor::mutable_weight_shared_convolutional_box_predictor() {
  if (!has_weight_shared_convolutional_box_predictor()) {
    clear_box_predictor_oneof();
    set_has_weight_shared_convolutional_box_predictor();
    box_predictor_oneof_.weight_shared_convolutional_box_predictor_ = CreateMaybeMessage< ::object_detection::protos::WeightSharedConvolutionalBoxPredictor >(
        GetArenaNoVirtual());
  }
  // @@protoc_insertion_point(field_mutable:object_detection.protos.BoxPredictor.weight_shared_convolutional_box_predictor)
  return box_predictor_oneof_.weight_shared_convolutional_box_predictor_;
}

inline bool BoxPredictor::has_box_predictor_oneof() const {
  return box_predictor_oneof_case() != BOX_PREDICTOR_ONEOF_NOT_SET;
}
inline void BoxPredictor::clear_has_box_predictor_oneof() {
  _oneof_case_[0] = BOX_PREDICTOR_ONEOF_NOT_SET;
}
inline BoxPredictor::BoxPredictorOneofCase BoxPredictor::box_predictor_oneof_case() const {
  return BoxPredictor::BoxPredictorOneofCase(_oneof_case_[0]);
}
// -------------------------------------------------------------------

// ConvolutionalBoxPredictor_BoxEncodingsClipRange

// optional float min = 1;
inline bool ConvolutionalBoxPredictor_BoxEncodingsClipRange::has_min() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void ConvolutionalBoxPredictor_BoxEncodingsClipRange::clear_min() {
  min_ = 0;
  _has_bits_[0] &= ~0x00000001u;
}
inline float ConvolutionalBoxPredictor_BoxEncodingsClipRange::min() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.ConvolutionalBoxPredictor.BoxEncodingsClipRange.min)
  return min_;
}
inline void ConvolutionalBoxPredictor_BoxEncodingsClipRange::set_min(float value) {
  _has_bits_[0] |= 0x00000001u;
  min_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.ConvolutionalBoxPredictor.BoxEncodingsClipRange.min)
}

// optional float max = 2;
inline bool ConvolutionalBoxPredictor_BoxEncodingsClipRange::has_max() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void ConvolutionalBoxPredictor_BoxEncodingsClipRange::clear_max() {
  max_ = 0;
  _has_bits_[0] &= ~0x00000002u;
}
inline float ConvolutionalBoxPredictor_BoxEncodingsClipRange::max() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.ConvolutionalBoxPredictor.BoxEncodingsClipRange.max)
  return max_;
}
inline void ConvolutionalBoxPredictor_BoxEncodingsClipRange::set_max(float value) {
  _has_bits_[0] |= 0x00000002u;
  max_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.ConvolutionalBoxPredictor.BoxEncodingsClipRange.max)
}

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

// ConvolutionalBoxPredictor

// optional .object_detection.protos.Hyperparams conv_hyperparams = 1;
inline bool ConvolutionalBoxPredictor::has_conv_hyperparams() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline const ::object_detection::protos::Hyperparams& ConvolutionalBoxPredictor::conv_hyperparams() const {
  const ::object_detection::protos::Hyperparams* p = conv_hyperparams_;
  // @@protoc_insertion_point(field_get:object_detection.protos.ConvolutionalBoxPredictor.conv_hyperparams)
  return p != nullptr ? *p : *reinterpret_cast<const ::object_detection::protos::Hyperparams*>(
      &::object_detection::protos::_Hyperparams_default_instance_);
}
inline ::object_detection::protos::Hyperparams* ConvolutionalBoxPredictor::release_conv_hyperparams() {
  // @@protoc_insertion_point(field_release:object_detection.protos.ConvolutionalBoxPredictor.conv_hyperparams)
  _has_bits_[0] &= ~0x00000001u;
  ::object_detection::protos::Hyperparams* temp = conv_hyperparams_;
  conv_hyperparams_ = nullptr;
  return temp;
}
inline ::object_detection::protos::Hyperparams* ConvolutionalBoxPredictor::mutable_conv_hyperparams() {
  _has_bits_[0] |= 0x00000001u;
  if (conv_hyperparams_ == nullptr) {
    auto* p = CreateMaybeMessage<::object_detection::protos::Hyperparams>(GetArenaNoVirtual());
    conv_hyperparams_ = p;
  }
  // @@protoc_insertion_point(field_mutable:object_detection.protos.ConvolutionalBoxPredictor.conv_hyperparams)
  return conv_hyperparams_;
}
inline void ConvolutionalBoxPredictor::set_allocated_conv_hyperparams(::object_detection::protos::Hyperparams* conv_hyperparams) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(conv_hyperparams_);
  }
  if (conv_hyperparams) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      conv_hyperparams = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, conv_hyperparams, submessage_arena);
    }
    _has_bits_[0] |= 0x00000001u;
  } else {
    _has_bits_[0] &= ~0x00000001u;
  }
  conv_hyperparams_ = conv_hyperparams;
  // @@protoc_insertion_point(field_set_allocated:object_detection.protos.ConvolutionalBoxPredictor.conv_hyperparams)
}

// optional int32 min_depth = 2 [default = 0];
inline bool ConvolutionalBoxPredictor::has_min_depth() const {
  return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void ConvolutionalBoxPredictor::clear_min_depth() {
  min_depth_ = 0;
  _has_bits_[0] &= ~0x00000004u;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 ConvolutionalBoxPredictor::min_depth() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.ConvolutionalBoxPredictor.min_depth)
  return min_depth_;
}
inline void ConvolutionalBoxPredictor::set_min_depth(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _has_bits_[0] |= 0x00000004u;
  min_depth_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.ConvolutionalBoxPredictor.min_depth)
}

// optional int32 max_depth = 3 [default = 0];
inline bool ConvolutionalBoxPredictor::has_max_depth() const {
  return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void ConvolutionalBoxPredictor::clear_max_depth() {
  max_depth_ = 0;
  _has_bits_[0] &= ~0x00000008u;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 ConvolutionalBoxPredictor::max_depth() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.ConvolutionalBoxPredictor.max_depth)
  return max_depth_;
}
inline void ConvolutionalBoxPredictor::set_max_depth(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _has_bits_[0] |= 0x00000008u;
  max_depth_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.ConvolutionalBoxPredictor.max_depth)
}

// optional int32 num_layers_before_predictor = 4 [default = 0];
inline bool ConvolutionalBoxPredictor::has_num_layers_before_predictor() const {
  return (_has_bits_[0] & 0x00000010u) != 0;
}
inline void ConvolutionalBoxPredictor::clear_num_layers_before_predictor() {
  num_layers_before_predictor_ = 0;
  _has_bits_[0] &= ~0x00000010u;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 ConvolutionalBoxPredictor::num_layers_before_predictor() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.ConvolutionalBoxPredictor.num_layers_before_predictor)
  return num_layers_before_predictor_;
}
inline void ConvolutionalBoxPredictor::set_num_layers_before_predictor(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _has_bits_[0] |= 0x00000010u;
  num_layers_before_predictor_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.ConvolutionalBoxPredictor.num_layers_before_predictor)
}

// optional bool use_dropout = 5 [default = true];
inline bool ConvolutionalBoxPredictor::has_use_dropout() const {
  return (_has_bits_[0] & 0x00000100u) != 0;
}
inline void ConvolutionalBoxPredictor::clear_use_dropout() {
  use_dropout_ = true;
  _has_bits_[0] &= ~0x00000100u;
}
inline bool ConvolutionalBoxPredictor::use_dropout() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.ConvolutionalBoxPredictor.use_dropout)
  return use_dropout_;
}
inline void ConvolutionalBoxPredictor::set_use_dropout(bool value) {
  _has_bits_[0] |= 0x00000100u;
  use_dropout_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.ConvolutionalBoxPredictor.use_dropout)
}

// optional float dropout_keep_probability = 6 [default = 0.8];
inline bool ConvolutionalBoxPredictor::has_dropout_keep_probability() const {
  return (_has_bits_[0] & 0x00000200u) != 0;
}
inline void ConvolutionalBoxPredictor::clear_dropout_keep_probability() {
  dropout_keep_probability_ = 0.8f;
  _has_bits_[0] &= ~0x00000200u;
}
inline float ConvolutionalBoxPredictor::dropout_keep_probability() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.ConvolutionalBoxPredictor.dropout_keep_probability)
  return dropout_keep_probability_;
}
inline void ConvolutionalBoxPredictor::set_dropout_keep_probability(float value) {
  _has_bits_[0] |= 0x00000200u;
  dropout_keep_probability_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.ConvolutionalBoxPredictor.dropout_keep_probability)
}

// optional int32 kernel_size = 7 [default = 1];
inline bool ConvolutionalBoxPredictor::has_kernel_size() const {
  return (_has_bits_[0] & 0x00000400u) != 0;
}
inline void ConvolutionalBoxPredictor::clear_kernel_size() {
  kernel_size_ = 1;
  _has_bits_[0] &= ~0x00000400u;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 ConvolutionalBoxPredictor::kernel_size() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.ConvolutionalBoxPredictor.kernel_size)
  return kernel_size_;
}
inline void ConvolutionalBoxPredictor::set_kernel_size(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _has_bits_[0] |= 0x00000400u;
  kernel_size_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.ConvolutionalBoxPredictor.kernel_size)
}

// optional int32 box_code_size = 8 [default = 4];
inline bool ConvolutionalBoxPredictor::has_box_code_size() const {
  return (_has_bits_[0] & 0x00000800u) != 0;
}
inline void ConvolutionalBoxPredictor::clear_box_code_size() {
  box_code_size_ = 4;
  _has_bits_[0] &= ~0x00000800u;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 ConvolutionalBoxPredictor::box_code_size() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.ConvolutionalBoxPredictor.box_code_size)
  return box_code_size_;
}
inline void ConvolutionalBoxPredictor::set_box_code_size(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _has_bits_[0] |= 0x00000800u;
  box_code_size_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.ConvolutionalBoxPredictor.box_code_size)
}

// optional bool apply_sigmoid_to_scores = 9 [default = false];
inline bool ConvolutionalBoxPredictor::has_apply_sigmoid_to_scores() const {
  return (_has_bits_[0] & 0x00000040u) != 0;
}
inline void ConvolutionalBoxPredictor::clear_apply_sigmoid_to_scores() {
  apply_sigmoid_to_scores_ = false;
  _has_bits_[0] &= ~0x00000040u;
}
inline bool ConvolutionalBoxPredictor::apply_sigmoid_to_scores() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.ConvolutionalBoxPredictor.apply_sigmoid_to_scores)
  return apply_sigmoid_to_scores_;
}
inline void ConvolutionalBoxPredictor::set_apply_sigmoid_to_scores(bool value) {
  _has_bits_[0] |= 0x00000040u;
  apply_sigmoid_to_scores_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.ConvolutionalBoxPredictor.apply_sigmoid_to_scores)
}

// optional float class_prediction_bias_init = 10 [default = 0];
inline bool ConvolutionalBoxPredictor::has_class_prediction_bias_init() const {
  return (_has_bits_[0] & 0x00000020u) != 0;
}
inline void ConvolutionalBoxPredictor::clear_class_prediction_bias_init() {
  class_prediction_bias_init_ = 0;
  _has_bits_[0] &= ~0x00000020u;
}
inline float ConvolutionalBoxPredictor::class_prediction_bias_init() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.ConvolutionalBoxPredictor.class_prediction_bias_init)
  return class_prediction_bias_init_;
}
inline void ConvolutionalBoxPredictor::set_class_prediction_bias_init(float value) {
  _has_bits_[0] |= 0x00000020u;
  class_prediction_bias_init_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.ConvolutionalBoxPredictor.class_prediction_bias_init)
}

// optional bool use_depthwise = 11 [default = false];
inline bool ConvolutionalBoxPredictor::has_use_depthwise() const {
  return (_has_bits_[0] & 0x00000080u) != 0;
}
inline void ConvolutionalBoxPredictor::clear_use_depthwise() {
  use_depthwise_ = false;
  _has_bits_[0] &= ~0x00000080u;
}
inline bool ConvolutionalBoxPredictor::use_depthwise() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.ConvolutionalBoxPredictor.use_depthwise)
  return use_depthwise_;
}
inline void ConvolutionalBoxPredictor::set_use_depthwise(bool value) {
  _has_bits_[0] |= 0x00000080u;
  use_depthwise_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.ConvolutionalBoxPredictor.use_depthwise)
}

// optional .object_detection.protos.ConvolutionalBoxPredictor.BoxEncodingsClipRange box_encodings_clip_range = 12;
inline bool ConvolutionalBoxPredictor::has_box_encodings_clip_range() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void ConvolutionalBoxPredictor::clear_box_encodings_clip_range() {
  if (box_encodings_clip_range_ != nullptr) box_encodings_clip_range_->Clear();
  _has_bits_[0] &= ~0x00000002u;
}
inline const ::object_detection::protos::ConvolutionalBoxPredictor_BoxEncodingsClipRange& ConvolutionalBoxPredictor::box_encodings_clip_range() const {
  const ::object_detection::protos::ConvolutionalBoxPredictor_BoxEncodingsClipRange* p = box_encodings_clip_range_;
  // @@protoc_insertion_point(field_get:object_detection.protos.ConvolutionalBoxPredictor.box_encodings_clip_range)
  return p != nullptr ? *p : *reinterpret_cast<const ::object_detection::protos::ConvolutionalBoxPredictor_BoxEncodingsClipRange*>(
      &::object_detection::protos::_ConvolutionalBoxPredictor_BoxEncodingsClipRange_default_instance_);
}
inline ::object_detection::protos::ConvolutionalBoxPredictor_BoxEncodingsClipRange* ConvolutionalBoxPredictor::release_box_encodings_clip_range() {
  // @@protoc_insertion_point(field_release:object_detection.protos.ConvolutionalBoxPredictor.box_encodings_clip_range)
  _has_bits_[0] &= ~0x00000002u;
  ::object_detection::protos::ConvolutionalBoxPredictor_BoxEncodingsClipRange* temp = box_encodings_clip_range_;
  box_encodings_clip_range_ = nullptr;
  return temp;
}
inline ::object_detection::protos::ConvolutionalBoxPredictor_BoxEncodingsClipRange* ConvolutionalBoxPredictor::mutable_box_encodings_clip_range() {
  _has_bits_[0] |= 0x00000002u;
  if (box_encodings_clip_range_ == nullptr) {
    auto* p = CreateMaybeMessage<::object_detection::protos::ConvolutionalBoxPredictor_BoxEncodingsClipRange>(GetArenaNoVirtual());
    box_encodings_clip_range_ = p;
  }
  // @@protoc_insertion_point(field_mutable:object_detection.protos.ConvolutionalBoxPredictor.box_encodings_clip_range)
  return box_encodings_clip_range_;
}
inline void ConvolutionalBoxPredictor::set_allocated_box_encodings_clip_range(::object_detection::protos::ConvolutionalBoxPredictor_BoxEncodingsClipRange* box_encodings_clip_range) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete box_encodings_clip_range_;
  }
  if (box_encodings_clip_range) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      box_encodings_clip_range = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, box_encodings_clip_range, submessage_arena);
    }
    _has_bits_[0] |= 0x00000002u;
  } else {
    _has_bits_[0] &= ~0x00000002u;
  }
  box_encodings_clip_range_ = box_encodings_clip_range;
  // @@protoc_insertion_point(field_set_allocated:object_detection.protos.ConvolutionalBoxPredictor.box_encodings_clip_range)
}

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

// WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange

// optional float min = 1;
inline bool WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange::has_min() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange::clear_min() {
  min_ = 0;
  _has_bits_[0] &= ~0x00000001u;
}
inline float WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange::min() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.WeightSharedConvolutionalBoxPredictor.BoxEncodingsClipRange.min)
  return min_;
}
inline void WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange::set_min(float value) {
  _has_bits_[0] |= 0x00000001u;
  min_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.WeightSharedConvolutionalBoxPredictor.BoxEncodingsClipRange.min)
}

// optional float max = 2;
inline bool WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange::has_max() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange::clear_max() {
  max_ = 0;
  _has_bits_[0] &= ~0x00000002u;
}
inline float WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange::max() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.WeightSharedConvolutionalBoxPredictor.BoxEncodingsClipRange.max)
  return max_;
}
inline void WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange::set_max(float value) {
  _has_bits_[0] |= 0x00000002u;
  max_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.WeightSharedConvolutionalBoxPredictor.BoxEncodingsClipRange.max)
}

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

// WeightSharedConvolutionalBoxPredictor

// optional .object_detection.protos.Hyperparams conv_hyperparams = 1;
inline bool WeightSharedConvolutionalBoxPredictor::has_conv_hyperparams() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline const ::object_detection::protos::Hyperparams& WeightSharedConvolutionalBoxPredictor::conv_hyperparams() const {
  const ::object_detection::protos::Hyperparams* p = conv_hyperparams_;
  // @@protoc_insertion_point(field_get:object_detection.protos.WeightSharedConvolutionalBoxPredictor.conv_hyperparams)
  return p != nullptr ? *p : *reinterpret_cast<const ::object_detection::protos::Hyperparams*>(
      &::object_detection::protos::_Hyperparams_default_instance_);
}
inline ::object_detection::protos::Hyperparams* WeightSharedConvolutionalBoxPredictor::release_conv_hyperparams() {
  // @@protoc_insertion_point(field_release:object_detection.protos.WeightSharedConvolutionalBoxPredictor.conv_hyperparams)
  _has_bits_[0] &= ~0x00000001u;
  ::object_detection::protos::Hyperparams* temp = conv_hyperparams_;
  conv_hyperparams_ = nullptr;
  return temp;
}
inline ::object_detection::protos::Hyperparams* WeightSharedConvolutionalBoxPredictor::mutable_conv_hyperparams() {
  _has_bits_[0] |= 0x00000001u;
  if (conv_hyperparams_ == nullptr) {
    auto* p = CreateMaybeMessage<::object_detection::protos::Hyperparams>(GetArenaNoVirtual());
    conv_hyperparams_ = p;
  }
  // @@protoc_insertion_point(field_mutable:object_detection.protos.WeightSharedConvolutionalBoxPredictor.conv_hyperparams)
  return conv_hyperparams_;
}
inline void WeightSharedConvolutionalBoxPredictor::set_allocated_conv_hyperparams(::object_detection::protos::Hyperparams* conv_hyperparams) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(conv_hyperparams_);
  }
  if (conv_hyperparams) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      conv_hyperparams = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, conv_hyperparams, submessage_arena);
    }
    _has_bits_[0] |= 0x00000001u;
  } else {
    _has_bits_[0] &= ~0x00000001u;
  }
  conv_hyperparams_ = conv_hyperparams;
  // @@protoc_insertion_point(field_set_allocated:object_detection.protos.WeightSharedConvolutionalBoxPredictor.conv_hyperparams)
}

// optional int32 num_layers_before_predictor = 4 [default = 0];
inline bool WeightSharedConvolutionalBoxPredictor::has_num_layers_before_predictor() const {
  return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void WeightSharedConvolutionalBoxPredictor::clear_num_layers_before_predictor() {
  num_layers_before_predictor_ = 0;
  _has_bits_[0] &= ~0x00000008u;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 WeightSharedConvolutionalBoxPredictor::num_layers_before_predictor() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.WeightSharedConvolutionalBoxPredictor.num_layers_before_predictor)
  return num_layers_before_predictor_;
}
inline void WeightSharedConvolutionalBoxPredictor::set_num_layers_before_predictor(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _has_bits_[0] |= 0x00000008u;
  num_layers_before_predictor_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.WeightSharedConvolutionalBoxPredictor.num_layers_before_predictor)
}

// optional int32 depth = 2 [default = 0];
inline bool WeightSharedConvolutionalBoxPredictor::has_depth() const {
  return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void WeightSharedConvolutionalBoxPredictor::clear_depth() {
  depth_ = 0;
  _has_bits_[0] &= ~0x00000004u;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 WeightSharedConvolutionalBoxPredictor::depth() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.WeightSharedConvolutionalBoxPredictor.depth)
  return depth_;
}
inline void WeightSharedConvolutionalBoxPredictor::set_depth(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _has_bits_[0] |= 0x00000004u;
  depth_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.WeightSharedConvolutionalBoxPredictor.depth)
}

// optional int32 kernel_size = 7 [default = 3];
inline bool WeightSharedConvolutionalBoxPredictor::has_kernel_size() const {
  return (_has_bits_[0] & 0x00000400u) != 0;
}
inline void WeightSharedConvolutionalBoxPredictor::clear_kernel_size() {
  kernel_size_ = 3;
  _has_bits_[0] &= ~0x00000400u;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 WeightSharedConvolutionalBoxPredictor::kernel_size() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.WeightSharedConvolutionalBoxPredictor.kernel_size)
  return kernel_size_;
}
inline void WeightSharedConvolutionalBoxPredictor::set_kernel_size(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _has_bits_[0] |= 0x00000400u;
  kernel_size_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.WeightSharedConvolutionalBoxPredictor.kernel_size)
}

// optional int32 box_code_size = 8 [default = 4];
inline bool WeightSharedConvolutionalBoxPredictor::has_box_code_size() const {
  return (_has_bits_[0] & 0x00000800u) != 0;
}
inline void WeightSharedConvolutionalBoxPredictor::clear_box_code_size() {
  box_code_size_ = 4;
  _has_bits_[0] &= ~0x00000800u;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 WeightSharedConvolutionalBoxPredictor::box_code_size() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.WeightSharedConvolutionalBoxPredictor.box_code_size)
  return box_code_size_;
}
inline void WeightSharedConvolutionalBoxPredictor::set_box_code_size(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _has_bits_[0] |= 0x00000800u;
  box_code_size_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.WeightSharedConvolutionalBoxPredictor.box_code_size)
}

// optional float class_prediction_bias_init = 10 [default = 0];
inline bool WeightSharedConvolutionalBoxPredictor::has_class_prediction_bias_init() const {
  return (_has_bits_[0] & 0x00000010u) != 0;
}
inline void WeightSharedConvolutionalBoxPredictor::clear_class_prediction_bias_init() {
  class_prediction_bias_init_ = 0;
  _has_bits_[0] &= ~0x00000010u;
}
inline float WeightSharedConvolutionalBoxPredictor::class_prediction_bias_init() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.WeightSharedConvolutionalBoxPredictor.class_prediction_bias_init)
  return class_prediction_bias_init_;
}
inline void WeightSharedConvolutionalBoxPredictor::set_class_prediction_bias_init(float value) {
  _has_bits_[0] |= 0x00000010u;
  class_prediction_bias_init_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.WeightSharedConvolutionalBoxPredictor.class_prediction_bias_init)
}

// optional bool use_dropout = 11 [default = false];
inline bool WeightSharedConvolutionalBoxPredictor::has_use_dropout() const {
  return (_has_bits_[0] & 0x00000020u) != 0;
}
inline void WeightSharedConvolutionalBoxPredictor::clear_use_dropout() {
  use_dropout_ = false;
  _has_bits_[0] &= ~0x00000020u;
}
inline bool WeightSharedConvolutionalBoxPredictor::use_dropout() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.WeightSharedConvolutionalBoxPredictor.use_dropout)
  return use_dropout_;
}
inline void WeightSharedConvolutionalBoxPredictor::set_use_dropout(bool value) {
  _has_bits_[0] |= 0x00000020u;
  use_dropout_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.WeightSharedConvolutionalBoxPredictor.use_dropout)
}

// optional float dropout_keep_probability = 12 [default = 0.8];
inline bool WeightSharedConvolutionalBoxPredictor::has_dropout_keep_probability() const {
  return (_has_bits_[0] & 0x00000200u) != 0;
}
inline void WeightSharedConvolutionalBoxPredictor::clear_dropout_keep_probability() {
  dropout_keep_probability_ = 0.8f;
  _has_bits_[0] &= ~0x00000200u;
}
inline float WeightSharedConvolutionalBoxPredictor::dropout_keep_probability() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.WeightSharedConvolutionalBoxPredictor.dropout_keep_probability)
  return dropout_keep_probability_;
}
inline void WeightSharedConvolutionalBoxPredictor::set_dropout_keep_probability(float value) {
  _has_bits_[0] |= 0x00000200u;
  dropout_keep_probability_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.WeightSharedConvolutionalBoxPredictor.dropout_keep_probability)
}

// optional bool share_prediction_tower = 13 [default = false];
inline bool WeightSharedConvolutionalBoxPredictor::has_share_prediction_tower() const {
  return (_has_bits_[0] & 0x00000040u) != 0;
}
inline void WeightSharedConvolutionalBoxPredictor::clear_share_prediction_tower() {
  share_prediction_tower_ = false;
  _has_bits_[0] &= ~0x00000040u;
}
inline bool WeightSharedConvolutionalBoxPredictor::share_prediction_tower() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.WeightSharedConvolutionalBoxPredictor.share_prediction_tower)
  return share_prediction_tower_;
}
inline void WeightSharedConvolutionalBoxPredictor::set_share_prediction_tower(bool value) {
  _has_bits_[0] |= 0x00000040u;
  share_prediction_tower_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.WeightSharedConvolutionalBoxPredictor.share_prediction_tower)
}

// optional bool use_depthwise = 14 [default = false];
inline bool WeightSharedConvolutionalBoxPredictor::has_use_depthwise() const {
  return (_has_bits_[0] & 0x00000080u) != 0;
}
inline void WeightSharedConvolutionalBoxPredictor::clear_use_depthwise() {
  use_depthwise_ = false;
  _has_bits_[0] &= ~0x00000080u;
}
inline bool WeightSharedConvolutionalBoxPredictor::use_depthwise() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.WeightSharedConvolutionalBoxPredictor.use_depthwise)
  return use_depthwise_;
}
inline void WeightSharedConvolutionalBoxPredictor::set_use_depthwise(bool value) {
  _has_bits_[0] |= 0x00000080u;
  use_depthwise_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.WeightSharedConvolutionalBoxPredictor.use_depthwise)
}

// optional .object_detection.protos.WeightSharedConvolutionalBoxPredictor.ScoreConverter score_converter = 16 [default = IDENTITY];
inline bool WeightSharedConvolutionalBoxPredictor::has_score_converter() const {
  return (_has_bits_[0] & 0x00000100u) != 0;
}
inline void WeightSharedConvolutionalBoxPredictor::clear_score_converter() {
  score_converter_ = 0;
  _has_bits_[0] &= ~0x00000100u;
}
inline ::object_detection::protos::WeightSharedConvolutionalBoxPredictor_ScoreConverter WeightSharedConvolutionalBoxPredictor::score_converter() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.WeightSharedConvolutionalBoxPredictor.score_converter)
  return static_cast< ::object_detection::protos::WeightSharedConvolutionalBoxPredictor_ScoreConverter >(score_converter_);
}
inline void WeightSharedConvolutionalBoxPredictor::set_score_converter(::object_detection::protos::WeightSharedConvolutionalBoxPredictor_ScoreConverter value) {
  assert(::object_detection::protos::WeightSharedConvolutionalBoxPredictor_ScoreConverter_IsValid(value));
  _has_bits_[0] |= 0x00000100u;
  score_converter_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.WeightSharedConvolutionalBoxPredictor.score_converter)
}

// optional .object_detection.protos.WeightSharedConvolutionalBoxPredictor.BoxEncodingsClipRange box_encodings_clip_range = 17;
inline bool WeightSharedConvolutionalBoxPredictor::has_box_encodings_clip_range() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void WeightSharedConvolutionalBoxPredictor::clear_box_encodings_clip_range() {
  if (box_encodings_clip_range_ != nullptr) box_encodings_clip_range_->Clear();
  _has_bits_[0] &= ~0x00000002u;
}
inline const ::object_detection::protos::WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange& WeightSharedConvolutionalBoxPredictor::box_encodings_clip_range() const {
  const ::object_detection::protos::WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange* p = box_encodings_clip_range_;
  // @@protoc_insertion_point(field_get:object_detection.protos.WeightSharedConvolutionalBoxPredictor.box_encodings_clip_range)
  return p != nullptr ? *p : *reinterpret_cast<const ::object_detection::protos::WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange*>(
      &::object_detection::protos::_WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange_default_instance_);
}
inline ::object_detection::protos::WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange* WeightSharedConvolutionalBoxPredictor::release_box_encodings_clip_range() {
  // @@protoc_insertion_point(field_release:object_detection.protos.WeightSharedConvolutionalBoxPredictor.box_encodings_clip_range)
  _has_bits_[0] &= ~0x00000002u;
  ::object_detection::protos::WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange* temp = box_encodings_clip_range_;
  box_encodings_clip_range_ = nullptr;
  return temp;
}
inline ::object_detection::protos::WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange* WeightSharedConvolutionalBoxPredictor::mutable_box_encodings_clip_range() {
  _has_bits_[0] |= 0x00000002u;
  if (box_encodings_clip_range_ == nullptr) {
    auto* p = CreateMaybeMessage<::object_detection::protos::WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange>(GetArenaNoVirtual());
    box_encodings_clip_range_ = p;
  }
  // @@protoc_insertion_point(field_mutable:object_detection.protos.WeightSharedConvolutionalBoxPredictor.box_encodings_clip_range)
  return box_encodings_clip_range_;
}
inline void WeightSharedConvolutionalBoxPredictor::set_allocated_box_encodings_clip_range(::object_detection::protos::WeightSharedConvolutionalBoxPredictor_BoxEncodingsClipRange* box_encodings_clip_range) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete box_encodings_clip_range_;
  }
  if (box_encodings_clip_range) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      box_encodings_clip_range = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, box_encodings_clip_range, submessage_arena);
    }
    _has_bits_[0] |= 0x00000002u;
  } else {
    _has_bits_[0] &= ~0x00000002u;
  }
  box_encodings_clip_range_ = box_encodings_clip_range;
  // @@protoc_insertion_point(field_set_allocated:object_detection.protos.WeightSharedConvolutionalBoxPredictor.box_encodings_clip_range)
}

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

// MaskRCNNBoxPredictor

// optional .object_detection.protos.Hyperparams fc_hyperparams = 1;
inline bool MaskRCNNBoxPredictor::has_fc_hyperparams() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline const ::object_detection::protos::Hyperparams& MaskRCNNBoxPredictor::fc_hyperparams() const {
  const ::object_detection::protos::Hyperparams* p = fc_hyperparams_;
  // @@protoc_insertion_point(field_get:object_detection.protos.MaskRCNNBoxPredictor.fc_hyperparams)
  return p != nullptr ? *p : *reinterpret_cast<const ::object_detection::protos::Hyperparams*>(
      &::object_detection::protos::_Hyperparams_default_instance_);
}
inline ::object_detection::protos::Hyperparams* MaskRCNNBoxPredictor::release_fc_hyperparams() {
  // @@protoc_insertion_point(field_release:object_detection.protos.MaskRCNNBoxPredictor.fc_hyperparams)
  _has_bits_[0] &= ~0x00000001u;
  ::object_detection::protos::Hyperparams* temp = fc_hyperparams_;
  fc_hyperparams_ = nullptr;
  return temp;
}
inline ::object_detection::protos::Hyperparams* MaskRCNNBoxPredictor::mutable_fc_hyperparams() {
  _has_bits_[0] |= 0x00000001u;
  if (fc_hyperparams_ == nullptr) {
    auto* p = CreateMaybeMessage<::object_detection::protos::Hyperparams>(GetArenaNoVirtual());
    fc_hyperparams_ = p;
  }
  // @@protoc_insertion_point(field_mutable:object_detection.protos.MaskRCNNBoxPredictor.fc_hyperparams)
  return fc_hyperparams_;
}
inline void MaskRCNNBoxPredictor::set_allocated_fc_hyperparams(::object_detection::protos::Hyperparams* fc_hyperparams) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(fc_hyperparams_);
  }
  if (fc_hyperparams) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      fc_hyperparams = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, fc_hyperparams, submessage_arena);
    }
    _has_bits_[0] |= 0x00000001u;
  } else {
    _has_bits_[0] &= ~0x00000001u;
  }
  fc_hyperparams_ = fc_hyperparams;
  // @@protoc_insertion_point(field_set_allocated:object_detection.protos.MaskRCNNBoxPredictor.fc_hyperparams)
}

// optional bool use_dropout = 2 [default = false];
inline bool MaskRCNNBoxPredictor::has_use_dropout() const {
  return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void MaskRCNNBoxPredictor::clear_use_dropout() {
  use_dropout_ = false;
  _has_bits_[0] &= ~0x00000004u;
}
inline bool MaskRCNNBoxPredictor::use_dropout() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.MaskRCNNBoxPredictor.use_dropout)
  return use_dropout_;
}
inline void MaskRCNNBoxPredictor::set_use_dropout(bool value) {
  _has_bits_[0] |= 0x00000004u;
  use_dropout_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.MaskRCNNBoxPredictor.use_dropout)
}

// optional float dropout_keep_probability = 3 [default = 0.5];
inline bool MaskRCNNBoxPredictor::has_dropout_keep_probability() const {
  return (_has_bits_[0] & 0x00000100u) != 0;
}
inline void MaskRCNNBoxPredictor::clear_dropout_keep_probability() {
  dropout_keep_probability_ = 0.5f;
  _has_bits_[0] &= ~0x00000100u;
}
inline float MaskRCNNBoxPredictor::dropout_keep_probability() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.MaskRCNNBoxPredictor.dropout_keep_probability)
  return dropout_keep_probability_;
}
inline void MaskRCNNBoxPredictor::set_dropout_keep_probability(float value) {
  _has_bits_[0] |= 0x00000100u;
  dropout_keep_probability_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.MaskRCNNBoxPredictor.dropout_keep_probability)
}

// optional int32 box_code_size = 4 [default = 4];
inline bool MaskRCNNBoxPredictor::has_box_code_size() const {
  return (_has_bits_[0] & 0x00000200u) != 0;
}
inline void MaskRCNNBoxPredictor::clear_box_code_size() {
  box_code_size_ = 4;
  _has_bits_[0] &= ~0x00000200u;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 MaskRCNNBoxPredictor::box_code_size() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.MaskRCNNBoxPredictor.box_code_size)
  return box_code_size_;
}
inline void MaskRCNNBoxPredictor::set_box_code_size(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _has_bits_[0] |= 0x00000200u;
  box_code_size_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.MaskRCNNBoxPredictor.box_code_size)
}

// optional .object_detection.protos.Hyperparams conv_hyperparams = 5;
inline bool MaskRCNNBoxPredictor::has_conv_hyperparams() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline const ::object_detection::protos::Hyperparams& MaskRCNNBoxPredictor::conv_hyperparams() const {
  const ::object_detection::protos::Hyperparams* p = conv_hyperparams_;
  // @@protoc_insertion_point(field_get:object_detection.protos.MaskRCNNBoxPredictor.conv_hyperparams)
  return p != nullptr ? *p : *reinterpret_cast<const ::object_detection::protos::Hyperparams*>(
      &::object_detection::protos::_Hyperparams_default_instance_);
}
inline ::object_detection::protos::Hyperparams* MaskRCNNBoxPredictor::release_conv_hyperparams() {
  // @@protoc_insertion_point(field_release:object_detection.protos.MaskRCNNBoxPredictor.conv_hyperparams)
  _has_bits_[0] &= ~0x00000002u;
  ::object_detection::protos::Hyperparams* temp = conv_hyperparams_;
  conv_hyperparams_ = nullptr;
  return temp;
}
inline ::object_detection::protos::Hyperparams* MaskRCNNBoxPredictor::mutable_conv_hyperparams() {
  _has_bits_[0] |= 0x00000002u;
  if (conv_hyperparams_ == nullptr) {
    auto* p = CreateMaybeMessage<::object_detection::protos::Hyperparams>(GetArenaNoVirtual());
    conv_hyperparams_ = p;
  }
  // @@protoc_insertion_point(field_mutable:object_detection.protos.MaskRCNNBoxPredictor.conv_hyperparams)
  return conv_hyperparams_;
}
inline void MaskRCNNBoxPredictor::set_allocated_conv_hyperparams(::object_detection::protos::Hyperparams* conv_hyperparams) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(conv_hyperparams_);
  }
  if (conv_hyperparams) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      conv_hyperparams = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, conv_hyperparams, submessage_arena);
    }
    _has_bits_[0] |= 0x00000002u;
  } else {
    _has_bits_[0] &= ~0x00000002u;
  }
  conv_hyperparams_ = conv_hyperparams;
  // @@protoc_insertion_point(field_set_allocated:object_detection.protos.MaskRCNNBoxPredictor.conv_hyperparams)
}

// optional bool predict_instance_masks = 6 [default = false];
inline bool MaskRCNNBoxPredictor::has_predict_instance_masks() const {
  return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void MaskRCNNBoxPredictor::clear_predict_instance_masks() {
  predict_instance_masks_ = false;
  _has_bits_[0] &= ~0x00000008u;
}
inline bool MaskRCNNBoxPredictor::predict_instance_masks() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.MaskRCNNBoxPredictor.predict_instance_masks)
  return predict_instance_masks_;
}
inline void MaskRCNNBoxPredictor::set_predict_instance_masks(bool value) {
  _has_bits_[0] |= 0x00000008u;
  predict_instance_masks_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.MaskRCNNBoxPredictor.predict_instance_masks)
}

// optional int32 mask_prediction_conv_depth = 7 [default = 256];
inline bool MaskRCNNBoxPredictor::has_mask_prediction_conv_depth() const {
  return (_has_bits_[0] & 0x00000400u) != 0;
}
inline void MaskRCNNBoxPredictor::clear_mask_prediction_conv_depth() {
  mask_prediction_conv_depth_ = 256;
  _has_bits_[0] &= ~0x00000400u;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 MaskRCNNBoxPredictor::mask_prediction_conv_depth() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.MaskRCNNBoxPredictor.mask_prediction_conv_depth)
  return mask_prediction_conv_depth_;
}
inline void MaskRCNNBoxPredictor::set_mask_prediction_conv_depth(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _has_bits_[0] |= 0x00000400u;
  mask_prediction_conv_depth_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.MaskRCNNBoxPredictor.mask_prediction_conv_depth)
}

// optional bool predict_keypoints = 8 [default = false];
inline bool MaskRCNNBoxPredictor::has_predict_keypoints() const {
  return (_has_bits_[0] & 0x00000010u) != 0;
}
inline void MaskRCNNBoxPredictor::clear_predict_keypoints() {
  predict_keypoints_ = false;
  _has_bits_[0] &= ~0x00000010u;
}
inline bool MaskRCNNBoxPredictor::predict_keypoints() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.MaskRCNNBoxPredictor.predict_keypoints)
  return predict_keypoints_;
}
inline void MaskRCNNBoxPredictor::set_predict_keypoints(bool value) {
  _has_bits_[0] |= 0x00000010u;
  predict_keypoints_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.MaskRCNNBoxPredictor.predict_keypoints)
}

// optional int32 mask_height = 9 [default = 15];
inline bool MaskRCNNBoxPredictor::has_mask_height() const {
  return (_has_bits_[0] & 0x00000800u) != 0;
}
inline void MaskRCNNBoxPredictor::clear_mask_height() {
  mask_height_ = 15;
  _has_bits_[0] &= ~0x00000800u;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 MaskRCNNBoxPredictor::mask_height() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.MaskRCNNBoxPredictor.mask_height)
  return mask_height_;
}
inline void MaskRCNNBoxPredictor::set_mask_height(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _has_bits_[0] |= 0x00000800u;
  mask_height_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.MaskRCNNBoxPredictor.mask_height)
}

// optional int32 mask_width = 10 [default = 15];
inline bool MaskRCNNBoxPredictor::has_mask_width() const {
  return (_has_bits_[0] & 0x00001000u) != 0;
}
inline void MaskRCNNBoxPredictor::clear_mask_width() {
  mask_width_ = 15;
  _has_bits_[0] &= ~0x00001000u;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 MaskRCNNBoxPredictor::mask_width() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.MaskRCNNBoxPredictor.mask_width)
  return mask_width_;
}
inline void MaskRCNNBoxPredictor::set_mask_width(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _has_bits_[0] |= 0x00001000u;
  mask_width_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.MaskRCNNBoxPredictor.mask_width)
}

// optional int32 mask_prediction_num_conv_layers = 11 [default = 2];
inline bool MaskRCNNBoxPredictor::has_mask_prediction_num_conv_layers() const {
  return (_has_bits_[0] & 0x00002000u) != 0;
}
inline void MaskRCNNBoxPredictor::clear_mask_prediction_num_conv_layers() {
  mask_prediction_num_conv_layers_ = 2;
  _has_bits_[0] &= ~0x00002000u;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 MaskRCNNBoxPredictor::mask_prediction_num_conv_layers() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.MaskRCNNBoxPredictor.mask_prediction_num_conv_layers)
  return mask_prediction_num_conv_layers_;
}
inline void MaskRCNNBoxPredictor::set_mask_prediction_num_conv_layers(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _has_bits_[0] |= 0x00002000u;
  mask_prediction_num_conv_layers_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.MaskRCNNBoxPredictor.mask_prediction_num_conv_layers)
}

// optional bool masks_are_class_agnostic = 12 [default = false];
inline bool MaskRCNNBoxPredictor::has_masks_are_class_agnostic() const {
  return (_has_bits_[0] & 0x00000020u) != 0;
}
inline void MaskRCNNBoxPredictor::clear_masks_are_class_agnostic() {
  masks_are_class_agnostic_ = false;
  _has_bits_[0] &= ~0x00000020u;
}
inline bool MaskRCNNBoxPredictor::masks_are_class_agnostic() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.MaskRCNNBoxPredictor.masks_are_class_agnostic)
  return masks_are_class_agnostic_;
}
inline void MaskRCNNBoxPredictor::set_masks_are_class_agnostic(bool value) {
  _has_bits_[0] |= 0x00000020u;
  masks_are_class_agnostic_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.MaskRCNNBoxPredictor.masks_are_class_agnostic)
}

// optional bool share_box_across_classes = 13 [default = false];
inline bool MaskRCNNBoxPredictor::has_share_box_across_classes() const {
  return (_has_bits_[0] & 0x00000040u) != 0;
}
inline void MaskRCNNBoxPredictor::clear_share_box_across_classes() {
  share_box_across_classes_ = false;
  _has_bits_[0] &= ~0x00000040u;
}
inline bool MaskRCNNBoxPredictor::share_box_across_classes() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.MaskRCNNBoxPredictor.share_box_across_classes)
  return share_box_across_classes_;
}
inline void MaskRCNNBoxPredictor::set_share_box_across_classes(bool value) {
  _has_bits_[0] |= 0x00000040u;
  share_box_across_classes_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.MaskRCNNBoxPredictor.share_box_across_classes)
}

// optional bool convolve_then_upsample_masks = 14 [default = false];
inline bool MaskRCNNBoxPredictor::has_convolve_then_upsample_masks() const {
  return (_has_bits_[0] & 0x00000080u) != 0;
}
inline void MaskRCNNBoxPredictor::clear_convolve_then_upsample_masks() {
  convolve_then_upsample_masks_ = false;
  _has_bits_[0] &= ~0x00000080u;
}
inline bool MaskRCNNBoxPredictor::convolve_then_upsample_masks() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.MaskRCNNBoxPredictor.convolve_then_upsample_masks)
  return convolve_then_upsample_masks_;
}
inline void MaskRCNNBoxPredictor::set_convolve_then_upsample_masks(bool value) {
  _has_bits_[0] |= 0x00000080u;
  convolve_then_upsample_masks_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.MaskRCNNBoxPredictor.convolve_then_upsample_masks)
}

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

// RfcnBoxPredictor

// optional .object_detection.protos.Hyperparams conv_hyperparams = 1;
inline bool RfcnBoxPredictor::has_conv_hyperparams() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline const ::object_detection::protos::Hyperparams& RfcnBoxPredictor::conv_hyperparams() const {
  const ::object_detection::protos::Hyperparams* p = conv_hyperparams_;
  // @@protoc_insertion_point(field_get:object_detection.protos.RfcnBoxPredictor.conv_hyperparams)
  return p != nullptr ? *p : *reinterpret_cast<const ::object_detection::protos::Hyperparams*>(
      &::object_detection::protos::_Hyperparams_default_instance_);
}
inline ::object_detection::protos::Hyperparams* RfcnBoxPredictor::release_conv_hyperparams() {
  // @@protoc_insertion_point(field_release:object_detection.protos.RfcnBoxPredictor.conv_hyperparams)
  _has_bits_[0] &= ~0x00000001u;
  ::object_detection::protos::Hyperparams* temp = conv_hyperparams_;
  conv_hyperparams_ = nullptr;
  return temp;
}
inline ::object_detection::protos::Hyperparams* RfcnBoxPredictor::mutable_conv_hyperparams() {
  _has_bits_[0] |= 0x00000001u;
  if (conv_hyperparams_ == nullptr) {
    auto* p = CreateMaybeMessage<::object_detection::protos::Hyperparams>(GetArenaNoVirtual());
    conv_hyperparams_ = p;
  }
  // @@protoc_insertion_point(field_mutable:object_detection.protos.RfcnBoxPredictor.conv_hyperparams)
  return conv_hyperparams_;
}
inline void RfcnBoxPredictor::set_allocated_conv_hyperparams(::object_detection::protos::Hyperparams* conv_hyperparams) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(conv_hyperparams_);
  }
  if (conv_hyperparams) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      conv_hyperparams = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, conv_hyperparams, submessage_arena);
    }
    _has_bits_[0] |= 0x00000001u;
  } else {
    _has_bits_[0] &= ~0x00000001u;
  }
  conv_hyperparams_ = conv_hyperparams;
  // @@protoc_insertion_point(field_set_allocated:object_detection.protos.RfcnBoxPredictor.conv_hyperparams)
}

// optional int32 num_spatial_bins_height = 2 [default = 3];
inline bool RfcnBoxPredictor::has_num_spatial_bins_height() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void RfcnBoxPredictor::clear_num_spatial_bins_height() {
  num_spatial_bins_height_ = 3;
  _has_bits_[0] &= ~0x00000002u;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 RfcnBoxPredictor::num_spatial_bins_height() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.RfcnBoxPredictor.num_spatial_bins_height)
  return num_spatial_bins_height_;
}
inline void RfcnBoxPredictor::set_num_spatial_bins_height(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _has_bits_[0] |= 0x00000002u;
  num_spatial_bins_height_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.RfcnBoxPredictor.num_spatial_bins_height)
}

// optional int32 num_spatial_bins_width = 3 [default = 3];
inline bool RfcnBoxPredictor::has_num_spatial_bins_width() const {
  return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void RfcnBoxPredictor::clear_num_spatial_bins_width() {
  num_spatial_bins_width_ = 3;
  _has_bits_[0] &= ~0x00000004u;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 RfcnBoxPredictor::num_spatial_bins_width() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.RfcnBoxPredictor.num_spatial_bins_width)
  return num_spatial_bins_width_;
}
inline void RfcnBoxPredictor::set_num_spatial_bins_width(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _has_bits_[0] |= 0x00000004u;
  num_spatial_bins_width_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.RfcnBoxPredictor.num_spatial_bins_width)
}

// optional int32 depth = 4 [default = 1024];
inline bool RfcnBoxPredictor::has_depth() const {
  return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void RfcnBoxPredictor::clear_depth() {
  depth_ = 1024;
  _has_bits_[0] &= ~0x00000008u;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 RfcnBoxPredictor::depth() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.RfcnBoxPredictor.depth)
  return depth_;
}
inline void RfcnBoxPredictor::set_depth(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _has_bits_[0] |= 0x00000008u;
  depth_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.RfcnBoxPredictor.depth)
}

// optional int32 box_code_size = 5 [default = 4];
inline bool RfcnBoxPredictor::has_box_code_size() const {
  return (_has_bits_[0] & 0x00000010u) != 0;
}
inline void RfcnBoxPredictor::clear_box_code_size() {
  box_code_size_ = 4;
  _has_bits_[0] &= ~0x00000010u;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 RfcnBoxPredictor::box_code_size() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.RfcnBoxPredictor.box_code_size)
  return box_code_size_;
}
inline void RfcnBoxPredictor::set_box_code_size(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _has_bits_[0] |= 0x00000010u;
  box_code_size_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.RfcnBoxPredictor.box_code_size)
}

// optional int32 crop_height = 6 [default = 12];
inline bool RfcnBoxPredictor::has_crop_height() const {
  return (_has_bits_[0] & 0x00000020u) != 0;
}
inline void RfcnBoxPredictor::clear_crop_height() {
  crop_height_ = 12;
  _has_bits_[0] &= ~0x00000020u;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 RfcnBoxPredictor::crop_height() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.RfcnBoxPredictor.crop_height)
  return crop_height_;
}
inline void RfcnBoxPredictor::set_crop_height(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _has_bits_[0] |= 0x00000020u;
  crop_height_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.RfcnBoxPredictor.crop_height)
}

// optional int32 crop_width = 7 [default = 12];
inline bool RfcnBoxPredictor::has_crop_width() const {
  return (_has_bits_[0] & 0x00000040u) != 0;
}
inline void RfcnBoxPredictor::clear_crop_width() {
  crop_width_ = 12;
  _has_bits_[0] &= ~0x00000040u;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 RfcnBoxPredictor::crop_width() const {
  // @@protoc_insertion_point(field_get:object_detection.protos.RfcnBoxPredictor.crop_width)
  return crop_width_;
}
inline void RfcnBoxPredictor::set_crop_width(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _has_bits_[0] |= 0x00000040u;
  crop_width_ = value;
  // @@protoc_insertion_point(field_set:object_detection.protos.RfcnBoxPredictor.crop_width)
}

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

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

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

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

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

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


// @@protoc_insertion_point(namespace_scope)

}  // namespace protos
}  // namespace object_detection

PROTOBUF_NAMESPACE_OPEN

template <> struct is_proto_enum< ::object_detection::protos::WeightSharedConvolutionalBoxPredictor_ScoreConverter> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::object_detection::protos::WeightSharedConvolutionalBoxPredictor_ScoreConverter>() {
  return ::object_detection::protos::WeightSharedConvolutionalBoxPredictor_ScoreConverter_descriptor();
}

PROTOBUF_NAMESPACE_CLOSE

// @@protoc_insertion_point(global_scope)

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