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

#ifndef components_2fsegmentation_5fplatform_2finternal_2fproto_2fclient_5fresults_2eproto_2epb_2eh
#define components_2fsegmentation_5fplatform_2finternal_2fproto_2fclient_5fresults_2eproto_2epb_2eh

#include <limits>
#include <string>
#include <type_traits>
#include <utility>

// clang-format off
#include "google/protobuf/runtime_version.h"
#if PROTOBUF_VERSION != 7035001
#error "Protobuf C++ gencode is built with an incompatible version of"
#error "Protobuf C++ headers/runtime. See"
#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
#endif
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/arena.h"
#include "google/protobuf/arenastring.h"
#include "google/protobuf/generated_message_tctable_decl.h"
#include "google/protobuf/generated_message_util.h"
#include "google/protobuf/metadata_lite.h"
#include "google/protobuf/message_lite.h"
#include "google/protobuf/repeated_field.h"  // IWYU pragma: export
#include "google/protobuf/extension_set.h"  // IWYU pragma: export
#include "google/protobuf/map.h"  // IWYU pragma: export
#include "google/protobuf/map_type_handler.h"  // IWYU pragma: export
#include "google/protobuf/map_field_lite.h"
#include "components/segmentation_platform/public/proto/prediction_result.pb.h"
// @@protoc_insertion_point(includes)

// Must be included last.
#include "google/protobuf/port_def.inc"

#define PROTOBUF_INTERNAL_EXPORT_components_2fsegmentation_5fplatform_2finternal_2fproto_2fclient_5fresults_2eproto

namespace google {
namespace protobuf {
namespace internal {
template <typename T>
::absl::string_view GetAnyMessageName();
}  // namespace internal
}  // namespace protobuf
}  // namespace google

// Internal implementation detail -- do not use these members.
struct TableStruct_components_2fsegmentation_5fplatform_2finternal_2fproto_2fclient_5fresults_2eproto {
  static const ::uint32_t offsets[];
};
namespace segmentation_platform {
namespace proto {
class ClientResult;
struct ClientResultGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern ClientResultGlobalsTypeInternal ClientResult_globals_;
extern const ::google::protobuf::internal::ClassDataLite ClientResult_class_data_;
#else
extern const ClientResultGlobalsTypeInternal ClientResult_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class ClientResults;
struct ClientResultsGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern ClientResultsGlobalsTypeInternal ClientResults_globals_;
extern const ::google::protobuf::internal::ClassDataLite ClientResults_class_data_;
#else
extern const ClientResultsGlobalsTypeInternal ClientResults_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
}  // namespace proto
}  // namespace segmentation_platform
namespace google {
namespace protobuf {
}  // namespace protobuf
}  // namespace google

namespace segmentation_platform {
namespace proto {

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


// -------------------------------------------------------------------

class  ClientResult final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:segmentation_platform.proto.ClientResult) */ {
 public:
  inline ClientResult() : ClientResult(nullptr) {}
  ~ClientResult() PROTOBUF_FINAL;

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(ClientResult* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(ClientResult));
  }
#endif

