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

#ifndef xla_2futil_2fsplit_5fproto_2fsplit_5fproto_2eproto_2epb_2eh
#define xla_2futil_2fsplit_5fproto_2fsplit_5fproto_2eproto_2epb_2eh

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

#include "google/protobuf/runtime_version.h"
#if PROTOBUF_VERSION != 6031001
#error "Protobuf C++ gencode is built with an incompatible version of"
#error "Protobuf C++ headers/runtime. See"
#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
#endif
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/arena.h"
#include "google/protobuf/arenastring.h"
#include "google/protobuf/generated_message_bases.h"
#include "google/protobuf/generated_message_tctable_decl.h"
#include "google/protobuf/generated_message_util.h"
#include "google/protobuf/metadata_lite.h"
#include "google/protobuf/generated_message_reflection.h"
#include "google/protobuf/message.h"
#include "google/protobuf/message_lite.h"
#include "google/protobuf/repeated_field.h"  // IWYU pragma: export
#include "google/protobuf/extension_set.h"  // IWYU pragma: export
#include "google/protobuf/generated_enum_reflection.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_2futil_2fsplit_5fproto_2fsplit_5fproto_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_2futil_2fsplit_5fproto_2fsplit_5fproto_2eproto {
  static const ::uint32_t offsets[];
};
extern "C" {
PROTOBUF_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_xla_2futil_2fsplit_5fproto_2fsplit_5fproto_2eproto;
}  // extern "C"
namespace xla {
enum Record_FieldOverrideRecord_FieldDescriptorType : int;
PROTOBUF_EXPORT extern const uint32_t Record_FieldOverrideRecord_FieldDescriptorType_internal_data_[];
class Record;
struct RecordDefaultTypeInternal;
PROTOBUF_EXPORT extern RecordDefaultTypeInternal _Record_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull Record_class_data_;
class Record_FieldOverrideRecord;
struct Record_FieldOverrideRecordDefaultTypeInternal;
PROTOBUF_EXPORT extern Record_FieldOverrideRecordDefaultTypeInternal _Record_FieldOverrideRecord_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull Record_FieldOverrideRecord_class_data_;
class Record_FieldOverrideRecord_FieldPathPart;
struct Record_FieldOverrideRecord_FieldPathPartDefaultTypeInternal;
PROTOBUF_EXPORT extern Record_FieldOverrideRecord_FieldPathPartDefaultTypeInternal _Record_FieldOverrideRecord_FieldPathPart_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull Record_FieldOverrideRecord_FieldPathPart_class_data_;
class Record_ProtoMergeRecord;
struct Record_ProtoMergeRecordDefaultTypeInternal;
PROTOBUF_EXPORT extern Record_ProtoMergeRecordDefaultTypeInternal _Record_ProtoMergeRecord_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull Record_ProtoMergeRecord_class_data_;
class SplitProtoManifest;
struct SplitProtoManifestDefaultTypeInternal;
PROTOBUF_EXPORT extern SplitProtoManifestDefaultTypeInternal _SplitProtoManifest_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull SplitProtoManifest_class_data_;
}  // namespace xla
namespace google {
namespace protobuf {
template <>
internal::EnumTraitsT<::xla::Record_FieldOverrideRecord_FieldDescriptorType_internal_data_>
    internal::EnumTraitsImpl::value<::xla::Record_FieldOverrideRecord_FieldDescriptorType>;
}  // namespace protobuf
}  // namespace google

