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

#ifndef xla_2fservice_2fgpu_2fkernel_5freuse_5fcache_2eproto_2epb_2eh
#define xla_2fservice_2fgpu_2fkernel_5freuse_5fcache_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_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_2fservice_2fgpu_2fkernel_5freuse_5fcache_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_2fservice_2fgpu_2fkernel_5freuse_5fcache_2eproto {
  static const ::uint32_t offsets[];
};
extern "C" {
PROTOBUF_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_xla_2fservice_2fgpu_2fkernel_5freuse_5fcache_2eproto;
}  // extern "C"
namespace xla {
namespace gpu {
class CompilationCacheEntryProto;
struct CompilationCacheEntryProtoDefaultTypeInternal;
PROTOBUF_EXPORT extern CompilationCacheEntryProtoDefaultTypeInternal _CompilationCacheEntryProto_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull CompilationCacheEntryProto_class_data_;
class CompilationCacheEntryProto_ClusterDimProto;
struct CompilationCacheEntryProto_ClusterDimProtoDefaultTypeInternal;
PROTOBUF_EXPORT extern CompilationCacheEntryProto_ClusterDimProtoDefaultTypeInternal _CompilationCacheEntryProto_ClusterDimProto_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull CompilationCacheEntryProto_ClusterDimProto_class_data_;
class CompilationCacheEntryProto_LaunchDimensionsProto;
struct CompilationCacheEntryProto_LaunchDimensionsProtoDefaultTypeInternal;
PROTOBUF_EXPORT extern CompilationCacheEntryProto_LaunchDimensionsProtoDefaultTypeInternal _CompilationCacheEntryProto_LaunchDimensionsProto_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull CompilationCacheEntryProto_LaunchDimensionsProto_class_data_;
class CompilationCacheProto;
struct CompilationCacheProtoDefaultTypeInternal;
PROTOBUF_EXPORT extern CompilationCacheProtoDefaultTypeInternal _CompilationCacheProto_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull CompilationCacheProto_class_data_;
class CompilationCacheProto_EntriesEntry_DoNotUse;
struct CompilationCacheProto_EntriesEntry_DoNotUseDefaultTypeInternal;
PROTOBUF_EXPORT extern CompilationCacheProto_EntriesEntry_DoNotUseDefaultTypeInternal _CompilationCacheProto_EntriesEntry_DoNotUse_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull CompilationCacheProto_EntriesEntry_DoNotUse_class_data_;
}  // namespace gpu
}  // namespace xla
namespace google {
namespace protobuf {
}  // namespace protobuf
}  // namespace google

namespace xla {
namespace gpu {

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


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

class PROTOBUF_EXPORT CompilationCacheEntryProto_LaunchDimensionsProto final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:xla.gpu.CompilationCacheEntryProto.LaunchDimensionsProto) */ {
 public:
  inline CompilationCacheEntryProto_LaunchDimensionsProto() : CompilationCacheEntryProto_LaunchDimensionsProto(nullptr) {}
  ~CompilationCacheEntryProto_LaunchDimensionsProto() PROTOBUF_FINAL;

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

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

