// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: components/optimization_guide/proto/model_validation.proto
// Protobuf C++ Version: 7.35.1

#ifndef components_2foptimization_5fguide_2fproto_2fmodel_5fvalidation_2eproto_2epb_2eh
#define components_2foptimization_5fguide_2fproto_2fmodel_5fvalidation_2eproto_2epb_2eh

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

// clang-format off
#include "google/protobuf/runtime_version.h"
#if PROTOBUF_VERSION != 7035001
#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/message_lite.h"
#include "google/protobuf/repeated_field.h"  // IWYU pragma: export
#include "google/protobuf/extension_set.h"  // IWYU pragma: export
#include "components/optimization_guide/proto/common_types.pb.h"
#include "components/optimization_guide/proto/model_execution.pb.h"
#include "components/optimization_guide/proto/model_quality_metadata.pb.h"
// @@protoc_insertion_point(includes)

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

#define PROTOBUF_INTERNAL_EXPORT_components_2foptimization_5fguide_2fproto_2fmodel_5fvalidation_2eproto

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 TableStruct_components_2foptimization_5fguide_2fproto_2fmodel_5fvalidation_2eproto {
  static const ::uint32_t offsets[];
};
namespace optimization_guide {
namespace proto {
class ModelCall;
struct ModelCallGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern ModelCallGlobalsTypeInternal ModelCall_globals_;
extern const ::google::protobuf::internal::ClassDataLite ModelCall_class_data_;
#else
extern const ModelCallGlobalsTypeInternal ModelCall_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class ModelValidationInput;
struct ModelValidationInputGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern ModelValidationInputGlobalsTypeInternal ModelValidationInput_globals_;
extern const ::google::protobuf::internal::ClassDataLite ModelValidationInput_class_data_;
#else
extern const ModelValidationInputGlobalsTypeInternal ModelValidationInput_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class ModelValidationOutput;
struct ModelValidationOutputGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern ModelValidationOutputGlobalsTypeInternal ModelValidationOutput_globals_;
extern const ::google::protobuf::internal::ClassDataLite ModelValidationOutput_class_data_;
#else
extern const ModelValidationOutputGlobalsTypeInternal ModelValidationOutput_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
}  // namespace proto
}  // namespace optimization_guide
namespace google {
namespace protobuf {
}  // namespace protobuf
}  // namespace google

namespace optimization_guide {
namespace proto {

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


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

class  ModelValidationInput final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:optimization_guide.proto.ModelValidationInput) */ {
 public:
  inline ModelValidationInput() : ModelValidationInput(nullptr) {}
  ~ModelValidationInput() PROTOBUF_FINAL;

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

