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

#include "lens_overlay_surface.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 lens {
}  // namespace lens
namespace lens {
PROTOBUF_CONSTINIT const uint32_t Surface_internal_data_[] = {
    65536u, 64u, 8u, 16896u, };
static const char Surface_names[] = {
    "SURFACE_CHROME_NTP"
    "SURFACE_CHROMIUM"
    "SURFACE_LENS_OVERLAY"
    "SURFACE_UNSPECIFIED"
};

static const ::google::protobuf::internal::EnumEntry Surface_entries[] = {
    {{&Surface_names[0], 18}, 47},
    {{&Surface_names[18], 16}, 4},
    {{&Surface_names[34], 20}, 42},
    {{&Surface_names[54], 19}, 0},
};

static const int Surface_entries_by_number[] = {
    3,  // 0 -> SURFACE_UNSPECIFIED
    1,  // 4 -> SURFACE_CHROMIUM
    2,  // 42 -> SURFACE_LENS_OVERLAY
    0,  // 47 -> SURFACE_CHROME_NTP
};

bool Surface_Parse(::absl::string_view name,
                                  Surface* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      Surface_entries, 4, name, &int_value);
  if (success) {
    *value = static_cast<Surface>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    Surface_strings[4] = {};

const ::std::string& Surface_Name(Surface value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      Surface_entries, Surface_entries_by_number, 4,
      Surface_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(Surface_entries,
                                  Surface_entries_by_number,
                                  4, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : Surface_strings[idx].get();
}
// @@protoc_insertion_point(namespace_scope)
}  // namespace lens
namespace google {
namespace protobuf {
}  // namespace protobuf
}  // namespace google
// @@protoc_insertion_point(global_scope)
#include "google/protobuf/port_undef.inc"