  inline CompilationCacheEntryProto_LaunchDimensionsProto(const CompilationCacheEntryProto_LaunchDimensionsProto& from) : CompilationCacheEntryProto_LaunchDimensionsProto(nullptr, from) {}
  inline CompilationCacheEntryProto_LaunchDimensionsProto(CompilationCacheEntryProto_LaunchDimensionsProto&& from) noexcept
      : CompilationCacheEntryProto_LaunchDimensionsProto(nullptr, ::std::move(from)) {}
  inline CompilationCacheEntryProto_LaunchDimensionsProto& operator=(const CompilationCacheEntryProto_LaunchDimensionsProto& from) {
    CopyFrom(from);
    return *this;
  }
  inline CompilationCacheEntryProto_LaunchDimensionsProto& operator=(CompilationCacheEntryProto_LaunchDimensionsProto&& 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 CompilationCacheEntryProto_LaunchDimensionsProto& default_instance() {
    return *reinterpret_cast<const CompilationCacheEntryProto_LaunchDimensionsProto*>(
        &_CompilationCacheEntryProto_LaunchDimensionsProto_default_instance_);
  }
  static constexpr int kIndexInFileMessages = 0;
  friend void swap(CompilationCacheEntryProto_LaunchDimensionsProto& a, CompilationCacheEntryProto_LaunchDimensionsProto& b) { a.Swap(&b); }
  inline void Swap(CompilationCacheEntryProto_LaunchDimensionsProto* 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(CompilationCacheEntryProto_LaunchDimensionsProto* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

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

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

 protected:
  explicit CompilationCacheEntryProto_LaunchDimensionsProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  CompilationCacheEntryProto_LaunchDimensionsProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CompilationCacheEntryProto_LaunchDimensionsProto& from);
  CompilationCacheEntryProto_LaunchDimensionsProto(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CompilationCacheEntryProto_LaunchDimensionsProto&& from) noexcept
      : CompilationCacheEntryProto_LaunchDimensionsProto(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 {
    kNumBlocksFieldNumber = 1,
    kNumThreadsPerBlockFieldNumber = 2,
  };
  // uint64 num_blocks = 1;
  void clear_num_blocks() ;
  ::uint64_t num_blocks() const;
  void set_num_blocks(::uint64_t value);

  private:
  ::uint64_t _internal_num_blocks() const;
  void _internal_set_num_blocks(::uint64_t value);

  public:
  // uint64 num_threads_per_block = 2;
  void clear_num_threads_per_block() ;
  ::uint64_t num_threads_per_block() const;
  void set_num_threads_per_block(::uint64_t value);

  private:
  ::uint64_t _internal_num_threads_per_block() const;
  void _internal_set_num_threads_per_block(::uint64_t value);

  public:
  // @@protoc_insertion_point(class_scope:xla.gpu.CompilationCacheEntryProto.LaunchDimensionsProto)
 private:
  class _Internal;
  friend class ::google::protobuf::internal::TcParser;
  static const ::google::protobuf::internal::TcParseTable<1, 2,
                                   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 CompilationCacheEntryProto_LaunchDimensionsProto& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::uint64_t num_blocks_;
    ::uint64_t num_threads_per_block_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_xla_2fservice_2fgpu_2fkernel_5freuse_5fcache_2eproto;
};

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

class PROTOBUF_EXPORT CompilationCacheEntryProto_ClusterDimProto final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:xla.gpu.CompilationCacheEntryProto.ClusterDimProto) */ {
 public:
  inline CompilationCacheEntryProto_ClusterDimProto() : CompilationCacheEntryProto_ClusterDimProto(nullptr) {}
  ~CompilationCacheEntryProto_ClusterDimProto() PROTOBUF_FINAL;

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

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

  inline CompilationCacheEntryProto_ClusterDimProto(const CompilationCacheEntryProto_ClusterDimProto& from) : CompilationCacheEntryProto_ClusterDimProto(nullptr, from) {}
  inline CompilationCacheEntryProto_ClusterDimProto(CompilationCacheEntryProto_ClusterDimProto&& from) noexcept
      : CompilationCacheEntryProto_ClusterDimProto(nullptr, ::std::move(from)) {}
  inline CompilationCacheEntryProto_ClusterDimProto& operator=(const CompilationCacheEntryProto_ClusterDimProto& from) {
    CopyFrom(from);
    return *this;
  }
  inline CompilationCacheEntryProto_ClusterDimProto& operator=(CompilationCacheEntryProto_ClusterDimProto&& 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 CompilationCacheEntryProto_ClusterDimProto& default_instance() {
    return *reinterpret_cast<const CompilationCacheEntryProto_ClusterDimProto*>(
        &_CompilationCacheEntryProto_ClusterDimProto_default_instance_);
  }
  static constexpr int kIndexInFileMessages = 1;
  friend void swap(CompilationCacheEntryProto_ClusterDimProto& a, CompilationCacheEntryProto_ClusterDimProto& b) { a.Swap(&b); }
  inline void Swap(CompilationCacheEntryProto_ClusterDimProto* 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(CompilationCacheEntryProto_ClusterDimProto* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

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

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

 protected:
  explicit CompilationCacheEntryProto_ClusterDimProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  CompilationCacheEntryProto_ClusterDimProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CompilationCacheEntryProto_ClusterDimProto& from);
  CompilationCacheEntryProto_ClusterDimProto(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CompilationCacheEntryProto_ClusterDimProto&& from) noexcept
      : CompilationCacheEntryProto_ClusterDimProto(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 {
    kXFieldNumber = 1,
    kYFieldNumber = 2,
    kZFieldNumber = 3,
  };
  // uint64 x = 1;
  void clear_x() ;
  ::uint64_t x() const;
  void set_x(::uint64_t value);

  private:
  ::uint64_t _internal_x() const;
  void _internal_set_x(::uint64_t value);

  public:
  // uint64 y = 2;
  void clear_y() ;
  ::uint64_t y() const;
  void set_y(::uint64_t value);

  private:
  ::uint64_t _internal_y() const;
  void _internal_set_y(::uint64_t value);

  public:
  // uint64 z = 3;
  void clear_z() ;
  ::uint64_t z() const;
  void set_z(::uint64_t value);

  private:
  ::uint64_t _internal_z() const;
  void _internal_set_z(::uint64_t value);

  public:
  // @@protoc_insertion_point(class_scope:xla.gpu.CompilationCacheEntryProto.ClusterDimProto)
 private:
  class _Internal;
  friend class ::google::protobuf::internal::TcParser;
  static const ::google::protobuf::internal::TcParseTable<2, 3,
                                   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 CompilationCacheEntryProto_ClusterDimProto& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::uint64_t x_;
    ::uint64_t y_;
    ::uint64_t z_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_xla_2fservice_2fgpu_2fkernel_5freuse_5fcache_2eproto;
};

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

class PROTOBUF_EXPORT CompilationCacheEntryProto final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:xla.gpu.CompilationCacheEntryProto) */ {
 public:
  inline CompilationCacheEntryProto() : CompilationCacheEntryProto(nullptr) {}
  ~CompilationCacheEntryProto() PROTOBUF_FINAL;

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

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

  inline CompilationCacheEntryProto(const CompilationCacheEntryProto& from) : CompilationCacheEntryProto(nullptr, from) {}
  inline CompilationCacheEntryProto(CompilationCacheEntryProto&& from) noexcept
      : CompilationCacheEntryProto(nullptr, ::std::move(from)) {}
  inline CompilationCacheEntryProto& operator=(const CompilationCacheEntryProto& from) {
    CopyFrom(from);
    return *this;
  }
  inline CompilationCacheEntryProto& operator=(CompilationCacheEntryProto&& 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 CompilationCacheEntryProto& default_instance() {
    return *reinterpret_cast<const CompilationCacheEntryProto*>(
        &_CompilationCacheEntryProto_default_instance_);
  }
  static constexpr int kIndexInFileMessages = 2;
  friend void swap(CompilationCacheEntryProto& a, CompilationCacheEntryProto& b) { a.Swap(&b); }
  inline void Swap(CompilationCacheEntryProto* 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(CompilationCacheEntryProto* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

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

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

 protected:
  explicit CompilationCacheEntryProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  CompilationCacheEntryProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CompilationCacheEntryProto& from);
  CompilationCacheEntryProto(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CompilationCacheEntryProto&& from) noexcept
      : CompilationCacheEntryProto(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 ----------------------------------------------------
  using LaunchDimensionsProto = CompilationCacheEntryProto_LaunchDimensionsProto;
  using ClusterDimProto = CompilationCacheEntryProto_ClusterDimProto;

  // accessors -------------------------------------------------------
  enum : int {
    kFingerprintFieldNumber = 1,
    kBinaryFieldNumber = 5,
    kLaunchDimensionsFieldNumber = 2,
    kClusterDimFieldNumber = 3,
    kShmemBytesFieldNumber = 4,
  };
  // string fingerprint = 1;
  void clear_fingerprint() ;
  const ::std::string& fingerprint() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_fingerprint(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_fingerprint();
  [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_fingerprint();
  void set_allocated_fingerprint(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_fingerprint() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_fingerprint(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_fingerprint();

  public:
  // bytes binary = 5;
  void clear_binary() ;
  const ::std::string& binary() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_binary(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_binary();
  [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_binary();
  void set_allocated_binary(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_binary() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_binary(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_binary();

  public:
  // .xla.gpu.CompilationCacheEntryProto.LaunchDimensionsProto launch_dimensions = 2;
  bool has_launch_dimensions() const;
  void clear_launch_dimensions() ;
  const ::xla::gpu::CompilationCacheEntryProto_LaunchDimensionsProto& launch_dimensions() const;
  [[nodiscard]] ::xla::gpu::CompilationCacheEntryProto_LaunchDimensionsProto* PROTOBUF_NULLABLE release_launch_dimensions();
  ::xla::gpu::CompilationCacheEntryProto_LaunchDimensionsProto* PROTOBUF_NONNULL mutable_launch_dimensions();
  void set_allocated_launch_dimensions(::xla::gpu::CompilationCacheEntryProto_LaunchDimensionsProto* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_launch_dimensions(::xla::gpu::CompilationCacheEntryProto_LaunchDimensionsProto* PROTOBUF_NULLABLE value);
  ::xla::gpu::CompilationCacheEntryProto_LaunchDimensionsProto* PROTOBUF_NULLABLE unsafe_arena_release_launch_dimensions();

  private:
  const ::xla::gpu::CompilationCacheEntryProto_LaunchDimensionsProto& _internal_launch_dimensions() const;
  ::xla::gpu::CompilationCacheEntryProto_LaunchDimensionsProto* PROTOBUF_NONNULL _internal_mutable_launch_dimensions();

  public:
  // optional .xla.gpu.CompilationCacheEntryProto.ClusterDimProto cluster_dim = 3;
  bool has_cluster_dim() const;
  void clear_cluster_dim() ;
  const ::xla::gpu::CompilationCacheEntryProto_ClusterDimProto& cluster_dim() const;
  [[nodiscard]] ::xla::gpu::CompilationCacheEntryProto_ClusterDimProto* PROTOBUF_NULLABLE release_cluster_dim();
  ::xla::gpu::CompilationCacheEntryProto_ClusterDimProto* PROTOBUF_NONNULL mutable_cluster_dim();
  void set_allocated_cluster_dim(::xla::gpu::CompilationCacheEntryProto_ClusterDimProto* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_cluster_dim(::xla::gpu::CompilationCacheEntryProto_ClusterDimProto* PROTOBUF_NULLABLE value);
  ::xla::gpu::CompilationCacheEntryProto_ClusterDimProto* PROTOBUF_NULLABLE unsafe_arena_release_cluster_dim();

  private:
  const ::xla::gpu::CompilationCacheEntryProto_ClusterDimProto& _internal_cluster_dim() const;
  ::xla::gpu::CompilationCacheEntryProto_ClusterDimProto* PROTOBUF_NONNULL _internal_mutable_cluster_dim();

  public:
  // int64 shmem_bytes = 4;
  void clear_shmem_bytes() ;
  ::int64_t shmem_bytes() const;
  void set_shmem_bytes(::int64_t value);

  private:
  ::int64_t _internal_shmem_bytes() const;
  void _internal_set_shmem_bytes(::int64_t value);

  public:
  // @@protoc_insertion_point(class_scope:xla.gpu.CompilationCacheEntryProto)
 private:
  class _Internal;
  friend class ::google::protobuf::internal::TcParser;
  static const ::google::protobuf::internal::TcParseTable<3, 5,
                                   2, 54,
                                   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 CompilationCacheEntryProto& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::internal::ArenaStringPtr fingerprint_;
    ::google::protobuf::internal::ArenaStringPtr binary_;
    ::xla::gpu::CompilationCacheEntryProto_LaunchDimensionsProto* PROTOBUF_NULLABLE launch_dimensions_;
    ::xla::gpu::CompilationCacheEntryProto_ClusterDimProto* PROTOBUF_NULLABLE cluster_dim_;
    ::int64_t shmem_bytes_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_xla_2fservice_2fgpu_2fkernel_5freuse_5fcache_2eproto;
};

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

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


  static constexpr auto InternalGenerateClassData_();

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

  friend class ::google::protobuf::internal::TcParser;
  static const ::google::protobuf::internal::TcParseTable<1, 2,
                                   1, 54,
                                   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 CompilationCacheProto_EntriesEntry_DoNotUse_class_data_;
// -------------------------------------------------------------------

class PROTOBUF_EXPORT CompilationCacheProto final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:xla.gpu.CompilationCacheProto) */ {
 public:
  inline CompilationCacheProto() : CompilationCacheProto(nullptr) {}
  ~CompilationCacheProto() PROTOBUF_FINAL;

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

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

  inline CompilationCacheProto(const CompilationCacheProto& from) : CompilationCacheProto(nullptr, from) {}
  inline CompilationCacheProto(CompilationCacheProto&& from) noexcept
      : CompilationCacheProto(nullptr, ::std::move(from)) {}
  inline CompilationCacheProto& operator=(const CompilationCacheProto& from) {
    CopyFrom(from);
    return *this;
  }
  inline CompilationCacheProto& operator=(CompilationCacheProto&& 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 CompilationCacheProto& default_instance() {
    return *reinterpret_cast<const CompilationCacheProto*>(
        &_CompilationCacheProto_default_instance_);
  }
  static constexpr int kIndexInFileMessages = 4;
  friend void swap(CompilationCacheProto& a, CompilationCacheProto& b) { a.Swap(&b); }
  inline void Swap(CompilationCacheProto* 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(CompilationCacheProto* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

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

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

 protected:
  explicit CompilationCacheProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  CompilationCacheProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CompilationCacheProto& from);
  CompilationCacheProto(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CompilationCacheProto&& from) noexcept
      : CompilationCacheProto(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 {
    kEntriesFieldNumber = 1,
  };
  // map<string, .xla.gpu.CompilationCacheEntryProto> entries = 1;
  int entries_size() const;
  private:
  int _internal_entries_size() const;

  public:
  void clear_entries() ;
  const ::google::protobuf::Map<std::string, ::xla::gpu::CompilationCacheEntryProto>& entries() const;
  ::google::protobuf::Map<std::string, ::xla::gpu::CompilationCacheEntryProto>* PROTOBUF_NONNULL mutable_entries();

  private:
  const ::google::protobuf::Map<std::string, ::xla::gpu::CompilationCacheEntryProto>& _internal_entries() const;
  ::google::protobuf::Map<std::string, ::xla::gpu::CompilationCacheEntryProto>* PROTOBUF_NONNULL _internal_mutable_entries();

  public:
  // @@protoc_insertion_point(class_scope:xla.gpu.CompilationCacheProto)
 private:
  class _Internal;
  friend class ::google::protobuf::internal::TcParser;
  static const ::google::protobuf::internal::TcParseTable<0, 1,
                                   2, 45,
                                   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 CompilationCacheProto& from_msg);
    ::google::protobuf::internal::MapField<CompilationCacheProto_EntriesEntry_DoNotUse, std::string, ::xla::gpu::CompilationCacheEntryProto,
                      ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
                      ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
        entries_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_xla_2fservice_2fgpu_2fkernel_5freuse_5fcache_2eproto;
};

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

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




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


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

// CompilationCacheEntryProto_LaunchDimensionsProto

// uint64 num_blocks = 1;
inline void CompilationCacheEntryProto_LaunchDimensionsProto::clear_num_blocks() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.num_blocks_ = ::uint64_t{0u};
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline ::uint64_t CompilationCacheEntryProto_LaunchDimensionsProto::num_blocks() const {
  // @@protoc_insertion_point(field_get:xla.gpu.CompilationCacheEntryProto.LaunchDimensionsProto.num_blocks)
  return _internal_num_blocks();
}
inline void CompilationCacheEntryProto_LaunchDimensionsProto::set_num_blocks(::uint64_t value) {
  _internal_set_num_blocks(value);
  _impl_._has_bits_[0] |= 0x00000001u;
  // @@protoc_insertion_point(field_set:xla.gpu.CompilationCacheEntryProto.LaunchDimensionsProto.num_blocks)
}
inline ::uint64_t CompilationCacheEntryProto_LaunchDimensionsProto::_internal_num_blocks() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.num_blocks_;
}
inline void CompilationCacheEntryProto_LaunchDimensionsProto::_internal_set_num_blocks(::uint64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.num_blocks_ = value;
}

// uint64 num_threads_per_block = 2;
inline void CompilationCacheEntryProto_LaunchDimensionsProto::clear_num_threads_per_block() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.num_threads_per_block_ = ::uint64_t{0u};
  _impl_._has_bits_[0] &= ~0x00000002u;
}
inline ::uint64_t CompilationCacheEntryProto_LaunchDimensionsProto::num_threads_per_block() const {
  // @@protoc_insertion_point(field_get:xla.gpu.CompilationCacheEntryProto.LaunchDimensionsProto.num_threads_per_block)
  return _internal_num_threads_per_block();
}
inline void CompilationCacheEntryProto_LaunchDimensionsProto::set_num_threads_per_block(::uint64_t value) {
  _internal_set_num_threads_per_block(value);
  _impl_._has_bits_[0] |= 0x00000002u;
  // @@protoc_insertion_point(field_set:xla.gpu.CompilationCacheEntryProto.LaunchDimensionsProto.num_threads_per_block)
}
inline ::uint64_t CompilationCacheEntryProto_LaunchDimensionsProto::_internal_num_threads_per_block() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.num_threads_per_block_;
}
inline void CompilationCacheEntryProto_LaunchDimensionsProto::_internal_set_num_threads_per_block(::uint64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.num_threads_per_block_ = value;
}

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

// CompilationCacheEntryProto_ClusterDimProto

// uint64 x = 1;
inline void CompilationCacheEntryProto_ClusterDimProto::clear_x() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.x_ = ::uint64_t{0u};
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline ::uint64_t CompilationCacheEntryProto_ClusterDimProto::x() const {
  // @@protoc_insertion_point(field_get:xla.gpu.CompilationCacheEntryProto.ClusterDimProto.x)
  return _internal_x();
}
inline void CompilationCacheEntryProto_ClusterDimProto::set_x(::uint64_t value) {
  _internal_set_x(value);
  _impl_._has_bits_[0] |= 0x00000001u;
  // @@protoc_insertion_point(field_set:xla.gpu.CompilationCacheEntryProto.ClusterDimProto.x)
}
inline ::uint64_t CompilationCacheEntryProto_ClusterDimProto::_internal_x() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.x_;
}
inline void CompilationCacheEntryProto_ClusterDimProto::_internal_set_x(::uint64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.x_ = value;
}

// uint64 y = 2;
inline void CompilationCacheEntryProto_ClusterDimProto::clear_y() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.y_ = ::uint64_t{0u};
  _impl_._has_bits_[0] &= ~0x00000002u;
}
inline ::uint64_t CompilationCacheEntryProto_ClusterDimProto::y() const {
  // @@protoc_insertion_point(field_get:xla.gpu.CompilationCacheEntryProto.ClusterDimProto.y)
  return _internal_y();
}
inline void CompilationCacheEntryProto_ClusterDimProto::set_y(::uint64_t value) {
  _internal_set_y(value);
  _impl_._has_bits_[0] |= 0x00000002u;
  // @@protoc_insertion_point(field_set:xla.gpu.CompilationCacheEntryProto.ClusterDimProto.y)
}
inline ::uint64_t CompilationCacheEntryProto_ClusterDimProto::_internal_y() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.y_;
}
inline void CompilationCacheEntryProto_ClusterDimProto::_internal_set_y(::uint64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.y_ = value;
}

// uint64 z = 3;
inline void CompilationCacheEntryProto_ClusterDimProto::clear_z() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.z_ = ::uint64_t{0u};
  _impl_._has_bits_[0] &= ~0x00000004u;
}
inline ::uint64_t CompilationCacheEntryProto_ClusterDimProto::z() const {
  // @@protoc_insertion_point(field_get:xla.gpu.CompilationCacheEntryProto.ClusterDimProto.z)
  return _internal_z();
}
inline void CompilationCacheEntryProto_ClusterDimProto::set_z(::uint64_t value) {
  _internal_set_z(value);
  _impl_._has_bits_[0] |= 0x00000004u;
  // @@protoc_insertion_point(field_set:xla.gpu.CompilationCacheEntryProto.ClusterDimProto.z)
}
inline ::uint64_t CompilationCacheEntryProto_ClusterDimProto::_internal_z() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.z_;
}
inline void CompilationCacheEntryProto_ClusterDimProto::_internal_set_z(::uint64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.z_ = value;
}

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

// CompilationCacheEntryProto

// string fingerprint = 1;
inline void CompilationCacheEntryProto::clear_fingerprint() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.fingerprint_.ClearToEmpty();
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const ::std::string& CompilationCacheEntryProto::fingerprint() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:xla.gpu.CompilationCacheEntryProto.fingerprint)
  return _internal_fingerprint();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void CompilationCacheEntryProto::set_fingerprint(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.fingerprint_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:xla.gpu.CompilationCacheEntryProto.fingerprint)
}
inline ::std::string* PROTOBUF_NONNULL CompilationCacheEntryProto::mutable_fingerprint()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::std::string* _s = _internal_mutable_fingerprint();
  // @@protoc_insertion_point(field_mutable:xla.gpu.CompilationCacheEntryProto.fingerprint)
  return _s;
}
inline const ::std::string& CompilationCacheEntryProto::_internal_fingerprint() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.fingerprint_.Get();
}
inline void CompilationCacheEntryProto::_internal_set_fingerprint(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.fingerprint_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL CompilationCacheEntryProto::_internal_mutable_fingerprint() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_._has_bits_[0] |= 0x00000001u;
  return _impl_.fingerprint_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE CompilationCacheEntryProto::release_fingerprint() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:xla.gpu.CompilationCacheEntryProto.fingerprint)
  if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
    return nullptr;
  }
  _impl_._has_bits_[0] &= ~0x00000001u;
  auto* released = _impl_.fingerprint_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.fingerprint_.Set("", GetArena());
  }
  return released;
}
inline void CompilationCacheEntryProto::set_allocated_fingerprint(::std::string* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (value != nullptr) {
    _impl_._has_bits_[0] |= 0x00000001u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000001u;
  }
  _impl_.fingerprint_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.fingerprint_.IsDefault()) {
    _impl_.fingerprint_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:xla.gpu.CompilationCacheEntryProto.fingerprint)
}

// .xla.gpu.CompilationCacheEntryProto.LaunchDimensionsProto launch_dimensions = 2;
inline bool CompilationCacheEntryProto::has_launch_dimensions() const {
  bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
  PROTOBUF_ASSUME(!value || _impl_.launch_dimensions_ != nullptr);
  return value;
}
inline void CompilationCacheEntryProto::clear_launch_dimensions() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.launch_dimensions_ != nullptr) _impl_.launch_dimensions_->Clear();
  _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const ::xla::gpu::CompilationCacheEntryProto_LaunchDimensionsProto& CompilationCacheEntryProto::_internal_launch_dimensions() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::xla::gpu::CompilationCacheEntryProto_LaunchDimensionsProto* p = _impl_.launch_dimensions_;
  return p != nullptr ? *p : reinterpret_cast<const ::xla::gpu::CompilationCacheEntryProto_LaunchDimensionsProto&>(::xla::gpu::_CompilationCacheEntryProto_LaunchDimensionsProto_default_instance_);
}
inline const ::xla::gpu::CompilationCacheEntryProto_LaunchDimensionsProto& CompilationCacheEntryProto::launch_dimensions() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:xla.gpu.CompilationCacheEntryProto.launch_dimensions)
  return _internal_launch_dimensions();
}
inline void CompilationCacheEntryProto::unsafe_arena_set_allocated_launch_dimensions(
    ::xla::gpu::CompilationCacheEntryProto_LaunchDimensionsProto* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.launch_dimensions_);
  }
  _impl_.launch_dimensions_ = reinterpret_cast<::xla::gpu::CompilationCacheEntryProto_LaunchDimensionsProto*>(value);
  if (value != nullptr) {
    _impl_._has_bits_[0] |= 0x00000004u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000004u;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xla.gpu.CompilationCacheEntryProto.launch_dimensions)
}
inline ::xla::gpu::CompilationCacheEntryProto_LaunchDimensionsProto* PROTOBUF_NULLABLE CompilationCacheEntryProto::release_launch_dimensions() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  _impl_._has_bits_[0] &= ~0x00000004u;
  ::xla::gpu::CompilationCacheEntryProto_LaunchDimensionsProto* released = _impl_.launch_dimensions_;
  _impl_.launch_dimensions_ = 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 ::xla::gpu::CompilationCacheEntryProto_LaunchDimensionsProto* PROTOBUF_NULLABLE CompilationCacheEntryProto::unsafe_arena_release_launch_dimensions() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:xla.gpu.CompilationCacheEntryProto.launch_dimensions)

  _impl_._has_bits_[0] &= ~0x00000004u;
  ::xla::gpu::CompilationCacheEntryProto_LaunchDimensionsProto* temp = _impl_.launch_dimensions_;
  _impl_.launch_dimensions_ = nullptr;
  return temp;
}
inline ::xla::gpu::CompilationCacheEntryProto_LaunchDimensionsProto* PROTOBUF_NONNULL CompilationCacheEntryProto::_internal_mutable_launch_dimensions() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.launch_dimensions_ == nullptr) {
    auto* p = ::google::protobuf::Message::DefaultConstruct<::xla::gpu::CompilationCacheEntryProto_LaunchDimensionsProto>(GetArena());
    _impl_.launch_dimensions_ = reinterpret_cast<::xla::gpu::CompilationCacheEntryProto_LaunchDimensionsProto*>(p);
  }
  return _impl_.launch_dimensions_;
}
inline ::xla::gpu::CompilationCacheEntryProto_LaunchDimensionsProto* PROTOBUF_NONNULL CompilationCacheEntryProto::mutable_launch_dimensions()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  _impl_._has_bits_[0] |= 0x00000004u;
  ::xla::gpu::CompilationCacheEntryProto_LaunchDimensionsProto* _msg = _internal_mutable_launch_dimensions();
  // @@protoc_insertion_point(field_mutable:xla.gpu.CompilationCacheEntryProto.launch_dimensions)
  return _msg;
}
inline void CompilationCacheEntryProto::set_allocated_launch_dimensions(::xla::gpu::CompilationCacheEntryProto_LaunchDimensionsProto* 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_.launch_dimensions_);
  }

  if (value != nullptr) {
    ::google::protobuf::Arena* submessage_arena = value->GetArena();
    if (message_arena != submessage_arena) {
      value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
    }
    _impl_._has_bits_[0] |= 0x00000004u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000004u;
  }

  _impl_.launch_dimensions_ = reinterpret_cast<::xla::gpu::CompilationCacheEntryProto_LaunchDimensionsProto*>(value);
  // @@protoc_insertion_point(field_set_allocated:xla.gpu.CompilationCacheEntryProto.launch_dimensions)
}

