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

#ifndef GOOGLE_PROTOBUF_INCLUDED_xla_2fservice_2fhlo_5fprofile_5fprinter_5fdata_2eproto_2epb_2eh
#define GOOGLE_PROTOBUF_INCLUDED_xla_2fservice_2fhlo_5fprofile_5fprinter_5fdata_2eproto_2epb_2eh

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

#include "google/protobuf/runtime_version.h"
#if PROTOBUF_VERSION != 5028003
#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/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_entry.h"
#include "google/protobuf/map_field_inl.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_2fhlo_5fprofile_5fprinter_5fdata_2eproto PROTOBUF_EXPORT

namespace google {
namespace protobuf {
namespace internal {
class AnyMetadata;
}  // namespace internal
}  // namespace protobuf
}  // namespace google

// Internal implementation detail -- do not use these members.
struct PROTOBUF_EXPORT TableStruct_xla_2fservice_2fhlo_5fprofile_5fprinter_5fdata_2eproto {
  static const ::uint32_t offsets[];
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::DescriptorTable
    descriptor_table_xla_2fservice_2fhlo_5fprofile_5fprinter_5fdata_2eproto;
namespace xla {
class HloProfilePrinterData;
struct HloProfilePrinterDataDefaultTypeInternal;
PROTOBUF_EXPORT extern HloProfilePrinterDataDefaultTypeInternal _HloProfilePrinterData_default_instance_;
class HloProfilePrinterData_ExtraMetricsEntry_DoNotUse;
struct HloProfilePrinterData_ExtraMetricsEntry_DoNotUseDefaultTypeInternal;
PROTOBUF_EXPORT extern HloProfilePrinterData_ExtraMetricsEntry_DoNotUseDefaultTypeInternal _HloProfilePrinterData_ExtraMetricsEntry_DoNotUse_default_instance_;
class HloProfilePrinterData_HloComputationInfo;
struct HloProfilePrinterData_HloComputationInfoDefaultTypeInternal;
PROTOBUF_EXPORT extern HloProfilePrinterData_HloComputationInfoDefaultTypeInternal _HloProfilePrinterData_HloComputationInfo_default_instance_;
class HloProfilePrinterData_HloInstructionInfo;
struct HloProfilePrinterData_HloInstructionInfoDefaultTypeInternal;
PROTOBUF_EXPORT extern HloProfilePrinterData_HloInstructionInfoDefaultTypeInternal _HloProfilePrinterData_HloInstructionInfo_default_instance_;
}  // namespace xla
namespace google {
namespace protobuf {
}  // namespace protobuf
}  // namespace google

namespace xla {

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


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

class PROTOBUF_EXPORT HloProfilePrinterData_HloInstructionInfo final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:xla.HloProfilePrinterData.HloInstructionInfo) */ {
 public:
  inline HloProfilePrinterData_HloInstructionInfo() : HloProfilePrinterData_HloInstructionInfo(nullptr) {}
  ~HloProfilePrinterData_HloInstructionInfo() PROTOBUF_FINAL;
  template <typename = void>
  explicit PROTOBUF_CONSTEXPR HloProfilePrinterData_HloInstructionInfo(
      ::google::protobuf::internal::ConstantInitialized);