  template <typename = void>
  explicit constexpr ClientResult(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline ClientResult(const ClientResult& from) : ClientResult(nullptr, from) {}
  inline ClientResult(ClientResult&& from) noexcept : ClientResult(nullptr, ::std::move(from)) {}
  inline ClientResult& operator=(const ClientResult& from) {
    CopyFrom(from);
    return *this;
  }
  inline ClientResult& operator=(ClientResult&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const ClientResult& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<ClientResult>(&ClientResult_globals_);
  }
  static constexpr int kIndexInFileMessages = 0;
  friend void swap(ClientResult& a, ClientResult& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(ClientResult* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(ClientResult* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  ClientResult* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<ClientResult>(arena);
  }
  void CopyFrom(const ClientResult& from);
  void MergeFrom(const ClientResult& from) { ClientResult::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return true;
  }
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  #if defined(PROTOBUF_CUSTOM_VTABLE)
  private:
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);

  public:
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
    return _InternalSerialize(*this, target, stream);
  }
  #else   // PROTOBUF_CUSTOM_VTABLE
  ::size_t ByteSizeLong() const final;
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(ClientResult* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "segmentation_platform.proto.ClientResult"; }

  explicit ClientResult(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  ClientResult(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ClientResult& from);
  ClientResult(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ClientResult&& from) noexcept
      : ClientResult(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------
  enum : int {
    kClientResultFieldNumber = 1,
    kTimestampUsFieldNumber = 2,
    kFirstUsedTimestampFieldNumber = 3,
  };
  // optional .segmentation_platform.proto.PredictionResult client_result = 1;
  bool has_client_result()
      const;
  void clear_client_result() ;
  const ::segmentation_platform::proto::PredictionResult& client_result() const;
  ::segmentation_platform::proto::PredictionResult* PROTOBUF_NULLABLE release_client_result();
  ::segmentation_platform::proto::PredictionResult* PROTOBUF_NONNULL mutable_client_result();
  void set_allocated_client_result(::segmentation_platform::proto::PredictionResult* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_client_result(::segmentation_platform::proto::PredictionResult* PROTOBUF_NULLABLE value);
  ::segmentation_platform::proto::PredictionResult* PROTOBUF_NULLABLE unsafe_arena_release_client_result();

  private:
  const ::segmentation_platform::proto::PredictionResult& _internal_client_result() const;
  ::segmentation_platform::proto::PredictionResult* PROTOBUF_NONNULL _internal_mutable_client_result();

  public:
  // optional int64 timestamp_us = 2;
  bool has_timestamp_us()
      const;
  void clear_timestamp_us() ;
  ::int64_t timestamp_us() const;
  void set_timestamp_us(::int64_t value);

  private:
  ::int64_t _internal_timestamp_us() const;
  void _internal_set_timestamp_us(::int64_t value);

  public:
  // optional int64 first_used_timestamp = 3;
  bool has_first_used_timestamp()
      const;
  void clear_first_used_timestamp() ;
  ::int64_t first_used_timestamp() const;
  void set_first_used_timestamp(::int64_t value);

  private:
  ::int64_t _internal_first_used_timestamp() const;
  void _internal_set_first_used_timestamp(::int64_t value);

  public:
  // @@protoc_insertion_point(class_scope:segmentation_platform.proto.ClientResult)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<2, 3,
                          1, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const ClientResult& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::segmentation_platform::proto::PredictionResult* PROTOBUF_NULLABLE client_result_;
    ::int64_t timestamp_us_;
    ::int64_t first_used_timestamp_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_components_2fsegmentation_5fplatform_2finternal_2fproto_2fclient_5fresults_2eproto;
};
// -------------------------------------------------------------------

// -------------------------------------------------------------------

class  ClientResults final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:segmentation_platform.proto.ClientResults) */ {
 public:
  inline ClientResults() : ClientResults(nullptr) {}
  ~ClientResults() PROTOBUF_FINAL;

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(ClientResults* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(ClientResults));
  }
#endif

  template <typename = void>
  explicit constexpr ClientResults(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline ClientResults(const ClientResults& from) : ClientResults(nullptr, from) {}
  inline ClientResults(ClientResults&& from) noexcept : ClientResults(nullptr, ::std::move(from)) {}
  inline ClientResults& operator=(const ClientResults& from) {
    CopyFrom(from);
    return *this;
  }
  inline ClientResults& operator=(ClientResults&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const ClientResults& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<ClientResults>(&ClientResults_globals_);
  }
  static constexpr int kIndexInFileMessages = 2;
  friend void swap(ClientResults& a, ClientResults& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(ClientResults* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(ClientResults* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  ClientResults* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<ClientResults>(arena);
  }
  void CopyFrom(const ClientResults& from);
  void MergeFrom(const ClientResults& from) { ClientResults::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return true;
  }
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  #if defined(PROTOBUF_CUSTOM_VTABLE)
  private:
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);

  public:
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
    return _InternalSerialize(*this, target, stream);
  }
  #else   // PROTOBUF_CUSTOM_VTABLE
  ::size_t ByteSizeLong() const final;
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(ClientResults* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "segmentation_platform.proto.ClientResults"; }

  explicit ClientResults(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  ClientResults(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ClientResults& from);
  ClientResults(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ClientResults&& from) noexcept
      : ClientResults(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------
  enum : int {
    kClientResultMapFieldNumber = 1,
  };
  // map<string, .segmentation_platform.proto.ClientResult> client_result_map = 1;
  int client_result_map_size()
      const;
  private:
  int _internal_client_result_map_size() const;

  public:
  void clear_client_result_map() ;
  const ::google::protobuf::Map<::std::string, ::segmentation_platform::proto::ClientResult>& client_result_map() const;
  ::google::protobuf::Map<::std::string, ::segmentation_platform::proto::ClientResult>* PROTOBUF_NONNULL mutable_client_result_map();

  private:
  const ::google::protobuf::Map<::std::string, ::segmentation_platform::proto::ClientResult>& _internal_client_result_map() const;
  ::google::protobuf::Map<::std::string, ::segmentation_platform::proto::ClientResult>* PROTOBUF_NONNULL _internal_mutable_client_result_map();

  public:
  // @@protoc_insertion_point(class_scope:segmentation_platform.proto.ClientResults)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<0, 1,
                          2, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const ClientResults& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::internal::MapFieldLite<::std::string, ::segmentation_platform::proto::ClientResult> client_result_map_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_components_2fsegmentation_5fplatform_2finternal_2fproto_2fclient_5fresults_2eproto;
};

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




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


#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif  // __GNUC__
// -------------------------------------------------------------------

// ClientResult

// optional .segmentation_platform.proto.PredictionResult client_result = 1;
inline bool ClientResult::has_client_result() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  PROTOBUF_ASSUME(!value || _impl_.client_result_ != nullptr);
  return value;
}
inline const ::segmentation_platform::proto::PredictionResult& ClientResult::_internal_client_result() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::segmentation_platform::proto::PredictionResult* p = _impl_.client_result_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::segmentation_platform::proto::PredictionResult>(&::segmentation_platform::proto::PredictionResult_globals_);
}
inline const ::segmentation_platform::proto::PredictionResult& ClientResult::client_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:segmentation_platform.proto.ClientResult.client_result)
  return _internal_client_result();
}
inline void ClientResult::unsafe_arena_set_allocated_client_result(
    ::segmentation_platform::proto::PredictionResult* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.client_result_);
  }
  _impl_.client_result_ = reinterpret_cast<::segmentation_platform::proto::PredictionResult*>(value);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:segmentation_platform.proto.ClientResult.client_result)
}
inline ::segmentation_platform::proto::PredictionResult* PROTOBUF_NULLABLE ClientResult::release_client_result() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::segmentation_platform::proto::PredictionResult* released = _impl_.client_result_;
  _impl_.client_result_ = nullptr;
  if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
    auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
    released = ::google::protobuf::internal::DuplicateIfNonNull(released);
    if (GetArena() == nullptr) {
      delete old;
    }
  } else {
    if (GetArena() != nullptr) {
      released = ::google::protobuf::internal::DuplicateIfNonNull(released);
    }
  }
  return released;
}
inline ::segmentation_platform::proto::PredictionResult* PROTOBUF_NULLABLE ClientResult::unsafe_arena_release_client_result() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:segmentation_platform.proto.ClientResult.client_result)

  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::segmentation_platform::proto::PredictionResult* temp = _impl_.client_result_;
  _impl_.client_result_ = nullptr;
  return temp;
}
inline ::segmentation_platform::proto::PredictionResult* PROTOBUF_NONNULL ClientResult::_internal_mutable_client_result() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.client_result_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::segmentation_platform::proto::PredictionResult>(GetArena());
    _impl_.client_result_ = reinterpret_cast<::segmentation_platform::proto::PredictionResult*>(p);
  }
  return _impl_.client_result_;
}
inline ::segmentation_platform::proto::PredictionResult* PROTOBUF_NONNULL ClientResult::mutable_client_result()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::segmentation_platform::proto::PredictionResult* _msg = _internal_mutable_client_result();
  // @@protoc_insertion_point(field_mutable:segmentation_platform.proto.ClientResult.client_result)
  return _msg;
}
inline void ClientResult::set_allocated_client_result(::segmentation_platform::proto::PredictionResult* PROTOBUF_NULLABLE value) {
  ::google::protobuf::Arena* message_arena = GetArena();
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (message_arena == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.client_result_);
  }

  if (value != nullptr) {
    ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena();
    if (message_arena != submessage_arena) {
      value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
    }
    SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  }

  _impl_.client_result_ = reinterpret_cast<::segmentation_platform::proto::PredictionResult*>(value);
  // @@protoc_insertion_point(field_set_allocated:segmentation_platform.proto.ClientResult.client_result)
}