// optional .xla.gpu.CompilationCacheEntryProto.ClusterDimProto cluster_dim = 3;
inline bool CompilationCacheEntryProto::has_cluster_dim() const {
  bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
  PROTOBUF_ASSUME(!value || _impl_.cluster_dim_ != nullptr);
  return value;
}
inline void CompilationCacheEntryProto::clear_cluster_dim() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.cluster_dim_ != nullptr) _impl_.cluster_dim_->Clear();
  _impl_._has_bits_[0] &= ~0x00000008u;
}
inline const ::xla::gpu::CompilationCacheEntryProto_ClusterDimProto& CompilationCacheEntryProto::_internal_cluster_dim() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::xla::gpu::CompilationCacheEntryProto_ClusterDimProto* p = _impl_.cluster_dim_;
  return p != nullptr ? *p : reinterpret_cast<const ::xla::gpu::CompilationCacheEntryProto_ClusterDimProto&>(::xla::gpu::_CompilationCacheEntryProto_ClusterDimProto_default_instance_);
}
inline const ::xla::gpu::CompilationCacheEntryProto_ClusterDimProto& CompilationCacheEntryProto::cluster_dim() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:xla.gpu.CompilationCacheEntryProto.cluster_dim)
  return _internal_cluster_dim();
}
inline void CompilationCacheEntryProto::unsafe_arena_set_allocated_cluster_dim(
    ::xla::gpu::CompilationCacheEntryProto_ClusterDimProto* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cluster_dim_);
  }
  _impl_.cluster_dim_ = reinterpret_cast<::xla::gpu::CompilationCacheEntryProto_ClusterDimProto*>(value);
  if (value != nullptr) {
    _impl_._has_bits_[0] |= 0x00000008u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000008u;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xla.gpu.CompilationCacheEntryProto.cluster_dim)
}
inline ::xla::gpu::CompilationCacheEntryProto_ClusterDimProto* PROTOBUF_NULLABLE CompilationCacheEntryProto::release_cluster_dim() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  _impl_._has_bits_[0] &= ~0x00000008u;
  ::xla::gpu::CompilationCacheEntryProto_ClusterDimProto* released = _impl_.cluster_dim_;
  _impl_.cluster_dim_ = 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 ::xla::gpu::CompilationCacheEntryProto_ClusterDimProto* PROTOBUF_NULLABLE CompilationCacheEntryProto::unsafe_arena_release_cluster_dim() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:xla.gpu.CompilationCacheEntryProto.cluster_dim)

  _impl_._has_bits_[0] &= ~0x00000008u;
  ::xla::gpu::CompilationCacheEntryProto_ClusterDimProto* temp = _impl_.cluster_dim_;
  _impl_.cluster_dim_ = nullptr;
  return temp;
}
inline ::xla::gpu::CompilationCacheEntryProto_ClusterDimProto* PROTOBUF_NONNULL CompilationCacheEntryProto::_internal_mutable_cluster_dim() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.cluster_dim_ == nullptr) {
    auto* p = ::google::protobuf::Message::DefaultConstruct<::xla::gpu::CompilationCacheEntryProto_ClusterDimProto>(GetArena());
    _impl_.cluster_dim_ = reinterpret_cast<::xla::gpu::CompilationCacheEntryProto_ClusterDimProto*>(p);
  }
  return _impl_.cluster_dim_;
}
inline ::xla::gpu::CompilationCacheEntryProto_ClusterDimProto* PROTOBUF_NONNULL CompilationCacheEntryProto::mutable_cluster_dim()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  _impl_._has_bits_[0] |= 0x00000008u;
  ::xla::gpu::CompilationCacheEntryProto_ClusterDimProto* _msg = _internal_mutable_cluster_dim();
  // @@protoc_insertion_point(field_mutable:xla.gpu.CompilationCacheEntryProto.cluster_dim)
  return _msg;
}
inline void CompilationCacheEntryProto::set_allocated_cluster_dim(::xla::gpu::CompilationCacheEntryProto_ClusterDimProto* 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_.cluster_dim_);
  }

  if (value != nullptr) {
    ::google::protobuf::Arena* submessage_arena = value->GetArena();
    if (message_arena != submessage_arena) {
      value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
    }
    _impl_._has_bits_[0] |= 0x00000008u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000008u;
  }

  _impl_.cluster_dim_ = reinterpret_cast<::xla::gpu::CompilationCacheEntryProto_ClusterDimProto*>(value);
  // @@protoc_insertion_point(field_set_allocated:xla.gpu.CompilationCacheEntryProto.cluster_dim)
}

