// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: model_mode.proto
// Protobuf C++ Version: 7.35.1

#include "model_mode.pb.h"

#include <algorithm>
#include <type_traits>
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/generated_message_tctable_impl.h"
#include "google/protobuf/internal_visibility.h"
#include "google/protobuf/extension_set.h"
#include "google/protobuf/generated_message_util.h"
#include "google/protobuf/wire_format_lite.h"
// @@protoc_insertion_point(includes)

// Must be included last.
#include "google/protobuf/port_def.inc"
PROTOBUF_PRAGMA_INIT_SEG
namespace _pb = ::google::protobuf;
namespace _pbi = ::google::protobuf::internal;
namespace _fl = ::google::protobuf::internal::field_layout;
namespace omnibox {
}  // namespace omnibox
namespace omnibox {
PROTOBUF_CONSTINIT const uint32_t ModelMode_internal_data_[] = {
    524288u, 0u, };
static const char ModelMode_names[] = {
    "MODEL_MODE_GEMINI_FLASH_LATEST"
    "MODEL_MODE_GEMINI_PREVIEW"
    "MODEL_MODE_GEMINI_PRO"
    "MODEL_MODE_GEMINI_PRO_AUTOROUTE"
    "MODEL_MODE_GEMINI_PRO_LATEST"
    "MODEL_MODE_GEMINI_PRO_NO_GEN_UI"
    "MODEL_MODE_GEMINI_REGULAR"
    "MODEL_MODE_UNSPECIFIED"
};

static const ::google::protobuf::internal::EnumEntry ModelMode_entries[] = {
    {{&ModelMode_names[0], 30}, 5},
    {{&ModelMode_names[30], 25}, 7},
    {{&ModelMode_names[55], 21}, 2},
    {{&ModelMode_names[76], 31}, 3},
    {{&ModelMode_names[107], 28}, 6},
    {{&ModelMode_names[135], 31}, 4},
    {{&ModelMode_names[166], 25}, 1},
    {{&ModelMode_names[191], 22}, 0},
};

static const int ModelMode_entries_by_number[] = {
    7,  // 0 -> MODEL_MODE_UNSPECIFIED
    6,  // 1 -> MODEL_MODE_GEMINI_REGULAR
    2,  // 2 -> MODEL_MODE_GEMINI_PRO
    3,  // 3 -> MODEL_MODE_GEMINI_PRO_AUTOROUTE
    5,  // 4 -> MODEL_MODE_GEMINI_PRO_NO_GEN_UI
    0,  // 5 -> MODEL_MODE_GEMINI_FLASH_LATEST
    4,  // 6 -> MODEL_MODE_GEMINI_PRO_LATEST
    1,  // 7 -> MODEL_MODE_GEMINI_PREVIEW
};

bool ModelMode_Parse(::absl::string_view name,
                                  ModelMode* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      ModelMode_entries, 8, name, &int_value);
  if (success) {
    *value = static_cast<ModelMode>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    ModelMode_strings[8] = {};

const ::std::string& ModelMode_Name(ModelMode value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      ModelMode_entries, ModelMode_entries_by_number, 8,
      ModelMode_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(ModelMode_entries,
                                  ModelMode_entries_by_number,
                                  8, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : ModelMode_strings[idx].get();
}
// @@protoc_insertion_point(namespace_scope)
}  // namespace omnibox
namespace google {
namespace protobuf {
}  // namespace protobuf
}  // namespace google
// @@protoc_insertion_point(global_scope)
#include "google/protobuf/port_undef.inc"
