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

#include "components/segmentation_platform/internal/proto/model_prediction.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"
#include "google/protobuf/io/zero_copy_stream_impl_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 {
class TrainingData::_Internal {
 public:
  using HasBits = decltype(::std::declval<TrainingData>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(TrainingData, _impl_._has_bits_);
};

constexpr TrainingData::ParseTableT_ TrainingData::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(TrainingData, _impl_._has_bits_),
      0, // no _extensions_
      4, 24,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967280,  // skipmap
      offsetof(ParseTableT_, field_entries),
      4,  // num_field_entries
      0,  // num_aux_entries
      offsetof(ParseTableT_, field_names),  // no aux_entries
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::segmentation_platform::proto::TrainingData>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional int64 observation_trigger_timestamp = 4;
      {::_pbi::TcParser::FastV64S1,
       {32, 3, 0,
        PROTOBUF_FIELD_OFFSET(TrainingData, _impl_.observation_trigger_timestamp_)}},
      // repeated float inputs = 1;
      {::_pbi::TcParser::FastF32R1,
       {13, 0, 0,
        PROTOBUF_FIELD_OFFSET(TrainingData, _impl_.inputs_)}},
      // optional int64 decision_timestamp = 2;
      {::_pbi::TcParser::FastV64S1,
       {16, 1, 0,
        PROTOBUF_FIELD_OFFSET(TrainingData, _impl_.decision_timestamp_)}},
      // optional int64 request_id = 3;
      {::_pbi::TcParser::FastV64S1,
       {24, 2, 0,
        PROTOBUF_FIELD_OFFSET(TrainingData, _impl_.request_id_)}},
    }}, {{
      65535, 65535
    }}, {{
      // repeated float inputs = 1;
      {PROTOBUF_FIELD_OFFSET(TrainingData, _impl_.inputs_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kFloat)},
      // optional int64 decision_timestamp = 2;
      {PROTOBUF_FIELD_OFFSET(TrainingData, _impl_.decision_timestamp_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // optional int64 request_id = 3;
      {PROTOBUF_FIELD_OFFSET(TrainingData, _impl_.request_id_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // optional int64 observation_trigger_timestamp = 4;
      {PROTOBUF_FIELD_OFFSET(TrainingData, _impl_.observation_trigger_timestamp_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr TrainingData::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        inputs_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::segmentation_platform::proto::TrainingData,
            PROTOBUF_FIELD_OFFSET(::segmentation_platform::proto::TrainingData, _impl_.inputs_)>()
         }
        ,
        decision_timestamp_{::int64_t{0}},
        request_id_{::int64_t{0}},
        observation_trigger_timestamp_{::int64_t{0}} {}

template <typename>
constexpr TrainingData::TrainingData(::_pbi::ConstantInitialized,
                       const ::_pbi::ClassData* PROTOBUF_NONNULL class_data)
    : ::google::protobuf::MessageLite(
#if defined(PROTOBUF_CUSTOM_VTABLE)
          class_data
#endif  // PROTOBUF_CUSTOM_VTABLE
          ),
      _impl_(internal_visibility(), ::_pbi::ConstantInitialized()) {
}
inline void* PROTOBUF_NONNULL TrainingData::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) TrainingData(arena);
}
constexpr auto TrainingData::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(TrainingData), alignof(TrainingData));
}
constexpr auto TrainingData::InternalGenerateClassData_(
    const MessageLite& prototype,
    const ::google::protobuf::internal::TcParseTableBase* tc_table) {
  return ::google::protobuf::internal::ClassDataLite{
      {
          &prototype,
#ifndef PROTOBUF_MESSAGE_GLOBALS
          &_table_.header,
#else
          tc_table,
#endif
          nullptr,  // IsInitialized
          &TrainingData::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<TrainingData>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &TrainingData::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<TrainingData>(), &TrainingData::ByteSizeLong,
              &TrainingData::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(TrainingData, _impl_._cached_size_),
          true,
      },
      "segmentation_platform.proto.TrainingData",
  };
}
struct TrainingDataGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr TrainingDataGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 TrainingData_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(TrainingData::InternalGenerateClassData_(
            _default, &TrainingData_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<TrainingData>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~TrainingDataGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) TrainingData _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<TrainingData>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(TrainingDataGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST TrainingDataGlobalsTypeInternal TrainingData_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* TrainingData_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return TrainingData_globals_.GetClassData();
#else
  return TrainingData_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
class LegacyPredictionResultForTesting::_Internal {
 public:
  using HasBits = decltype(::std::declval<LegacyPredictionResultForTesting>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(LegacyPredictionResultForTesting, _impl_._has_bits_);
};

constexpr LegacyPredictionResultForTesting::ParseTableT_ LegacyPredictionResultForTesting::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(LegacyPredictionResultForTesting, _impl_._has_bits_),
      0, // no _extensions_
      2, 8,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967292,  // skipmap
      offsetof(ParseTableT_, field_entries),
      2,  // num_field_entries
      0,  // num_aux_entries
      offsetof(ParseTableT_, field_names),  // no aux_entries
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::segmentation_platform::proto::LegacyPredictionResultForTesting>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional int64 timestamp_us = 2;
      {::_pbi::TcParser::FastV64S1,
       {16, 0, 0,
        PROTOBUF_FIELD_OFFSET(LegacyPredictionResultForTesting, _impl_.timestamp_us_)}},
      // optional float result = 1;
      {::_pbi::TcParser::FastF32S1,
       {13, 1, 0,
        PROTOBUF_FIELD_OFFSET(LegacyPredictionResultForTesting, _impl_.result_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional float result = 1;
      {PROTOBUF_FIELD_OFFSET(LegacyPredictionResultForTesting, _impl_.result_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kFloat)},
      // optional int64 timestamp_us = 2;
      {PROTOBUF_FIELD_OFFSET(LegacyPredictionResultForTesting, _impl_.timestamp_us_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr LegacyPredictionResultForTesting::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        timestamp_us_{::int64_t{0}},
        result_{0} {}

template <typename>
constexpr LegacyPredictionResultForTesting::LegacyPredictionResultForTesting(::_pbi::ConstantInitialized,
                       const ::_pbi::ClassData* PROTOBUF_NONNULL class_data)
    : ::google::protobuf::MessageLite(
#if defined(PROTOBUF_CUSTOM_VTABLE)
          class_data
#endif  // PROTOBUF_CUSTOM_VTABLE
          ),
      _impl_(internal_visibility(), ::_pbi::ConstantInitialized()) {
}
inline void* PROTOBUF_NONNULL LegacyPredictionResultForTesting::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) LegacyPredictionResultForTesting(arena);
}
constexpr auto LegacyPredictionResultForTesting::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(LegacyPredictionResultForTesting), alignof(LegacyPredictionResultForTesting));
}
constexpr auto LegacyPredictionResultForTesting::InternalGenerateClassData_(
    const MessageLite& prototype,
    const ::google::protobuf::internal::TcParseTableBase* tc_table) {
  return ::google::protobuf::internal::ClassDataLite{
      {
          &prototype,
#ifndef PROTOBUF_MESSAGE_GLOBALS
          &_table_.header,
#else
          tc_table,
#endif
          nullptr,  // IsInitialized
          &LegacyPredictionResultForTesting::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<LegacyPredictionResultForTesting>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &LegacyPredictionResultForTesting::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<LegacyPredictionResultForTesting>(), &LegacyPredictionResultForTesting::ByteSizeLong,
              &LegacyPredictionResultForTesting::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(LegacyPredictionResultForTesting, _impl_._cached_size_),
          true,
      },
      "segmentation_platform.proto.LegacyPredictionResultForTesting",
  };
}
struct LegacyPredictionResultForTestingGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr LegacyPredictionResultForTestingGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 LegacyPredictionResultForTesting_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(LegacyPredictionResultForTesting::InternalGenerateClassData_(
            _default, &LegacyPredictionResultForTesting_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<LegacyPredictionResultForTesting>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~LegacyPredictionResultForTestingGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) LegacyPredictionResultForTesting _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<LegacyPredictionResultForTesting>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(LegacyPredictionResultForTestingGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST LegacyPredictionResultForTestingGlobalsTypeInternal LegacyPredictionResultForTesting_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* LegacyPredictionResultForTesting_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return LegacyPredictionResultForTesting_globals_.GetClassData();
#else
  return LegacyPredictionResultForTesting_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
class SegmentInfo::_Internal {
 public:
  using HasBits = decltype(::std::declval<SegmentInfo>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(SegmentInfo, _impl_._has_bits_);
};

constexpr SegmentInfo::ParseTableT_ SegmentInfo::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(SegmentInfo, _impl_._has_bits_),
      0, // no _extensions_
      7, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967168,  // skipmap
      offsetof(ParseTableT_, field_entries),
      7,  // num_field_entries
      5,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::segmentation_platform::proto::SegmentInfo>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional .segmentation_platform.proto.SegmentId segment_id = 1;
      {::_pbi::TcParser::FastEvS1,
       {8, 3, 3,
        PROTOBUF_FIELD_OFFSET(SegmentInfo, _impl_.segment_id_)}},
      // optional .segmentation_platform.proto.SegmentationModelMetadata model_metadata = 2;
      {::_pbi::TcParser::FastMtS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(SegmentInfo, _impl_.model_metadata_)}},
      // optional .segmentation_platform.proto.PredictionResult prediction_result = 3;
      {::_pbi::TcParser::FastMtS1,
       {26, 2, 1,
        PROTOBUF_FIELD_OFFSET(SegmentInfo, _impl_.prediction_result_)}},
      // optional int64 model_version = 4;
      {::_pbi::TcParser::FastV64S1,
       {32, 5, 0,
        PROTOBUF_FIELD_OFFSET(SegmentInfo, _impl_.model_version_)}},
      // optional int64 model_update_time_s = 5;
      {::_pbi::TcParser::FastV64S1,
       {40, 6, 0,
        PROTOBUF_FIELD_OFFSET(SegmentInfo, _impl_.model_update_time_s_)}},
      // optional .segmentation_platform.proto.ModelSource model_source = 6;
      {::_pbi::TcParser::FastEr0S1,
       {48, 4, 2,
        PROTOBUF_FIELD_OFFSET(SegmentInfo, _impl_.model_source_)}},
      // repeated .segmentation_platform.proto.TrainingData training_data = 7;
      {::_pbi::TcParser::FastMtR1,
       {58, 0, 2,
        PROTOBUF_FIELD_OFFSET(SegmentInfo, _impl_.training_data_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional .segmentation_platform.proto.SegmentId segment_id = 1;
      {PROTOBUF_FIELD_OFFSET(SegmentInfo, _impl_.segment_id_), _Internal::kHasBitsOffset + 3, 3, (0 | ::_fl::kFcOptional | ::_fl::kEnum)},
      // optional .segmentation_platform.proto.SegmentationModelMetadata model_metadata = 2;
      {PROTOBUF_FIELD_OFFSET(SegmentInfo, _impl_.model_metadata_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional .segmentation_platform.proto.PredictionResult prediction_result = 3;
      {PROTOBUF_FIELD_OFFSET(SegmentInfo, _impl_.prediction_result_), _Internal::kHasBitsOffset + 2, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional int64 model_version = 4;
      {PROTOBUF_FIELD_OFFSET(SegmentInfo, _impl_.model_version_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // optional int64 model_update_time_s = 5;
      {PROTOBUF_FIELD_OFFSET(SegmentInfo, _impl_.model_update_time_s_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // optional .segmentation_platform.proto.ModelSource model_source = 6;
      {PROTOBUF_FIELD_OFFSET(SegmentInfo, _impl_.model_source_), _Internal::kHasBitsOffset + 4, 4, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // repeated .segmentation_platform.proto.TrainingData training_data = 7;
      {PROTOBUF_FIELD_OFFSET(SegmentInfo, _impl_.training_data_), _Internal::kHasBitsOffset + 0, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::segmentation_platform::proto::SegmentationModelMetadata>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::segmentation_platform::proto::SegmentationModelMetadata_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::segmentation_platform::proto::PredictionResult>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::segmentation_platform::proto::PredictionResult_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::segmentation_platform::proto::TrainingData>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::segmentation_platform::proto::TrainingData_globals_},
        #endif
        {::_pbi::FieldAuxEnumData{}, ::segmentation_platform::proto::SegmentId_internal_data_},
        {0, 2},
    }},
    {{
    }},
  };
}


inline constexpr SegmentInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        training_data_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::segmentation_platform::proto::SegmentInfo,
            PROTOBUF_FIELD_OFFSET(::segmentation_platform::proto::SegmentInfo, _impl_.training_data_)>()
         }
        ,
        model_metadata_{nullptr},
        prediction_result_{nullptr},
        segment_id_{static_cast< ::segmentation_platform::proto::SegmentId >(0)},
        model_source_{static_cast< ::segmentation_platform::proto::ModelSource >(0)},
        model_version_{::int64_t{0}},
        model_update_time_s_{::int64_t{0}} {}

template <typename>
constexpr SegmentInfo::SegmentInfo(::_pbi::ConstantInitialized,
                       const ::_pbi::ClassData* PROTOBUF_NONNULL class_data)
    : ::google::protobuf::MessageLite(
#if defined(PROTOBUF_CUSTOM_VTABLE)
          class_data
#endif  // PROTOBUF_CUSTOM_VTABLE
          ),
      _impl_(internal_visibility(), ::_pbi::ConstantInitialized()) {
}
inline void* PROTOBUF_NONNULL SegmentInfo::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) SegmentInfo(arena);
}
constexpr auto SegmentInfo::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(SegmentInfo), alignof(SegmentInfo));
}
constexpr auto SegmentInfo::InternalGenerateClassData_(
    const MessageLite& prototype,
    const ::google::protobuf::internal::TcParseTableBase* tc_table) {
  return ::google::protobuf::internal::ClassDataLite{
      {
          &prototype,
#ifndef PROTOBUF_MESSAGE_GLOBALS
          &_table_.header,
#else
          tc_table,
#endif
          nullptr,  // IsInitialized
          &SegmentInfo::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<SegmentInfo>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &SegmentInfo::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<SegmentInfo>(), &SegmentInfo::ByteSizeLong,
              &SegmentInfo::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(SegmentInfo, _impl_._cached_size_),
          true,
      },
      "segmentation_platform.proto.SegmentInfo",
  };
}
struct SegmentInfoGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr SegmentInfoGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 SegmentInfo_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(SegmentInfo::InternalGenerateClassData_(
            _default, &SegmentInfo_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<SegmentInfo>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~SegmentInfoGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) SegmentInfo _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<SegmentInfo>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(SegmentInfoGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST SegmentInfoGlobalsTypeInternal SegmentInfo_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* SegmentInfo_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return SegmentInfo_globals_.GetClassData();
#else
  return SegmentInfo_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace proto
}  // namespace segmentation_platform
namespace segmentation_platform {
namespace proto {
// ===================================================================

TrainingData::TrainingData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, TrainingData_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:segmentation_platform.proto.TrainingData)
}
PROTOBUF_NDEBUG_INLINE TrainingData::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::segmentation_platform::proto::TrainingData& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        inputs_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::segmentation_platform::proto::TrainingData,
              PROTOBUF_FIELD_OFFSET(::segmentation_platform::proto::TrainingData, _impl_.inputs_)>()
          , from.inputs_
        }
     {}

TrainingData::TrainingData(
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
    const TrainingData& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, TrainingData_get_class_data()) {

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  TrainingData* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  ::memcpy(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, decision_timestamp_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, decision_timestamp_),
           offsetof(Impl_, observation_trigger_timestamp_) -
               offsetof(Impl_, decision_timestamp_) +
               sizeof(Impl_::observation_trigger_timestamp_));

  // @@protoc_insertion_point(copy_constructor:segmentation_platform.proto.TrainingData)
}
PROTOBUF_NDEBUG_INLINE TrainingData::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        inputs_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::segmentation_platform::proto::TrainingData,
            PROTOBUF_FIELD_OFFSET(::segmentation_platform::proto::TrainingData, _impl_.inputs_)>()
         }
     {}

inline void TrainingData::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, decision_timestamp_),
           0,
           offsetof(Impl_, observation_trigger_timestamp_) -
               offsetof(Impl_, decision_timestamp_) +
               sizeof(Impl_::observation_trigger_timestamp_));
}
TrainingData::~TrainingData() {
  // @@protoc_insertion_point(destructor:segmentation_platform.proto.TrainingData)
  SharedDtor(*this);
}
inline void TrainingData::SharedDtor(MessageLite& self) {
  TrainingData& this_ = static_cast<TrainingData&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite TrainingData_class_data_ =
    TrainingData::InternalGenerateClassData_(TrainingData_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
TrainingData::GetClassData() const {
  return TrainingData_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
TrainingData::GetClassData() const {
  return TrainingData_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const TrainingData::ParseTableT_
    TrainingData::_table_ =
        TrainingData::InternalGenerateParseTable_(TrainingData_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void TrainingData::Clear() {
// @@protoc_insertion_point(message_clear_start:segmentation_platform.proto.TrainingData)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _impl_._has_bits_[0];
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    _impl_.inputs_.Clear();
  }
  if (BatchCheckHasBit(cached_has_bits, 0x0000000eU)) {
    ::memset(&_impl_.decision_timestamp_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.observation_trigger_timestamp_) -
        reinterpret_cast<char*>(&_impl_.decision_timestamp_)) + sizeof(_impl_.observation_trigger_timestamp_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* PROTOBUF_NONNULL TrainingData::_InternalSerialize(
    const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
  const TrainingData& this_ = static_cast<const TrainingData&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::uint8_t* PROTOBUF_NONNULL TrainingData::_InternalSerialize(
    ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
  const TrainingData& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(serialize_to_array_start:segmentation_platform.proto.TrainingData)
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = this_._impl_._has_bits_[0];
  // repeated float inputs = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (int i = 0, n = this_._internal_inputs_size(); i < n; ++i) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteFloatToArray(
          1, this_._internal_inputs().Get(i), target);
    }
  }

  // optional int64 decision_timestamp = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<2>(
            stream, this_._internal_decision_timestamp(), target);
  }

  // optional int64 request_id = 3;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<3>(
            stream, this_._internal_request_id(), target);
  }

  // optional int64 observation_trigger_timestamp = 4;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<4>(
            stream, this_._internal_observation_trigger_timestamp(), target);
  }

  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    target = stream->WriteRaw(
        this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
        static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:segmentation_platform.proto.TrainingData)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t TrainingData::ByteSizeLong(const MessageLite& base) {
  const TrainingData& this_ = static_cast<const TrainingData&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t TrainingData::ByteSizeLong() const {
  const TrainingData& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:segmentation_platform.proto.TrainingData)
  ::size_t total_size = 0;

  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void)cached_has_bits;

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
    // repeated float inputs = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      ::size_t data_size = ::size_t{4} *
          ::_pbi::FromIntSize(this_._internal_inputs_size());
      ::size_t tag_size = ::size_t{1} *
          ::_pbi::FromIntSize(this_._internal_inputs_size());
      total_size += tag_size + data_size;
    }
    // optional int64 decision_timestamp = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_decision_timestamp());
    }
    // optional int64 request_id = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_request_id());
    }
    // optional int64 observation_trigger_timestamp = 4;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_observation_trigger_timestamp());
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void TrainingData::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<TrainingData*>(&to_msg);
  auto& from = static_cast<const TrainingData&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:segmentation_platform.proto.TrainingData)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_mutable_inputs()->MergeFrom(from._internal_inputs());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.decision_timestamp_ = from._impl_.decision_timestamp_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.request_id_ = from._impl_.request_id_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_impl_.observation_trigger_timestamp_ = from._impl_.observation_trigger_timestamp_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

void TrainingData::CopyFrom(const TrainingData& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:segmentation_platform.proto.TrainingData)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


void TrainingData::InternalSwap(TrainingData* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  _impl_.inputs_.InternalSwap(&other->_impl_.inputs_);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(TrainingData, _impl_.observation_trigger_timestamp_)
      + sizeof(TrainingData::_impl_.observation_trigger_timestamp_)
      - PROTOBUF_FIELD_OFFSET(TrainingData, _impl_.decision_timestamp_)>(
          reinterpret_cast<char*>(&_impl_.decision_timestamp_),
          reinterpret_cast<char*>(&other->_impl_.decision_timestamp_));
}

// ===================================================================

void SegmentInfo::clear_model_metadata() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.model_metadata_ != nullptr) _impl_.model_metadata_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
void SegmentInfo::clear_prediction_result() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.prediction_result_ != nullptr) _impl_.prediction_result_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
SegmentInfo::SegmentInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, SegmentInfo_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:segmentation_platform.proto.SegmentInfo)
}
PROTOBUF_NDEBUG_INLINE SegmentInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::segmentation_platform::proto::SegmentInfo& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        training_data_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::segmentation_platform::proto::SegmentInfo,
              PROTOBUF_FIELD_OFFSET(::segmentation_platform::proto::SegmentInfo, _impl_.training_data_)>()
          , from.training_data_
        }
     {}