// int64 shmem_bytes = 4;
inline void CompilationCacheEntryProto::clear_shmem_bytes() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.shmem_bytes_ = ::int64_t{0};
  _impl_._has_bits_[0] &= ~0x00000010u;
}
inline ::int64_t CompilationCacheEntryProto::shmem_bytes() const {
  // @@protoc_insertion_point(field_get:xla.gpu.CompilationCacheEntryProto.shmem_bytes)
  return _internal_shmem_bytes();
}
inline void CompilationCacheEntryProto::set_shmem_bytes(::int64_t value) {
  _internal_set_shmem_bytes(value);
  _impl_._has_bits_[0] |= 0x00000010u;
  // @@protoc_insertion_point(field_set:xla.gpu.CompilationCacheEntryProto.shmem_bytes)
}
inline ::int64_t CompilationCacheEntryProto::_internal_shmem_bytes() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.shmem_bytes_;
}
inline void CompilationCacheEntryProto::_internal_set_shmem_bytes(::int64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.shmem_bytes_ = value;
}

// bytes binary = 5;
inline void CompilationCacheEntryProto::clear_binary() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.binary_.ClearToEmpty();
  _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const ::std::string& CompilationCacheEntryProto::binary() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:xla.gpu.CompilationCacheEntryProto.binary)
  return _internal_binary();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void CompilationCacheEntryProto::set_binary(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_._has_bits_[0] |= 0x00000002u;
  _impl_.binary_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:xla.gpu.CompilationCacheEntryProto.binary)
}
inline ::std::string* PROTOBUF_NONNULL CompilationCacheEntryProto::mutable_binary()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::std::string* _s = _internal_mutable_binary();
  // @@protoc_insertion_point(field_mutable:xla.gpu.CompilationCacheEntryProto.binary)
  return _s;
}
inline const ::std::string& CompilationCacheEntryProto::_internal_binary() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.binary_.Get();
}
inline void CompilationCacheEntryProto::_internal_set_binary(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_._has_bits_[0] |= 0x00000002u;
  _impl_.binary_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL CompilationCacheEntryProto::_internal_mutable_binary() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_._has_bits_[0] |= 0x00000002u;
  return _impl_.binary_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE CompilationCacheEntryProto::release_binary() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:xla.gpu.CompilationCacheEntryProto.binary)
  if ((_impl_._has_bits_[0] & 0x00000002u) == 0) {
    return nullptr;
  }
  _impl_._has_bits_[0] &= ~0x00000002u;
  auto* released = _impl_.binary_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.binary_.Set("", GetArena());
  }
  return released;
}
inline void CompilationCacheEntryProto::set_allocated_binary(::std::string* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (value != nullptr) {
    _impl_._has_bits_[0] |= 0x00000002u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000002u;
  }
  _impl_.binary_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.binary_.IsDefault()) {
    _impl_.binary_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:xla.gpu.CompilationCacheEntryProto.binary)
}

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

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