namespace xla {
enum Record_FieldOverrideRecord_FieldDescriptorType : int {
  Record_FieldOverrideRecord_FieldDescriptorType_TYPE_UNKNOWN = 0,
  Record_FieldOverrideRecord_FieldDescriptorType_TYPE_STRING = 1,
  Record_FieldOverrideRecord_FieldDescriptorType_Record_FieldOverrideRecord_FieldDescriptorType_INT_MIN_SENTINEL_DO_NOT_USE_ =
      ::std::numeric_limits<::int32_t>::min(),
  Record_FieldOverrideRecord_FieldDescriptorType_Record_FieldOverrideRecord_FieldDescriptorType_INT_MAX_SENTINEL_DO_NOT_USE_ =
      ::std::numeric_limits<::int32_t>::max(),
};

PROTOBUF_EXPORT extern const uint32_t Record_FieldOverrideRecord_FieldDescriptorType_internal_data_[];
inline constexpr Record_FieldOverrideRecord_FieldDescriptorType Record_FieldOverrideRecord_FieldDescriptorType_FieldDescriptorType_MIN =
    static_cast<Record_FieldOverrideRecord_FieldDescriptorType>(0);
inline constexpr Record_FieldOverrideRecord_FieldDescriptorType Record_FieldOverrideRecord_FieldDescriptorType_FieldDescriptorType_MAX =
    static_cast<Record_FieldOverrideRecord_FieldDescriptorType>(1);
inline bool Record_FieldOverrideRecord_FieldDescriptorType_IsValid(int value) {
  return 0 <= value && value <= 1;
}
inline constexpr int Record_FieldOverrideRecord_FieldDescriptorType_FieldDescriptorType_ARRAYSIZE = 1 + 1;
PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Record_FieldOverrideRecord_FieldDescriptorType_descriptor();
template <typename T>
const ::std::string& Record_FieldOverrideRecord_FieldDescriptorType_Name(T value) {
  static_assert(::std::is_same<T, Record_FieldOverrideRecord_FieldDescriptorType>::value ||
                    ::std::is_integral<T>::value,
                "Incorrect type passed to FieldDescriptorType_Name().");
  return Record_FieldOverrideRecord_FieldDescriptorType_Name(static_cast<Record_FieldOverrideRecord_FieldDescriptorType>(value));
}
template <>
inline const ::std::string& Record_FieldOverrideRecord_FieldDescriptorType_Name(Record_FieldOverrideRecord_FieldDescriptorType value) {
  return ::google::protobuf::internal::NameOfDenseEnum<Record_FieldOverrideRecord_FieldDescriptorType_descriptor, 0, 1>(
      static_cast<int>(value));
}
inline bool Record_FieldOverrideRecord_FieldDescriptorType_Parse(
    ::absl::string_view name, Record_FieldOverrideRecord_FieldDescriptorType* PROTOBUF_NONNULL value) {
  return ::google::protobuf::internal::ParseNamedEnum<Record_FieldOverrideRecord_FieldDescriptorType>(Record_FieldOverrideRecord_FieldDescriptorType_descriptor(), name,
                                           value);
}

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


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

class PROTOBUF_EXPORT Record_ProtoMergeRecord final : public ::google::protobuf::internal::ZeroFieldsBase
/* @@protoc_insertion_point(class_definition:xla.Record.ProtoMergeRecord) */ {
 public:
  inline Record_ProtoMergeRecord() : Record_ProtoMergeRecord(nullptr) {}

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

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

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

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

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

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

 protected:
  explicit Record_ProtoMergeRecord(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  Record_ProtoMergeRecord(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Record_ProtoMergeRecord& from);
  Record_ProtoMergeRecord(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Record_ProtoMergeRecord&& from) noexcept
      : Record_ProtoMergeRecord(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_();

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

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

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const Record_ProtoMergeRecord& from_msg);
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  friend struct ::TableStruct_xla_2futil_2fsplit_5fproto_2fsplit_5fproto_2eproto;
};

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

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

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

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

  inline Record_FieldOverrideRecord_FieldPathPart(const Record_FieldOverrideRecord_FieldPathPart& from) : Record_FieldOverrideRecord_FieldPathPart(nullptr, from) {}
  inline Record_FieldOverrideRecord_FieldPathPart(Record_FieldOverrideRecord_FieldPathPart&& from) noexcept
      : Record_FieldOverrideRecord_FieldPathPart(nullptr, ::std::move(from)) {}
  inline Record_FieldOverrideRecord_FieldPathPart& operator=(const Record_FieldOverrideRecord_FieldPathPart& from) {
    CopyFrom(from);
    return *this;
  }
  inline Record_FieldOverrideRecord_FieldPathPart& operator=(Record_FieldOverrideRecord_FieldPathPart&& 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 Record_FieldOverrideRecord_FieldPathPart& default_instance() {
    return *reinterpret_cast<const Record_FieldOverrideRecord_FieldPathPart*>(
        &_Record_FieldOverrideRecord_FieldPathPart_default_instance_);
  }
  enum IndexCase {
    kRepeatedFieldIndex = 2,
    kStringMapKey = 3,
    kIntMapKey = 4,
    INDEX_NOT_SET = 0,
  };
  static constexpr int kIndexInFileMessages = 2;
  friend void swap(Record_FieldOverrideRecord_FieldPathPart& a, Record_FieldOverrideRecord_FieldPathPart& b) { a.Swap(&b); }
  inline void Swap(Record_FieldOverrideRecord_FieldPathPart* 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(Record_FieldOverrideRecord_FieldPathPart* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

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

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

 protected:
  explicit Record_FieldOverrideRecord_FieldPathPart(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  Record_FieldOverrideRecord_FieldPathPart(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Record_FieldOverrideRecord_FieldPathPart& from);
  Record_FieldOverrideRecord_FieldPathPart(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Record_FieldOverrideRecord_FieldPathPart&& from) noexcept
      : Record_FieldOverrideRecord_FieldPathPart(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 {
    kFieldNumberFieldNumber = 1,
    kRepeatedFieldIndexFieldNumber = 2,
    kStringMapKeyFieldNumber = 3,
    kIntMapKeyFieldNumber = 4,
  };
  // int32 field_number = 1;
  void clear_field_number() ;
  ::int32_t field_number() const;
  void set_field_number(::int32_t value);

  private:
  ::int32_t _internal_field_number() const;
  void _internal_set_field_number(::int32_t value);

  public:
  // int64 repeated_field_index = 2;
  bool has_repeated_field_index() const;
  void clear_repeated_field_index() ;
  ::int64_t repeated_field_index() const;
  void set_repeated_field_index(::int64_t value);

  private:
  ::int64_t _internal_repeated_field_index() const;
  void _internal_set_repeated_field_index(::int64_t value);

  public:
  // string string_map_key = 3;
  bool has_string_map_key() const;
  void clear_string_map_key() ;
  const ::std::string& string_map_key() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_string_map_key(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_string_map_key();
  [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_string_map_key();
  void set_allocated_string_map_key(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_string_map_key() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_string_map_key(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_string_map_key();

  public:
  // int64 int_map_key = 4;
  bool has_int_map_key() const;
  void clear_int_map_key() ;
  ::int64_t int_map_key() const;
  void set_int_map_key(::int64_t value);

  private:
  ::int64_t _internal_int_map_key() const;
  void _internal_set_int_map_key(::int64_t value);

  public:
  void clear_index();
  IndexCase index_case() const;
  // @@protoc_insertion_point(class_scope:xla.Record.FieldOverrideRecord.FieldPathPart)
 private:
  class _Internal;
  void set_has_repeated_field_index();
  void set_has_string_map_key();
  void set_has_int_map_key();
  inline bool has_index() const;
  inline void clear_has_index();
  friend class ::google::protobuf::internal::TcParser;
  static const ::google::protobuf::internal::TcParseTable<0, 4,
                                   0, 67,
                                   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 Record_FieldOverrideRecord_FieldPathPart& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::int32_t field_number_;
    union IndexUnion {
      constexpr IndexUnion() : _constinit_{} {}
      ::google::protobuf::internal::ConstantInitialized _constinit_;
      ::int64_t repeated_field_index_;
      ::google::protobuf::internal::ArenaStringPtr string_map_key_;
      ::int64_t int_map_key_;
    } index_;
    ::uint32_t _oneof_case_[1];
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_xla_2futil_2fsplit_5fproto_2fsplit_5fproto_2eproto;
};

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

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

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

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

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

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

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

 protected:
  explicit Record_FieldOverrideRecord(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  Record_FieldOverrideRecord(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Record_FieldOverrideRecord& from);
  Record_FieldOverrideRecord(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Record_FieldOverrideRecord&& from) noexcept
      : Record_FieldOverrideRecord(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_();

  ::google::protobuf::Metadata GetMetadata() const;
  // nested types ----------------------------------------------------
  using FieldPathPart = Record_FieldOverrideRecord_FieldPathPart;
  using FieldDescriptorType = Record_FieldOverrideRecord_FieldDescriptorType;
  static constexpr FieldDescriptorType TYPE_UNKNOWN = Record_FieldOverrideRecord_FieldDescriptorType_TYPE_UNKNOWN;
  static constexpr FieldDescriptorType TYPE_STRING = Record_FieldOverrideRecord_FieldDescriptorType_TYPE_STRING;
  static inline bool FieldDescriptorType_IsValid(int value) {
    return Record_FieldOverrideRecord_FieldDescriptorType_IsValid(value);
  }
  static constexpr FieldDescriptorType FieldDescriptorType_MIN = Record_FieldOverrideRecord_FieldDescriptorType_FieldDescriptorType_MIN;
  static constexpr FieldDescriptorType FieldDescriptorType_MAX = Record_FieldOverrideRecord_FieldDescriptorType_FieldDescriptorType_MAX;
  static constexpr int FieldDescriptorType_ARRAYSIZE = Record_FieldOverrideRecord_FieldDescriptorType_FieldDescriptorType_ARRAYSIZE;
  static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL FieldDescriptorType_descriptor() {
    return Record_FieldOverrideRecord_FieldDescriptorType_descriptor();
  }
  template <typename T>
  static inline const ::std::string& FieldDescriptorType_Name(T value) {
    return Record_FieldOverrideRecord_FieldDescriptorType_Name(value);
  }
  static inline bool FieldDescriptorType_Parse(
      ::absl::string_view name, FieldDescriptorType* PROTOBUF_NONNULL value) {
    return Record_FieldOverrideRecord_FieldDescriptorType_Parse(name, value);
  }

  // accessors -------------------------------------------------------
  enum : int {
    kFieldPathFieldNumber = 1,
    kFieldTypeFieldNumber = 2,
  };
  // repeated .xla.Record.FieldOverrideRecord.FieldPathPart field_path = 1;
  int field_path_size() const;
  private:
  int _internal_field_path_size() const;

  public:
  void clear_field_path() ;
  ::xla::Record_FieldOverrideRecord_FieldPathPart* PROTOBUF_NONNULL mutable_field_path(int index);
  ::google::protobuf::RepeatedPtrField<::xla::Record_FieldOverrideRecord_FieldPathPart>* PROTOBUF_NONNULL mutable_field_path();

  private:
  const ::google::protobuf::RepeatedPtrField<::xla::Record_FieldOverrideRecord_FieldPathPart>& _internal_field_path() const;
  ::google::protobuf::RepeatedPtrField<::xla::Record_FieldOverrideRecord_FieldPathPart>* PROTOBUF_NONNULL _internal_mutable_field_path();
  public:
  const ::xla::Record_FieldOverrideRecord_FieldPathPart& field_path(int index) const;
  ::xla::Record_FieldOverrideRecord_FieldPathPart* PROTOBUF_NONNULL add_field_path();
  const ::google::protobuf::RepeatedPtrField<::xla::Record_FieldOverrideRecord_FieldPathPart>& field_path() const;
  // .xla.Record.FieldOverrideRecord.FieldDescriptorType field_type = 2;
  void clear_field_type() ;
  ::xla::Record_FieldOverrideRecord_FieldDescriptorType field_type() const;
  void set_field_type(::xla::Record_FieldOverrideRecord_FieldDescriptorType value);

  private:
  ::xla::Record_FieldOverrideRecord_FieldDescriptorType _internal_field_type() const;
  void _internal_set_field_type(::xla::Record_FieldOverrideRecord_FieldDescriptorType value);

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

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

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

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

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

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

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

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

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

 protected:
  explicit Record(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  Record(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Record& from);
  Record(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Record&& from) noexcept
      : Record(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_();

  ::google::protobuf::Metadata GetMetadata() const;
  // nested types ----------------------------------------------------
  using ProtoMergeRecord = Record_ProtoMergeRecord;
  using FieldOverrideRecord = Record_FieldOverrideRecord;

  // accessors -------------------------------------------------------
  enum : int {
    kProtoMergeRecordFieldNumber = 2,
    kFieldOverrideRecordFieldNumber = 3,
  };
  // .xla.Record.ProtoMergeRecord proto_merge_record = 2;
  bool has_proto_merge_record() const;
  private:
  bool _internal_has_proto_merge_record() const;

  public:
  void clear_proto_merge_record() ;
  const ::xla::Record_ProtoMergeRecord& proto_merge_record() const;
  [[nodiscard]] ::xla::Record_ProtoMergeRecord* PROTOBUF_NULLABLE release_proto_merge_record();
  ::xla::Record_ProtoMergeRecord* PROTOBUF_NONNULL mutable_proto_merge_record();
  void set_allocated_proto_merge_record(::xla::Record_ProtoMergeRecord* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_proto_merge_record(::xla::Record_ProtoMergeRecord* PROTOBUF_NULLABLE value);
  ::xla::Record_ProtoMergeRecord* PROTOBUF_NULLABLE unsafe_arena_release_proto_merge_record();

  private:
  const ::xla::Record_ProtoMergeRecord& _internal_proto_merge_record() const;
  ::xla::Record_ProtoMergeRecord* PROTOBUF_NONNULL _internal_mutable_proto_merge_record();

  public:
  // .xla.Record.FieldOverrideRecord field_override_record = 3;
  bool has_field_override_record() const;
  private:
  bool _internal_has_field_override_record() const;

  public:
  void clear_field_override_record() ;
  const ::xla::Record_FieldOverrideRecord& field_override_record() const;
  [[nodiscard]] ::xla::Record_FieldOverrideRecord* PROTOBUF_NULLABLE release_field_override_record();
  ::xla::Record_FieldOverrideRecord* PROTOBUF_NONNULL mutable_field_override_record();
  void set_allocated_field_override_record(::xla::Record_FieldOverrideRecord* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_field_override_record(::xla::Record_FieldOverrideRecord* PROTOBUF_NULLABLE value);
  ::xla::Record_FieldOverrideRecord* PROTOBUF_NULLABLE unsafe_arena_release_field_override_record();

  private:
  const ::xla::Record_FieldOverrideRecord& _internal_field_override_record() const;
  ::xla::Record_FieldOverrideRecord* PROTOBUF_NONNULL _internal_mutable_field_override_record();

  public:
  void clear_record_type();
  RecordTypeCase record_type_case() const;
  // @@protoc_insertion_point(class_scope:xla.Record)
 private:
  class _Internal;
  void set_has_proto_merge_record();
  void set_has_field_override_record();
  inline bool has_record_type() const;
  inline void clear_has_record_type();
  friend class ::google::protobuf::internal::TcParser;
  static const ::google::protobuf::internal::TcParseTable<0, 2,
                                   2, 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 Record& from_msg);
    union RecordTypeUnion {
      constexpr RecordTypeUnion() : _constinit_{} {}
      ::google::protobuf::internal::ConstantInitialized _constinit_;
      ::xla::Record_ProtoMergeRecord* PROTOBUF_NULLABLE proto_merge_record_;
      ::xla::Record_FieldOverrideRecord* PROTOBUF_NULLABLE field_override_record_;
    } record_type_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::uint32_t _oneof_case_[1];
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_xla_2futil_2fsplit_5fproto_2fsplit_5fproto_2eproto;
};

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

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

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

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

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

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

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

 protected:
  explicit SplitProtoManifest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  SplitProtoManifest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SplitProtoManifest& from);
  SplitProtoManifest(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SplitProtoManifest&& from) noexcept
      : SplitProtoManifest(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 {
    kRecordsFieldNumber = 2,
    kResultProtoTypeFieldNumber = 1,
  };
  // repeated .xla.Record records = 2;
  int records_size() const;
  private:
  int _internal_records_size() const;

  public:
  void clear_records() ;
  ::xla::Record* PROTOBUF_NONNULL mutable_records(int index);
  ::google::protobuf::RepeatedPtrField<::xla::Record>* PROTOBUF_NONNULL mutable_records();

  private:
  const ::google::protobuf::RepeatedPtrField<::xla::Record>& _internal_records() const;
  ::google::protobuf::RepeatedPtrField<::xla::Record>* PROTOBUF_NONNULL _internal_mutable_records();
  public:
  const ::xla::Record& records(int index) const;
  ::xla::Record* PROTOBUF_NONNULL add_records();
  const ::google::protobuf::RepeatedPtrField<::xla::Record>& records() const;
  // string result_proto_type = 1;
  void clear_result_proto_type() ;
  const ::std::string& result_proto_type() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_result_proto_type(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_result_proto_type();
  [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_result_proto_type();
  void set_allocated_result_proto_type(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_result_proto_type() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_result_proto_type(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_result_proto_type();

  public:
  // @@protoc_insertion_point(class_scope:xla.SplitProtoManifest)
 private:
  class _Internal;
  friend class ::google::protobuf::internal::TcParser;
  static const ::google::protobuf::internal::TcParseTable<1, 2,
                                   1, 48,
                                   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 SplitProtoManifest& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::RepeatedPtrField< ::xla::Record > records_;
    ::google::protobuf::internal::ArenaStringPtr result_proto_type_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_xla_2futil_2fsplit_5fproto_2fsplit_5fproto_2eproto;
};

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

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




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


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

// SplitProtoManifest

// string result_proto_type = 1;
inline void SplitProtoManifest::clear_result_proto_type() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.result_proto_type_.ClearToEmpty();
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const ::std::string& SplitProtoManifest::result_proto_type() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:xla.SplitProtoManifest.result_proto_type)
  return _internal_result_proto_type();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void SplitProtoManifest::set_result_proto_type(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.result_proto_type_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:xla.SplitProtoManifest.result_proto_type)
}
inline ::std::string* PROTOBUF_NONNULL SplitProtoManifest::mutable_result_proto_type()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::std::string* _s = _internal_mutable_result_proto_type();
  // @@protoc_insertion_point(field_mutable:xla.SplitProtoManifest.result_proto_type)
  return _s;
}
inline const ::std::string& SplitProtoManifest::_internal_result_proto_type() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.result_proto_type_.Get();
}
inline void SplitProtoManifest::_internal_set_result_proto_type(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.result_proto_type_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL SplitProtoManifest::_internal_mutable_result_proto_type() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_._has_bits_[0] |= 0x00000001u;
  return _impl_.result_proto_type_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE SplitProtoManifest::release_result_proto_type() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:xla.SplitProtoManifest.result_proto_type)
  if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
    return nullptr;
  }
  _impl_._has_bits_[0] &= ~0x00000001u;
  auto* released = _impl_.result_proto_type_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.result_proto_type_.Set("", GetArena());
  }
  return released;
}
inline void SplitProtoManifest::set_allocated_result_proto_type(::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_.result_proto_type_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.result_proto_type_.IsDefault()) {
    _impl_.result_proto_type_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:xla.SplitProtoManifest.result_proto_type)
}

// repeated .xla.Record records = 2;
inline int SplitProtoManifest::_internal_records_size() const {
  return _internal_records().size();
}
inline int SplitProtoManifest::records_size() const {
  return _internal_records_size();
}
inline void SplitProtoManifest::clear_records() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.records_.Clear();
}
inline ::xla::Record* PROTOBUF_NONNULL SplitProtoManifest::mutable_records(int index)
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable:xla.SplitProtoManifest.records)
  return _internal_mutable_records()->Mutable(index);
}
inline ::google::protobuf::RepeatedPtrField<::xla::Record>* PROTOBUF_NONNULL SplitProtoManifest::mutable_records()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable_list:xla.SplitProtoManifest.records)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_records();
}
inline const ::xla::Record& SplitProtoManifest::records(int index) const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:xla.SplitProtoManifest.records)
  return _internal_records().Get(index);
}
inline ::xla::Record* PROTOBUF_NONNULL SplitProtoManifest::add_records()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::xla::Record* _add = _internal_mutable_records()->Add();
  // @@protoc_insertion_point(field_add:xla.SplitProtoManifest.records)
  return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::xla::Record>& SplitProtoManifest::records() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:xla.SplitProtoManifest.records)
  return _internal_records();
}
inline const ::google::protobuf::RepeatedPtrField<::xla::Record>&
SplitProtoManifest::_internal_records() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.records_;
}
inline ::google::protobuf::RepeatedPtrField<::xla::Record>* PROTOBUF_NONNULL
SplitProtoManifest::_internal_mutable_records() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.records_;
}

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