  inline HloProfilePrinterData_HloInstructionInfo(const HloProfilePrinterData_HloInstructionInfo& from) : HloProfilePrinterData_HloInstructionInfo(nullptr, from) {}
  inline HloProfilePrinterData_HloInstructionInfo(HloProfilePrinterData_HloInstructionInfo&& from) noexcept
      : HloProfilePrinterData_HloInstructionInfo(nullptr, std::move(from)) {}
  inline HloProfilePrinterData_HloInstructionInfo& operator=(const HloProfilePrinterData_HloInstructionInfo& from) {
    CopyFrom(from);
    return *this;
  }
  inline HloProfilePrinterData_HloInstructionInfo& operator=(HloProfilePrinterData_HloInstructionInfo&& from) noexcept {
    if (this == &from) return *this;
    if (GetArena() == from.GetArena()
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetArena() != nullptr
#endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      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* mutable_unknown_fields()
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
  }

  static const ::google::protobuf::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::google::protobuf::Descriptor* GetDescriptor() {
    return default_instance().GetMetadata().descriptor;
  }
  static const ::google::protobuf::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const HloProfilePrinterData_HloInstructionInfo& default_instance() {
    return *internal_default_instance();
  }
  static inline const HloProfilePrinterData_HloInstructionInfo* internal_default_instance() {
    return reinterpret_cast<const HloProfilePrinterData_HloInstructionInfo*>(
        &_HloProfilePrinterData_HloInstructionInfo_default_instance_);
  }
  static constexpr int kIndexInFileMessages = 0;
  friend void swap(HloProfilePrinterData_HloInstructionInfo& a, HloProfilePrinterData_HloInstructionInfo& b) { a.Swap(&b); }
  inline void Swap(HloProfilePrinterData_HloInstructionInfo* other) {
    if (other == this) return;
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetArena() != nullptr && GetArena() == other->GetArena()) {
#else   // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetArena() == other->GetArena()) {
#endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(HloProfilePrinterData_HloInstructionInfo* other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

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

  HloProfilePrinterData_HloInstructionInfo* New(::google::protobuf::Arena* arena = nullptr) const PROTOBUF_FINAL {
    return ::google::protobuf::Message::DefaultConstruct<HloProfilePrinterData_HloInstructionInfo>(arena);
  }
  using ::google::protobuf::Message::CopyFrom;
  void CopyFrom(const HloProfilePrinterData_HloInstructionInfo& from);
  using ::google::protobuf::Message::MergeFrom;
  void MergeFrom(const HloProfilePrinterData_HloInstructionInfo& from) { HloProfilePrinterData_HloInstructionInfo::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* _InternalSerialize(
      const MessageLite& msg, ::uint8_t* target,
      ::google::protobuf::io::EpsCopyOutputStream* stream);

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

  private:
  void SharedCtor(::google::protobuf::Arena* arena);
  void SharedDtor();
  void InternalSwap(HloProfilePrinterData_HloInstructionInfo* other);
 private:
  friend class ::google::protobuf::internal::AnyMetadata;
  static ::absl::string_view FullMessageName() { return "xla.HloProfilePrinterData.HloInstructionInfo"; }

 protected:
  explicit HloProfilePrinterData_HloInstructionInfo(::google::protobuf::Arena* arena);
  HloProfilePrinterData_HloInstructionInfo(::google::protobuf::Arena* arena, const HloProfilePrinterData_HloInstructionInfo& from);
  HloProfilePrinterData_HloInstructionInfo(::google::protobuf::Arena* arena, HloProfilePrinterData_HloInstructionInfo&& from) noexcept
      : HloProfilePrinterData_HloInstructionInfo(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::Message::ClassData* GetClassData() const PROTOBUF_FINAL;
  static const ::google::protobuf::Message::ClassDataFull _class_data_;

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

  // accessors -------------------------------------------------------
  enum : int {
    kLongNameFieldNumber = 1,
    kShortNameFieldNumber = 2,
    kCategoryFieldNumber = 3,
    kFlopCountFieldNumber = 4,
    kTranscendentalCountFieldNumber = 5,
    kProfileIndexFieldNumber = 8,
    kBytesAccessedFieldNumber = 9,
    kOptimalSecondsFieldNumber = 7,
  };
  // string long_name = 1;
  void clear_long_name() ;
  const std::string& long_name() const;
  template <typename Arg_ = const std::string&, typename... Args_>
  void set_long_name(Arg_&& arg, Args_... args);
  std::string* mutable_long_name();
  PROTOBUF_NODISCARD std::string* release_long_name();
  void set_allocated_long_name(std::string* value);

  private:
  const std::string& _internal_long_name() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_long_name(
      const std::string& value);
  std::string* _internal_mutable_long_name();

  public:
  // string short_name = 2;
  void clear_short_name() ;
  const std::string& short_name() const;
  template <typename Arg_ = const std::string&, typename... Args_>
  void set_short_name(Arg_&& arg, Args_... args);
  std::string* mutable_short_name();
  PROTOBUF_NODISCARD std::string* release_short_name();
  void set_allocated_short_name(std::string* value);

  private:
  const std::string& _internal_short_name() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_short_name(
      const std::string& value);
  std::string* _internal_mutable_short_name();

  public:
  // string category = 3;
  void clear_category() ;
  const std::string& category() const;
  template <typename Arg_ = const std::string&, typename... Args_>
  void set_category(Arg_&& arg, Args_... args);
  std::string* mutable_category();
  PROTOBUF_NODISCARD std::string* release_category();
  void set_allocated_category(std::string* value);

  private:
  const std::string& _internal_category() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(
      const std::string& value);
  std::string* _internal_mutable_category();

  public:
  // float flop_count = 4;
  void clear_flop_count() ;
  float flop_count() const;
  void set_flop_count(float value);

  private:
  float _internal_flop_count() const;
  void _internal_set_flop_count(float value);

  public:
  // float transcendental_count = 5;
  void clear_transcendental_count() ;
  float transcendental_count() const;
  void set_transcendental_count(float value);

  private:
  float _internal_transcendental_count() const;
  void _internal_set_transcendental_count(float value);

  public:
  // int64 profile_index = 8;
  void clear_profile_index() ;
  ::int64_t profile_index() const;
  void set_profile_index(::int64_t value);

  private:
  ::int64_t _internal_profile_index() const;
  void _internal_set_profile_index(::int64_t value);

  public:
  // int64 bytes_accessed = 9;
  void clear_bytes_accessed() ;
  ::int64_t bytes_accessed() const;
  void set_bytes_accessed(::int64_t value);

  private:
  ::int64_t _internal_bytes_accessed() const;
  void _internal_set_bytes_accessed(::int64_t value);

  public:
  // float optimal_seconds = 7;
  void clear_optimal_seconds() ;
  float optimal_seconds() const;
  void set_optimal_seconds(float value);

  private:
  float _internal_optimal_seconds() const;
  void _internal_set_optimal_seconds(float value);

  public:
  // @@protoc_insertion_point(class_scope:xla.HloProfilePrinterData.HloInstructionInfo)
 private:
  class _Internal;
  friend class ::google::protobuf::internal::TcParser;
  static const ::google::protobuf::internal::TcParseTable<
      4, 8, 0,
      88, 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* arena);
    inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
                          ::google::protobuf::Arena* arena, const Impl_& from,
                          const HloProfilePrinterData_HloInstructionInfo& from_msg);
    ::google::protobuf::internal::ArenaStringPtr long_name_;
    ::google::protobuf::internal::ArenaStringPtr short_name_;
    ::google::protobuf::internal::ArenaStringPtr category_;
    float flop_count_;
    float transcendental_count_;
    ::int64_t profile_index_;
    ::int64_t bytes_accessed_;
    float optimal_seconds_;
    mutable ::google::protobuf::internal::CachedSize _cached_size_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_xla_2fservice_2fhlo_5fprofile_5fprinter_5fdata_2eproto;
};
// -------------------------------------------------------------------

class HloProfilePrinterData_ExtraMetricsEntry_DoNotUse final
    : public ::google::protobuf::internal::MapEntry<
          HloProfilePrinterData_ExtraMetricsEntry_DoNotUse, std::string, ::int64_t,
          ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
          ::google::protobuf::internal::WireFormatLite::TYPE_INT64> {
 public:
  using SuperType = ::google::protobuf::internal::MapEntry<
      HloProfilePrinterData_ExtraMetricsEntry_DoNotUse, std::string, ::int64_t,
      ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
      ::google::protobuf::internal::WireFormatLite::TYPE_INT64>;
  HloProfilePrinterData_ExtraMetricsEntry_DoNotUse();
  template <typename = void>
  explicit PROTOBUF_CONSTEXPR HloProfilePrinterData_ExtraMetricsEntry_DoNotUse(
      ::google::protobuf::internal::ConstantInitialized);
  explicit HloProfilePrinterData_ExtraMetricsEntry_DoNotUse(::google::protobuf::Arena* arena);
  static const HloProfilePrinterData_ExtraMetricsEntry_DoNotUse* internal_default_instance() {
    return reinterpret_cast<const HloProfilePrinterData_ExtraMetricsEntry_DoNotUse*>(
        &_HloProfilePrinterData_ExtraMetricsEntry_DoNotUse_default_instance_);
  }


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

  const ::google::protobuf::Message::ClassData* GetClassData() const PROTOBUF_FINAL;
  static const ::google::protobuf::Message::ClassDataFull _class_data_;
  friend struct ::TableStruct_xla_2fservice_2fhlo_5fprofile_5fprinter_5fdata_2eproto;
};
// -------------------------------------------------------------------

class PROTOBUF_EXPORT HloProfilePrinterData_HloComputationInfo final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:xla.HloProfilePrinterData.HloComputationInfo) */ {
 public:
  inline HloProfilePrinterData_HloComputationInfo() : HloProfilePrinterData_HloComputationInfo(nullptr) {}
  ~HloProfilePrinterData_HloComputationInfo() PROTOBUF_FINAL;
  template <typename = void>
  explicit PROTOBUF_CONSTEXPR HloProfilePrinterData_HloComputationInfo(
      ::google::protobuf::internal::ConstantInitialized);

