// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: xla/tsl/protobuf/distributed_runtime_payloads.proto
// Protobuf C++ Version: 6.31.1

#ifndef xla_2ftsl_2fprotobuf_2fdistributed_5fruntime_5fpayloads_2eproto_2epb_2eh
#define xla_2ftsl_2fprotobuf_2fdistributed_5fruntime_5fpayloads_2eproto_2epb_2eh

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

#include "google/protobuf/runtime_version.h"
#if PROTOBUF_VERSION != 6031001
#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_bases.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/generated_message_reflection.h"
#include "google/protobuf/message.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_entry.h"
#include "google/protobuf/map_field.h"
#include "google/protobuf/unknown_field_set.h"
// @@protoc_insertion_point(includes)

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

#define PROTOBUF_INTERNAL_EXPORT_xla_2ftsl_2fprotobuf_2fdistributed_5fruntime_5fpayloads_2eproto PROTOBUF_EXPORT

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 PROTOBUF_EXPORT TableStruct_xla_2ftsl_2fprotobuf_2fdistributed_5fruntime_5fpayloads_2eproto {
  static const ::uint32_t offsets[];
};
extern "C" {
PROTOBUF_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_xla_2ftsl_2fprotobuf_2fdistributed_5fruntime_5fpayloads_2eproto;
}  // extern "C"
namespace tensorflow {
namespace distributed_runtime {
class GrpcPayloadContainer;
struct GrpcPayloadContainerDefaultTypeInternal;
PROTOBUF_EXPORT extern GrpcPayloadContainerDefaultTypeInternal _GrpcPayloadContainer_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull GrpcPayloadContainer_class_data_;
class GrpcPayloadContainer_PayloadsEntry_DoNotUse;
struct GrpcPayloadContainer_PayloadsEntry_DoNotUseDefaultTypeInternal;
PROTOBUF_EXPORT extern GrpcPayloadContainer_PayloadsEntry_DoNotUseDefaultTypeInternal _GrpcPayloadContainer_PayloadsEntry_DoNotUse_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull GrpcPayloadContainer_PayloadsEntry_DoNotUse_class_data_;
class GrpcPayloadsLost;
struct GrpcPayloadsLostDefaultTypeInternal;
PROTOBUF_EXPORT extern GrpcPayloadsLostDefaultTypeInternal _GrpcPayloadsLost_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull GrpcPayloadsLost_class_data_;
class WorkerPossiblyRestarted;
struct WorkerPossiblyRestartedDefaultTypeInternal;
PROTOBUF_EXPORT extern WorkerPossiblyRestartedDefaultTypeInternal _WorkerPossiblyRestarted_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull WorkerPossiblyRestarted_class_data_;
}  // namespace distributed_runtime
}  // namespace tensorflow
namespace google {
namespace protobuf {
}  // namespace protobuf
}  // namespace google

namespace tensorflow {
namespace distributed_runtime {

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


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

class PROTOBUF_EXPORT WorkerPossiblyRestarted final : public ::google::protobuf::internal::ZeroFieldsBase
/* @@protoc_insertion_point(class_definition:tensorflow.distributed_runtime.WorkerPossiblyRestarted) */ {
 public:
  inline WorkerPossiblyRestarted() : WorkerPossiblyRestarted(nullptr) {}

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

  template <typename = void>
  explicit PROTOBUF_CONSTEXPR WorkerPossiblyRestarted(::google::protobuf::internal::ConstantInitialized);

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

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
  }
  inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
  }

  static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
    return GetDescriptor();
  }
  static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
    return default_instance().GetMetadata().descriptor;
  }
  static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const WorkerPossiblyRestarted& default_instance() {
    return *reinterpret_cast<const WorkerPossiblyRestarted*>(
        &_WorkerPossiblyRestarted_default_instance_);
  }
  static constexpr int kIndexInFileMessages = 3;
  friend void swap(WorkerPossiblyRestarted& a, WorkerPossiblyRestarted& b) { a.Swap(&b); }
  inline void Swap(WorkerPossiblyRestarted* 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(WorkerPossiblyRestarted* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

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

  WorkerPossiblyRestarted* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct<WorkerPossiblyRestarted>(arena);
  }
  using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom;
  inline void CopyFrom(const WorkerPossiblyRestarted& from) {
    ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from);
  }
  using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom;
  void MergeFrom(const WorkerPossiblyRestarted& from) {
    ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from);
  }

  public:
  bool IsInitialized() const {
    return true;
  }
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "tensorflow.distributed_runtime.WorkerPossiblyRestarted"; }

 protected:
  explicit WorkerPossiblyRestarted(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  WorkerPossiblyRestarted(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const WorkerPossiblyRestarted& from);
  WorkerPossiblyRestarted(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, WorkerPossiblyRestarted&& from) noexcept
      : WorkerPossiblyRestarted(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_();

  ::google::protobuf::Metadata GetMetadata() const;
  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------
  // @@protoc_insertion_point(class_scope:tensorflow.distributed_runtime.WorkerPossiblyRestarted)
 private:
  class _Internal;
  friend class ::google::protobuf::internal::TcParser;
  static const ::google::protobuf::internal::TcParseTable<0, 0,
                                   0, 0,
                                   2>
      _table_;

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::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 WorkerPossiblyRestarted& from_msg);
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  friend struct ::TableStruct_xla_2ftsl_2fprotobuf_2fdistributed_5fruntime_5fpayloads_2eproto;
};

PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull WorkerPossiblyRestarted_class_data_;
// -------------------------------------------------------------------

class PROTOBUF_EXPORT GrpcPayloadsLost final : public ::google::protobuf::internal::ZeroFieldsBase
/* @@protoc_insertion_point(class_definition:tensorflow.distributed_runtime.GrpcPayloadsLost) */ {
 public:
  inline GrpcPayloadsLost() : GrpcPayloadsLost(nullptr) {}

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

  template <typename = void>
  explicit PROTOBUF_CONSTEXPR GrpcPayloadsLost(::google::protobuf::internal::ConstantInitialized);

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

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
  }
  inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
  }

  static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
    return GetDescriptor();
  }
  static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
    return default_instance().GetMetadata().descriptor;
  }
  static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const GrpcPayloadsLost& default_instance() {
    return *reinterpret_cast<const GrpcPayloadsLost*>(
        &_GrpcPayloadsLost_default_instance_);
  }
  static constexpr int kIndexInFileMessages = 2;
  friend void swap(GrpcPayloadsLost& a, GrpcPayloadsLost& b) { a.Swap(&b); }
  inline void Swap(GrpcPayloadsLost* 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(GrpcPayloadsLost* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

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

  GrpcPayloadsLost* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct<GrpcPayloadsLost>(arena);
  }
  using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom;
  inline void CopyFrom(const GrpcPayloadsLost& from) {
    ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from);
  }
  using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom;
  void MergeFrom(const GrpcPayloadsLost& from) {
    ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from);
  }

  public:
  bool IsInitialized() const {
    return true;
  }
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "tensorflow.distributed_runtime.GrpcPayloadsLost"; }

 protected:
  explicit GrpcPayloadsLost(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  GrpcPayloadsLost(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GrpcPayloadsLost& from);
  GrpcPayloadsLost(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GrpcPayloadsLost&& from) noexcept
      : GrpcPayloadsLost(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_();

  ::google::protobuf::Metadata GetMetadata() const;
  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------
  // @@protoc_insertion_point(class_scope:tensorflow.distributed_runtime.GrpcPayloadsLost)
 private:
  class _Internal;
  friend class ::google::protobuf::internal::TcParser;
  static const ::google::protobuf::internal::TcParseTable<0, 0,
                                   0, 0,
                                   2>
      _table_;

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::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 GrpcPayloadsLost& from_msg);
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  friend struct ::TableStruct_xla_2ftsl_2fprotobuf_2fdistributed_5fruntime_5fpayloads_2eproto;
};

PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull GrpcPayloadsLost_class_data_;
// -------------------------------------------------------------------

class GrpcPayloadContainer_PayloadsEntry_DoNotUse final
    : public ::google::protobuf::internal::MapEntry<std::string, std::string,
                             ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
                             ::google::protobuf::internal::WireFormatLite::TYPE_BYTES> {
 public:
  using SuperType =
      ::google::protobuf::internal::MapEntry<std::string, std::string,
                      ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
                      ::google::protobuf::internal::WireFormatLite::TYPE_BYTES>;
  GrpcPayloadContainer_PayloadsEntry_DoNotUse();
  template <typename = void>
  explicit PROTOBUF_CONSTEXPR GrpcPayloadContainer_PayloadsEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
  explicit GrpcPayloadContainer_PayloadsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
    return &_GrpcPayloadContainer_PayloadsEntry_DoNotUse_default_instance_;
  }


  static constexpr auto InternalGenerateClassData_();

 private:
  friend class ::google::protobuf::MessageLite;
  friend struct ::TableStruct_xla_2ftsl_2fprotobuf_2fdistributed_5fruntime_5fpayloads_2eproto;

  friend class ::google::protobuf::internal::TcParser;
  static const ::google::protobuf::internal::TcParseTable<1, 2,
                                   0, 77,
                                   2>
      _table_;

  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_();
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull GrpcPayloadContainer_PayloadsEntry_DoNotUse_class_data_;
// -------------------------------------------------------------------

class PROTOBUF_EXPORT GrpcPayloadContainer final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:tensorflow.distributed_runtime.GrpcPayloadContainer) */ {
 public:
  inline GrpcPayloadContainer() : GrpcPayloadContainer(nullptr) {}
  ~GrpcPayloadContainer() PROTOBUF_FINAL;

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

