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

#include "input_source.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 InputSource_internal_data_[] = {
    524288u, 0u, };
static const char InputSource_names[] = {
    "INPUT_SOURCE_CAMERA"
    "INPUT_SOURCE_DRIVE"
    "INPUT_SOURCE_FILE_PICKER"
    "INPUT_SOURCE_GALLERY"
    "INPUT_SOURCE_SEARCH_LIVE"
    "INPUT_SOURCE_TAB_PICKER"
    "INPUT_SOURCE_UNSPECIFIED"
    "INPUT_SOURCE_VOICE"
};

static const ::google::protobuf::internal::EnumEntry InputSource_entries[] = {
    {{&InputSource_names[0], 19}, 2},
    {{&InputSource_names[19], 18}, 4},
    {{&InputSource_names[37], 24}, 3},
    {{&InputSource_names[61], 20}, 1},
    {{&InputSource_names[81], 24}, 7},
    {{&InputSource_names[105], 23}, 5},
    {{&InputSource_names[128], 24}, 0},
    {{&InputSource_names[152], 18}, 6},
};

static const int InputSource_entries_by_number[] = {
    6,  // 0 -> INPUT_SOURCE_UNSPECIFIED
    3,  // 1 -> INPUT_SOURCE_GALLERY
    0,  // 2 -> INPUT_SOURCE_CAMERA
    2,  // 3 -> INPUT_SOURCE_FILE_PICKER
    1,  // 4 -> INPUT_SOURCE_DRIVE
    5,  // 5 -> INPUT_SOURCE_TAB_PICKER
    7,  // 6 -> INPUT_SOURCE_VOICE
    4,  // 7 -> INPUT_SOURCE_SEARCH_LIVE
};

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

const ::std::string& InputSource_Name(InputSource value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      InputSource_entries, InputSource_entries_by_number, 8,
      InputSource_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(InputSource_entries,
                                  InputSource_entries_by_number,
                                  8, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : InputSource_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"
