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

#include "tool_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 ToolMode_internal_data_[] = {
    786432u, 0u, };
static const char ToolMode_names[] = {
    "TOOL_MODE_AGENT_TASK"
    "TOOL_MODE_AIM"
    "TOOL_MODE_AIM_GEN_PROMPT"
    "TOOL_MODE_CANVAS"
    "TOOL_MODE_DEEP_BROWSE"
    "TOOL_MODE_DEEP_SEARCH"
    "TOOL_MODE_DISABLE_SUGGEST"
    "TOOL_MODE_GEMINI_PRO"
    "TOOL_MODE_IMAGE_GEN"
    "TOOL_MODE_IMAGE_GEN_SELFIE"
    "TOOL_MODE_IMAGE_GEN_UPLOAD"
    "TOOL_MODE_UNSPECIFIED"
};

static const ::google::protobuf::internal::EnumEntry ToolMode_entries[] = {
    {{&ToolMode_names[0], 20}, 11},
    {{&ToolMode_names[20], 13}, 9},
    {{&ToolMode_names[33], 24}, 10},
    {{&ToolMode_names[57], 16}, 2},
    {{&ToolMode_names[73], 21}, 5},
    {{&ToolMode_names[94], 21}, 1},
    {{&ToolMode_names[115], 25}, 8},
    {{&ToolMode_names[140], 20}, 3},
    {{&ToolMode_names[160], 19}, 4},
    {{&ToolMode_names[179], 26}, 6},
    {{&ToolMode_names[205], 26}, 7},
    {{&ToolMode_names[231], 21}, 0},
};

static const int ToolMode_entries_by_number[] = {
    11,  // 0 -> TOOL_MODE_UNSPECIFIED
    5,  // 1 -> TOOL_MODE_DEEP_SEARCH
    3,  // 2 -> TOOL_MODE_CANVAS
    7,  // 3 -> TOOL_MODE_GEMINI_PRO
    8,  // 4 -> TOOL_MODE_IMAGE_GEN
    4,  // 5 -> TOOL_MODE_DEEP_BROWSE
    9,  // 6 -> TOOL_MODE_IMAGE_GEN_SELFIE
    10,  // 7 -> TOOL_MODE_IMAGE_GEN_UPLOAD
    6,  // 8 -> TOOL_MODE_DISABLE_SUGGEST
    1,  // 9 -> TOOL_MODE_AIM
    2,  // 10 -> TOOL_MODE_AIM_GEN_PROMPT
    0,  // 11 -> TOOL_MODE_AGENT_TASK
};

bool ToolMode_Parse(::absl::string_view name,
                                  ToolMode* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      ToolMode_entries, 12, name, &int_value);
  if (success) {
    *value = static_cast<ToolMode>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    ToolMode_strings[12] = {};

const ::std::string& ToolMode_Name(ToolMode value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      ToolMode_entries, ToolMode_entries_by_number, 12,
      ToolMode_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(ToolMode_entries,
                                  ToolMode_entries_by_number,
                                  12, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : ToolMode_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"
