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

#include "tool_substate.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 ToolSubstate_internal_data_[] = {
    393216u, 0u, };
static const char ToolSubstate_names[] = {
    "TOOL_SUBSTATE_CANVAS_FOLLOWUP"
    "TOOL_SUBSTATE_DEEP_BROWSE_CLARIFYING_QUESTION"
    "TOOL_SUBSTATE_DEEP_BROWSE_COMPLETED"
    "TOOL_SUBSTATE_DEEP_SEARCH_CLARIFYING_QUESTION"
    "TOOL_SUBSTATE_DEEP_SEARCH_COMPLETED"
    "TOOL_SUBSTATE_UNSPECIFIED"
};

static const ::google::protobuf::internal::EnumEntry ToolSubstate_entries[] = {
    {{&ToolSubstate_names[0], 29}, 5},
    {{&ToolSubstate_names[29], 45}, 3},
    {{&ToolSubstate_names[74], 35}, 4},
    {{&ToolSubstate_names[109], 45}, 1},
    {{&ToolSubstate_names[154], 35}, 2},
    {{&ToolSubstate_names[189], 25}, 0},
};

static const int ToolSubstate_entries_by_number[] = {
    5,  // 0 -> TOOL_SUBSTATE_UNSPECIFIED
    3,  // 1 -> TOOL_SUBSTATE_DEEP_SEARCH_CLARIFYING_QUESTION
    4,  // 2 -> TOOL_SUBSTATE_DEEP_SEARCH_COMPLETED
    1,  // 3 -> TOOL_SUBSTATE_DEEP_BROWSE_CLARIFYING_QUESTION
    2,  // 4 -> TOOL_SUBSTATE_DEEP_BROWSE_COMPLETED
    0,  // 5 -> TOOL_SUBSTATE_CANVAS_FOLLOWUP
};

bool ToolSubstate_Parse(::absl::string_view name,
                                  ToolSubstate* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      ToolSubstate_entries, 6, name, &int_value);
  if (success) {
    *value = static_cast<ToolSubstate>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    ToolSubstate_strings[6] = {};

const ::std::string& ToolSubstate_Name(ToolSubstate value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      ToolSubstate_entries, ToolSubstate_entries_by_number, 6,
      ToolSubstate_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(ToolSubstate_entries,
                                  ToolSubstate_entries_by_number,
                                  6, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : ToolSubstate_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"