  inline HloProfilePrinterData_HloComputationInfo(const HloProfilePrinterData_HloComputationInfo& from) : HloProfilePrinterData_HloComputationInfo(nullptr, from) {}
  inline HloProfilePrinterData_HloComputationInfo(HloProfilePrinterData_HloComputationInfo&& from) noexcept
      : HloProfilePrinterData_HloComputationInfo(nullptr, std::move(from)) {}
  inline HloProfilePrinterData_HloComputationInfo& operator=(const HloProfilePrinterData_HloComputationInfo& from) {
    CopyFrom(from);
    return *this;
  }
  inline HloProfilePrinterData_HloComputationInfo& operator=(HloProfilePrinterData_HloComputationInfo&& from) noexcept {
    if (this == &from) return *this;
    if (GetArena() == from.GetArena()
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetArena() != nullptr
#endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      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* mutable_unknown_fields()
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
  }

  static const ::google::protobuf::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::google::protobuf::Descriptor* GetDescriptor() {
    return default_instance().GetMetadata().descriptor;
  }
  static const ::google::protobuf::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const HloProfilePrinterData_HloComputationInfo& default_instance() {
    return *internal_default_instance();
  }
  static inline const HloProfilePrinterData_HloComputationInfo* internal_default_instance() {
    return reinterpret_cast<const HloProfilePrinterData_HloComputationInfo*>(
        &_HloProfilePrinterData_HloComputationInfo_default_instance_);
  }
  static constexpr int kIndexInFileMessages = 1;
  friend void swap(HloProfilePrinterData_HloComputationInfo& a, HloProfilePrinterData_HloComputationInfo& b) { a.Swap(&b); }
  inline void Swap(HloProfilePrinterData_HloComputationInfo* other) {
    if (other == this) return;
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetArena() != nullptr && GetArena() == other->GetArena()) {
#else   // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetArena() == other->GetArena()) {
#endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(HloProfilePrinterData_HloComputationInfo* other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

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

  HloProfilePrinterData_HloComputationInfo* New(::google::protobuf::Arena* arena = nullptr) const PROTOBUF_FINAL {
    return ::google::protobuf::Message::DefaultConstruct<HloProfilePrinterData_HloComputationInfo>(arena);
  }
  using ::google::protobuf::Message::CopyFrom;
  void CopyFrom(const HloProfilePrinterData_HloComputationInfo& from);
  using ::google::protobuf::Message::MergeFrom;
  void MergeFrom(const HloProfilePrinterData_HloComputationInfo& from) { HloProfilePrinterData_HloComputationInfo::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* _InternalSerialize(
      const MessageLite& msg, ::uint8_t* target,
      ::google::protobuf::io::EpsCopyOutputStream* stream);

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

  private:
  void SharedCtor(::google::protobuf::Arena* arena);
  void SharedDtor();
  void InternalSwap(HloProfilePrinterData_HloComputationInfo* other);
 private:
  friend class ::google::protobuf::internal::AnyMetadata;
  static ::absl::string_view FullMessageName() { return "xla.HloProfilePrinterData.HloComputationInfo"; }

 protected:
  explicit HloProfilePrinterData_HloComputationInfo(::google::protobuf::Arena* arena);
  HloProfilePrinterData_HloComputationInfo(::google::protobuf::Arena* arena, const HloProfilePrinterData_HloComputationInfo& from);
  HloProfilePrinterData_HloComputationInfo(::google::protobuf::Arena* arena, HloProfilePrinterData_HloComputationInfo&& from) noexcept
      : HloProfilePrinterData_HloComputationInfo(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::Message::ClassData* GetClassData() const PROTOBUF_FINAL;
  static const ::google::protobuf::Message::ClassDataFull _class_data_;

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

  // accessors -------------------------------------------------------
  enum : int {
    kInstructionInfosFieldNumber = 3,
    kNameFieldNumber = 1,
    kProfileIndexFieldNumber = 2,
  };
  // repeated .xla.HloProfilePrinterData.HloInstructionInfo instruction_infos = 3;
  int instruction_infos_size() const;
  private:
  int _internal_instruction_infos_size() const;

  public:
  void clear_instruction_infos() ;
  ::xla::HloProfilePrinterData_HloInstructionInfo* mutable_instruction_infos(int index);
  ::google::protobuf::RepeatedPtrField<::xla::HloProfilePrinterData_HloInstructionInfo>* mutable_instruction_infos();

  private:
  const ::google::protobuf::RepeatedPtrField<::xla::HloProfilePrinterData_HloInstructionInfo>& _internal_instruction_infos() const;
  ::google::protobuf::RepeatedPtrField<::xla::HloProfilePrinterData_HloInstructionInfo>* _internal_mutable_instruction_infos();
  public:
  const ::xla::HloProfilePrinterData_HloInstructionInfo& instruction_infos(int index) const;
  ::xla::HloProfilePrinterData_HloInstructionInfo* add_instruction_infos();
  const ::google::protobuf::RepeatedPtrField<::xla::HloProfilePrinterData_HloInstructionInfo>& instruction_infos() const;
  // string name = 1;
  void clear_name() ;
  const std::string& name() const;
  template <typename Arg_ = const std::string&, typename... Args_>
  void set_name(Arg_&& arg, Args_... args);
  std::string* mutable_name();
  PROTOBUF_NODISCARD std::string* release_name();
  void set_allocated_name(std::string* value);

  private:
  const std::string& _internal_name() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(
      const std::string& value);
  std::string* _internal_mutable_name();

  public:
  // int64 profile_index = 2;
  void clear_profile_index() ;
  ::int64_t profile_index() const;
  void set_profile_index(::int64_t value);

  private:
  ::int64_t _internal_profile_index() const;
  void _internal_set_profile_index(::int64_t value);

  public:
  // @@protoc_insertion_point(class_scope:xla.HloProfilePrinterData.HloComputationInfo)
 private:
  class _Internal;
  friend class ::google::protobuf::internal::TcParser;
  static const ::google::protobuf::internal::TcParseTable<
      2, 3, 1,
      57, 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* arena);
    inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
                          ::google::protobuf::Arena* arena, const Impl_& from,
                          const HloProfilePrinterData_HloComputationInfo& from_msg);
    ::google::protobuf::RepeatedPtrField< ::xla::HloProfilePrinterData_HloInstructionInfo > instruction_infos_;
    ::google::protobuf::internal::ArenaStringPtr name_;
    ::int64_t profile_index_;
    mutable ::google::protobuf::internal::CachedSize _cached_size_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_xla_2fservice_2fhlo_5fprofile_5fprinter_5fdata_2eproto;
};
// -------------------------------------------------------------------

class PROTOBUF_EXPORT HloProfilePrinterData final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:xla.HloProfilePrinterData) */ {
 public:
  inline HloProfilePrinterData() : HloProfilePrinterData(nullptr) {}
  ~HloProfilePrinterData() PROTOBUF_FINAL;
  template <typename = void>
  explicit PROTOBUF_CONSTEXPR HloProfilePrinterData(
      ::google::protobuf::internal::ConstantInitialized);