  template <typename = void>
  explicit constexpr ModelValidationInput(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline ModelValidationInput(const ModelValidationInput& from) : ModelValidationInput(nullptr, from) {}
  inline ModelValidationInput(ModelValidationInput&& from) noexcept : ModelValidationInput(nullptr, ::std::move(from)) {}
  inline ModelValidationInput& operator=(const ModelValidationInput& from) {
    CopyFrom(from);
    return *this;
  }
  inline ModelValidationInput& operator=(ModelValidationInput&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const ModelValidationInput& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<ModelValidationInput>(&ModelValidationInput_globals_);
  }
  static constexpr int kIndexInFileMessages = 0;
  friend void swap(ModelValidationInput& a, ModelValidationInput& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(ModelValidationInput* 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(ModelValidationInput* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

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

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

  explicit ModelValidationInput(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  ModelValidationInput(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ModelValidationInput& from);
  ModelValidationInput(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ModelValidationInput&& from) noexcept
      : ModelValidationInput(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_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------
  enum : int {
    kRequestsFieldNumber = 2,
  };
  // repeated .optimization_guide.proto.ExecuteRequest requests = 2;
  int requests_size()
      const;
  private:
  int _internal_requests_size() const;

  public:
  void clear_requests() ;
  const ::optimization_guide::proto::ExecuteRequest& requests(int index) const;
  ::optimization_guide::proto::ExecuteRequest* PROTOBUF_NONNULL mutable_requests(int index);
  ::optimization_guide::proto::ExecuteRequest* PROTOBUF_NONNULL add_requests();
  const ::google::protobuf::RepeatedPtrField<::optimization_guide::proto::ExecuteRequest>&
  requests() const;
  ::google::protobuf::RepeatedPtrField<::optimization_guide::proto::ExecuteRequest>* PROTOBUF_NONNULL
  mutable_requests();

  private:
  const ::google::protobuf::RepeatedPtrField<::optimization_guide::proto::ExecuteRequest>& _internal_requests() const;
  ::google::protobuf::RepeatedPtrField<::optimization_guide::proto::ExecuteRequest>* PROTOBUF_NONNULL _internal_mutable_requests();

  public:
  // @@protoc_insertion_point(class_scope:optimization_guide.proto.ModelValidationInput)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<0, 1,
                          1, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::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 ModelValidationInput& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::RepeatedPtrField< ::optimization_guide::proto::ExecuteRequest > requests_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_components_2foptimization_5fguide_2fproto_2fmodel_5fvalidation_2eproto;
};
// -------------------------------------------------------------------

class  ModelCall final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:optimization_guide.proto.ModelCall) */ {
 public:
  inline ModelCall() : ModelCall(nullptr) {}
  ~ModelCall() PROTOBUF_FINAL;

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

  template <typename = void>
  explicit constexpr ModelCall(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline ModelCall(const ModelCall& from) : ModelCall(nullptr, from) {}
  inline ModelCall(ModelCall&& from) noexcept : ModelCall(nullptr, ::std::move(from)) {}
  inline ModelCall& operator=(const ModelCall& from) {
    CopyFrom(from);
    return *this;
  }
  inline ModelCall& operator=(ModelCall&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const ModelCall& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<ModelCall>(&ModelCall_globals_);
  }
  static constexpr int kIndexInFileMessages = 1;
  friend void swap(ModelCall& a, ModelCall& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(ModelCall* 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(ModelCall* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

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

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

  explicit ModelCall(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  ModelCall(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ModelCall& from);
  ModelCall(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ModelCall&& from) noexcept
      : ModelCall(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_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------
  enum : int {
    kRequestFieldNumber = 1,
    kResponseFieldNumber = 2,
    kModelExecutionInfoFieldNumber = 3,
  };
  // .optimization_guide.proto.ExecuteRequest request = 1;
  bool has_request()
      const;
  void clear_request() ;
  const ::optimization_guide::proto::ExecuteRequest& request() const;
  ::optimization_guide::proto::ExecuteRequest* PROTOBUF_NULLABLE release_request();
  ::optimization_guide::proto::ExecuteRequest* PROTOBUF_NONNULL mutable_request();
  void set_allocated_request(::optimization_guide::proto::ExecuteRequest* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_request(::optimization_guide::proto::ExecuteRequest* PROTOBUF_NULLABLE value);
  ::optimization_guide::proto::ExecuteRequest* PROTOBUF_NULLABLE unsafe_arena_release_request();

  private:
  const ::optimization_guide::proto::ExecuteRequest& _internal_request() const;
  ::optimization_guide::proto::ExecuteRequest* PROTOBUF_NONNULL _internal_mutable_request();

  public:
  // .optimization_guide.proto.Any response = 2;
  bool has_response()
      const;
  void clear_response() ;
  const ::optimization_guide::proto::Any& response() const;
  ::optimization_guide::proto::Any* PROTOBUF_NULLABLE release_response();
  ::optimization_guide::proto::Any* PROTOBUF_NONNULL mutable_response();
  void set_allocated_response(::optimization_guide::proto::Any* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_response(::optimization_guide::proto::Any* PROTOBUF_NULLABLE value);
  ::optimization_guide::proto::Any* PROTOBUF_NULLABLE unsafe_arena_release_response();

  private:
  const ::optimization_guide::proto::Any& _internal_response() const;
  ::optimization_guide::proto::Any* PROTOBUF_NONNULL _internal_mutable_response();

  public:
  // .optimization_guide.proto.ModelExecutionInfo model_execution_info = 3;
  bool has_model_execution_info()
      const;
  void clear_model_execution_info() ;
  const ::optimization_guide::proto::ModelExecutionInfo& model_execution_info() const;
  ::optimization_guide::proto::ModelExecutionInfo* PROTOBUF_NULLABLE release_model_execution_info();
  ::optimization_guide::proto::ModelExecutionInfo* PROTOBUF_NONNULL mutable_model_execution_info();
  void set_allocated_model_execution_info(::optimization_guide::proto::ModelExecutionInfo* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_model_execution_info(::optimization_guide::proto::ModelExecutionInfo* PROTOBUF_NULLABLE value);
  ::optimization_guide::proto::ModelExecutionInfo* PROTOBUF_NULLABLE unsafe_arena_release_model_execution_info();

  private:
  const ::optimization_guide::proto::ModelExecutionInfo& _internal_model_execution_info() const;
  ::optimization_guide::proto::ModelExecutionInfo* PROTOBUF_NONNULL _internal_mutable_model_execution_info();

  public:
  // @@protoc_insertion_point(class_scope:optimization_guide.proto.ModelCall)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<2, 3,
                          3, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::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 ModelCall& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::optimization_guide::proto::ExecuteRequest* PROTOBUF_NULLABLE request_;
    ::optimization_guide::proto::Any* PROTOBUF_NULLABLE response_;
    ::optimization_guide::proto::ModelExecutionInfo* PROTOBUF_NULLABLE model_execution_info_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_components_2foptimization_5fguide_2fproto_2fmodel_5fvalidation_2eproto;
};
// -------------------------------------------------------------------

class  ModelValidationOutput final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:optimization_guide.proto.ModelValidationOutput) */ {
 public:
  inline ModelValidationOutput() : ModelValidationOutput(nullptr) {}
  ~ModelValidationOutput() PROTOBUF_FINAL;

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

  template <typename = void>
  explicit constexpr ModelValidationOutput(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline ModelValidationOutput(const ModelValidationOutput& from) : ModelValidationOutput(nullptr, from) {}
  inline ModelValidationOutput(ModelValidationOutput&& from) noexcept : ModelValidationOutput(nullptr, ::std::move(from)) {}
  inline ModelValidationOutput& operator=(const ModelValidationOutput& from) {
    CopyFrom(from);
    return *this;
  }
  inline ModelValidationOutput& operator=(ModelValidationOutput&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const ModelValidationOutput& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<ModelValidationOutput>(&ModelValidationOutput_globals_);
  }
  static constexpr int kIndexInFileMessages = 2;
  friend void swap(ModelValidationOutput& a, ModelValidationOutput& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(ModelValidationOutput* 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(ModelValidationOutput* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

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

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

  explicit ModelValidationOutput(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  ModelValidationOutput(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ModelValidationOutput& from);
  ModelValidationOutput(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ModelValidationOutput&& from) noexcept
      : ModelValidationOutput(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_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------
  enum : int {
    kModelCallsFieldNumber = 2,
  };
  // repeated .optimization_guide.proto.ModelCall model_calls = 2;
  int model_calls_size()
      const;
  private:
  int _internal_model_calls_size() const;

  public:
  void clear_model_calls() ;
  const ::optimization_guide::proto::ModelCall& model_calls(int index) const;
  ::optimization_guide::proto::ModelCall* PROTOBUF_NONNULL mutable_model_calls(int index);
  ::optimization_guide::proto::ModelCall* PROTOBUF_NONNULL add_model_calls();
  const ::google::protobuf::RepeatedPtrField<::optimization_guide::proto::ModelCall>&
  model_calls() const;
  ::google::protobuf::RepeatedPtrField<::optimization_guide::proto::ModelCall>* PROTOBUF_NONNULL
  mutable_model_calls();

  private:
  const ::google::protobuf::RepeatedPtrField<::optimization_guide::proto::ModelCall>& _internal_model_calls() const;
  ::google::protobuf::RepeatedPtrField<::optimization_guide::proto::ModelCall>* PROTOBUF_NONNULL _internal_mutable_model_calls();

  public:
  // @@protoc_insertion_point(class_scope:optimization_guide.proto.ModelValidationOutput)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<0, 1,
                          1, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::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 ModelValidationOutput& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::RepeatedPtrField< ::optimization_guide::proto::ModelCall > model_calls_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_components_2foptimization_5fguide_2fproto_2fmodel_5fvalidation_2eproto;
};

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




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


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

// ModelValidationInput

// repeated .optimization_guide.proto.ExecuteRequest requests = 2;
inline int ModelValidationInput::_internal_requests_size() const {
  return _internal_requests().size();
}
inline int ModelValidationInput::requests_size() const {
  return _internal_requests_size();
}
inline const ::optimization_guide::proto::ExecuteRequest& ModelValidationInput::requests(int index) const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.ModelValidationInput.requests)
  return _internal_requests().Get(index);
}
inline ::optimization_guide::proto::ExecuteRequest* PROTOBUF_NONNULL ModelValidationInput::mutable_requests(int index)
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable:optimization_guide.proto.ModelValidationInput.requests)
  return _internal_mutable_requests()->Mutable(index);
}
inline ::optimization_guide::proto::ExecuteRequest* PROTOBUF_NONNULL ModelValidationInput::add_requests()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::optimization_guide::proto::ExecuteRequest* _add =
      _internal_mutable_requests()->InternalAddWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), GetArena());
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_add:optimization_guide.proto.ModelValidationInput.requests)
  return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::optimization_guide::proto::ExecuteRequest>& ModelValidationInput::requests() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:optimization_guide.proto.ModelValidationInput.requests)
  return _internal_requests();
}
inline ::google::protobuf::RepeatedPtrField<::optimization_guide::proto::ExecuteRequest>* PROTOBUF_NONNULL
ModelValidationInput::mutable_requests() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_mutable_list:optimization_guide.proto.ModelValidationInput.requests)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_requests();
}
inline const ::google::protobuf::RepeatedPtrField<::optimization_guide::proto::ExecuteRequest>&
ModelValidationInput::_internal_requests() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.requests_;
}
inline ::google::protobuf::RepeatedPtrField<::optimization_guide::proto::ExecuteRequest>* PROTOBUF_NONNULL
ModelValidationInput::_internal_mutable_requests() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.requests_;
}

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

// ModelCall

// .optimization_guide.proto.ExecuteRequest request = 1;
inline bool ModelCall::has_request() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  PROTOBUF_ASSUME(!value || _impl_.request_ != nullptr);
  return value;
}
inline const ::optimization_guide::proto::ExecuteRequest& ModelCall::_internal_request() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::optimization_guide::proto::ExecuteRequest* p = _impl_.request_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::optimization_guide::proto::ExecuteRequest>(&::optimization_guide::proto::ExecuteRequest_globals_);
}
inline const ::optimization_guide::proto::ExecuteRequest& ModelCall::request() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.ModelCall.request)
  return _internal_request();
}
inline void ModelCall::unsafe_arena_set_allocated_request(
    ::optimization_guide::proto::ExecuteRequest* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.request_);
  }
  _impl_.request_ = reinterpret_cast<::optimization_guide::proto::ExecuteRequest*>(value);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:optimization_guide.proto.ModelCall.request)
}
inline ::optimization_guide::proto::ExecuteRequest* PROTOBUF_NULLABLE ModelCall::release_request() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::optimization_guide::proto::ExecuteRequest* released = _impl_.request_;
  _impl_.request_ = 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 ::optimization_guide::proto::ExecuteRequest* PROTOBUF_NULLABLE ModelCall::unsafe_arena_release_request() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:optimization_guide.proto.ModelCall.request)

  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::optimization_guide::proto::ExecuteRequest* temp = _impl_.request_;
  _impl_.request_ = nullptr;
  return temp;
}
inline ::optimization_guide::proto::ExecuteRequest* PROTOBUF_NONNULL ModelCall::_internal_mutable_request() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.request_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::optimization_guide::proto::ExecuteRequest>(GetArena());
    _impl_.request_ = reinterpret_cast<::optimization_guide::proto::ExecuteRequest*>(p);
  }
  return _impl_.request_;
}
inline ::optimization_guide::proto::ExecuteRequest* PROTOBUF_NONNULL ModelCall::mutable_request()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::optimization_guide::proto::ExecuteRequest* _msg = _internal_mutable_request();
  // @@protoc_insertion_point(field_mutable:optimization_guide.proto.ModelCall.request)
  return _msg;
}
inline void ModelCall::set_allocated_request(::optimization_guide::proto::ExecuteRequest* 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_.request_);
  }

  if (value != nullptr) {
    ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena();
    if (message_arena != submessage_arena) {
      value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
    }
    SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  }

  _impl_.request_ = reinterpret_cast<::optimization_guide::proto::ExecuteRequest*>(value);
  // @@protoc_insertion_point(field_set_allocated:optimization_guide.proto.ModelCall.request)
}

