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

#ifndef xla_2fstream_5fexecutor_2fkernel_5fspec_2eproto_2epb_2eh
#define xla_2fstream_5fexecutor_2fkernel_5fspec_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/unknown_field_set.h"
#include "xla/stream_executor/kernel_args_packing_spec.pb.h"
// @@protoc_insertion_point(includes)

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

#define PROTOBUF_INTERNAL_EXPORT_xla_2fstream_5fexecutor_2fkernel_5fspec_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_2fstream_5fexecutor_2fkernel_5fspec_2eproto {
  static const ::uint32_t offsets[];
};
extern "C" {
PROTOBUF_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_xla_2fstream_5fexecutor_2fkernel_5fspec_2eproto;
}  // extern "C"
namespace stream_executor {
class CudaCubinProto;
struct CudaCubinProtoDefaultTypeInternal;
PROTOBUF_EXPORT extern CudaCubinProtoDefaultTypeInternal _CudaCubinProto_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull CudaCubinProto_class_data_;
class CudaPtxProto;
struct CudaPtxProtoDefaultTypeInternal;
PROTOBUF_EXPORT extern CudaPtxProtoDefaultTypeInternal _CudaPtxProto_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull CudaPtxProto_class_data_;
class InProcessSymbolProto;
struct InProcessSymbolProtoDefaultTypeInternal;
PROTOBUF_EXPORT extern InProcessSymbolProtoDefaultTypeInternal _InProcessSymbolProto_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull InProcessSymbolProto_class_data_;
class KernelLoaderSpecProto;
struct KernelLoaderSpecProtoDefaultTypeInternal;
PROTOBUF_EXPORT extern KernelLoaderSpecProtoDefaultTypeInternal _KernelLoaderSpecProto_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull KernelLoaderSpecProto_class_data_;
}  // namespace stream_executor
namespace google {
namespace protobuf {
}  // namespace protobuf
}  // namespace google

namespace stream_executor {

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


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

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

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

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

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

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

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