  inline HloProfilePrinterData(const HloProfilePrinterData& from) : HloProfilePrinterData(nullptr, from) {}
  inline HloProfilePrinterData(HloProfilePrinterData&& from) noexcept
      : HloProfilePrinterData(nullptr, std::move(from)) {}
  inline HloProfilePrinterData& operator=(const HloProfilePrinterData& from) {
    CopyFrom(from);
    return *this;
  }
  inline HloProfilePrinterData& operator=(HloProfilePrinterData&& from) noexcept {
    if (this == &from) return *this;
    if (GetArena() == from.GetArena()
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetArena() != nullptr
#endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      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* mutable_unknown_fields()
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
  }

  static const ::google::protobuf::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::google::protobuf::Descriptor* GetDescriptor() {
    return default_instance().GetMetadata().descriptor;
  }
  static const ::google::protobuf::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const HloProfilePrinterData& default_instance() {
    return *internal_default_instance();
  }
  static inline const HloProfilePrinterData* internal_default_instance() {
    return reinterpret_cast<const HloProfilePrinterData*>(
        &_HloProfilePrinterData_default_instance_);
  }
  static constexpr int kIndexInFileMessages = 3;
  friend void swap(HloProfilePrinterData& a, HloProfilePrinterData& b) { a.Swap(&b); }
  inline void Swap(HloProfilePrinterData* other) {
    if (other == this) return;
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetArena() != nullptr && GetArena() == other->GetArena()) {
#else   // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetArena() == other->GetArena()) {
#endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(HloProfilePrinterData* other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

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

  HloProfilePrinterData* New(::google::protobuf::Arena* arena = nullptr) const PROTOBUF_FINAL {
    return ::google::protobuf::Message::DefaultConstruct<HloProfilePrinterData>(arena);
  }
  using ::google::protobuf::Message::CopyFrom;
  void CopyFrom(const HloProfilePrinterData& from);
  using ::google::protobuf::Message::MergeFrom;
  void MergeFrom(const HloProfilePrinterData& from) { HloProfilePrinterData::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* _InternalSerialize(
      const MessageLite& msg, ::uint8_t* target,
      ::google::protobuf::io::EpsCopyOutputStream* stream);

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

  private:
  void SharedCtor(::google::protobuf::Arena* arena);
  void SharedDtor();
  void InternalSwap(HloProfilePrinterData* other);
 private:
  friend class ::google::protobuf::internal::AnyMetadata;
  static ::absl::string_view FullMessageName() { return "xla.HloProfilePrinterData"; }

 protected:
  explicit HloProfilePrinterData(::google::protobuf::Arena* arena);
  HloProfilePrinterData(::google::protobuf::Arena* arena, const HloProfilePrinterData& from);
  HloProfilePrinterData(::google::protobuf::Arena* arena, HloProfilePrinterData&& from) noexcept
      : HloProfilePrinterData(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::Message::ClassData* GetClassData() const PROTOBUF_FINAL;
  static const ::google::protobuf::Message::ClassDataFull _class_data_;

 public:
  ::google::protobuf::Metadata GetMetadata() const;
  // nested types ----------------------------------------------------
  using HloInstructionInfo = HloProfilePrinterData_HloInstructionInfo;
  using HloComputationInfo = HloProfilePrinterData_HloComputationInfo;

  // accessors -------------------------------------------------------
  enum : int {
    kComputationInfosFieldNumber = 1,
    kExtraMetricsFieldNumber = 3,
    kEntryComputationFieldNumber = 4,
    kProfileCountersSizeFieldNumber = 2,
  };
  // repeated .xla.HloProfilePrinterData.HloComputationInfo computation_infos = 1;
  int computation_infos_size() const;
  private:
  int _internal_computation_infos_size() const;

  public:
  void clear_computation_infos() ;
  ::xla::HloProfilePrinterData_HloComputationInfo* mutable_computation_infos(int index);
  ::google::protobuf::RepeatedPtrField<::xla::HloProfilePrinterData_HloComputationInfo>* mutable_computation_infos();

  private:
  const ::google::protobuf::RepeatedPtrField<::xla::HloProfilePrinterData_HloComputationInfo>& _internal_computation_infos() const;
  ::google::protobuf::RepeatedPtrField<::xla::HloProfilePrinterData_HloComputationInfo>* _internal_mutable_computation_infos();
  public:
  const ::xla::HloProfilePrinterData_HloComputationInfo& computation_infos(int index) const;
  ::xla::HloProfilePrinterData_HloComputationInfo* add_computation_infos();
  const ::google::protobuf::RepeatedPtrField<::xla::HloProfilePrinterData_HloComputationInfo>& computation_infos() const;
  // map<string, int64> extra_metrics = 3;
  int extra_metrics_size() const;
  private:
  int _internal_extra_metrics_size() const;

  public:
  void clear_extra_metrics() ;
  const ::google::protobuf::Map<std::string, ::int64_t>& extra_metrics() const;
  ::google::protobuf::Map<std::string, ::int64_t>* mutable_extra_metrics();

  private:
  const ::google::protobuf::Map<std::string, ::int64_t>& _internal_extra_metrics() const;
  ::google::protobuf::Map<std::string, ::int64_t>* _internal_mutable_extra_metrics();

  public:
  // string entry_computation = 4;
  void clear_entry_computation() ;
  const std::string& entry_computation() const;
  template <typename Arg_ = const std::string&, typename... Args_>
  void set_entry_computation(Arg_&& arg, Args_... args);
  std::string* mutable_entry_computation();
  PROTOBUF_NODISCARD std::string* release_entry_computation();
  void set_allocated_entry_computation(std::string* value);

  private:
  const std::string& _internal_entry_computation() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_entry_computation(
      const std::string& value);
  std::string* _internal_mutable_entry_computation();

  public:
  // int64 profile_counters_size = 2;
  void clear_profile_counters_size() ;
  ::int64_t profile_counters_size() const;
  void set_profile_counters_size(::int64_t value);

  private:
  ::int64_t _internal_profile_counters_size() const;
  void _internal_set_profile_counters_size(::int64_t value);

  public:
  // @@protoc_insertion_point(class_scope:xla.HloProfilePrinterData)
 private:
  class _Internal;
  friend class ::google::protobuf::internal::TcParser;
  static const ::google::protobuf::internal::TcParseTable<
      2, 4, 2,
      64, 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* arena);
    inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
                          ::google::protobuf::Arena* arena, const Impl_& from,
                          const HloProfilePrinterData& from_msg);
    ::google::protobuf::RepeatedPtrField< ::xla::HloProfilePrinterData_HloComputationInfo > computation_infos_;
    ::google::protobuf::internal::MapField<HloProfilePrinterData_ExtraMetricsEntry_DoNotUse, std::string, ::int64_t,
                      ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
                      ::google::protobuf::internal::WireFormatLite::TYPE_INT64>
        extra_metrics_;
    ::google::protobuf::internal::ArenaStringPtr entry_computation_;
    ::int64_t profile_counters_size_;
    mutable ::google::protobuf::internal::CachedSize _cached_size_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_xla_2fservice_2fhlo_5fprofile_5fprinter_5fdata_2eproto;
};

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




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


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

// HloProfilePrinterData_HloInstructionInfo

// string long_name = 1;
inline void HloProfilePrinterData_HloInstructionInfo::clear_long_name() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.long_name_.ClearToEmpty();
}
inline const std::string& HloProfilePrinterData_HloInstructionInfo::long_name() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:xla.HloProfilePrinterData.HloInstructionInfo.long_name)
  return _internal_long_name();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void HloProfilePrinterData_HloInstructionInfo::set_long_name(Arg_&& arg,
                                                     Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.long_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:xla.HloProfilePrinterData.HloInstructionInfo.long_name)
}
inline std::string* HloProfilePrinterData_HloInstructionInfo::mutable_long_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  std::string* _s = _internal_mutable_long_name();
  // @@protoc_insertion_point(field_mutable:xla.HloProfilePrinterData.HloInstructionInfo.long_name)
  return _s;
}
inline const std::string& HloProfilePrinterData_HloInstructionInfo::_internal_long_name() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.long_name_.Get();
}
inline void HloProfilePrinterData_HloInstructionInfo::_internal_set_long_name(const std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.long_name_.Set(value, GetArena());
}
inline std::string* HloProfilePrinterData_HloInstructionInfo::_internal_mutable_long_name() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.long_name_.Mutable( GetArena());
}
inline std::string* HloProfilePrinterData_HloInstructionInfo::release_long_name() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:xla.HloProfilePrinterData.HloInstructionInfo.long_name)
  return _impl_.long_name_.Release();
}
inline void HloProfilePrinterData_HloInstructionInfo::set_allocated_long_name(std::string* value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.long_name_.SetAllocated(value, GetArena());
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
        if (_impl_.long_name_.IsDefault()) {
          _impl_.long_name_.Set("", GetArena());
        }
  #endif  // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:xla.HloProfilePrinterData.HloInstructionInfo.long_name)
}