// .optimization_guide.proto.Any response = 2;
inline bool ModelCall::has_response() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  PROTOBUF_ASSUME(!value || _impl_.response_ != nullptr);
  return value;
}
inline const ::optimization_guide::proto::Any& ModelCall::_internal_response() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::optimization_guide::proto::Any* p = _impl_.response_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::optimization_guide::proto::Any>(&::optimization_guide::proto::Any_globals_);
}
inline const ::optimization_guide::proto::Any& ModelCall::response() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.ModelCall.response)
  return _internal_response();
}
inline void ModelCall::unsafe_arena_set_allocated_response(
    ::optimization_guide::proto::Any* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.response_);
  }
  _impl_.response_ = reinterpret_cast<::optimization_guide::proto::Any*>(value);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:optimization_guide.proto.ModelCall.response)
}
inline ::optimization_guide::proto::Any* PROTOBUF_NULLABLE ModelCall::release_response() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::optimization_guide::proto::Any* released = _impl_.response_;
  _impl_.response_ = 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 ::optimization_guide::proto::Any* PROTOBUF_NULLABLE ModelCall::unsafe_arena_release_response() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:optimization_guide.proto.ModelCall.response)

  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::optimization_guide::proto::Any* temp = _impl_.response_;
  _impl_.response_ = nullptr;
  return temp;
}
inline ::optimization_guide::proto::Any* PROTOBUF_NONNULL ModelCall::_internal_mutable_response() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.response_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::optimization_guide::proto::Any>(GetArena());
    _impl_.response_ = reinterpret_cast<::optimization_guide::proto::Any*>(p);
  }
  return _impl_.response_;
}
inline ::optimization_guide::proto::Any* PROTOBUF_NONNULL ModelCall::mutable_response()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::optimization_guide::proto::Any* _msg = _internal_mutable_response();
  // @@protoc_insertion_point(field_mutable:optimization_guide.proto.ModelCall.response)
  return _msg;
}
inline void ModelCall::set_allocated_response(::optimization_guide::proto::Any* 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_.response_);
  }

  if (value != nullptr) {
    ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena();
    if (message_arena != submessage_arena) {
      value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
    }
    SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  }

  _impl_.response_ = reinterpret_cast<::optimization_guide::proto::Any*>(value);
  // @@protoc_insertion_point(field_set_allocated:optimization_guide.proto.ModelCall.response)
}