SegmentInfo::SegmentInfo(
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
    const SegmentInfo& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, SegmentInfo_get_class_data()) {

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SegmentInfo* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  ::uint32_t cached_has_bits = _impl_._has_bits_[0];
  _impl_.model_metadata_ = (CheckHasBit(cached_has_bits, 0x00000002U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.model_metadata_)
                : nullptr;
  _impl_.prediction_result_ = (CheckHasBit(cached_has_bits, 0x00000004U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.prediction_result_)
                : nullptr;
  ::memcpy(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, segment_id_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, segment_id_),
           offsetof(Impl_, model_update_time_s_) -
               offsetof(Impl_, segment_id_) +
               sizeof(Impl_::model_update_time_s_));

  // @@protoc_insertion_point(copy_constructor:segmentation_platform.proto.SegmentInfo)
}
PROTOBUF_NDEBUG_INLINE SegmentInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        training_data_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::segmentation_platform::proto::SegmentInfo,
            PROTOBUF_FIELD_OFFSET(::segmentation_platform::proto::SegmentInfo, _impl_.training_data_)>()
         }
     {}

inline void SegmentInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, model_metadata_),
           0,
           offsetof(Impl_, model_update_time_s_) -
               offsetof(Impl_, model_metadata_) +
               sizeof(Impl_::model_update_time_s_));
}
SegmentInfo::~SegmentInfo() {
  // @@protoc_insertion_point(destructor:segmentation_platform.proto.SegmentInfo)
  SharedDtor(*this);
}
inline void SegmentInfo::SharedDtor(MessageLite& self) {
  SegmentInfo& this_ = static_cast<SegmentInfo&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  delete this_._impl_.model_metadata_;
  delete this_._impl_.prediction_result_;
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite SegmentInfo_class_data_ =
    SegmentInfo::InternalGenerateClassData_(SegmentInfo_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SegmentInfo::GetClassData() const {
  return SegmentInfo_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SegmentInfo::GetClassData() const {
  return SegmentInfo_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const SegmentInfo::ParseTableT_
    SegmentInfo::_table_ =
        SegmentInfo::InternalGenerateParseTable_(SegmentInfo_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void SegmentInfo::Clear() {
// @@protoc_insertion_point(message_clear_start:segmentation_platform.proto.SegmentInfo)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.training_data_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(_impl_.model_metadata_ != nullptr);
      _impl_.model_metadata_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(_impl_.prediction_result_ != nullptr);
      _impl_.prediction_result_->Clear();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000078U)) {
    ::memset(&_impl_.segment_id_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.model_update_time_s_) -
        reinterpret_cast<char*>(&_impl_.segment_id_)) + sizeof(_impl_.model_update_time_s_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* PROTOBUF_NONNULL SegmentInfo::_InternalSerialize(
    const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
  const SegmentInfo& this_ = static_cast<const SegmentInfo&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::uint8_t* PROTOBUF_NONNULL SegmentInfo::_InternalSerialize(
    ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
  const SegmentInfo& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(serialize_to_array_start:segmentation_platform.proto.SegmentInfo)
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional .segmentation_platform.proto.SegmentId segment_id = 1;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        1, this_._internal_segment_id(), target);
  }

  // optional .segmentation_platform.proto.SegmentationModelMetadata model_metadata = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        2, *this_._impl_.model_metadata_, this_._impl_.model_metadata_->GetCachedSize(), target,
        stream);
  }

  // optional .segmentation_platform.proto.PredictionResult prediction_result = 3;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        3, *this_._impl_.prediction_result_, this_._impl_.prediction_result_->GetCachedSize(), target,
        stream);
  }

  // optional int64 model_version = 4;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<4>(
            stream, this_._internal_model_version(), target);
  }

  // optional int64 model_update_time_s = 5;
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<5>(
            stream, this_._internal_model_update_time_s(), target);
  }

  // optional .segmentation_platform.proto.ModelSource model_source = 6;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        6, this_._internal_model_source(), target);
  }

  // repeated .segmentation_platform.proto.TrainingData training_data = 7;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_training_data_size());
         i < n; i++) {
      const auto& repfield = this_._internal_training_data().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              7, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    target = stream->WriteRaw(
        this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
        static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:segmentation_platform.proto.SegmentInfo)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t SegmentInfo::ByteSizeLong(const MessageLite& base) {
  const SegmentInfo& this_ = static_cast<const SegmentInfo&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t SegmentInfo::ByteSizeLong() const {
  const SegmentInfo& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:segmentation_platform.proto.SegmentInfo)
  ::size_t total_size = 0;

  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void)cached_has_bits;

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000007fU)) {
    // repeated .segmentation_platform.proto.TrainingData training_data = 7;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1UL * this_._internal_training_data_size();
      for (const auto& msg : this_._internal_training_data()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // optional .segmentation_platform.proto.SegmentationModelMetadata model_metadata = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.model_metadata_);
    }
    // optional .segmentation_platform.proto.PredictionResult prediction_result = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.prediction_result_);
    }
    // optional .segmentation_platform.proto.SegmentId segment_id = 1;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_segment_id());
    }
    // optional .segmentation_platform.proto.ModelSource model_source = 6;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_model_source());
    }
    // optional int64 model_version = 4;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_model_version());
    }
    // optional int64 model_update_time_s = 5;
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_model_update_time_s());
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void SegmentInfo::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<SegmentInfo*>(&to_msg);
  auto& from = static_cast<const SegmentInfo&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:segmentation_platform.proto.SegmentInfo)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000007fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_mutable_training_data()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_training_data());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(from._impl_.model_metadata_ != nullptr);
      if (_this->_impl_.model_metadata_ == nullptr) {
        _this->_impl_.model_metadata_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.model_metadata_);
      } else {
        _this->_impl_.model_metadata_->MergeFrom(*from._impl_.model_metadata_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(from._impl_.prediction_result_ != nullptr);
      if (_this->_impl_.prediction_result_ == nullptr) {
        _this->_impl_.prediction_result_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.prediction_result_);
      } else {
        _this->_impl_.prediction_result_->MergeFrom(*from._impl_.prediction_result_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_impl_.segment_id_ = from._impl_.segment_id_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_impl_.model_source_ = from._impl_.model_source_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_impl_.model_version_ = from._impl_.model_version_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _this->_impl_.model_update_time_s_ = from._impl_.model_update_time_s_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

void SegmentInfo::CopyFrom(const SegmentInfo& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:segmentation_platform.proto.SegmentInfo)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


void SegmentInfo::InternalSwap(SegmentInfo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  _impl_.training_data_.InternalSwap(&other->_impl_.training_data_);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(SegmentInfo, _impl_.model_update_time_s_)
      + sizeof(SegmentInfo::_impl_.model_update_time_s_)
      - PROTOBUF_FIELD_OFFSET(SegmentInfo, _impl_.model_metadata_)>(
          reinterpret_cast<char*>(&_impl_.model_metadata_),
          reinterpret_cast<char*>(&other->_impl_.model_metadata_));
}

// ===================================================================

LegacyPredictionResultForTesting::LegacyPredictionResultForTesting(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, LegacyPredictionResultForTesting_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:segmentation_platform.proto.LegacyPredictionResultForTesting)
}
LegacyPredictionResultForTesting::LegacyPredictionResultForTesting(
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const LegacyPredictionResultForTesting& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, LegacyPredictionResultForTesting_get_class_data()),
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena),
#endif  // PROTOBUF_CUSTOM_VTABLE
      _impl_(from._impl_) {
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}
PROTOBUF_NDEBUG_INLINE LegacyPredictionResultForTesting::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0} {}

