// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: tensorflow/lite/toco/toco_flags.proto

#ifndef PROTOBUF_INCLUDED_tensorflow_2flite_2ftoco_2ftoco_5fflags_2eproto
#define PROTOBUF_INCLUDED_tensorflow_2flite_2ftoco_2ftoco_5fflags_2eproto

#include <limits>
#include <string>

#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3007000
#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 3007001 < 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/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 "tensorflow/lite/toco/types.pb.h"
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_tensorflow_2flite_2ftoco_2ftoco_5fflags_2eproto

// Internal implementation detail -- do not use these members.
struct TableStruct_tensorflow_2flite_2ftoco_2ftoco_5fflags_2eproto {
  static const ::google::protobuf::internal::ParseTableField entries[]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::google::protobuf::internal::ParseTable schema[1]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  static const ::google::protobuf::internal::SerializationTable serialization_table[];
  static const ::google::protobuf::uint32 offsets[];
};
void AddDescriptors_tensorflow_2flite_2ftoco_2ftoco_5fflags_2eproto();
namespace toco {
class TocoFlags;
class TocoFlagsDefaultTypeInternal;
extern TocoFlagsDefaultTypeInternal _TocoFlags_default_instance_;
}  // namespace toco
namespace google {
namespace protobuf {
template<> ::toco::TocoFlags* Arena::CreateMaybeMessage<::toco::TocoFlags>(Arena*);
}  // namespace protobuf
}  // namespace google
namespace toco {

enum FileFormat {
  FILE_FORMAT_UNKNOWN = 0,
  TENSORFLOW_GRAPHDEF = 1,
  TFLITE = 2,
  GRAPHVIZ_DOT = 3
};
bool FileFormat_IsValid(int value);
const FileFormat FileFormat_MIN = FILE_FORMAT_UNKNOWN;
const FileFormat FileFormat_MAX = GRAPHVIZ_DOT;
const int FileFormat_ARRAYSIZE = FileFormat_MAX + 1;

const ::google::protobuf::EnumDescriptor* FileFormat_descriptor();
inline const ::std::string& FileFormat_Name(FileFormat value) {
  return ::google::protobuf::internal::NameOfEnum(
    FileFormat_descriptor(), value);
}
inline bool FileFormat_Parse(
    const ::std::string& name, FileFormat* value) {
  return ::google::protobuf::internal::ParseNamedEnum<FileFormat>(
    FileFormat_descriptor(), name, value);
}
// ===================================================================

class TocoFlags :
    public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:toco.TocoFlags) */ {
 public:
  TocoFlags();
  virtual ~TocoFlags();

  TocoFlags(const TocoFlags& from);

  inline TocoFlags& operator=(const TocoFlags& from) {
    CopyFrom(from);
    return *this;
  }
  #if LANG_CXX11
  TocoFlags(TocoFlags&& from) noexcept
    : TocoFlags() {
    *this = ::std::move(from);
  }

  inline TocoFlags& operator=(TocoFlags&& from) noexcept {
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }
  #endif
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  static const ::google::protobuf::Descriptor* descriptor() {
    return default_instance().GetDescriptor();
  }
  static const TocoFlags& default_instance();

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

  void Swap(TocoFlags* other);
  friend void swap(TocoFlags& a, TocoFlags& b) {
    a.Swap(&b);
  }

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

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

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

  size_t ByteSizeLong() const final;
  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx);
  ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; }
  #else
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input) final;
  #endif  // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const final;
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
      ::google::protobuf::uint8* target) const final;
  int GetCachedSize() const final { return _cached_size_.Get(); }

  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(TocoFlags* other);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return nullptr;
  }
  inline void* MaybeArenaPtr() const {
    return nullptr;
  }
  public:

  ::google::protobuf::Metadata GetMetadata() const final;

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

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

  // optional string dump_graphviz_dir = 24;
  bool has_dump_graphviz_dir() const;
  void clear_dump_graphviz_dir();
  static const int kDumpGraphvizDirFieldNumber = 24;
  const ::std::string& dump_graphviz_dir() const;
  void set_dump_graphviz_dir(const ::std::string& value);
  #if LANG_CXX11
  void set_dump_graphviz_dir(::std::string&& value);
  #endif
  void set_dump_graphviz_dir(const char* value);
  void set_dump_graphviz_dir(const char* value, size_t size);
  ::std::string* mutable_dump_graphviz_dir();
  ::std::string* release_dump_graphviz_dir();
  void set_allocated_dump_graphviz_dir(::std::string* dump_graphviz_dir);

  // optional .toco.FileFormat input_format = 1;
  bool has_input_format() const;
  void clear_input_format();
  static const int kInputFormatFieldNumber = 1;
  ::toco::FileFormat input_format() const;
  void set_input_format(::toco::FileFormat value);

  // optional .toco.FileFormat output_format = 2;
  bool has_output_format() const;
  void clear_output_format();
  static const int kOutputFormatFieldNumber = 2;
  ::toco::FileFormat output_format() const;
  void set_output_format(::toco::FileFormat value);

  // optional .toco.IODataType inference_type = 4;
  bool has_inference_type() const;
  void clear_inference_type();
  static const int kInferenceTypeFieldNumber = 4;
  ::toco::IODataType inference_type() const;
  void set_inference_type(::toco::IODataType value);

  // optional float default_ranges_min = 5;
  bool has_default_ranges_min() const;
  void clear_default_ranges_min();
  static const int kDefaultRangesMinFieldNumber = 5;
  float default_ranges_min() const;
  void set_default_ranges_min(float value);

  // optional float default_ranges_max = 6;
  bool has_default_ranges_max() const;
  void clear_default_ranges_max();
  static const int kDefaultRangesMaxFieldNumber = 6;
  float default_ranges_max() const;
  void set_default_ranges_max(float value);

  // optional bool drop_fake_quant = 7;
  bool has_drop_fake_quant() const;
  void clear_drop_fake_quant();
  static const int kDropFakeQuantFieldNumber = 7;
  bool drop_fake_quant() const;
  void set_drop_fake_quant(bool value);

  // optional bool reorder_across_fake_quant = 8;
  bool has_reorder_across_fake_quant() const;
  void clear_reorder_across_fake_quant();
  static const int kReorderAcrossFakeQuantFieldNumber = 8;
  bool reorder_across_fake_quant() const;
  void set_reorder_across_fake_quant(bool value);

  // optional bool allow_custom_ops = 10;
  bool has_allow_custom_ops() const;
  void clear_allow_custom_ops();
  static const int kAllowCustomOpsFieldNumber = 10;
  bool allow_custom_ops() const;
  void set_allow_custom_ops(bool value);

  // optional bool drop_control_dependency = 12;
  bool has_drop_control_dependency() const;
  void clear_drop_control_dependency();
  static const int kDropControlDependencyFieldNumber = 12;
  bool drop_control_dependency() const;
  void set_drop_control_dependency(bool value);

  // optional .toco.IODataType inference_input_type = 11;
  bool has_inference_input_type() const;
  void clear_inference_input_type();
  static const int kInferenceInputTypeFieldNumber = 11;
  ::toco::IODataType inference_input_type() const;
  void set_inference_input_type(::toco::IODataType value);

  // optional float default_int16_ranges_min = 15;
  bool has_default_int16_ranges_min() const;
  void clear_default_int16_ranges_min();
  static const int kDefaultInt16RangesMinFieldNumber = 15;
  float default_int16_ranges_min() const;
  void set_default_int16_ranges_min(float value);

  // optional float default_int16_ranges_max = 16;
  bool has_default_int16_ranges_max() const;
  void clear_default_int16_ranges_max();
  static const int kDefaultInt16RangesMaxFieldNumber = 16;
  float default_int16_ranges_max() const;
  void set_default_int16_ranges_max(float value);

  // optional bool debug_disable_recurrent_cell_fusion = 13;
  bool has_debug_disable_recurrent_cell_fusion() const;
  void clear_debug_disable_recurrent_cell_fusion();
  static const int kDebugDisableRecurrentCellFusionFieldNumber = 13;
  bool debug_disable_recurrent_cell_fusion() const;
  void set_debug_disable_recurrent_cell_fusion(bool value);

  // optional bool propagate_fake_quant_num_bits = 14;
  bool has_propagate_fake_quant_num_bits() const;
  void clear_propagate_fake_quant_num_bits();
  static const int kPropagateFakeQuantNumBitsFieldNumber = 14;
  bool propagate_fake_quant_num_bits() const;
  void set_propagate_fake_quant_num_bits(bool value);

  // optional bool allow_nudging_weights_to_use_fast_gemm_kernel = 17;
  bool has_allow_nudging_weights_to_use_fast_gemm_kernel() const;
  void clear_allow_nudging_weights_to_use_fast_gemm_kernel();
  static const int kAllowNudgingWeightsToUseFastGemmKernelFieldNumber = 17;
  bool allow_nudging_weights_to_use_fast_gemm_kernel() const;
  void set_allow_nudging_weights_to_use_fast_gemm_kernel(bool value);

  // optional bool quantize_weights = 20 [default = false];
  bool has_quantize_weights() const;
  void clear_quantize_weights();
  static const int kQuantizeWeightsFieldNumber = 20;
  bool quantize_weights() const;
  void set_quantize_weights(bool value);

  // optional bool dump_graphviz_include_video = 25;
  bool has_dump_graphviz_include_video() const;
  void clear_dump_graphviz_include_video();
  static const int kDumpGraphvizIncludeVideoFieldNumber = 25;
  bool dump_graphviz_include_video() const;
  void set_dump_graphviz_include_video(bool value);

  // optional bool post_training_quantize = 26 [default = false];
  bool has_post_training_quantize() const;
  void clear_post_training_quantize();
  static const int kPostTrainingQuantizeFieldNumber = 26;
  bool post_training_quantize() const;
  void set_post_training_quantize(bool value);

  // optional bool enable_select_tf_ops = 27 [default = false];
  bool has_enable_select_tf_ops() const;
  void clear_enable_select_tf_ops();
  static const int kEnableSelectTfOpsFieldNumber = 27;
  bool enable_select_tf_ops() const;
  void set_enable_select_tf_ops(bool value);

  // optional bool force_select_tf_ops = 28 [default = false];
  bool has_force_select_tf_ops() const;
  void clear_force_select_tf_ops();
  static const int kForceSelectTfOpsFieldNumber = 28;
  bool force_select_tf_ops() const;
  void set_force_select_tf_ops(bool value);

  // optional bool split_tflite_lstm_inputs = 19 [default = true];
  bool has_split_tflite_lstm_inputs() const;
  void clear_split_tflite_lstm_inputs();
  static const int kSplitTfliteLstmInputsFieldNumber = 19;
  bool split_tflite_lstm_inputs() const;
  void set_split_tflite_lstm_inputs(bool value);

  // optional int64 dedupe_array_min_size_bytes = 18 [default = 64];
  bool has_dedupe_array_min_size_bytes() const;
  void clear_dedupe_array_min_size_bytes();
  static const int kDedupeArrayMinSizeBytesFieldNumber = 18;
  ::google::protobuf::int64 dedupe_array_min_size_bytes() const;
  void set_dedupe_array_min_size_bytes(::google::protobuf::int64 value);

  // @@protoc_insertion_point(class_scope:toco.TocoFlags)
 private:
  class HasBitSetters;

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable ::google::protobuf::internal::CachedSize _cached_size_;
  ::google::protobuf::internal::ArenaStringPtr dump_graphviz_dir_;
  int input_format_;
  int output_format_;
  int inference_type_;
  float default_ranges_min_;
  float default_ranges_max_;
  bool drop_fake_quant_;
  bool reorder_across_fake_quant_;
  bool allow_custom_ops_;
  bool drop_control_dependency_;
  int inference_input_type_;
  float default_int16_ranges_min_;
  float default_int16_ranges_max_;
  bool debug_disable_recurrent_cell_fusion_;
  bool propagate_fake_quant_num_bits_;
  bool allow_nudging_weights_to_use_fast_gemm_kernel_;
  bool quantize_weights_;
  bool dump_graphviz_include_video_;
  bool post_training_quantize_;
  bool enable_select_tf_ops_;
  bool force_select_tf_ops_;
  bool split_tflite_lstm_inputs_;
  ::google::protobuf::int64 dedupe_array_min_size_bytes_;
  friend struct ::TableStruct_tensorflow_2flite_2ftoco_2ftoco_5fflags_2eproto;
};
// ===================================================================


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

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