// .optimization_guide.proto.ModelExecutionInfo model_execution_info = 3;
inline bool ModelCall::has_model_execution_info() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
  PROTOBUF_ASSUME(!value || _impl_.model_execution_info_ != nullptr);
  return value;
}
inline const ::optimization_guide::proto::ModelExecutionInfo& ModelCall::_internal_model_execution_info() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::optimization_guide::proto::ModelExecutionInfo* p = _impl_.model_execution_info_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::optimization_guide::proto::ModelExecutionInfo>(&::optimization_guide::proto::ModelExecutionInfo_globals_);
}
inline const ::optimization_guide::proto::ModelExecutionInfo& ModelCall::model_execution_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.ModelCall.model_execution_info)
  return _internal_model_execution_info();
}
inline void ModelCall::unsafe_arena_set_allocated_model_execution_info(
    ::optimization_guide::proto::ModelExecutionInfo* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.model_execution_info_);
  }
  _impl_.model_execution_info_ = reinterpret_cast<::optimization_guide::proto::ModelExecutionInfo*>(value);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:optimization_guide.proto.ModelCall.model_execution_info)
}
inline ::optimization_guide::proto::ModelExecutionInfo* PROTOBUF_NULLABLE ModelCall::release_model_execution_info() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  ::optimization_guide::proto::ModelExecutionInfo* released = _impl_.model_execution_info_;
  _impl_.model_execution_info_ = 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 ::optimization_guide::proto::ModelExecutionInfo* PROTOBUF_NULLABLE ModelCall::unsafe_arena_release_model_execution_info() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:optimization_guide.proto.ModelCall.model_execution_info)

  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  ::optimization_guide::proto::ModelExecutionInfo* temp = _impl_.model_execution_info_;
  _impl_.model_execution_info_ = nullptr;
  return temp;
}
inline ::optimization_guide::proto::ModelExecutionInfo* PROTOBUF_NONNULL ModelCall::_internal_mutable_model_execution_info() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.model_execution_info_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::optimization_guide::proto::ModelExecutionInfo>(GetArena());
    _impl_.model_execution_info_ = reinterpret_cast<::optimization_guide::proto::ModelExecutionInfo*>(p);
  }
  return _impl_.model_execution_info_;
}
inline ::optimization_guide::proto::ModelExecutionInfo* PROTOBUF_NONNULL ModelCall::mutable_model_execution_info()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  ::optimization_guide::proto::ModelExecutionInfo* _msg = _internal_mutable_model_execution_info();
  // @@protoc_insertion_point(field_mutable:optimization_guide.proto.ModelCall.model_execution_info)
  return _msg;
}
inline void ModelCall::set_allocated_model_execution_info(::optimization_guide::proto::ModelExecutionInfo* 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_.model_execution_info_);
  }

  if (value != nullptr) {
    ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena();
    if (message_arena != submessage_arena) {
      value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
    }
    SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  }

  _impl_.model_execution_info_ = reinterpret_cast<::optimization_guide::proto::ModelExecutionInfo*>(value);
  // @@protoc_insertion_point(field_set_allocated:optimization_guide.proto.ModelCall.model_execution_info)
}

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