 protected:
  explicit InProcessSymbolProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  InProcessSymbolProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const InProcessSymbolProto& from);
  InProcessSymbolProto(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, InProcessSymbolProto&& from) noexcept
      : InProcessSymbolProto(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 {
    kPersistentNameFieldNumber = 1,
  };
  // string persistent_name = 1;
  void clear_persistent_name() ;
  const ::std::string& persistent_name() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_persistent_name(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_persistent_name();
  [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_persistent_name();
  void set_allocated_persistent_name(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_persistent_name() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_persistent_name(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_persistent_name();

  public:
  // @@protoc_insertion_point(class_scope:stream_executor.InProcessSymbolProto)
 private:
  class _Internal;
  friend class ::google::protobuf::internal::TcParser;
  static const ::google::protobuf::internal::TcParseTable<0, 1,
                                   0, 60,
                                   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 InProcessSymbolProto& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::internal::ArenaStringPtr persistent_name_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_xla_2fstream_5fexecutor_2fkernel_5fspec_2eproto;
};

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

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

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

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

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

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

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

 protected:
  explicit CudaPtxProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  CudaPtxProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CudaPtxProto& from);
  CudaPtxProto(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CudaPtxProto&& from) noexcept
      : CudaPtxProto(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 {
    kDataFieldNumber = 1,
  };
  // string data = 1;
  void clear_data() ;
  const ::std::string& data() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_data(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_data();
  [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_data();
  void set_allocated_data(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_data() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_data(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_data();

  public:
  // @@protoc_insertion_point(class_scope:stream_executor.CudaPtxProto)
 private:
  class _Internal;
  friend class ::google::protobuf::internal::TcParser;
  static const ::google::protobuf::internal::TcParseTable<0, 1,
                                   0, 41,
                                   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 CudaPtxProto& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::internal::ArenaStringPtr data_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_xla_2fstream_5fexecutor_2fkernel_5fspec_2eproto;
};

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

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

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

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

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

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

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

 protected:
  explicit CudaCubinProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  CudaCubinProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CudaCubinProto& from);
  CudaCubinProto(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CudaCubinProto&& from) noexcept
      : CudaCubinProto(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 {
    kDataFieldNumber = 1,
  };
  // bytes data = 1;
  void clear_data() ;
  const ::std::string& data() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_data(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_data();
  [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_data();
  void set_allocated_data(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_data() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_data(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_data();

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

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const CudaCubinProto& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::internal::ArenaStringPtr data_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_xla_2fstream_5fexecutor_2fkernel_5fspec_2eproto;
};

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

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

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

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

  inline KernelLoaderSpecProto(const KernelLoaderSpecProto& from) : KernelLoaderSpecProto(nullptr, from) {}
  inline KernelLoaderSpecProto(KernelLoaderSpecProto&& from) noexcept
      : KernelLoaderSpecProto(nullptr, ::std::move(from)) {}
  inline KernelLoaderSpecProto& operator=(const KernelLoaderSpecProto& from) {
    CopyFrom(from);
    return *this;
  }
  inline KernelLoaderSpecProto& operator=(KernelLoaderSpecProto&& 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 KernelLoaderSpecProto& default_instance() {
    return *reinterpret_cast<const KernelLoaderSpecProto*>(
        &_KernelLoaderSpecProto_default_instance_);
  }
  enum PayloadCase {
    kPtx = 1,
    kCubin = 2,
    kInProcessSymbol = 6,
    PAYLOAD_NOT_SET = 0,
  };
  static constexpr int kIndexInFileMessages = 3;
  friend void swap(KernelLoaderSpecProto& a, KernelLoaderSpecProto& b) { a.Swap(&b); }
  inline void Swap(KernelLoaderSpecProto* 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(KernelLoaderSpecProto* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

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

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

 protected:
  explicit KernelLoaderSpecProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  KernelLoaderSpecProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const KernelLoaderSpecProto& from);
  KernelLoaderSpecProto(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, KernelLoaderSpecProto&& from) noexcept
      : KernelLoaderSpecProto(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 {
    kKernelNameFieldNumber = 4,
    kKernelArgsPackingSpecFieldNumber = 5,
    kArityFieldNumber = 3,
    kPtxFieldNumber = 1,
    kCubinFieldNumber = 2,
    kInProcessSymbolFieldNumber = 6,
  };
  // string kernel_name = 4;
  void clear_kernel_name() ;
  const ::std::string& kernel_name() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_kernel_name(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_kernel_name();
  [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_kernel_name();
  void set_allocated_kernel_name(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_kernel_name() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_kernel_name(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_kernel_name();

  public:
  // optional .stream_executor.KernelArgsPackingSpecProto kernel_args_packing_spec = 5;
  bool has_kernel_args_packing_spec() const;
  void clear_kernel_args_packing_spec() ;
  const ::stream_executor::KernelArgsPackingSpecProto& kernel_args_packing_spec() const;
  [[nodiscard]] ::stream_executor::KernelArgsPackingSpecProto* PROTOBUF_NULLABLE release_kernel_args_packing_spec();
  ::stream_executor::KernelArgsPackingSpecProto* PROTOBUF_NONNULL mutable_kernel_args_packing_spec();
  void set_allocated_kernel_args_packing_spec(::stream_executor::KernelArgsPackingSpecProto* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_kernel_args_packing_spec(::stream_executor::KernelArgsPackingSpecProto* PROTOBUF_NULLABLE value);
  ::stream_executor::KernelArgsPackingSpecProto* PROTOBUF_NULLABLE unsafe_arena_release_kernel_args_packing_spec();

  private:
  const ::stream_executor::KernelArgsPackingSpecProto& _internal_kernel_args_packing_spec() const;
  ::stream_executor::KernelArgsPackingSpecProto* PROTOBUF_NONNULL _internal_mutable_kernel_args_packing_spec();

  public:
  // int32 arity = 3;
  void clear_arity() ;
  ::int32_t arity() const;
  void set_arity(::int32_t value);

  private:
  ::int32_t _internal_arity() const;
  void _internal_set_arity(::int32_t value);

  public:
  // .stream_executor.CudaPtxProto ptx = 1;
  bool has_ptx() const;
  private:
  bool _internal_has_ptx() const;

  public:
  void clear_ptx() ;
  const ::stream_executor::CudaPtxProto& ptx() const;
  [[nodiscard]] ::stream_executor::CudaPtxProto* PROTOBUF_NULLABLE release_ptx();
  ::stream_executor::CudaPtxProto* PROTOBUF_NONNULL mutable_ptx();
  void set_allocated_ptx(::stream_executor::CudaPtxProto* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_ptx(::stream_executor::CudaPtxProto* PROTOBUF_NULLABLE value);
  ::stream_executor::CudaPtxProto* PROTOBUF_NULLABLE unsafe_arena_release_ptx();

  private:
  const ::stream_executor::CudaPtxProto& _internal_ptx() const;
  ::stream_executor::CudaPtxProto* PROTOBUF_NONNULL _internal_mutable_ptx();

  public:
  // .stream_executor.CudaCubinProto cubin = 2;
  bool has_cubin() const;
  private:
  bool _internal_has_cubin() const;

  public:
  void clear_cubin() ;
  const ::stream_executor::CudaCubinProto& cubin() const;
  [[nodiscard]] ::stream_executor::CudaCubinProto* PROTOBUF_NULLABLE release_cubin();
  ::stream_executor::CudaCubinProto* PROTOBUF_NONNULL mutable_cubin();
  void set_allocated_cubin(::stream_executor::CudaCubinProto* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_cubin(::stream_executor::CudaCubinProto* PROTOBUF_NULLABLE value);
  ::stream_executor::CudaCubinProto* PROTOBUF_NULLABLE unsafe_arena_release_cubin();

  private:
  const ::stream_executor::CudaCubinProto& _internal_cubin() const;
  ::stream_executor::CudaCubinProto* PROTOBUF_NONNULL _internal_mutable_cubin();

  public:
  // .stream_executor.InProcessSymbolProto in_process_symbol = 6;
  bool has_in_process_symbol() const;
  private:
  bool _internal_has_in_process_symbol() const;

  public:
  void clear_in_process_symbol() ;
  const ::stream_executor::InProcessSymbolProto& in_process_symbol() const;
  [[nodiscard]] ::stream_executor::InProcessSymbolProto* PROTOBUF_NULLABLE release_in_process_symbol();
  ::stream_executor::InProcessSymbolProto* PROTOBUF_NONNULL mutable_in_process_symbol();
  void set_allocated_in_process_symbol(::stream_executor::InProcessSymbolProto* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_in_process_symbol(::stream_executor::InProcessSymbolProto* PROTOBUF_NULLABLE value);
  ::stream_executor::InProcessSymbolProto* PROTOBUF_NULLABLE unsafe_arena_release_in_process_symbol();

  private:
  const ::stream_executor::InProcessSymbolProto& _internal_in_process_symbol() const;
  ::stream_executor::InProcessSymbolProto* PROTOBUF_NONNULL _internal_mutable_in_process_symbol();

  public:
  void clear_payload();
  PayloadCase payload_case() const;
  // @@protoc_insertion_point(class_scope:stream_executor.KernelLoaderSpecProto)
 private:
  class _Internal;
  void set_has_ptx();
  void set_has_cubin();
  void set_has_in_process_symbol();
  inline bool has_payload() const;
  inline void clear_has_payload();
  friend class ::google::protobuf::internal::TcParser;
  static const ::google::protobuf::internal::TcParseTable<2, 6,
                                   4, 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* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const KernelLoaderSpecProto& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::internal::ArenaStringPtr kernel_name_;
    ::stream_executor::KernelArgsPackingSpecProto* PROTOBUF_NULLABLE kernel_args_packing_spec_;
    ::int32_t arity_;
    union PayloadUnion {
      constexpr PayloadUnion() : _constinit_{} {}
      ::google::protobuf::internal::ConstantInitialized _constinit_;
      ::google::protobuf::Message* PROTOBUF_NULLABLE ptx_;
      ::google::protobuf::Message* PROTOBUF_NULLABLE cubin_;
      ::google::protobuf::Message* PROTOBUF_NULLABLE in_process_symbol_;
    } payload_;
    ::uint32_t _oneof_case_[1];
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_xla_2fstream_5fexecutor_2fkernel_5fspec_2eproto;
};

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

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




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


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

// CudaPtxProto

// string data = 1;
inline void CudaPtxProto::clear_data() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.data_.ClearToEmpty();
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const ::std::string& CudaPtxProto::data() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:stream_executor.CudaPtxProto.data)
  return _internal_data();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void CudaPtxProto::set_data(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.data_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:stream_executor.CudaPtxProto.data)
}
inline ::std::string* PROTOBUF_NONNULL CudaPtxProto::mutable_data()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::std::string* _s = _internal_mutable_data();
  // @@protoc_insertion_point(field_mutable:stream_executor.CudaPtxProto.data)
  return _s;
}
inline const ::std::string& CudaPtxProto::_internal_data() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.data_.Get();
}
inline void CudaPtxProto::_internal_set_data(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.data_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL CudaPtxProto::_internal_mutable_data() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_._has_bits_[0] |= 0x00000001u;
  return _impl_.data_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE CudaPtxProto::release_data() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:stream_executor.CudaPtxProto.data)
  if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
    return nullptr;
  }
  _impl_._has_bits_[0] &= ~0x00000001u;
  auto* released = _impl_.data_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.data_.Set("", GetArena());
  }
  return released;
}
inline void CudaPtxProto::set_allocated_data(::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_.data_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.data_.IsDefault()) {
    _impl_.data_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:stream_executor.CudaPtxProto.data)
}

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

// CudaCubinProto

// bytes data = 1;
inline void CudaCubinProto::clear_data() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.data_.ClearToEmpty();
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const ::std::string& CudaCubinProto::data() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:stream_executor.CudaCubinProto.data)
  return _internal_data();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void CudaCubinProto::set_data(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.data_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:stream_executor.CudaCubinProto.data)
}
inline ::std::string* PROTOBUF_NONNULL CudaCubinProto::mutable_data()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::std::string* _s = _internal_mutable_data();
  // @@protoc_insertion_point(field_mutable:stream_executor.CudaCubinProto.data)
  return _s;
}
inline const ::std::string& CudaCubinProto::_internal_data() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.data_.Get();
}
inline void CudaCubinProto::_internal_set_data(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.data_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL CudaCubinProto::_internal_mutable_data() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_._has_bits_[0] |= 0x00000001u;
  return _impl_.data_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE CudaCubinProto::release_data() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:stream_executor.CudaCubinProto.data)
  if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
    return nullptr;
  }
  _impl_._has_bits_[0] &= ~0x00000001u;
  auto* released = _impl_.data_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.data_.Set("", GetArena());
  }
  return released;
}
inline void CudaCubinProto::set_allocated_data(::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_.data_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.data_.IsDefault()) {
    _impl_.data_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:stream_executor.CudaCubinProto.data)
}

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

// InProcessSymbolProto

// string persistent_name = 1;
inline void InProcessSymbolProto::clear_persistent_name() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.persistent_name_.ClearToEmpty();
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const ::std::string& InProcessSymbolProto::persistent_name() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:stream_executor.InProcessSymbolProto.persistent_name)
  return _internal_persistent_name();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void InProcessSymbolProto::set_persistent_name(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.persistent_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:stream_executor.InProcessSymbolProto.persistent_name)
}
inline ::std::string* PROTOBUF_NONNULL InProcessSymbolProto::mutable_persistent_name()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::std::string* _s = _internal_mutable_persistent_name();
  // @@protoc_insertion_point(field_mutable:stream_executor.InProcessSymbolProto.persistent_name)
  return _s;
}
inline const ::std::string& InProcessSymbolProto::_internal_persistent_name() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.persistent_name_.Get();
}
inline void InProcessSymbolProto::_internal_set_persistent_name(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.persistent_name_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL InProcessSymbolProto::_internal_mutable_persistent_name() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_._has_bits_[0] |= 0x00000001u;
  return _impl_.persistent_name_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE InProcessSymbolProto::release_persistent_name() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:stream_executor.InProcessSymbolProto.persistent_name)
  if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
    return nullptr;
  }
  _impl_._has_bits_[0] &= ~0x00000001u;
  auto* released = _impl_.persistent_name_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.persistent_name_.Set("", GetArena());
  }
  return released;
}
inline void InProcessSymbolProto::set_allocated_persistent_name(::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_.persistent_name_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.persistent_name_.IsDefault()) {
    _impl_.persistent_name_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:stream_executor.InProcessSymbolProto.persistent_name)
}

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