// Record_ProtoMergeRecord

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

// Record_FieldOverrideRecord_FieldPathPart

// int32 field_number = 1;
inline void Record_FieldOverrideRecord_FieldPathPart::clear_field_number() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.field_number_ = 0;
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline ::int32_t Record_FieldOverrideRecord_FieldPathPart::field_number() const {
  // @@protoc_insertion_point(field_get:xla.Record.FieldOverrideRecord.FieldPathPart.field_number)
  return _internal_field_number();
}
inline void Record_FieldOverrideRecord_FieldPathPart::set_field_number(::int32_t value) {
  _internal_set_field_number(value);
  _impl_._has_bits_[0] |= 0x00000001u;
  // @@protoc_insertion_point(field_set:xla.Record.FieldOverrideRecord.FieldPathPart.field_number)
}
inline ::int32_t Record_FieldOverrideRecord_FieldPathPart::_internal_field_number() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.field_number_;
}
inline void Record_FieldOverrideRecord_FieldPathPart::_internal_set_field_number(::int32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.field_number_ = value;
}

// int64 repeated_field_index = 2;
inline bool Record_FieldOverrideRecord_FieldPathPart::has_repeated_field_index() const {
  return index_case() == kRepeatedFieldIndex;
}
inline void Record_FieldOverrideRecord_FieldPathPart::set_has_repeated_field_index() {
  _impl_._oneof_case_[0] = kRepeatedFieldIndex;
}
inline void Record_FieldOverrideRecord_FieldPathPart::clear_repeated_field_index() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (index_case() == kRepeatedFieldIndex) {
    _impl_.index_.repeated_field_index_ = ::int64_t{0};
    clear_has_index();
  }
}
inline ::int64_t Record_FieldOverrideRecord_FieldPathPart::repeated_field_index() const {
  // @@protoc_insertion_point(field_get:xla.Record.FieldOverrideRecord.FieldPathPart.repeated_field_index)
  return _internal_repeated_field_index();
}
inline void Record_FieldOverrideRecord_FieldPathPart::set_repeated_field_index(::int64_t value) {
  if (index_case() != kRepeatedFieldIndex) {
    clear_index();
    set_has_repeated_field_index();
  }
  _impl_.index_.repeated_field_index_ = value;
  // @@protoc_insertion_point(field_set:xla.Record.FieldOverrideRecord.FieldPathPart.repeated_field_index)
}
inline ::int64_t Record_FieldOverrideRecord_FieldPathPart::_internal_repeated_field_index() const {
  if (index_case() == kRepeatedFieldIndex) {
    return _impl_.index_.repeated_field_index_;
  }
  return ::int64_t{0};
}