  template <typename = void>
  explicit PROTOBUF_CONSTEXPR GrpcPayloadContainer(::google::protobuf::internal::ConstantInitialized);

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

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
  }
  inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
  }

  static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
    return GetDescriptor();
  }
  static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
    return default_instance().GetMetadata().descriptor;
  }
  static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const GrpcPayloadContainer& default_instance() {
    return *reinterpret_cast<const GrpcPayloadContainer*>(
        &_GrpcPayloadContainer_default_instance_);
  }
  static constexpr int kIndexInFileMessages = 1;
  friend void swap(GrpcPayloadContainer& a, GrpcPayloadContainer& b) { a.Swap(&b); }
  inline void Swap(GrpcPayloadContainer* 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(GrpcPayloadContainer* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

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

  GrpcPayloadContainer* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::Message::DefaultConstruct<GrpcPayloadContainer>(arena);
  }
  using ::google::protobuf::Message::CopyFrom;
  void CopyFrom(const GrpcPayloadContainer& from);
  using ::google::protobuf::Message::MergeFrom;
  void MergeFrom(const GrpcPayloadContainer& from) { GrpcPayloadContainer::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(GrpcPayloadContainer* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "tensorflow.distributed_runtime.GrpcPayloadContainer"; }

 protected:
  explicit GrpcPayloadContainer(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  GrpcPayloadContainer(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GrpcPayloadContainer& from);
  GrpcPayloadContainer(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GrpcPayloadContainer&& from) noexcept
      : GrpcPayloadContainer(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_();

  ::google::protobuf::Metadata GetMetadata() const;
  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------
  enum : int {
    kPayloadsFieldNumber = 1,
  };
  // map<string, bytes> payloads = 1;
  int payloads_size() const;
  private:
  int _internal_payloads_size() const;

  public:
  void clear_payloads() ;
  const ::google::protobuf::Map<std::string, std::string>& payloads() const;
  ::google::protobuf::Map<std::string, std::string>* PROTOBUF_NONNULL mutable_payloads();

  private:
  const ::google::protobuf::Map<std::string, std::string>& _internal_payloads() const;
  ::google::protobuf::Map<std::string, std::string>* PROTOBUF_NONNULL _internal_mutable_payloads();

  public:
  // @@protoc_insertion_point(class_scope:tensorflow.distributed_runtime.GrpcPayloadContainer)
 private:
  class _Internal;
  friend class ::google::protobuf::internal::TcParser;
  static const ::google::protobuf::internal::TcParseTable<0, 1,
                                   1, 68,
                                   2>
      _table_;

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::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 GrpcPayloadContainer& from_msg);
    ::google::protobuf::internal::MapField<GrpcPayloadContainer_PayloadsEntry_DoNotUse, std::string, std::string,
                      ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
                      ::google::protobuf::internal::WireFormatLite::TYPE_BYTES>
        payloads_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_xla_2ftsl_2fprotobuf_2fdistributed_5fruntime_5fpayloads_2eproto;
};

PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull GrpcPayloadContainer_class_data_;

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




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


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

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

// GrpcPayloadContainer

// map<string, bytes> payloads = 1;
inline int GrpcPayloadContainer::_internal_payloads_size() const {
  return _internal_payloads().size();
}
inline int GrpcPayloadContainer::payloads_size() const {
  return _internal_payloads_size();
}
inline void GrpcPayloadContainer::clear_payloads() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.payloads_.Clear();
}
inline const ::google::protobuf::Map<std::string, std::string>& GrpcPayloadContainer::_internal_payloads() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.payloads_.GetMap();
}
inline const ::google::protobuf::Map<std::string, std::string>& GrpcPayloadContainer::payloads() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_map:tensorflow.distributed_runtime.GrpcPayloadContainer.payloads)
  return _internal_payloads();
}
inline ::google::protobuf::Map<std::string, std::string>* PROTOBUF_NONNULL GrpcPayloadContainer::_internal_mutable_payloads() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.payloads_.MutableMap();
}
inline ::google::protobuf::Map<std::string, std::string>* PROTOBUF_NONNULL GrpcPayloadContainer::mutable_payloads()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable_map:tensorflow.distributed_runtime.GrpcPayloadContainer.payloads)
  return _internal_mutable_payloads();
}

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

// GrpcPayloadsLost

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

// WorkerPossiblyRestarted

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

// @@protoc_insertion_point(namespace_scope)
}  // namespace distributed_runtime
}  // namespace tensorflow


// @@protoc_insertion_point(global_scope)

#include "google/protobuf/port_undef.inc"

#endif  // xla_2ftsl_2fprotobuf_2fdistributed_5fruntime_5fpayloads_2eproto_2epb_2eh