// optional .toco.FileFormat input_format = 1;
inline bool TocoFlags::has_input_format() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void TocoFlags::clear_input_format() {
  input_format_ = 0;
  _has_bits_[0] &= ~0x00000002u;
}
inline ::toco::FileFormat TocoFlags::input_format() const {
  // @@protoc_insertion_point(field_get:toco.TocoFlags.input_format)
  return static_cast< ::toco::FileFormat >(input_format_);
}
inline void TocoFlags::set_input_format(::toco::FileFormat value) {
  assert(::toco::FileFormat_IsValid(value));
  _has_bits_[0] |= 0x00000002u;
  input_format_ = value;
  // @@protoc_insertion_point(field_set:toco.TocoFlags.input_format)
}

// optional .toco.FileFormat output_format = 2;
inline bool TocoFlags::has_output_format() const {
  return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void TocoFlags::clear_output_format() {
  output_format_ = 0;
  _has_bits_[0] &= ~0x00000004u;
}
inline ::toco::FileFormat TocoFlags::output_format() const {
  // @@protoc_insertion_point(field_get:toco.TocoFlags.output_format)
  return static_cast< ::toco::FileFormat >(output_format_);
}
inline void TocoFlags::set_output_format(::toco::FileFormat value) {
  assert(::toco::FileFormat_IsValid(value));
  _has_bits_[0] |= 0x00000004u;
  output_format_ = value;
  // @@protoc_insertion_point(field_set:toco.TocoFlags.output_format)
}

// optional .toco.IODataType inference_input_type = 11;
inline bool TocoFlags::has_inference_input_type() const {
  return (_has_bits_[0] & 0x00000400u) != 0;
}
inline void TocoFlags::clear_inference_input_type() {
  inference_input_type_ = 0;
  _has_bits_[0] &= ~0x00000400u;
}
inline ::toco::IODataType TocoFlags::inference_input_type() const {
  // @@protoc_insertion_point(field_get:toco.TocoFlags.inference_input_type)
  return static_cast< ::toco::IODataType >(inference_input_type_);
}
inline void TocoFlags::set_inference_input_type(::toco::IODataType value) {
  assert(::toco::IODataType_IsValid(value));
  _has_bits_[0] |= 0x00000400u;
  inference_input_type_ = value;
  // @@protoc_insertion_point(field_set:toco.TocoFlags.inference_input_type)
}

// optional .toco.IODataType inference_type = 4;
inline bool TocoFlags::has_inference_type() const {
  return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void TocoFlags::clear_inference_type() {
  inference_type_ = 0;
  _has_bits_[0] &= ~0x00000008u;
}
inline ::toco::IODataType TocoFlags::inference_type() const {
  // @@protoc_insertion_point(field_get:toco.TocoFlags.inference_type)
  return static_cast< ::toco::IODataType >(inference_type_);
}
inline void TocoFlags::set_inference_type(::toco::IODataType value) {
  assert(::toco::IODataType_IsValid(value));
  _has_bits_[0] |= 0x00000008u;
  inference_type_ = value;
  // @@protoc_insertion_point(field_set:toco.TocoFlags.inference_type)
}

// optional float default_ranges_min = 5;
inline bool TocoFlags::has_default_ranges_min() const {
  return (_has_bits_[0] & 0x00000010u) != 0;
}
inline void TocoFlags::clear_default_ranges_min() {
  default_ranges_min_ = 0;
  _has_bits_[0] &= ~0x00000010u;
}
inline float TocoFlags::default_ranges_min() const {
  // @@protoc_insertion_point(field_get:toco.TocoFlags.default_ranges_min)
  return default_ranges_min_;
}
inline void TocoFlags::set_default_ranges_min(float value) {
  _has_bits_[0] |= 0x00000010u;
  default_ranges_min_ = value;
  // @@protoc_insertion_point(field_set:toco.TocoFlags.default_ranges_min)
}

// optional float default_ranges_max = 6;
inline bool TocoFlags::has_default_ranges_max() const {
  return (_has_bits_[0] & 0x00000020u) != 0;
}
inline void TocoFlags::clear_default_ranges_max() {
  default_ranges_max_ = 0;
  _has_bits_[0] &= ~0x00000020u;
}
inline float TocoFlags::default_ranges_max() const {
  // @@protoc_insertion_point(field_get:toco.TocoFlags.default_ranges_max)
  return default_ranges_max_;
}
inline void TocoFlags::set_default_ranges_max(float value) {
  _has_bits_[0] |= 0x00000020u;
  default_ranges_max_ = value;
  // @@protoc_insertion_point(field_set:toco.TocoFlags.default_ranges_max)
}

// optional float default_int16_ranges_min = 15;
inline bool TocoFlags::has_default_int16_ranges_min() const {
  return (_has_bits_[0] & 0x00000800u) != 0;
}
inline void TocoFlags::clear_default_int16_ranges_min() {
  default_int16_ranges_min_ = 0;
  _has_bits_[0] &= ~0x00000800u;
}
inline float TocoFlags::default_int16_ranges_min() const {
  // @@protoc_insertion_point(field_get:toco.TocoFlags.default_int16_ranges_min)
  return default_int16_ranges_min_;
}
inline void TocoFlags::set_default_int16_ranges_min(float value) {
  _has_bits_[0] |= 0x00000800u;
  default_int16_ranges_min_ = value;
  // @@protoc_insertion_point(field_set:toco.TocoFlags.default_int16_ranges_min)
}

// optional float default_int16_ranges_max = 16;
inline bool TocoFlags::has_default_int16_ranges_max() const {
  return (_has_bits_[0] & 0x00001000u) != 0;
}
inline void TocoFlags::clear_default_int16_ranges_max() {
  default_int16_ranges_max_ = 0;
  _has_bits_[0] &= ~0x00001000u;
}
inline float TocoFlags::default_int16_ranges_max() const {
  // @@protoc_insertion_point(field_get:toco.TocoFlags.default_int16_ranges_max)
  return default_int16_ranges_max_;
}
inline void TocoFlags::set_default_int16_ranges_max(float value) {
  _has_bits_[0] |= 0x00001000u;
  default_int16_ranges_max_ = value;
  // @@protoc_insertion_point(field_set:toco.TocoFlags.default_int16_ranges_max)
}

// optional bool drop_fake_quant = 7;
inline bool TocoFlags::has_drop_fake_quant() const {
  return (_has_bits_[0] & 0x00000040u) != 0;
}
inline void TocoFlags::clear_drop_fake_quant() {
  drop_fake_quant_ = false;
  _has_bits_[0] &= ~0x00000040u;
}
inline bool TocoFlags::drop_fake_quant() const {
  // @@protoc_insertion_point(field_get:toco.TocoFlags.drop_fake_quant)
  return drop_fake_quant_;
}
inline void TocoFlags::set_drop_fake_quant(bool value) {
  _has_bits_[0] |= 0x00000040u;
  drop_fake_quant_ = value;
  // @@protoc_insertion_point(field_set:toco.TocoFlags.drop_fake_quant)
}

// optional bool reorder_across_fake_quant = 8;
inline bool TocoFlags::has_reorder_across_fake_quant() const {
  return (_has_bits_[0] & 0x00000080u) != 0;
}
inline void TocoFlags::clear_reorder_across_fake_quant() {
  reorder_across_fake_quant_ = false;
  _has_bits_[0] &= ~0x00000080u;
}
inline bool TocoFlags::reorder_across_fake_quant() const {
  // @@protoc_insertion_point(field_get:toco.TocoFlags.reorder_across_fake_quant)
  return reorder_across_fake_quant_;
}
inline void TocoFlags::set_reorder_across_fake_quant(bool value) {
  _has_bits_[0] |= 0x00000080u;
  reorder_across_fake_quant_ = value;
  // @@protoc_insertion_point(field_set:toco.TocoFlags.reorder_across_fake_quant)
}

// optional bool allow_custom_ops = 10;
inline bool TocoFlags::has_allow_custom_ops() const {
  return (_has_bits_[0] & 0x00000100u) != 0;
}
inline void TocoFlags::clear_allow_custom_ops() {
  allow_custom_ops_ = false;
  _has_bits_[0] &= ~0x00000100u;
}
inline bool TocoFlags::allow_custom_ops() const {
  // @@protoc_insertion_point(field_get:toco.TocoFlags.allow_custom_ops)
  return allow_custom_ops_;
}
inline void TocoFlags::set_allow_custom_ops(bool value) {
  _has_bits_[0] |= 0x00000100u;
  allow_custom_ops_ = value;
  // @@protoc_insertion_point(field_set:toco.TocoFlags.allow_custom_ops)
}

// optional bool drop_control_dependency = 12;
inline bool TocoFlags::has_drop_control_dependency() const {
  return (_has_bits_[0] & 0x00000200u) != 0;
}
inline void TocoFlags::clear_drop_control_dependency() {
  drop_control_dependency_ = false;
  _has_bits_[0] &= ~0x00000200u;
}
inline bool TocoFlags::drop_control_dependency() const {
  // @@protoc_insertion_point(field_get:toco.TocoFlags.drop_control_dependency)
  return drop_control_dependency_;
}
inline void TocoFlags::set_drop_control_dependency(bool value) {
  _has_bits_[0] |= 0x00000200u;
  drop_control_dependency_ = value;
  // @@protoc_insertion_point(field_set:toco.TocoFlags.drop_control_dependency)
}

// optional bool debug_disable_recurrent_cell_fusion = 13;
inline bool TocoFlags::has_debug_disable_recurrent_cell_fusion() const {
  return (_has_bits_[0] & 0x00002000u) != 0;
}
inline void TocoFlags::clear_debug_disable_recurrent_cell_fusion() {
  debug_disable_recurrent_cell_fusion_ = false;
  _has_bits_[0] &= ~0x00002000u;
}
inline bool TocoFlags::debug_disable_recurrent_cell_fusion() const {
  // @@protoc_insertion_point(field_get:toco.TocoFlags.debug_disable_recurrent_cell_fusion)
  return debug_disable_recurrent_cell_fusion_;
}
inline void TocoFlags::set_debug_disable_recurrent_cell_fusion(bool value) {
  _has_bits_[0] |= 0x00002000u;
  debug_disable_recurrent_cell_fusion_ = value;
  // @@protoc_insertion_point(field_set:toco.TocoFlags.debug_disable_recurrent_cell_fusion)
}

// optional bool propagate_fake_quant_num_bits = 14;
inline bool TocoFlags::has_propagate_fake_quant_num_bits() const {
  return (_has_bits_[0] & 0x00004000u) != 0;
}
inline void TocoFlags::clear_propagate_fake_quant_num_bits() {
  propagate_fake_quant_num_bits_ = false;
  _has_bits_[0] &= ~0x00004000u;
}
inline bool TocoFlags::propagate_fake_quant_num_bits() const {
  // @@protoc_insertion_point(field_get:toco.TocoFlags.propagate_fake_quant_num_bits)
  return propagate_fake_quant_num_bits_;
}
inline void TocoFlags::set_propagate_fake_quant_num_bits(bool value) {
  _has_bits_[0] |= 0x00004000u;
  propagate_fake_quant_num_bits_ = value;
  // @@protoc_insertion_point(field_set:toco.TocoFlags.propagate_fake_quant_num_bits)
}

// optional bool allow_nudging_weights_to_use_fast_gemm_kernel = 17;
inline bool TocoFlags::has_allow_nudging_weights_to_use_fast_gemm_kernel() const {
  return (_has_bits_[0] & 0x00008000u) != 0;
}
inline void TocoFlags::clear_allow_nudging_weights_to_use_fast_gemm_kernel() {
  allow_nudging_weights_to_use_fast_gemm_kernel_ = false;
  _has_bits_[0] &= ~0x00008000u;
}
inline bool TocoFlags::allow_nudging_weights_to_use_fast_gemm_kernel() const {
  // @@protoc_insertion_point(field_get:toco.TocoFlags.allow_nudging_weights_to_use_fast_gemm_kernel)
  return allow_nudging_weights_to_use_fast_gemm_kernel_;
}
inline void TocoFlags::set_allow_nudging_weights_to_use_fast_gemm_kernel(bool value) {
  _has_bits_[0] |= 0x00008000u;
  allow_nudging_weights_to_use_fast_gemm_kernel_ = value;
  // @@protoc_insertion_point(field_set:toco.TocoFlags.allow_nudging_weights_to_use_fast_gemm_kernel)
}

// optional int64 dedupe_array_min_size_bytes = 18 [default = 64];
inline bool TocoFlags::has_dedupe_array_min_size_bytes() const {
  return (_has_bits_[0] & 0x00400000u) != 0;
}
inline void TocoFlags::clear_dedupe_array_min_size_bytes() {
  dedupe_array_min_size_bytes_ = PROTOBUF_LONGLONG(64);
  _has_bits_[0] &= ~0x00400000u;
}
inline ::google::protobuf::int64 TocoFlags::dedupe_array_min_size_bytes() const {
  // @@protoc_insertion_point(field_get:toco.TocoFlags.dedupe_array_min_size_bytes)
  return dedupe_array_min_size_bytes_;
}
inline void TocoFlags::set_dedupe_array_min_size_bytes(::google::protobuf::int64 value) {
  _has_bits_[0] |= 0x00400000u;
  dedupe_array_min_size_bytes_ = value;
  // @@protoc_insertion_point(field_set:toco.TocoFlags.dedupe_array_min_size_bytes)
}

// optional bool split_tflite_lstm_inputs = 19 [default = true];
inline bool TocoFlags::has_split_tflite_lstm_inputs() const {
  return (_has_bits_[0] & 0x00200000u) != 0;
}
inline void TocoFlags::clear_split_tflite_lstm_inputs() {
  split_tflite_lstm_inputs_ = true;
  _has_bits_[0] &= ~0x00200000u;
}
inline bool TocoFlags::split_tflite_lstm_inputs() const {
  // @@protoc_insertion_point(field_get:toco.TocoFlags.split_tflite_lstm_inputs)
  return split_tflite_lstm_inputs_;
}
inline void TocoFlags::set_split_tflite_lstm_inputs(bool value) {
  _has_bits_[0] |= 0x00200000u;
  split_tflite_lstm_inputs_ = value;
  // @@protoc_insertion_point(field_set:toco.TocoFlags.split_tflite_lstm_inputs)
}

// optional bool quantize_weights = 20 [default = false];
inline bool TocoFlags::has_quantize_weights() const {
  return (_has_bits_[0] & 0x00010000u) != 0;
}
inline void TocoFlags::clear_quantize_weights() {
  quantize_weights_ = false;
  _has_bits_[0] &= ~0x00010000u;
}
inline bool TocoFlags::quantize_weights() const {
  // @@protoc_insertion_point(field_get:toco.TocoFlags.quantize_weights)
  return quantize_weights_;
}
inline void TocoFlags::set_quantize_weights(bool value) {
  _has_bits_[0] |= 0x00010000u;
  quantize_weights_ = value;
  // @@protoc_insertion_point(field_set:toco.TocoFlags.quantize_weights)
}

// optional string dump_graphviz_dir = 24;
inline bool TocoFlags::has_dump_graphviz_dir() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void TocoFlags::clear_dump_graphviz_dir() {
  dump_graphviz_dir_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  _has_bits_[0] &= ~0x00000001u;
}
inline const ::std::string& TocoFlags::dump_graphviz_dir() const {
  // @@protoc_insertion_point(field_get:toco.TocoFlags.dump_graphviz_dir)
  return dump_graphviz_dir_.GetNoArena();
}
inline void TocoFlags::set_dump_graphviz_dir(const ::std::string& value) {
  _has_bits_[0] |= 0x00000001u;
  dump_graphviz_dir_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:toco.TocoFlags.dump_graphviz_dir)
}
#if LANG_CXX11
inline void TocoFlags::set_dump_graphviz_dir(::std::string&& value) {
  _has_bits_[0] |= 0x00000001u;
  dump_graphviz_dir_.SetNoArena(
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:toco.TocoFlags.dump_graphviz_dir)
}
#endif
inline void TocoFlags::set_dump_graphviz_dir(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  _has_bits_[0] |= 0x00000001u;
  dump_graphviz_dir_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:toco.TocoFlags.dump_graphviz_dir)
}
inline void TocoFlags::set_dump_graphviz_dir(const char* value, size_t size) {
  _has_bits_[0] |= 0x00000001u;
  dump_graphviz_dir_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:toco.TocoFlags.dump_graphviz_dir)
}
inline ::std::string* TocoFlags::mutable_dump_graphviz_dir() {
  _has_bits_[0] |= 0x00000001u;
  // @@protoc_insertion_point(field_mutable:toco.TocoFlags.dump_graphviz_dir)
  return dump_graphviz_dir_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* TocoFlags::release_dump_graphviz_dir() {
  // @@protoc_insertion_point(field_release:toco.TocoFlags.dump_graphviz_dir)
  if (!has_dump_graphviz_dir()) {
    return nullptr;
  }
  _has_bits_[0] &= ~0x00000001u;
  return dump_graphviz_dir_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void TocoFlags::set_allocated_dump_graphviz_dir(::std::string* dump_graphviz_dir) {
  if (dump_graphviz_dir != nullptr) {
    _has_bits_[0] |= 0x00000001u;
  } else {
    _has_bits_[0] &= ~0x00000001u;
  }
  dump_graphviz_dir_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), dump_graphviz_dir);
  // @@protoc_insertion_point(field_set_allocated:toco.TocoFlags.dump_graphviz_dir)
}