// string short_name = 2;
inline void HloProfilePrinterData_HloInstructionInfo::clear_short_name() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.short_name_.ClearToEmpty();
}
inline const std::string& HloProfilePrinterData_HloInstructionInfo::short_name() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:xla.HloProfilePrinterData.HloInstructionInfo.short_name)
  return _internal_short_name();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void HloProfilePrinterData_HloInstructionInfo::set_short_name(Arg_&& arg,
                                                     Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.short_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:xla.HloProfilePrinterData.HloInstructionInfo.short_name)
}
inline std::string* HloProfilePrinterData_HloInstructionInfo::mutable_short_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  std::string* _s = _internal_mutable_short_name();
  // @@protoc_insertion_point(field_mutable:xla.HloProfilePrinterData.HloInstructionInfo.short_name)
  return _s;
}
inline const std::string& HloProfilePrinterData_HloInstructionInfo::_internal_short_name() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.short_name_.Get();
}
inline void HloProfilePrinterData_HloInstructionInfo::_internal_set_short_name(const std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.short_name_.Set(value, GetArena());
}
inline std::string* HloProfilePrinterData_HloInstructionInfo::_internal_mutable_short_name() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.short_name_.Mutable( GetArena());
}
inline std::string* HloProfilePrinterData_HloInstructionInfo::release_short_name() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:xla.HloProfilePrinterData.HloInstructionInfo.short_name)
  return _impl_.short_name_.Release();
}
inline void HloProfilePrinterData_HloInstructionInfo::set_allocated_short_name(std::string* value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.short_name_.SetAllocated(value, GetArena());
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
        if (_impl_.short_name_.IsDefault()) {
          _impl_.short_name_.Set("", GetArena());
        }
  #endif  // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:xla.HloProfilePrinterData.HloInstructionInfo.short_name)
}

