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

#ifndef xla_2fservice_2fgpu_2fmodel_2fhlo_5fop_5fprofile_2eproto_2epb_2eh
#define xla_2fservice_2fgpu_2fmodel_2fhlo_5fop_5fprofile_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"
#include "xla/service/hlo.pb.h"
// @@protoc_insertion_point(includes)

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

#define PROTOBUF_INTERNAL_EXPORT_xla_2fservice_2fgpu_2fmodel_2fhlo_5fop_5fprofile_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_2fmodel_2fhlo_5fop_5fprofile_2eproto {
  static const ::uint32_t offsets[];
};
extern "C" {
PROTOBUF_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_xla_2fservice_2fgpu_2fmodel_2fhlo_5fop_5fprofile_2eproto;
}  // extern "C"
namespace xla {
namespace gpu {
class DeviceHloInstructionProfiles;
struct DeviceHloInstructionProfilesDefaultTypeInternal;
PROTOBUF_EXPORT extern DeviceHloInstructionProfilesDefaultTypeInternal _DeviceHloInstructionProfiles_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull DeviceHloInstructionProfiles_class_data_;
class DeviceHloInstructionProfiles_EntriesEntry_DoNotUse;
struct DeviceHloInstructionProfiles_EntriesEntry_DoNotUseDefaultTypeInternal;
PROTOBUF_EXPORT extern DeviceHloInstructionProfiles_EntriesEntry_DoNotUseDefaultTypeInternal _DeviceHloInstructionProfiles_EntriesEntry_DoNotUse_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull DeviceHloInstructionProfiles_EntriesEntry_DoNotUse_class_data_;
class HloInstructionProfile;
struct HloInstructionProfileDefaultTypeInternal;
PROTOBUF_EXPORT extern HloInstructionProfileDefaultTypeInternal _HloInstructionProfile_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull HloInstructionProfile_class_data_;
class HloInstructionProfileList;
struct HloInstructionProfileListDefaultTypeInternal;
PROTOBUF_EXPORT extern HloInstructionProfileListDefaultTypeInternal _HloInstructionProfileList_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull HloInstructionProfileList_class_data_;
}  // namespace gpu
}  // namespace xla
namespace google {
namespace protobuf {
}  // namespace protobuf
}  // namespace google

namespace xla {
namespace gpu {

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


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

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

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

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

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

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

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