// optional bool dump_graphviz_include_video = 25;
inline bool TocoFlags::has_dump_graphviz_include_video() const {
  return (_has_bits_[0] & 0x00020000u) != 0;
}
inline void TocoFlags::clear_dump_graphviz_include_video() {
  dump_graphviz_include_video_ = false;
  _has_bits_[0] &= ~0x00020000u;
}
inline bool TocoFlags::dump_graphviz_include_video() const {
  // @@protoc_insertion_point(field_get:toco.TocoFlags.dump_graphviz_include_video)
  return dump_graphviz_include_video_;
}
inline void TocoFlags::set_dump_graphviz_include_video(bool value) {
  _has_bits_[0] |= 0x00020000u;
  dump_graphviz_include_video_ = value;
  // @@protoc_insertion_point(field_set:toco.TocoFlags.dump_graphviz_include_video)
}

// optional bool post_training_quantize = 26 [default = false];
inline bool TocoFlags::has_post_training_quantize() const {
  return (_has_bits_[0] & 0x00040000u) != 0;
}
inline void TocoFlags::clear_post_training_quantize() {
  post_training_quantize_ = false;
  _has_bits_[0] &= ~0x00040000u;
}
inline bool TocoFlags::post_training_quantize() const {
  // @@protoc_insertion_point(field_get:toco.TocoFlags.post_training_quantize)
  return post_training_quantize_;
}
inline void TocoFlags::set_post_training_quantize(bool value) {
  _has_bits_[0] |= 0x00040000u;
  post_training_quantize_ = value;
  // @@protoc_insertion_point(field_set:toco.TocoFlags.post_training_quantize)
}