// string category = 3;
inline void HloProfilePrinterData_HloInstructionInfo::clear_category() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.category_.ClearToEmpty();
}
inline const std::string& HloProfilePrinterData_HloInstructionInfo::category() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:xla.HloProfilePrinterData.HloInstructionInfo.category)
  return _internal_category();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void HloProfilePrinterData_HloInstructionInfo::set_category(Arg_&& arg,
                                                     Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.category_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:xla.HloProfilePrinterData.HloInstructionInfo.category)
}
inline std::string* HloProfilePrinterData_HloInstructionInfo::mutable_category() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  std::string* _s = _internal_mutable_category();
  // @@protoc_insertion_point(field_mutable:xla.HloProfilePrinterData.HloInstructionInfo.category)
  return _s;
}
inline const std::string& HloProfilePrinterData_HloInstructionInfo::_internal_category() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.category_.Get();
}
inline void HloProfilePrinterData_HloInstructionInfo::_internal_set_category(const std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.category_.Set(value, GetArena());
}
inline std::string* HloProfilePrinterData_HloInstructionInfo::_internal_mutable_category() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.category_.Mutable( GetArena());
}
inline std::string* HloProfilePrinterData_HloInstructionInfo::release_category() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:xla.HloProfilePrinterData.HloInstructionInfo.category)
  return _impl_.category_.Release();
}
inline void HloProfilePrinterData_HloInstructionInfo::set_allocated_category(std::string* value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.category_.SetAllocated(value, GetArena());
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
        if (_impl_.category_.IsDefault()) {
          _impl_.category_.Set("", GetArena());
        }
  #endif  // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:xla.HloProfilePrinterData.HloInstructionInfo.category)
}

// float flop_count = 4;
inline void HloProfilePrinterData_HloInstructionInfo::clear_flop_count() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.flop_count_ = 0;
}
inline float HloProfilePrinterData_HloInstructionInfo::flop_count() const {
  // @@protoc_insertion_point(field_get:xla.HloProfilePrinterData.HloInstructionInfo.flop_count)
  return _internal_flop_count();
}
inline void HloProfilePrinterData_HloInstructionInfo::set_flop_count(float value) {
  _internal_set_flop_count(value);
  // @@protoc_insertion_point(field_set:xla.HloProfilePrinterData.HloInstructionInfo.flop_count)
}
inline float HloProfilePrinterData_HloInstructionInfo::_internal_flop_count() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.flop_count_;
}
inline void HloProfilePrinterData_HloInstructionInfo::_internal_set_flop_count(float value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.flop_count_ = value;
}

// float transcendental_count = 5;
inline void HloProfilePrinterData_HloInstructionInfo::clear_transcendental_count() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.transcendental_count_ = 0;
}
inline float HloProfilePrinterData_HloInstructionInfo::transcendental_count() const {
  // @@protoc_insertion_point(field_get:xla.HloProfilePrinterData.HloInstructionInfo.transcendental_count)
  return _internal_transcendental_count();
}
inline void HloProfilePrinterData_HloInstructionInfo::set_transcendental_count(float value) {
  _internal_set_transcendental_count(value);
  // @@protoc_insertion_point(field_set:xla.HloProfilePrinterData.HloInstructionInfo.transcendental_count)
}
inline float HloProfilePrinterData_HloInstructionInfo::_internal_transcendental_count() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.transcendental_count_;
}
inline void HloProfilePrinterData_HloInstructionInfo::_internal_set_transcendental_count(float value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.transcendental_count_ = value;
}

// int64 bytes_accessed = 9;
inline void HloProfilePrinterData_HloInstructionInfo::clear_bytes_accessed() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.bytes_accessed_ = ::int64_t{0};
}
inline ::int64_t HloProfilePrinterData_HloInstructionInfo::bytes_accessed() const {
  // @@protoc_insertion_point(field_get:xla.HloProfilePrinterData.HloInstructionInfo.bytes_accessed)
  return _internal_bytes_accessed();
}
inline void HloProfilePrinterData_HloInstructionInfo::set_bytes_accessed(::int64_t value) {
  _internal_set_bytes_accessed(value);
  // @@protoc_insertion_point(field_set:xla.HloProfilePrinterData.HloInstructionInfo.bytes_accessed)
}
inline ::int64_t HloProfilePrinterData_HloInstructionInfo::_internal_bytes_accessed() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.bytes_accessed_;
}
inline void HloProfilePrinterData_HloInstructionInfo::_internal_set_bytes_accessed(::int64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.bytes_accessed_ = value;
}

// float optimal_seconds = 7;
inline void HloProfilePrinterData_HloInstructionInfo::clear_optimal_seconds() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.optimal_seconds_ = 0;
}
inline float HloProfilePrinterData_HloInstructionInfo::optimal_seconds() const {
  // @@protoc_insertion_point(field_get:xla.HloProfilePrinterData.HloInstructionInfo.optimal_seconds)
  return _internal_optimal_seconds();
}
inline void HloProfilePrinterData_HloInstructionInfo::set_optimal_seconds(float value) {
  _internal_set_optimal_seconds(value);
  // @@protoc_insertion_point(field_set:xla.HloProfilePrinterData.HloInstructionInfo.optimal_seconds)
}
inline float HloProfilePrinterData_HloInstructionInfo::_internal_optimal_seconds() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.optimal_seconds_;
}
inline void HloProfilePrinterData_HloInstructionInfo::_internal_set_optimal_seconds(float value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.optimal_seconds_ = value;
}