// string string_map_key = 3;
inline bool Record_FieldOverrideRecord_FieldPathPart::has_string_map_key() const {
  return index_case() == kStringMapKey;
}
inline void Record_FieldOverrideRecord_FieldPathPart::set_has_string_map_key() {
  _impl_._oneof_case_[0] = kStringMapKey;
}
inline void Record_FieldOverrideRecord_FieldPathPart::clear_string_map_key() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (index_case() == kStringMapKey) {
    _impl_.index_.string_map_key_.Destroy();
    clear_has_index();
  }
}
inline const ::std::string& Record_FieldOverrideRecord_FieldPathPart::string_map_key() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:xla.Record.FieldOverrideRecord.FieldPathPart.string_map_key)
  return _internal_string_map_key();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void Record_FieldOverrideRecord_FieldPathPart::set_string_map_key(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (index_case() != kStringMapKey) {
    clear_index();

    set_has_string_map_key();
    _impl_.index_.string_map_key_.InitDefault();
  }
  _impl_.index_.string_map_key_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:xla.Record.FieldOverrideRecord.FieldPathPart.string_map_key)
}
inline ::std::string* PROTOBUF_NONNULL Record_FieldOverrideRecord_FieldPathPart::mutable_string_map_key()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::std::string* _s = _internal_mutable_string_map_key();
  // @@protoc_insertion_point(field_mutable:xla.Record.FieldOverrideRecord.FieldPathPart.string_map_key)
  return _s;
}
inline const ::std::string& Record_FieldOverrideRecord_FieldPathPart::_internal_string_map_key() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  if (index_case() != kStringMapKey) {
    return ::google::protobuf::internal::GetEmptyStringAlreadyInited();
  }
  return _impl_.index_.string_map_key_.Get();
}
inline void Record_FieldOverrideRecord_FieldPathPart::_internal_set_string_map_key(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (index_case() != kStringMapKey) {
    clear_index();

    set_has_string_map_key();
    _impl_.index_.string_map_key_.InitDefault();
  }
  _impl_.index_.string_map_key_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL Record_FieldOverrideRecord_FieldPathPart::_internal_mutable_string_map_key() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (index_case() != kStringMapKey) {
    clear_index();

    set_has_string_map_key();
    _impl_.index_.string_map_key_.InitDefault();
  }
  return _impl_.index_.string_map_key_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE Record_FieldOverrideRecord_FieldPathPart::release_string_map_key() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:xla.Record.FieldOverrideRecord.FieldPathPart.string_map_key)
  if (index_case() != kStringMapKey) {
    return nullptr;
  }
  clear_has_index();
  return _impl_.index_.string_map_key_.Release();
}
inline void Record_FieldOverrideRecord_FieldPathPart::set_allocated_string_map_key(::std::string* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (has_index()) {
    clear_index();
  }
  if (value != nullptr) {
    set_has_string_map_key();
    _impl_.index_.string_map_key_.InitAllocated(value, GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:xla.Record.FieldOverrideRecord.FieldPathPart.string_map_key)
}

// int64 int_map_key = 4;
inline bool Record_FieldOverrideRecord_FieldPathPart::has_int_map_key() const {
  return index_case() == kIntMapKey;
}
inline void Record_FieldOverrideRecord_FieldPathPart::set_has_int_map_key() {
  _impl_._oneof_case_[0] = kIntMapKey;
}
inline void Record_FieldOverrideRecord_FieldPathPart::clear_int_map_key() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (index_case() == kIntMapKey) {
    _impl_.index_.int_map_key_ = ::int64_t{0};
    clear_has_index();
  }
}
inline ::int64_t Record_FieldOverrideRecord_FieldPathPart::int_map_key() const {
  // @@protoc_insertion_point(field_get:xla.Record.FieldOverrideRecord.FieldPathPart.int_map_key)
  return _internal_int_map_key();
}
inline void Record_FieldOverrideRecord_FieldPathPart::set_int_map_key(::int64_t value) {
  if (index_case() != kIntMapKey) {
    clear_index();
    set_has_int_map_key();
  }
  _impl_.index_.int_map_key_ = value;
  // @@protoc_insertion_point(field_set:xla.Record.FieldOverrideRecord.FieldPathPart.int_map_key)
}
inline ::int64_t Record_FieldOverrideRecord_FieldPathPart::_internal_int_map_key() const {
  if (index_case() == kIntMapKey) {
    return _impl_.index_.int_map_key_;
  }
  return ::int64_t{0};
}