inline void LegacyPredictionResultForTesting::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, timestamp_us_),
           0,
           offsetof(Impl_, result_) -
               offsetof(Impl_, timestamp_us_) +
               sizeof(Impl_::result_));
}
LegacyPredictionResultForTesting::~LegacyPredictionResultForTesting() {
  // @@protoc_insertion_point(destructor:segmentation_platform.proto.LegacyPredictionResultForTesting)
  SharedDtor(*this);
}
inline void LegacyPredictionResultForTesting::SharedDtor(MessageLite& self) {
  LegacyPredictionResultForTesting& this_ = static_cast<LegacyPredictionResultForTesting&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite LegacyPredictionResultForTesting_class_data_ =
    LegacyPredictionResultForTesting::InternalGenerateClassData_(LegacyPredictionResultForTesting_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
LegacyPredictionResultForTesting::GetClassData() const {
  return LegacyPredictionResultForTesting_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
LegacyPredictionResultForTesting::GetClassData() const {
  return LegacyPredictionResultForTesting_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const LegacyPredictionResultForTesting::ParseTableT_
    LegacyPredictionResultForTesting::_table_ =
        LegacyPredictionResultForTesting::InternalGenerateParseTable_(LegacyPredictionResultForTesting_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void LegacyPredictionResultForTesting::Clear() {
// @@protoc_insertion_point(message_clear_start:segmentation_platform.proto.LegacyPredictionResultForTesting)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    ::memset(&_impl_.timestamp_us_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.result_) -
        reinterpret_cast<char*>(&_impl_.timestamp_us_)) + sizeof(_impl_.result_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* PROTOBUF_NONNULL LegacyPredictionResultForTesting::_InternalSerialize(
    const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
  const LegacyPredictionResultForTesting& this_ = static_cast<const LegacyPredictionResultForTesting&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::uint8_t* PROTOBUF_NONNULL LegacyPredictionResultForTesting::_InternalSerialize(
    ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
  const LegacyPredictionResultForTesting& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(serialize_to_array_start:segmentation_platform.proto.LegacyPredictionResultForTesting)
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional float result = 1;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteFloatToArray(
        1, this_._internal_result(), target);
  }

  // optional int64 timestamp_us = 2;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<2>(
            stream, this_._internal_timestamp_us(), target);
  }

  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    target = stream->WriteRaw(
        this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
        static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:segmentation_platform.proto.LegacyPredictionResultForTesting)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t LegacyPredictionResultForTesting::ByteSizeLong(const MessageLite& base) {
  const LegacyPredictionResultForTesting& this_ = static_cast<const LegacyPredictionResultForTesting&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t LegacyPredictionResultForTesting::ByteSizeLong() const {
  const LegacyPredictionResultForTesting& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:segmentation_platform.proto.LegacyPredictionResultForTesting)
  ::size_t total_size = 0;

  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void)cached_has_bits;

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  total_size += static_cast<bool>(0x00000002U & cached_has_bits) * 5;
   {
    // optional int64 timestamp_us = 2;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_timestamp_us());
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void LegacyPredictionResultForTesting::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<LegacyPredictionResultForTesting*>(&to_msg);
  auto& from = static_cast<const LegacyPredictionResultForTesting&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:segmentation_platform.proto.LegacyPredictionResultForTesting)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_impl_.timestamp_us_ = from._impl_.timestamp_us_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.result_ = from._impl_.result_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

void LegacyPredictionResultForTesting::CopyFrom(const LegacyPredictionResultForTesting& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:segmentation_platform.proto.LegacyPredictionResultForTesting)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


void LegacyPredictionResultForTesting::InternalSwap(LegacyPredictionResultForTesting* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(LegacyPredictionResultForTesting, _impl_.result_)
      + sizeof(LegacyPredictionResultForTesting::_impl_.result_)
      - PROTOBUF_FIELD_OFFSET(LegacyPredictionResultForTesting, _impl_.timestamp_us_)>(
          reinterpret_cast<char*>(&_impl_.timestamp_us_),
          reinterpret_cast<char*>(&other->_impl_.timestamp_us_));
}

// @@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"