// optional int64 timestamp_us = 2;
inline bool ClientResult::has_timestamp_us() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  return value;
}
inline void ClientResult::clear_timestamp_us() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.timestamp_us_ = ::int64_t{0};
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline ::int64_t ClientResult::timestamp_us() const {
  // @@protoc_insertion_point(field_get:segmentation_platform.proto.ClientResult.timestamp_us)
  return _internal_timestamp_us();
}
inline void ClientResult::set_timestamp_us(::int64_t value) {
  _internal_set_timestamp_us(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  // @@protoc_insertion_point(field_set:segmentation_platform.proto.ClientResult.timestamp_us)
}
inline ::int64_t ClientResult::_internal_timestamp_us() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.timestamp_us_;
}
inline void ClientResult::_internal_set_timestamp_us(::int64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.timestamp_us_ = value;
}

// optional int64 first_used_timestamp = 3;
inline bool ClientResult::has_first_used_timestamp() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
  return value;
}
inline void ClientResult::clear_first_used_timestamp() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.first_used_timestamp_ = ::int64_t{0};
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline ::int64_t ClientResult::first_used_timestamp() const {
  // @@protoc_insertion_point(field_get:segmentation_platform.proto.ClientResult.first_used_timestamp)
  return _internal_first_used_timestamp();
}
inline void ClientResult::set_first_used_timestamp(::int64_t value) {
  _internal_set_first_used_timestamp(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  // @@protoc_insertion_point(field_set:segmentation_platform.proto.ClientResult.first_used_timestamp)
}
inline ::int64_t ClientResult::_internal_first_used_timestamp() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.first_used_timestamp_;
}
inline void ClientResult::_internal_set_first_used_timestamp(::int64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.first_used_timestamp_ = value;
}