inline bool Record_FieldOverrideRecord_FieldPathPart::has_index() const {
  return index_case() != INDEX_NOT_SET;
}
inline void Record_FieldOverrideRecord_FieldPathPart::clear_has_index() {
  _impl_._oneof_case_[0] = INDEX_NOT_SET;
}
inline Record_FieldOverrideRecord_FieldPathPart::IndexCase Record_FieldOverrideRecord_FieldPathPart::index_case() const {
  return Record_FieldOverrideRecord_FieldPathPart::IndexCase(_impl_._oneof_case_[0]);
}
// -------------------------------------------------------------------

// Record_FieldOverrideRecord

// repeated .xla.Record.FieldOverrideRecord.FieldPathPart field_path = 1;
inline int Record_FieldOverrideRecord::_internal_field_path_size() const {
  return _internal_field_path().size();
}
inline int Record_FieldOverrideRecord::field_path_size() const {
  return _internal_field_path_size();
}
inline void Record_FieldOverrideRecord::clear_field_path() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.field_path_.Clear();
}
inline ::xla::Record_FieldOverrideRecord_FieldPathPart* PROTOBUF_NONNULL Record_FieldOverrideRecord::mutable_field_path(int index)
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable:xla.Record.FieldOverrideRecord.field_path)
  return _internal_mutable_field_path()->Mutable(index);
}
inline ::google::protobuf::RepeatedPtrField<::xla::Record_FieldOverrideRecord_FieldPathPart>* PROTOBUF_NONNULL Record_FieldOverrideRecord::mutable_field_path()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable_list:xla.Record.FieldOverrideRecord.field_path)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_field_path();
}
inline const ::xla::Record_FieldOverrideRecord_FieldPathPart& Record_FieldOverrideRecord::field_path(int index) const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:xla.Record.FieldOverrideRecord.field_path)
  return _internal_field_path().Get(index);
}
inline ::xla::Record_FieldOverrideRecord_FieldPathPart* PROTOBUF_NONNULL Record_FieldOverrideRecord::add_field_path()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::xla::Record_FieldOverrideRecord_FieldPathPart* _add = _internal_mutable_field_path()->Add();
  // @@protoc_insertion_point(field_add:xla.Record.FieldOverrideRecord.field_path)
  return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::xla::Record_FieldOverrideRecord_FieldPathPart>& Record_FieldOverrideRecord::field_path() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:xla.Record.FieldOverrideRecord.field_path)
  return _internal_field_path();
}
inline const ::google::protobuf::RepeatedPtrField<::xla::Record_FieldOverrideRecord_FieldPathPart>&
Record_FieldOverrideRecord::_internal_field_path() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.field_path_;
}
inline ::google::protobuf::RepeatedPtrField<::xla::Record_FieldOverrideRecord_FieldPathPart>* PROTOBUF_NONNULL
Record_FieldOverrideRecord::_internal_mutable_field_path() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.field_path_;
}