// CompilationCacheProto

// map<string, .xla.gpu.CompilationCacheEntryProto> entries = 1;
inline int CompilationCacheProto::_internal_entries_size() const {
  return _internal_entries().size();
}
inline int CompilationCacheProto::entries_size() const {
  return _internal_entries_size();
}
inline void CompilationCacheProto::clear_entries() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.entries_.Clear();
}
inline const ::google::protobuf::Map<std::string, ::xla::gpu::CompilationCacheEntryProto>& CompilationCacheProto::_internal_entries() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.entries_.GetMap();
}
inline const ::google::protobuf::Map<std::string, ::xla::gpu::CompilationCacheEntryProto>& CompilationCacheProto::entries() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_map:xla.gpu.CompilationCacheProto.entries)
  return _internal_entries();
}
inline ::google::protobuf::Map<std::string, ::xla::gpu::CompilationCacheEntryProto>* PROTOBUF_NONNULL CompilationCacheProto::_internal_mutable_entries() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.entries_.MutableMap();
}
inline ::google::protobuf::Map<std::string, ::xla::gpu::CompilationCacheEntryProto>* PROTOBUF_NONNULL CompilationCacheProto::mutable_entries()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable_map:xla.gpu.CompilationCacheProto.entries)
  return _internal_mutable_entries();
}

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

// @@protoc_insertion_point(namespace_scope)
}  // namespace gpu
}  // namespace xla


// @@protoc_insertion_point(global_scope)

#include "google/protobuf/port_undef.inc"

#endif  // xla_2fservice_2fgpu_2fkernel_5freuse_5fcache_2eproto_2epb_2eh