 protected:
  explicit HloInstructionProfile(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  HloInstructionProfile(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const HloInstructionProfile& from);
  HloInstructionProfile(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, HloInstructionProfile&& from) noexcept
      : HloInstructionProfile(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 {
    kOperandsFieldNumber = 5,
    kFingerprintFieldNumber = 3,
    kInstructionFieldNumber = 1,
    kClockCyclesFieldNumber = 2,
    kFlopsFieldNumber = 4,
    kNetworkThroughputBytesPerSecFieldNumber = 6,
  };
  // repeated .xla.HloInstructionProto operands = 5;
  int operands_size() const;
  private:
  int _internal_operands_size() const;

  public:
  void clear_operands() ;
  ::xla::HloInstructionProto* PROTOBUF_NONNULL mutable_operands(int index);
  ::google::protobuf::RepeatedPtrField<::xla::HloInstructionProto>* PROTOBUF_NONNULL mutable_operands();

  private:
  const ::google::protobuf::RepeatedPtrField<::xla::HloInstructionProto>& _internal_operands() const;
  ::google::protobuf::RepeatedPtrField<::xla::HloInstructionProto>* PROTOBUF_NONNULL _internal_mutable_operands();
  public:
  const ::xla::HloInstructionProto& operands(int index) const;
  ::xla::HloInstructionProto* PROTOBUF_NONNULL add_operands();
  const ::google::protobuf::RepeatedPtrField<::xla::HloInstructionProto>& operands() const;
  // string fingerprint = 3;
  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:
  // .xla.HloInstructionProto instruction = 1;
  bool has_instruction() const;
  void clear_instruction() ;
  const ::xla::HloInstructionProto& instruction() const;
  [[nodiscard]] ::xla::HloInstructionProto* PROTOBUF_NULLABLE release_instruction();
  ::xla::HloInstructionProto* PROTOBUF_NONNULL mutable_instruction();
  void set_allocated_instruction(::xla::HloInstructionProto* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_instruction(::xla::HloInstructionProto* PROTOBUF_NULLABLE value);
  ::xla::HloInstructionProto* PROTOBUF_NULLABLE unsafe_arena_release_instruction();

  private:
  const ::xla::HloInstructionProto& _internal_instruction() const;
  ::xla::HloInstructionProto* PROTOBUF_NONNULL _internal_mutable_instruction();

  public:
  // int64 clock_cycles = 2;
  void clear_clock_cycles() ;
  ::int64_t clock_cycles() const;
  void set_clock_cycles(::int64_t value);

  private:
  ::int64_t _internal_clock_cycles() const;
  void _internal_set_clock_cycles(::int64_t value);

  public:
  // int64 flops = 4;
  void clear_flops() ;
  ::int64_t flops() const;
  void set_flops(::int64_t value);

  private:
  ::int64_t _internal_flops() const;
  void _internal_set_flops(::int64_t value);

  public:
  // int64 network_throughput_bytes_per_sec = 6;
  void clear_network_throughput_bytes_per_sec() ;
  ::int64_t network_throughput_bytes_per_sec() const;
  void set_network_throughput_bytes_per_sec(::int64_t value);

  private:
  ::int64_t _internal_network_throughput_bytes_per_sec() const;
  void _internal_set_network_throughput_bytes_per_sec(::int64_t value);

  public:
  // @@protoc_insertion_point(class_scope:xla.gpu.HloInstructionProfile)
 private:
  class _Internal;
  friend class ::google::protobuf::internal::TcParser;
  static const ::google::protobuf::internal::TcParseTable<3, 6,
                                   2, 49,
                                   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 HloInstructionProfile& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::RepeatedPtrField< ::xla::HloInstructionProto > operands_;
    ::google::protobuf::internal::ArenaStringPtr fingerprint_;
    ::xla::HloInstructionProto* PROTOBUF_NULLABLE instruction_;
    ::int64_t clock_cycles_;
    ::int64_t flops_;
    ::int64_t network_throughput_bytes_per_sec_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_xla_2fservice_2fgpu_2fmodel_2fhlo_5fop_5fprofile_2eproto;
};

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

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

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

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

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

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

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

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

  public:
  void clear_entries() ;
  ::xla::gpu::HloInstructionProfile* PROTOBUF_NONNULL mutable_entries(int index);
  ::google::protobuf::RepeatedPtrField<::xla::gpu::HloInstructionProfile>* PROTOBUF_NONNULL mutable_entries();

  private:
  const ::google::protobuf::RepeatedPtrField<::xla::gpu::HloInstructionProfile>& _internal_entries() const;
  ::google::protobuf::RepeatedPtrField<::xla::gpu::HloInstructionProfile>* PROTOBUF_NONNULL _internal_mutable_entries();
  public:
  const ::xla::gpu::HloInstructionProfile& entries(int index) const;
  ::xla::gpu::HloInstructionProfile* PROTOBUF_NONNULL add_entries();
  const ::google::protobuf::RepeatedPtrField<::xla::gpu::HloInstructionProfile>& entries() const;
  // @@protoc_insertion_point(class_scope:xla.gpu.HloInstructionProfileList)
 private:
  class _Internal;
  friend class ::google::protobuf::internal::TcParser;
  static const ::google::protobuf::internal::TcParseTable<0, 1,
                                   1, 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 HloInstructionProfileList& from_msg);
    ::google::protobuf::RepeatedPtrField< ::xla::gpu::HloInstructionProfile > entries_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_xla_2fservice_2fgpu_2fmodel_2fhlo_5fop_5fprofile_2eproto;
};

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

class DeviceHloInstructionProfiles_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>;
  DeviceHloInstructionProfiles_EntriesEntry_DoNotUse();
  template <typename = void>
  explicit PROTOBUF_CONSTEXPR DeviceHloInstructionProfiles_EntriesEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
  explicit DeviceHloInstructionProfiles_EntriesEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
    return &_DeviceHloInstructionProfiles_EntriesEntry_DoNotUse_default_instance_;
  }


  static constexpr auto InternalGenerateClassData_();

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

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

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

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

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

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

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

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

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

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

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