// int64 profile_index = 8;
inline void HloProfilePrinterData_HloInstructionInfo::clear_profile_index() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.profile_index_ = ::int64_t{0};
}
inline ::int64_t HloProfilePrinterData_HloInstructionInfo::profile_index() const {
  // @@protoc_insertion_point(field_get:xla.HloProfilePrinterData.HloInstructionInfo.profile_index)
  return _internal_profile_index();
}
inline void HloProfilePrinterData_HloInstructionInfo::set_profile_index(::int64_t value) {
  _internal_set_profile_index(value);
  // @@protoc_insertion_point(field_set:xla.HloProfilePrinterData.HloInstructionInfo.profile_index)
}
inline ::int64_t HloProfilePrinterData_HloInstructionInfo::_internal_profile_index() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.profile_index_;
}
inline void HloProfilePrinterData_HloInstructionInfo::_internal_set_profile_index(::int64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.profile_index_ = value;
}

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

// HloProfilePrinterData_HloComputationInfo

// string name = 1;
inline void HloProfilePrinterData_HloComputationInfo::clear_name() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.name_.ClearToEmpty();
}
inline const std::string& HloProfilePrinterData_HloComputationInfo::name() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:xla.HloProfilePrinterData.HloComputationInfo.name)
  return _internal_name();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void HloProfilePrinterData_HloComputationInfo::set_name(Arg_&& arg,
                                                     Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:xla.HloProfilePrinterData.HloComputationInfo.name)
}
inline std::string* HloProfilePrinterData_HloComputationInfo::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  std::string* _s = _internal_mutable_name();
  // @@protoc_insertion_point(field_mutable:xla.HloProfilePrinterData.HloComputationInfo.name)
  return _s;
}
inline const std::string& HloProfilePrinterData_HloComputationInfo::_internal_name() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.name_.Get();
}
inline void HloProfilePrinterData_HloComputationInfo::_internal_set_name(const std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.name_.Set(value, GetArena());
}
inline std::string* HloProfilePrinterData_HloComputationInfo::_internal_mutable_name() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.name_.Mutable( GetArena());
}
inline std::string* HloProfilePrinterData_HloComputationInfo::release_name() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:xla.HloProfilePrinterData.HloComputationInfo.name)
  return _impl_.name_.Release();
}
inline void HloProfilePrinterData_HloComputationInfo::set_allocated_name(std::string* value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.name_.SetAllocated(value, GetArena());
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
        if (_impl_.name_.IsDefault()) {
          _impl_.name_.Set("", GetArena());
        }
  #endif  // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:xla.HloProfilePrinterData.HloComputationInfo.name)
}

// int64 profile_index = 2;
inline void HloProfilePrinterData_HloComputationInfo::clear_profile_index() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.profile_index_ = ::int64_t{0};
}
inline ::int64_t HloProfilePrinterData_HloComputationInfo::profile_index() const {
  // @@protoc_insertion_point(field_get:xla.HloProfilePrinterData.HloComputationInfo.profile_index)
  return _internal_profile_index();
}
inline void HloProfilePrinterData_HloComputationInfo::set_profile_index(::int64_t value) {
  _internal_set_profile_index(value);
  // @@protoc_insertion_point(field_set:xla.HloProfilePrinterData.HloComputationInfo.profile_index)
}
inline ::int64_t HloProfilePrinterData_HloComputationInfo::_internal_profile_index() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.profile_index_;
}
inline void HloProfilePrinterData_HloComputationInfo::_internal_set_profile_index(::int64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.profile_index_ = value;
}

// repeated .xla.HloProfilePrinterData.HloInstructionInfo instruction_infos = 3;
inline int HloProfilePrinterData_HloComputationInfo::_internal_instruction_infos_size() const {
  return _internal_instruction_infos().size();
}
inline int HloProfilePrinterData_HloComputationInfo::instruction_infos_size() const {
  return _internal_instruction_infos_size();
}
inline void HloProfilePrinterData_HloComputationInfo::clear_instruction_infos() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.instruction_infos_.Clear();
}
inline ::xla::HloProfilePrinterData_HloInstructionInfo* HloProfilePrinterData_HloComputationInfo::mutable_instruction_infos(int index)
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable:xla.HloProfilePrinterData.HloComputationInfo.instruction_infos)
  return _internal_mutable_instruction_infos()->Mutable(index);
}
inline ::google::protobuf::RepeatedPtrField<::xla::HloProfilePrinterData_HloInstructionInfo>* HloProfilePrinterData_HloComputationInfo::mutable_instruction_infos()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable_list:xla.HloProfilePrinterData.HloComputationInfo.instruction_infos)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_instruction_infos();
}
inline const ::xla::HloProfilePrinterData_HloInstructionInfo& HloProfilePrinterData_HloComputationInfo::instruction_infos(int index) const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:xla.HloProfilePrinterData.HloComputationInfo.instruction_infos)
  return _internal_instruction_infos().Get(index);
}
inline ::xla::HloProfilePrinterData_HloInstructionInfo* HloProfilePrinterData_HloComputationInfo::add_instruction_infos() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::xla::HloProfilePrinterData_HloInstructionInfo* _add = _internal_mutable_instruction_infos()->Add();
  // @@protoc_insertion_point(field_add:xla.HloProfilePrinterData.HloComputationInfo.instruction_infos)
  return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::xla::HloProfilePrinterData_HloInstructionInfo>& HloProfilePrinterData_HloComputationInfo::instruction_infos() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:xla.HloProfilePrinterData.HloComputationInfo.instruction_infos)
  return _internal_instruction_infos();
}
inline const ::google::protobuf::RepeatedPtrField<::xla::HloProfilePrinterData_HloInstructionInfo>&
HloProfilePrinterData_HloComputationInfo::_internal_instruction_infos() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.instruction_infos_;
}
inline ::google::protobuf::RepeatedPtrField<::xla::HloProfilePrinterData_HloInstructionInfo>*
HloProfilePrinterData_HloComputationInfo::_internal_mutable_instruction_infos() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.instruction_infos_;
}

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

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