// .xla.Record.FieldOverrideRecord.FieldDescriptorType field_type = 2;
inline void Record_FieldOverrideRecord::clear_field_type() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.field_type_ = 0;
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline ::xla::Record_FieldOverrideRecord_FieldDescriptorType Record_FieldOverrideRecord::field_type() const {
  // @@protoc_insertion_point(field_get:xla.Record.FieldOverrideRecord.field_type)
  return _internal_field_type();
}
inline void Record_FieldOverrideRecord::set_field_type(::xla::Record_FieldOverrideRecord_FieldDescriptorType value) {
  _internal_set_field_type(value);
  _impl_._has_bits_[0] |= 0x00000001u;
  // @@protoc_insertion_point(field_set:xla.Record.FieldOverrideRecord.field_type)
}
inline ::xla::Record_FieldOverrideRecord_FieldDescriptorType Record_FieldOverrideRecord::_internal_field_type() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return static_cast<::xla::Record_FieldOverrideRecord_FieldDescriptorType>(_impl_.field_type_);
}
inline void Record_FieldOverrideRecord::_internal_set_field_type(::xla::Record_FieldOverrideRecord_FieldDescriptorType value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.field_type_ = value;
}

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

// Record

// .xla.Record.ProtoMergeRecord proto_merge_record = 2;
inline bool Record::has_proto_merge_record() const {
  return record_type_case() == kProtoMergeRecord;
}
inline bool Record::_internal_has_proto_merge_record() const {
  return record_type_case() == kProtoMergeRecord;
}
inline void Record::set_has_proto_merge_record() {
  _impl_._oneof_case_[0] = kProtoMergeRecord;
}
inline void Record::clear_proto_merge_record() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (record_type_case() == kProtoMergeRecord) {
    if (GetArena() == nullptr) {
      delete _impl_.record_type_.proto_merge_record_;
    } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
      ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.record_type_.proto_merge_record_);
    }
    clear_has_record_type();
  }
}
inline ::xla::Record_ProtoMergeRecord* PROTOBUF_NULLABLE Record::release_proto_merge_record() {
  // @@protoc_insertion_point(field_release:xla.Record.proto_merge_record)
  if (record_type_case() == kProtoMergeRecord) {
    clear_has_record_type();
    auto* temp = _impl_.record_type_.proto_merge_record_;
    if (GetArena() != nullptr) {
      temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
    }
    _impl_.record_type_.proto_merge_record_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::xla::Record_ProtoMergeRecord& Record::_internal_proto_merge_record() const {
  return record_type_case() == kProtoMergeRecord ? *_impl_.record_type_.proto_merge_record_ : reinterpret_cast<::xla::Record_ProtoMergeRecord&>(::xla::_Record_ProtoMergeRecord_default_instance_);
}
inline const ::xla::Record_ProtoMergeRecord& Record::proto_merge_record() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:xla.Record.proto_merge_record)
  return _internal_proto_merge_record();
}
inline ::xla::Record_ProtoMergeRecord* PROTOBUF_NULLABLE Record::unsafe_arena_release_proto_merge_record() {
  // @@protoc_insertion_point(field_unsafe_arena_release:xla.Record.proto_merge_record)
  if (record_type_case() == kProtoMergeRecord) {
    clear_has_record_type();
    auto* temp = _impl_.record_type_.proto_merge_record_;
    _impl_.record_type_.proto_merge_record_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void Record::unsafe_arena_set_allocated_proto_merge_record(
    ::xla::Record_ProtoMergeRecord* 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_record_type();
  if (value) {
    set_has_proto_merge_record();
    _impl_.record_type_.proto_merge_record_ = value;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xla.Record.proto_merge_record)
}
inline ::xla::Record_ProtoMergeRecord* PROTOBUF_NONNULL Record::_internal_mutable_proto_merge_record() {
  if (record_type_case() != kProtoMergeRecord) {
    clear_record_type();
    set_has_proto_merge_record();
    _impl_.record_type_.proto_merge_record_ = 
        ::google::protobuf::Message::DefaultConstruct<::xla::Record_ProtoMergeRecord>(GetArena());
  }
  return _impl_.record_type_.proto_merge_record_;
}
inline ::xla::Record_ProtoMergeRecord* PROTOBUF_NONNULL Record::mutable_proto_merge_record()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::xla::Record_ProtoMergeRecord* _msg = _internal_mutable_proto_merge_record();
  // @@protoc_insertion_point(field_mutable:xla.Record.proto_merge_record)
  return _msg;
}

// .xla.Record.FieldOverrideRecord field_override_record = 3;
inline bool Record::has_field_override_record() const {
  return record_type_case() == kFieldOverrideRecord;
}
inline bool Record::_internal_has_field_override_record() const {
  return record_type_case() == kFieldOverrideRecord;
}
inline void Record::set_has_field_override_record() {
  _impl_._oneof_case_[0] = kFieldOverrideRecord;
}
inline void Record::clear_field_override_record() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (record_type_case() == kFieldOverrideRecord) {
    if (GetArena() == nullptr) {
      delete _impl_.record_type_.field_override_record_;
    } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
      ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.record_type_.field_override_record_);
    }
    clear_has_record_type();
  }
}
inline ::xla::Record_FieldOverrideRecord* PROTOBUF_NULLABLE Record::release_field_override_record() {
  // @@protoc_insertion_point(field_release:xla.Record.field_override_record)
  if (record_type_case() == kFieldOverrideRecord) {
    clear_has_record_type();
    auto* temp = _impl_.record_type_.field_override_record_;
    if (GetArena() != nullptr) {
      temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
    }
    _impl_.record_type_.field_override_record_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::xla::Record_FieldOverrideRecord& Record::_internal_field_override_record() const {
  return record_type_case() == kFieldOverrideRecord ? *_impl_.record_type_.field_override_record_ : reinterpret_cast<::xla::Record_FieldOverrideRecord&>(::xla::_Record_FieldOverrideRecord_default_instance_);
}
inline const ::xla::Record_FieldOverrideRecord& Record::field_override_record() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:xla.Record.field_override_record)
  return _internal_field_override_record();
}
inline ::xla::Record_FieldOverrideRecord* PROTOBUF_NULLABLE Record::unsafe_arena_release_field_override_record() {
  // @@protoc_insertion_point(field_unsafe_arena_release:xla.Record.field_override_record)
  if (record_type_case() == kFieldOverrideRecord) {
    clear_has_record_type();
    auto* temp = _impl_.record_type_.field_override_record_;
    _impl_.record_type_.field_override_record_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void Record::unsafe_arena_set_allocated_field_override_record(
    ::xla::Record_FieldOverrideRecord* 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_record_type();
  if (value) {
    set_has_field_override_record();
    _impl_.record_type_.field_override_record_ = value;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xla.Record.field_override_record)
}
inline ::xla::Record_FieldOverrideRecord* PROTOBUF_NONNULL Record::_internal_mutable_field_override_record() {
  if (record_type_case() != kFieldOverrideRecord) {
    clear_record_type();
    set_has_field_override_record();
    _impl_.record_type_.field_override_record_ = 
        ::google::protobuf::Message::DefaultConstruct<::xla::Record_FieldOverrideRecord>(GetArena());
  }
  return _impl_.record_type_.field_override_record_;
}
inline ::xla::Record_FieldOverrideRecord* PROTOBUF_NONNULL Record::mutable_field_override_record()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::xla::Record_FieldOverrideRecord* _msg = _internal_mutable_field_override_record();
  // @@protoc_insertion_point(field_mutable:xla.Record.field_override_record)
  return _msg;
}

inline bool Record::has_record_type() const {
  return record_type_case() != RECORD_TYPE_NOT_SET;
}
inline void Record::clear_has_record_type() {
  _impl_._oneof_case_[0] = RECORD_TYPE_NOT_SET;
}
inline Record::RecordTypeCase Record::record_type_case() const {
  return Record::RecordTypeCase(_impl_._oneof_case_[0]);
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif  // __GNUC__

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


namespace google {
namespace protobuf {

template <>
struct is_proto_enum<::xla::Record_FieldOverrideRecord_FieldDescriptorType> : std::true_type {};
template <>
inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::xla::Record_FieldOverrideRecord_FieldDescriptorType>() {
  return ::xla::Record_FieldOverrideRecord_FieldDescriptorType_descriptor();
}

}  // namespace protobuf
}  // namespace google

// @@protoc_insertion_point(global_scope)

#include "google/protobuf/port_undef.inc"

#endif  // xla_2futil_2fsplit_5fproto_2fsplit_5fproto_2eproto_2epb_2eh