  public:
  // @@protoc_insertion_point(class_scope:xla.gpu.DeviceHloInstructionProfiles)
 private:
  class _Internal;
  friend class ::google::protobuf::internal::TcParser;
  static const ::google::protobuf::internal::TcParseTable<0, 1,
                                   2, 52,
                                   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 DeviceHloInstructionProfiles& from_msg);
    ::google::protobuf::internal::MapField<DeviceHloInstructionProfiles_EntriesEntry_DoNotUse, std::string, ::xla::gpu::HloInstructionProfileList,
                      ::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_2fmodel_2fhlo_5fop_5fprofile_2eproto;
};

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

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




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


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

// HloInstructionProfile

// .xla.HloInstructionProto instruction = 1;
inline bool HloInstructionProfile::has_instruction() const {
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
  PROTOBUF_ASSUME(!value || _impl_.instruction_ != nullptr);
  return value;
}
inline const ::xla::HloInstructionProto& HloInstructionProfile::_internal_instruction() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::xla::HloInstructionProto* p = _impl_.instruction_;
  return p != nullptr ? *p : reinterpret_cast<const ::xla::HloInstructionProto&>(::xla::_HloInstructionProto_default_instance_);
}
inline const ::xla::HloInstructionProto& HloInstructionProfile::instruction() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:xla.gpu.HloInstructionProfile.instruction)
  return _internal_instruction();
}
inline void HloInstructionProfile::unsafe_arena_set_allocated_instruction(
    ::xla::HloInstructionProto* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.instruction_);
  }
  _impl_.instruction_ = reinterpret_cast<::xla::HloInstructionProto*>(value);
  if (value != nullptr) {
    _impl_._has_bits_[0] |= 0x00000002u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000002u;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xla.gpu.HloInstructionProfile.instruction)
}
inline ::xla::HloInstructionProto* PROTOBUF_NULLABLE HloInstructionProfile::release_instruction() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  _impl_._has_bits_[0] &= ~0x00000002u;
  ::xla::HloInstructionProto* released = _impl_.instruction_;
  _impl_.instruction_ = 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::HloInstructionProto* PROTOBUF_NULLABLE HloInstructionProfile::unsafe_arena_release_instruction() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:xla.gpu.HloInstructionProfile.instruction)

  _impl_._has_bits_[0] &= ~0x00000002u;
  ::xla::HloInstructionProto* temp = _impl_.instruction_;
  _impl_.instruction_ = nullptr;
  return temp;
}
inline ::xla::HloInstructionProto* PROTOBUF_NONNULL HloInstructionProfile::_internal_mutable_instruction() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.instruction_ == nullptr) {
    auto* p = ::google::protobuf::Message::DefaultConstruct<::xla::HloInstructionProto>(GetArena());
    _impl_.instruction_ = reinterpret_cast<::xla::HloInstructionProto*>(p);
  }
  return _impl_.instruction_;
}
inline ::xla::HloInstructionProto* PROTOBUF_NONNULL HloInstructionProfile::mutable_instruction()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  _impl_._has_bits_[0] |= 0x00000002u;
  ::xla::HloInstructionProto* _msg = _internal_mutable_instruction();
  // @@protoc_insertion_point(field_mutable:xla.gpu.HloInstructionProfile.instruction)
  return _msg;
}
inline void HloInstructionProfile::set_allocated_instruction(::xla::HloInstructionProto* 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_.instruction_);
  }

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

  _impl_.instruction_ = reinterpret_cast<::xla::HloInstructionProto*>(value);
  // @@protoc_insertion_point(field_set_allocated:xla.gpu.HloInstructionProfile.instruction)
}

