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

#include "components/optimization_guide/proto/parser_kind.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 optimization_guide {
namespace proto {
}  // namespace proto
}  // namespace optimization_guide
namespace optimization_guide {
namespace proto {
PROTOBUF_CONSTINIT const uint32_t ParserKind_internal_data_[] = {
    327680u, 0u, };
static const char ParserKind_names[] = {
    "PARSER_KIND_AQA"
    "PARSER_KIND_FIELDWISE"
    "PARSER_KIND_JSON"
    "PARSER_KIND_SIMPLE"
    "PARSER_KIND_UNSPECIFIED"
};

static const ::google::protobuf::internal::EnumEntry ParserKind_entries[] = {
    {{&ParserKind_names[0], 15}, 3},
    {{&ParserKind_names[15], 21}, 4},
    {{&ParserKind_names[36], 16}, 2},
    {{&ParserKind_names[52], 18}, 1},
    {{&ParserKind_names[70], 23}, 0},
};

static const int ParserKind_entries_by_number[] = {
    4,  // 0 -> PARSER_KIND_UNSPECIFIED
    3,  // 1 -> PARSER_KIND_SIMPLE
    2,  // 2 -> PARSER_KIND_JSON
    0,  // 3 -> PARSER_KIND_AQA
    1,  // 4 -> PARSER_KIND_FIELDWISE
};

bool ParserKind_Parse(::absl::string_view name,
                                  ParserKind* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      ParserKind_entries, 5, name, &int_value);
  if (success) {
    *value = static_cast<ParserKind>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    ParserKind_strings[5] = {};

const ::std::string& ParserKind_Name(ParserKind value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      ParserKind_entries, ParserKind_entries_by_number, 5,
      ParserKind_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(ParserKind_entries,
                                  ParserKind_entries_by_number,
                                  5, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : ParserKind_strings[idx].get();
}
// @@protoc_insertion_point(namespace_scope)
}  // namespace proto
}  // namespace optimization_guide
namespace google {
namespace protobuf {
}  // namespace protobuf
}  // namespace google
// @@protoc_insertion_point(global_scope)
#include "google/protobuf/port_undef.inc"
