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

#include "components/private_ai/proto/google_rpc_code.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 private_ai {
namespace rpc {
}  // namespace rpc
}  // namespace private_ai
namespace private_ai {
namespace rpc {
PROTOBUF_CONSTINIT const uint32_t GoogleRpcCode_internal_data_[] = {
    1114112u, 0u, };
static const char GoogleRpcCode_names[] = {
    "ABORTED"
    "ALREADY_EXISTS"
    "CANCELLED"
    "DATA_LOSS"
    "DEADLINE_EXCEEDED"
    "FAILED_PRECONDITION"
    "INTERNAL"
    "INVALID_ARGUMENT"
    "NOT_FOUND"
    "OK"
    "OUT_OF_RANGE"
    "PERMISSION_DENIED"
    "RESOURCE_EXHAUSTED"
    "UNAUTHENTICATED"
    "UNAVAILABLE"
    "UNIMPLEMENTED"
    "UNKNOWN"
};

static const ::google::protobuf::internal::EnumEntry GoogleRpcCode_entries[] = {
    {{&GoogleRpcCode_names[0], 7}, 10},
    {{&GoogleRpcCode_names[7], 14}, 6},
    {{&GoogleRpcCode_names[21], 9}, 1},
    {{&GoogleRpcCode_names[30], 9}, 15},
    {{&GoogleRpcCode_names[39], 17}, 4},
    {{&GoogleRpcCode_names[56], 19}, 9},
    {{&GoogleRpcCode_names[75], 8}, 13},
    {{&GoogleRpcCode_names[83], 16}, 3},
    {{&GoogleRpcCode_names[99], 9}, 5},
    {{&GoogleRpcCode_names[108], 2}, 0},
    {{&GoogleRpcCode_names[110], 12}, 11},
    {{&GoogleRpcCode_names[122], 17}, 7},
    {{&GoogleRpcCode_names[139], 18}, 8},
    {{&GoogleRpcCode_names[157], 15}, 16},
    {{&GoogleRpcCode_names[172], 11}, 14},
    {{&GoogleRpcCode_names[183], 13}, 12},
    {{&GoogleRpcCode_names[196], 7}, 2},
};

static const int GoogleRpcCode_entries_by_number[] = {
    9,  // 0 -> OK
    2,  // 1 -> CANCELLED
    16,  // 2 -> UNKNOWN
    7,  // 3 -> INVALID_ARGUMENT
    4,  // 4 -> DEADLINE_EXCEEDED
    8,  // 5 -> NOT_FOUND
    1,  // 6 -> ALREADY_EXISTS
    11,  // 7 -> PERMISSION_DENIED
    12,  // 8 -> RESOURCE_EXHAUSTED
    5,  // 9 -> FAILED_PRECONDITION
    0,  // 10 -> ABORTED
    10,  // 11 -> OUT_OF_RANGE
    15,  // 12 -> UNIMPLEMENTED
    6,  // 13 -> INTERNAL
    14,  // 14 -> UNAVAILABLE
    3,  // 15 -> DATA_LOSS
    13,  // 16 -> UNAUTHENTICATED
};

bool GoogleRpcCode_Parse(::absl::string_view name,
                                  GoogleRpcCode* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      GoogleRpcCode_entries, 17, name, &int_value);
  if (success) {
    *value = static_cast<GoogleRpcCode>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    GoogleRpcCode_strings[17] = {};

const ::std::string& GoogleRpcCode_Name(GoogleRpcCode value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      GoogleRpcCode_entries, GoogleRpcCode_entries_by_number, 17,
      GoogleRpcCode_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(GoogleRpcCode_entries,
                                  GoogleRpcCode_entries_by_number,
                                  17, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : GoogleRpcCode_strings[idx].get();
}
// @@protoc_insertion_point(namespace_scope)
}  // namespace rpc
}  // namespace private_ai
namespace google {
namespace protobuf {
}  // namespace protobuf
}  // namespace google
// @@protoc_insertion_point(global_scope)
#include "google/protobuf/port_undef.inc"