// repeated .xla.HloInstructionProto operands = 5;
inline int HloInstructionProfile::_internal_operands_size() const {
  return _internal_operands().size();
}
inline int HloInstructionProfile::operands_size() const {
  return _internal_operands_size();
}
inline ::xla::HloInstructionProto* PROTOBUF_NONNULL HloInstructionProfile::mutable_operands(int index)
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable:xla.gpu.HloInstructionProfile.operands)
  return _internal_mutable_operands()->Mutable(index);
}
inline ::google::protobuf::RepeatedPtrField<::xla::HloInstructionProto>* PROTOBUF_NONNULL HloInstructionProfile::mutable_operands()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable_list:xla.gpu.HloInstructionProfile.operands)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_operands();
}
inline const ::xla::HloInstructionProto& HloInstructionProfile::operands(int index) const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:xla.gpu.HloInstructionProfile.operands)
  return _internal_operands().Get(index);
}
inline ::xla::HloInstructionProto* PROTOBUF_NONNULL HloInstructionProfile::add_operands()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::xla::HloInstructionProto* _add = _internal_mutable_operands()->Add();
  // @@protoc_insertion_point(field_add:xla.gpu.HloInstructionProfile.operands)
  return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::xla::HloInstructionProto>& HloInstructionProfile::operands() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:xla.gpu.HloInstructionProfile.operands)
  return _internal_operands();
}
inline const ::google::protobuf::RepeatedPtrField<::xla::HloInstructionProto>&
HloInstructionProfile::_internal_operands() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.operands_;
}
inline ::google::protobuf::RepeatedPtrField<::xla::HloInstructionProto>* PROTOBUF_NONNULL
HloInstructionProfile::_internal_mutable_operands() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.operands_;
}

// int64 clock_cycles = 2;
inline void HloInstructionProfile::clear_clock_cycles() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.clock_cycles_ = ::int64_t{0};
  _impl_._has_bits_[0] &= ~0x00000004u;
}
inline ::int64_t HloInstructionProfile::clock_cycles() const {
  // @@protoc_insertion_point(field_get:xla.gpu.HloInstructionProfile.clock_cycles)
  return _internal_clock_cycles();
}
inline void HloInstructionProfile::set_clock_cycles(::int64_t value) {
  _internal_set_clock_cycles(value);
  _impl_._has_bits_[0] |= 0x00000004u;
  // @@protoc_insertion_point(field_set:xla.gpu.HloInstructionProfile.clock_cycles)
}
inline ::int64_t HloInstructionProfile::_internal_clock_cycles() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.clock_cycles_;
}
inline void HloInstructionProfile::_internal_set_clock_cycles(::int64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.clock_cycles_ = value;
}

// string fingerprint = 3;
inline void HloInstructionProfile::clear_fingerprint() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.fingerprint_.ClearToEmpty();
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const ::std::string& HloInstructionProfile::fingerprint() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:xla.gpu.HloInstructionProfile.fingerprint)
  return _internal_fingerprint();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void HloInstructionProfile::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.HloInstructionProfile.fingerprint)
}
inline ::std::string* PROTOBUF_NONNULL HloInstructionProfile::mutable_fingerprint()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::std::string* _s = _internal_mutable_fingerprint();
  // @@protoc_insertion_point(field_mutable:xla.gpu.HloInstructionProfile.fingerprint)
  return _s;
}
inline const ::std::string& HloInstructionProfile::_internal_fingerprint() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.fingerprint_.Get();
}
inline void HloInstructionProfile::_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 HloInstructionProfile::_internal_mutable_fingerprint() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_._has_bits_[0] |= 0x00000001u;
  return _impl_.fingerprint_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE HloInstructionProfile::release_fingerprint() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:xla.gpu.HloInstructionProfile.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 HloInstructionProfile::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.HloInstructionProfile.fingerprint)
}

// int64 flops = 4;
inline void HloInstructionProfile::clear_flops() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.flops_ = ::int64_t{0};
  _impl_._has_bits_[0] &= ~0x00000008u;
}
inline ::int64_t HloInstructionProfile::flops() const {
  // @@protoc_insertion_point(field_get:xla.gpu.HloInstructionProfile.flops)
  return _internal_flops();
}
inline void HloInstructionProfile::set_flops(::int64_t value) {
  _internal_set_flops(value);
  _impl_._has_bits_[0] |= 0x00000008u;
  // @@protoc_insertion_point(field_set:xla.gpu.HloInstructionProfile.flops)
}
inline ::int64_t HloInstructionProfile::_internal_flops() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.flops_;
}
inline void HloInstructionProfile::_internal_set_flops(::int64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.flops_ = value;
}