// optional bool enable_select_tf_ops = 27 [default = false];
inline bool TocoFlags::has_enable_select_tf_ops() const {
  return (_has_bits_[0] & 0x00080000u) != 0;
}
inline void TocoFlags::clear_enable_select_tf_ops() {
  enable_select_tf_ops_ = false;
  _has_bits_[0] &= ~0x00080000u;
}
inline bool TocoFlags::enable_select_tf_ops() const {
  // @@protoc_insertion_point(field_get:toco.TocoFlags.enable_select_tf_ops)
  return enable_select_tf_ops_;
}
inline void TocoFlags::set_enable_select_tf_ops(bool value) {
  _has_bits_[0] |= 0x00080000u;
  enable_select_tf_ops_ = value;
  // @@protoc_insertion_point(field_set:toco.TocoFlags.enable_select_tf_ops)
}

// optional bool force_select_tf_ops = 28 [default = false];
inline bool TocoFlags::has_force_select_tf_ops() const {
  return (_has_bits_[0] & 0x00100000u) != 0;
}
inline void TocoFlags::clear_force_select_tf_ops() {
  force_select_tf_ops_ = false;
  _has_bits_[0] &= ~0x00100000u;
}
inline bool TocoFlags::force_select_tf_ops() const {
  // @@protoc_insertion_point(field_get:toco.TocoFlags.force_select_tf_ops)
  return force_select_tf_ops_;
}
inline void TocoFlags::set_force_select_tf_ops(bool value) {
  _has_bits_[0] |= 0x00100000u;
  force_select_tf_ops_ = value;
  // @@protoc_insertion_point(field_set:toco.TocoFlags.force_select_tf_ops)
}

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

// @@protoc_insertion_point(namespace_scope)

}  // namespace toco

namespace google {
namespace protobuf {

template <> struct is_proto_enum< ::toco::FileFormat> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::toco::FileFormat>() {
  return ::toco::FileFormat_descriptor();
}

}  // namespace protobuf
}  // namespace google

// @@protoc_insertion_point(global_scope)

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