// HloProfilePrinterData

// repeated .xla.HloProfilePrinterData.HloComputationInfo computation_infos = 1;
inline int HloProfilePrinterData::_internal_computation_infos_size() const {
  return _internal_computation_infos().size();
}
inline int HloProfilePrinterData::computation_infos_size() const {
  return _internal_computation_infos_size();
}
inline void HloProfilePrinterData::clear_computation_infos() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.computation_infos_.Clear();
}
inline ::xla::HloProfilePrinterData_HloComputationInfo* HloProfilePrinterData::mutable_computation_infos(int index)
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable:xla.HloProfilePrinterData.computation_infos)
  return _internal_mutable_computation_infos()->Mutable(index);
}
inline ::google::protobuf::RepeatedPtrField<::xla::HloProfilePrinterData_HloComputationInfo>* HloProfilePrinterData::mutable_computation_infos()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable_list:xla.HloProfilePrinterData.computation_infos)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_computation_infos();
}
inline const ::xla::HloProfilePrinterData_HloComputationInfo& HloProfilePrinterData::computation_infos(int index) const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:xla.HloProfilePrinterData.computation_infos)
  return _internal_computation_infos().Get(index);
}
inline ::xla::HloProfilePrinterData_HloComputationInfo* HloProfilePrinterData::add_computation_infos() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::xla::HloProfilePrinterData_HloComputationInfo* _add = _internal_mutable_computation_infos()->Add();
  // @@protoc_insertion_point(field_add:xla.HloProfilePrinterData.computation_infos)
  return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::xla::HloProfilePrinterData_HloComputationInfo>& HloProfilePrinterData::computation_infos() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:xla.HloProfilePrinterData.computation_infos)
  return _internal_computation_infos();
}
inline const ::google::protobuf::RepeatedPtrField<::xla::HloProfilePrinterData_HloComputationInfo>&
HloProfilePrinterData::_internal_computation_infos() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.computation_infos_;
}
inline ::google::protobuf::RepeatedPtrField<::xla::HloProfilePrinterData_HloComputationInfo>*
HloProfilePrinterData::_internal_mutable_computation_infos() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.computation_infos_;
}

// int64 profile_counters_size = 2;
inline void HloProfilePrinterData::clear_profile_counters_size() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.profile_counters_size_ = ::int64_t{0};
}
inline ::int64_t HloProfilePrinterData::profile_counters_size() const {
  // @@protoc_insertion_point(field_get:xla.HloProfilePrinterData.profile_counters_size)
  return _internal_profile_counters_size();
}
inline void HloProfilePrinterData::set_profile_counters_size(::int64_t value) {
  _internal_set_profile_counters_size(value);
  // @@protoc_insertion_point(field_set:xla.HloProfilePrinterData.profile_counters_size)
}
inline ::int64_t HloProfilePrinterData::_internal_profile_counters_size() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.profile_counters_size_;
}
inline void HloProfilePrinterData::_internal_set_profile_counters_size(::int64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.profile_counters_size_ = value;
}

// map<string, int64> extra_metrics = 3;
inline int HloProfilePrinterData::_internal_extra_metrics_size() const {
  return _internal_extra_metrics().size();
}
inline int HloProfilePrinterData::extra_metrics_size() const {
  return _internal_extra_metrics_size();
}
inline void HloProfilePrinterData::clear_extra_metrics() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.extra_metrics_.Clear();
}
inline const ::google::protobuf::Map<std::string, ::int64_t>& HloProfilePrinterData::_internal_extra_metrics() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.extra_metrics_.GetMap();
}
inline const ::google::protobuf::Map<std::string, ::int64_t>& HloProfilePrinterData::extra_metrics() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_map:xla.HloProfilePrinterData.extra_metrics)
  return _internal_extra_metrics();
}
inline ::google::protobuf::Map<std::string, ::int64_t>* HloProfilePrinterData::_internal_mutable_extra_metrics() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.extra_metrics_.MutableMap();
}
inline ::google::protobuf::Map<std::string, ::int64_t>* HloProfilePrinterData::mutable_extra_metrics() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable_map:xla.HloProfilePrinterData.extra_metrics)
  return _internal_mutable_extra_metrics();
}

// string entry_computation = 4;
inline void HloProfilePrinterData::clear_entry_computation() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.entry_computation_.ClearToEmpty();
}
inline const std::string& HloProfilePrinterData::entry_computation() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:xla.HloProfilePrinterData.entry_computation)
  return _internal_entry_computation();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void HloProfilePrinterData::set_entry_computation(Arg_&& arg,
                                                     Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.entry_computation_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:xla.HloProfilePrinterData.entry_computation)
}
inline std::string* HloProfilePrinterData::mutable_entry_computation() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  std::string* _s = _internal_mutable_entry_computation();
  // @@protoc_insertion_point(field_mutable:xla.HloProfilePrinterData.entry_computation)
  return _s;
}
inline const std::string& HloProfilePrinterData::_internal_entry_computation() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.entry_computation_.Get();
}
inline void HloProfilePrinterData::_internal_set_entry_computation(const std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.entry_computation_.Set(value, GetArena());
}
inline std::string* HloProfilePrinterData::_internal_mutable_entry_computation() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.entry_computation_.Mutable( GetArena());
}
inline std::string* HloProfilePrinterData::release_entry_computation() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:xla.HloProfilePrinterData.entry_computation)
  return _impl_.entry_computation_.Release();
}
inline void HloProfilePrinterData::set_allocated_entry_computation(std::string* value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.entry_computation_.SetAllocated(value, GetArena());
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
        if (_impl_.entry_computation_.IsDefault()) {
          _impl_.entry_computation_.Set("", GetArena());
        }
  #endif  // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:xla.HloProfilePrinterData.entry_computation)
}

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

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


// @@protoc_insertion_point(global_scope)

#include "google/protobuf/port_undef.inc"

#endif  // GOOGLE_PROTOBUF_INCLUDED_xla_2fservice_2fhlo_5fprofile_5fprinter_5fdata_2eproto_2epb_2eh