// int64 network_throughput_bytes_per_sec = 6;
inline void HloInstructionProfile::clear_network_throughput_bytes_per_sec() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.network_throughput_bytes_per_sec_ = ::int64_t{0};
  _impl_._has_bits_[0] &= ~0x00000010u;
}
inline ::int64_t HloInstructionProfile::network_throughput_bytes_per_sec() const {
  // @@protoc_insertion_point(field_get:xla.gpu.HloInstructionProfile.network_throughput_bytes_per_sec)
  return _internal_network_throughput_bytes_per_sec();
}
inline void HloInstructionProfile::set_network_throughput_bytes_per_sec(::int64_t value) {
  _internal_set_network_throughput_bytes_per_sec(value);
  _impl_._has_bits_[0] |= 0x00000010u;
  // @@protoc_insertion_point(field_set:xla.gpu.HloInstructionProfile.network_throughput_bytes_per_sec)
}
inline ::int64_t HloInstructionProfile::_internal_network_throughput_bytes_per_sec() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.network_throughput_bytes_per_sec_;
}
inline void HloInstructionProfile::_internal_set_network_throughput_bytes_per_sec(::int64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.network_throughput_bytes_per_sec_ = value;
}

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

// HloInstructionProfileList

// repeated .xla.gpu.HloInstructionProfile entries = 1;
inline int HloInstructionProfileList::_internal_entries_size() const {
  return _internal_entries().size();
}
inline int HloInstructionProfileList::entries_size() const {
  return _internal_entries_size();
}
inline void HloInstructionProfileList::clear_entries() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.entries_.Clear();
}
inline ::xla::gpu::HloInstructionProfile* PROTOBUF_NONNULL HloInstructionProfileList::mutable_entries(int index)
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable:xla.gpu.HloInstructionProfileList.entries)
  return _internal_mutable_entries()->Mutable(index);
}
inline ::google::protobuf::RepeatedPtrField<::xla::gpu::HloInstructionProfile>* PROTOBUF_NONNULL HloInstructionProfileList::mutable_entries()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable_list:xla.gpu.HloInstructionProfileList.entries)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_entries();
}
inline const ::xla::gpu::HloInstructionProfile& HloInstructionProfileList::entries(int index) const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:xla.gpu.HloInstructionProfileList.entries)
  return _internal_entries().Get(index);
}
inline ::xla::gpu::HloInstructionProfile* PROTOBUF_NONNULL HloInstructionProfileList::add_entries()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::xla::gpu::HloInstructionProfile* _add = _internal_mutable_entries()->Add();
  // @@protoc_insertion_point(field_add:xla.gpu.HloInstructionProfileList.entries)
  return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::xla::gpu::HloInstructionProfile>& HloInstructionProfileList::entries() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:xla.gpu.HloInstructionProfileList.entries)
  return _internal_entries();
}
inline const ::google::protobuf::RepeatedPtrField<::xla::gpu::HloInstructionProfile>&
HloInstructionProfileList::_internal_entries() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.entries_;
}
inline ::google::protobuf::RepeatedPtrField<::xla::gpu::HloInstructionProfile>* PROTOBUF_NONNULL
HloInstructionProfileList::_internal_mutable_entries() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.entries_;
}

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

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

// DeviceHloInstructionProfiles

// map<string, .xla.gpu.HloInstructionProfileList> entries = 2;
inline int DeviceHloInstructionProfiles::_internal_entries_size() const {
  return _internal_entries().size();
}
inline int DeviceHloInstructionProfiles::entries_size() const {
  return _internal_entries_size();
}
inline void DeviceHloInstructionProfiles::clear_entries() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.entries_.Clear();
}
inline const ::google::protobuf::Map<std::string, ::xla::gpu::HloInstructionProfileList>& DeviceHloInstructionProfiles::_internal_entries() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.entries_.GetMap();
}
inline const ::google::protobuf::Map<std::string, ::xla::gpu::HloInstructionProfileList>& DeviceHloInstructionProfiles::entries() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_map:xla.gpu.DeviceHloInstructionProfiles.entries)
  return _internal_entries();
}
inline ::google::protobuf::Map<std::string, ::xla::gpu::HloInstructionProfileList>* PROTOBUF_NONNULL DeviceHloInstructionProfiles::_internal_mutable_entries() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.entries_.MutableMap();
}
inline ::google::protobuf::Map<std::string, ::xla::gpu::HloInstructionProfileList>* PROTOBUF_NONNULL DeviceHloInstructionProfiles::mutable_entries()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable_map:xla.gpu.DeviceHloInstructionProfiles.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_2fmodel_2fhlo_5fop_5fprofile_2eproto_2epb_2eh