// ModelValidationOutput

// repeated .optimization_guide.proto.ModelCall model_calls = 2;
inline int ModelValidationOutput::_internal_model_calls_size() const {
  return _internal_model_calls().size();
}
inline int ModelValidationOutput::model_calls_size() const {
  return _internal_model_calls_size();
}
inline void ModelValidationOutput::clear_model_calls() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.model_calls_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::optimization_guide::proto::ModelCall& ModelValidationOutput::model_calls(int index) const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.ModelValidationOutput.model_calls)
  return _internal_model_calls().Get(index);
}
inline ::optimization_guide::proto::ModelCall* PROTOBUF_NONNULL ModelValidationOutput::mutable_model_calls(int index)
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable:optimization_guide.proto.ModelValidationOutput.model_calls)
  return _internal_mutable_model_calls()->Mutable(index);
}
inline ::optimization_guide::proto::ModelCall* PROTOBUF_NONNULL ModelValidationOutput::add_model_calls()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::optimization_guide::proto::ModelCall* _add =
      _internal_mutable_model_calls()->InternalAddWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), GetArena());
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_add:optimization_guide.proto.ModelValidationOutput.model_calls)
  return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::optimization_guide::proto::ModelCall>& ModelValidationOutput::model_calls() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:optimization_guide.proto.ModelValidationOutput.model_calls)
  return _internal_model_calls();
}
inline ::google::protobuf::RepeatedPtrField<::optimization_guide::proto::ModelCall>* PROTOBUF_NONNULL
ModelValidationOutput::mutable_model_calls() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_mutable_list:optimization_guide.proto.ModelValidationOutput.model_calls)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_model_calls();
}
inline const ::google::protobuf::RepeatedPtrField<::optimization_guide::proto::ModelCall>&
ModelValidationOutput::_internal_model_calls() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.model_calls_;
}
inline ::google::protobuf::RepeatedPtrField<::optimization_guide::proto::ModelCall>* PROTOBUF_NONNULL
ModelValidationOutput::_internal_mutable_model_calls() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.model_calls_;
}

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

// @@protoc_insertion_point(namespace_scope)
}  // namespace proto
}  // namespace optimization_guide


// @@protoc_insertion_point(global_scope)

#include "google/protobuf/port_undef.inc"
// clang-format on

#endif  // components_2foptimization_5fguide_2fproto_2fmodel_5fvalidation_2eproto_2epb_2eh