// KernelLoaderSpecProto

// .stream_executor.CudaPtxProto ptx = 1;
inline bool KernelLoaderSpecProto::has_ptx() const {
  return payload_case() == kPtx;
}
inline bool KernelLoaderSpecProto::_internal_has_ptx() const {
  return payload_case() == kPtx;
}
inline void KernelLoaderSpecProto::set_has_ptx() {
  _impl_._oneof_case_[0] = kPtx;
}
inline void KernelLoaderSpecProto::clear_ptx() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (payload_case() == kPtx) {
    if (GetArena() == nullptr) {
      delete _impl_.payload_.ptx_;
    } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
      ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.payload_.ptx_);
    }
    clear_has_payload();
  }
}
inline ::stream_executor::CudaPtxProto* PROTOBUF_NULLABLE KernelLoaderSpecProto::release_ptx() {
  // @@protoc_insertion_point(field_release:stream_executor.KernelLoaderSpecProto.ptx)
  if (payload_case() == kPtx) {
    clear_has_payload();
    auto* temp = reinterpret_cast<::stream_executor::CudaPtxProto*>(_impl_.payload_.ptx_);
    if (GetArena() != nullptr) {
      temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
    }
    _impl_.payload_.ptx_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::stream_executor::CudaPtxProto& KernelLoaderSpecProto::_internal_ptx() const {
  return payload_case() == kPtx ? *reinterpret_cast<::stream_executor::CudaPtxProto*>(_impl_.payload_.ptx_) : reinterpret_cast<::stream_executor::CudaPtxProto&>(::stream_executor::_CudaPtxProto_default_instance_);
}
inline const ::stream_executor::CudaPtxProto& KernelLoaderSpecProto::ptx() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:stream_executor.KernelLoaderSpecProto.ptx)
  return _internal_ptx();
}
inline ::stream_executor::CudaPtxProto* PROTOBUF_NULLABLE KernelLoaderSpecProto::unsafe_arena_release_ptx() {
  // @@protoc_insertion_point(field_unsafe_arena_release:stream_executor.KernelLoaderSpecProto.ptx)
  if (payload_case() == kPtx) {
    clear_has_payload();
    auto* temp = reinterpret_cast<::stream_executor::CudaPtxProto*>(_impl_.payload_.ptx_);
    _impl_.payload_.ptx_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void KernelLoaderSpecProto::unsafe_arena_set_allocated_ptx(
    ::stream_executor::CudaPtxProto* PROTOBUF_NULLABLE value) {
  // We rely on the oneof clear method to free the earlier contents
  // of this oneof. We can directly use the pointer we're given to
  // set the new value.
  clear_payload();
  if (value) {
    set_has_ptx();
    _impl_.payload_.ptx_ = reinterpret_cast<::google::protobuf::Message*>(value);
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:stream_executor.KernelLoaderSpecProto.ptx)
}
inline ::stream_executor::CudaPtxProto* PROTOBUF_NONNULL KernelLoaderSpecProto::_internal_mutable_ptx() {
  if (payload_case() != kPtx) {
    clear_payload();
    set_has_ptx();
    _impl_.payload_.ptx_ = reinterpret_cast<::google::protobuf::Message*>(
        ::google::protobuf::Message::DefaultConstruct<::stream_executor::CudaPtxProto>(GetArena()));
  }
  return reinterpret_cast<::stream_executor::CudaPtxProto*>(_impl_.payload_.ptx_);
}
inline ::stream_executor::CudaPtxProto* PROTOBUF_NONNULL KernelLoaderSpecProto::mutable_ptx()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::stream_executor::CudaPtxProto* _msg = _internal_mutable_ptx();
  // @@protoc_insertion_point(field_mutable:stream_executor.KernelLoaderSpecProto.ptx)
  return _msg;
}

// .stream_executor.CudaCubinProto cubin = 2;
inline bool KernelLoaderSpecProto::has_cubin() const {
  return payload_case() == kCubin;
}
inline bool KernelLoaderSpecProto::_internal_has_cubin() const {
  return payload_case() == kCubin;
}
inline void KernelLoaderSpecProto::set_has_cubin() {
  _impl_._oneof_case_[0] = kCubin;
}
inline void KernelLoaderSpecProto::clear_cubin() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (payload_case() == kCubin) {
    if (GetArena() == nullptr) {
      delete _impl_.payload_.cubin_;
    } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
      ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.payload_.cubin_);
    }
    clear_has_payload();
  }
}
inline ::stream_executor::CudaCubinProto* PROTOBUF_NULLABLE KernelLoaderSpecProto::release_cubin() {
  // @@protoc_insertion_point(field_release:stream_executor.KernelLoaderSpecProto.cubin)
  if (payload_case() == kCubin) {
    clear_has_payload();
    auto* temp = reinterpret_cast<::stream_executor::CudaCubinProto*>(_impl_.payload_.cubin_);
    if (GetArena() != nullptr) {
      temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
    }
    _impl_.payload_.cubin_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::stream_executor::CudaCubinProto& KernelLoaderSpecProto::_internal_cubin() const {
  return payload_case() == kCubin ? *reinterpret_cast<::stream_executor::CudaCubinProto*>(_impl_.payload_.cubin_) : reinterpret_cast<::stream_executor::CudaCubinProto&>(::stream_executor::_CudaCubinProto_default_instance_);
}
inline const ::stream_executor::CudaCubinProto& KernelLoaderSpecProto::cubin() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:stream_executor.KernelLoaderSpecProto.cubin)
  return _internal_cubin();
}
inline ::stream_executor::CudaCubinProto* PROTOBUF_NULLABLE KernelLoaderSpecProto::unsafe_arena_release_cubin() {
  // @@protoc_insertion_point(field_unsafe_arena_release:stream_executor.KernelLoaderSpecProto.cubin)
  if (payload_case() == kCubin) {
    clear_has_payload();
    auto* temp = reinterpret_cast<::stream_executor::CudaCubinProto*>(_impl_.payload_.cubin_);
    _impl_.payload_.cubin_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void KernelLoaderSpecProto::unsafe_arena_set_allocated_cubin(
    ::stream_executor::CudaCubinProto* PROTOBUF_NULLABLE value) {
  // We rely on the oneof clear method to free the earlier contents
  // of this oneof. We can directly use the pointer we're given to
  // set the new value.
  clear_payload();
  if (value) {
    set_has_cubin();
    _impl_.payload_.cubin_ = reinterpret_cast<::google::protobuf::Message*>(value);
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:stream_executor.KernelLoaderSpecProto.cubin)
}
inline ::stream_executor::CudaCubinProto* PROTOBUF_NONNULL KernelLoaderSpecProto::_internal_mutable_cubin() {
  if (payload_case() != kCubin) {
    clear_payload();
    set_has_cubin();
    _impl_.payload_.cubin_ = reinterpret_cast<::google::protobuf::Message*>(
        ::google::protobuf::Message::DefaultConstruct<::stream_executor::CudaCubinProto>(GetArena()));
  }
  return reinterpret_cast<::stream_executor::CudaCubinProto*>(_impl_.payload_.cubin_);
}
inline ::stream_executor::CudaCubinProto* PROTOBUF_NONNULL KernelLoaderSpecProto::mutable_cubin()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::stream_executor::CudaCubinProto* _msg = _internal_mutable_cubin();
  // @@protoc_insertion_point(field_mutable:stream_executor.KernelLoaderSpecProto.cubin)
  return _msg;
}

// .stream_executor.InProcessSymbolProto in_process_symbol = 6;
inline bool KernelLoaderSpecProto::has_in_process_symbol() const {
  return payload_case() == kInProcessSymbol;
}
inline bool KernelLoaderSpecProto::_internal_has_in_process_symbol() const {
  return payload_case() == kInProcessSymbol;
}
inline void KernelLoaderSpecProto::set_has_in_process_symbol() {
  _impl_._oneof_case_[0] = kInProcessSymbol;
}
inline void KernelLoaderSpecProto::clear_in_process_symbol() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (payload_case() == kInProcessSymbol) {
    if (GetArena() == nullptr) {
      delete _impl_.payload_.in_process_symbol_;
    } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
      ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.payload_.in_process_symbol_);
    }
    clear_has_payload();
  }
}
inline ::stream_executor::InProcessSymbolProto* PROTOBUF_NULLABLE KernelLoaderSpecProto::release_in_process_symbol() {
  // @@protoc_insertion_point(field_release:stream_executor.KernelLoaderSpecProto.in_process_symbol)
  if (payload_case() == kInProcessSymbol) {
    clear_has_payload();
    auto* temp = reinterpret_cast<::stream_executor::InProcessSymbolProto*>(_impl_.payload_.in_process_symbol_);
    if (GetArena() != nullptr) {
      temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
    }
    _impl_.payload_.in_process_symbol_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::stream_executor::InProcessSymbolProto& KernelLoaderSpecProto::_internal_in_process_symbol() const {
  return payload_case() == kInProcessSymbol ? *reinterpret_cast<::stream_executor::InProcessSymbolProto*>(_impl_.payload_.in_process_symbol_) : reinterpret_cast<::stream_executor::InProcessSymbolProto&>(::stream_executor::_InProcessSymbolProto_default_instance_);
}
inline const ::stream_executor::InProcessSymbolProto& KernelLoaderSpecProto::in_process_symbol() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:stream_executor.KernelLoaderSpecProto.in_process_symbol)
  return _internal_in_process_symbol();
}
inline ::stream_executor::InProcessSymbolProto* PROTOBUF_NULLABLE KernelLoaderSpecProto::unsafe_arena_release_in_process_symbol() {
  // @@protoc_insertion_point(field_unsafe_arena_release:stream_executor.KernelLoaderSpecProto.in_process_symbol)
  if (payload_case() == kInProcessSymbol) {
    clear_has_payload();
    auto* temp = reinterpret_cast<::stream_executor::InProcessSymbolProto*>(_impl_.payload_.in_process_symbol_);
    _impl_.payload_.in_process_symbol_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void KernelLoaderSpecProto::unsafe_arena_set_allocated_in_process_symbol(
    ::stream_executor::InProcessSymbolProto* PROTOBUF_NULLABLE value) {
  // We rely on the oneof clear method to free the earlier contents
  // of this oneof. We can directly use the pointer we're given to
  // set the new value.
  clear_payload();
  if (value) {
    set_has_in_process_symbol();
    _impl_.payload_.in_process_symbol_ = reinterpret_cast<::google::protobuf::Message*>(value);
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:stream_executor.KernelLoaderSpecProto.in_process_symbol)
}
inline ::stream_executor::InProcessSymbolProto* PROTOBUF_NONNULL KernelLoaderSpecProto::_internal_mutable_in_process_symbol() {
  if (payload_case() != kInProcessSymbol) {
    clear_payload();
    set_has_in_process_symbol();
    _impl_.payload_.in_process_symbol_ = reinterpret_cast<::google::protobuf::Message*>(
        ::google::protobuf::Message::DefaultConstruct<::stream_executor::InProcessSymbolProto>(GetArena()));
  }
  return reinterpret_cast<::stream_executor::InProcessSymbolProto*>(_impl_.payload_.in_process_symbol_);
}
inline ::stream_executor::InProcessSymbolProto* PROTOBUF_NONNULL KernelLoaderSpecProto::mutable_in_process_symbol()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::stream_executor::InProcessSymbolProto* _msg = _internal_mutable_in_process_symbol();
  // @@protoc_insertion_point(field_mutable:stream_executor.KernelLoaderSpecProto.in_process_symbol)
  return _msg;
}

// int32 arity = 3;
inline void KernelLoaderSpecProto::clear_arity() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.arity_ = 0;
  _impl_._has_bits_[0] &= ~0x00000004u;
}
inline ::int32_t KernelLoaderSpecProto::arity() const {
  // @@protoc_insertion_point(field_get:stream_executor.KernelLoaderSpecProto.arity)
  return _internal_arity();
}
inline void KernelLoaderSpecProto::set_arity(::int32_t value) {
  _internal_set_arity(value);
  _impl_._has_bits_[0] |= 0x00000004u;
  // @@protoc_insertion_point(field_set:stream_executor.KernelLoaderSpecProto.arity)
}
inline ::int32_t KernelLoaderSpecProto::_internal_arity() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.arity_;
}
inline void KernelLoaderSpecProto::_internal_set_arity(::int32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.arity_ = value;
}

