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

#include "components/segmentation_platform/public/proto/aggregation.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 segmentation_platform {
namespace proto {
}  // namespace proto
}  // namespace segmentation_platform
namespace segmentation_platform {
namespace proto {
PROTOBUF_CONSTINIT const uint32_t Aggregation_internal_data_[] = {
    917504u, 0u, };
static const char Aggregation_names[] = {
    "BUCKETED_COUNT"
    "BUCKETED_COUNT_BOOLEAN"
    "BUCKETED_COUNT_BOOLEAN_TRUE_COUNT"
    "BUCKETED_CUMULATIVE_COUNT"
    "BUCKETED_CUMULATIVE_SUM"
    "BUCKETED_SUM"
    "BUCKETED_SUM_BOOLEAN"
    "BUCKETED_SUM_BOOLEAN_TRUE_COUNT"
    "COUNT"
    "COUNT_BOOLEAN"
    "LATEST_OR_DEFAULT"
    "SUM"
    "SUM_BOOLEAN"
    "UNKNOWN"
};

static const ::google::protobuf::internal::EnumEntry Aggregation_entries[] = {
    {{&Aggregation_names[0], 14}, 3},
    {{&Aggregation_names[14], 22}, 4},
    {{&Aggregation_names[36], 33}, 5},
    {{&Aggregation_names[69], 25}, 6},
    {{&Aggregation_names[94], 23}, 12},
    {{&Aggregation_names[117], 12}, 9},
    {{&Aggregation_names[129], 20}, 10},
    {{&Aggregation_names[149], 31}, 11},
    {{&Aggregation_names[180], 5}, 1},
    {{&Aggregation_names[185], 13}, 2},
    {{&Aggregation_names[198], 17}, 13},
    {{&Aggregation_names[215], 3}, 7},
    {{&Aggregation_names[218], 11}, 8},
    {{&Aggregation_names[229], 7}, 0},
};

static const int Aggregation_entries_by_number[] = {
    13,  // 0 -> UNKNOWN
    8,  // 1 -> COUNT
    9,  // 2 -> COUNT_BOOLEAN
    0,  // 3 -> BUCKETED_COUNT
    1,  // 4 -> BUCKETED_COUNT_BOOLEAN
    2,  // 5 -> BUCKETED_COUNT_BOOLEAN_TRUE_COUNT
    3,  // 6 -> BUCKETED_CUMULATIVE_COUNT
    11,  // 7 -> SUM
    12,  // 8 -> SUM_BOOLEAN
    5,  // 9 -> BUCKETED_SUM
    6,  // 10 -> BUCKETED_SUM_BOOLEAN
    7,  // 11 -> BUCKETED_SUM_BOOLEAN_TRUE_COUNT
    4,  // 12 -> BUCKETED_CUMULATIVE_SUM
    10,  // 13 -> LATEST_OR_DEFAULT
};

bool Aggregation_Parse(::absl::string_view name,
                                  Aggregation* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      Aggregation_entries, 14, name, &int_value);
  if (success) {
    *value = static_cast<Aggregation>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    Aggregation_strings[14] = {};

const ::std::string& Aggregation_Name(Aggregation value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      Aggregation_entries, Aggregation_entries_by_number, 14,
      Aggregation_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(Aggregation_entries,
                                  Aggregation_entries_by_number,
                                  14, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : Aggregation_strings[idx].get();
}
// @@protoc_insertion_point(namespace_scope)
}  // namespace proto
}  // namespace segmentation_platform
namespace google {
namespace protobuf {
}  // namespace protobuf
}  // namespace google
// @@protoc_insertion_point(global_scope)
#include "google/protobuf/port_undef.inc"