// -------------------------------------------------------------------

// -------------------------------------------------------------------

// ClientResults

// map<string, .segmentation_platform.proto.ClientResult> client_result_map = 1;
inline int ClientResults::_internal_client_result_map_size() const {
  return _internal_client_result_map().size();
}
inline int ClientResults::client_result_map_size() const {
  return _internal_client_result_map_size();
}
inline void ClientResults::clear_client_result_map() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.client_result_map_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::google::protobuf::Map<::std::string, ::segmentation_platform::proto::ClientResult>& ClientResults::_internal_client_result_map() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.client_result_map_.GetMap();
}
inline const ::google::protobuf::Map<::std::string, ::segmentation_platform::proto::ClientResult>& ClientResults::client_result_map() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_map:segmentation_platform.proto.ClientResults.client_result_map)
  return _internal_client_result_map();
}
inline ::google::protobuf::Map<::std::string, ::segmentation_platform::proto::ClientResult>* PROTOBUF_NONNULL ClientResults::_internal_mutable_client_result_map() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.client_result_map_.MutableMap();
}
inline ::google::protobuf::Map<::std::string, ::segmentation_platform::proto::ClientResult>* PROTOBUF_NONNULL ClientResults::mutable_client_result_map()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_mutable_map:segmentation_platform.proto.ClientResults.client_result_map)
  return _internal_mutable_client_result_map();
}

#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif  // __GNUC__

// @@protoc_insertion_point(namespace_scope)
}  // namespace proto
}  // namespace segmentation_platform


// @@protoc_insertion_point(global_scope)

#include "google/protobuf/port_undef.inc"
// clang-format on

#endif  // components_2fsegmentation_5fplatform_2finternal_2fproto_2fclient_5fresults_2eproto_2epb_2eh