// string kernel_name = 4;
inline void KernelLoaderSpecProto::clear_kernel_name() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.kernel_name_.ClearToEmpty();
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const ::std::string& KernelLoaderSpecProto::kernel_name() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:stream_executor.KernelLoaderSpecProto.kernel_name)
  return _internal_kernel_name();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void KernelLoaderSpecProto::set_kernel_name(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.kernel_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:stream_executor.KernelLoaderSpecProto.kernel_name)
}
inline ::std::string* PROTOBUF_NONNULL KernelLoaderSpecProto::mutable_kernel_name()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::std::string* _s = _internal_mutable_kernel_name();
  // @@protoc_insertion_point(field_mutable:stream_executor.KernelLoaderSpecProto.kernel_name)
  return _s;
}
inline const ::std::string& KernelLoaderSpecProto::_internal_kernel_name() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.kernel_name_.Get();
}
inline void KernelLoaderSpecProto::_internal_set_kernel_name(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.kernel_name_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL KernelLoaderSpecProto::_internal_mutable_kernel_name() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_._has_bits_[0] |= 0x00000001u;
  return _impl_.kernel_name_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE KernelLoaderSpecProto::release_kernel_name() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:stream_executor.KernelLoaderSpecProto.kernel_name)
  if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
    return nullptr;
  }
  _impl_._has_bits_[0] &= ~0x00000001u;
  auto* released = _impl_.kernel_name_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.kernel_name_.Set("", GetArena());
  }
  return released;
}
inline void KernelLoaderSpecProto::set_allocated_kernel_name(::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_.kernel_name_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.kernel_name_.IsDefault()) {
    _impl_.kernel_name_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:stream_executor.KernelLoaderSpecProto.kernel_name)
}

// optional .stream_executor.KernelArgsPackingSpecProto kernel_args_packing_spec = 5;
inline bool KernelLoaderSpecProto::has_kernel_args_packing_spec() const {
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
  PROTOBUF_ASSUME(!value || _impl_.kernel_args_packing_spec_ != nullptr);
  return value;
}
inline const ::stream_executor::KernelArgsPackingSpecProto& KernelLoaderSpecProto::_internal_kernel_args_packing_spec() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::stream_executor::KernelArgsPackingSpecProto* p = _impl_.kernel_args_packing_spec_;
  return p != nullptr ? *p : reinterpret_cast<const ::stream_executor::KernelArgsPackingSpecProto&>(::stream_executor::_KernelArgsPackingSpecProto_default_instance_);
}
inline const ::stream_executor::KernelArgsPackingSpecProto& KernelLoaderSpecProto::kernel_args_packing_spec() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:stream_executor.KernelLoaderSpecProto.kernel_args_packing_spec)
  return _internal_kernel_args_packing_spec();
}
inline void KernelLoaderSpecProto::unsafe_arena_set_allocated_kernel_args_packing_spec(
    ::stream_executor::KernelArgsPackingSpecProto* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.kernel_args_packing_spec_);
  }
  _impl_.kernel_args_packing_spec_ = reinterpret_cast<::stream_executor::KernelArgsPackingSpecProto*>(value);
  if (value != nullptr) {
    _impl_._has_bits_[0] |= 0x00000002u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000002u;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:stream_executor.KernelLoaderSpecProto.kernel_args_packing_spec)
}
inline ::stream_executor::KernelArgsPackingSpecProto* PROTOBUF_NULLABLE KernelLoaderSpecProto::release_kernel_args_packing_spec() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  _impl_._has_bits_[0] &= ~0x00000002u;
  ::stream_executor::KernelArgsPackingSpecProto* released = _impl_.kernel_args_packing_spec_;
  _impl_.kernel_args_packing_spec_ = 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 ::stream_executor::KernelArgsPackingSpecProto* PROTOBUF_NULLABLE KernelLoaderSpecProto::unsafe_arena_release_kernel_args_packing_spec() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:stream_executor.KernelLoaderSpecProto.kernel_args_packing_spec)

  _impl_._has_bits_[0] &= ~0x00000002u;
  ::stream_executor::KernelArgsPackingSpecProto* temp = _impl_.kernel_args_packing_spec_;
  _impl_.kernel_args_packing_spec_ = nullptr;
  return temp;
}
inline ::stream_executor::KernelArgsPackingSpecProto* PROTOBUF_NONNULL KernelLoaderSpecProto::_internal_mutable_kernel_args_packing_spec() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.kernel_args_packing_spec_ == nullptr) {
    auto* p = ::google::protobuf::Message::DefaultConstruct<::stream_executor::KernelArgsPackingSpecProto>(GetArena());
    _impl_.kernel_args_packing_spec_ = reinterpret_cast<::stream_executor::KernelArgsPackingSpecProto*>(p);
  }
  return _impl_.kernel_args_packing_spec_;
}
inline ::stream_executor::KernelArgsPackingSpecProto* PROTOBUF_NONNULL KernelLoaderSpecProto::mutable_kernel_args_packing_spec()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  _impl_._has_bits_[0] |= 0x00000002u;
  ::stream_executor::KernelArgsPackingSpecProto* _msg = _internal_mutable_kernel_args_packing_spec();
  // @@protoc_insertion_point(field_mutable:stream_executor.KernelLoaderSpecProto.kernel_args_packing_spec)
  return _msg;
}
inline void KernelLoaderSpecProto::set_allocated_kernel_args_packing_spec(::stream_executor::KernelArgsPackingSpecProto* 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_.kernel_args_packing_spec_);
  }

  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_.kernel_args_packing_spec_ = reinterpret_cast<::stream_executor::KernelArgsPackingSpecProto*>(value);
  // @@protoc_insertion_point(field_set_allocated:stream_executor.KernelLoaderSpecProto.kernel_args_packing_spec)
}

inline bool KernelLoaderSpecProto::has_payload() const {
  return payload_case() != PAYLOAD_NOT_SET;
}
inline void KernelLoaderSpecProto::clear_has_payload() {
  _impl_._oneof_case_[0] = PAYLOAD_NOT_SET;
}
inline KernelLoaderSpecProto::PayloadCase KernelLoaderSpecProto::payload_case() const {
  return KernelLoaderSpecProto::PayloadCase(_impl_._oneof_case_[0]);
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif  // __GNUC__

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


// @@protoc_insertion_point(global_scope)

#include "google/protobuf/port_undef.inc"

#endif  // xla_2fstream_5fexecutor_2fkernel_5fspec_2eproto_2epb_2eh
