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

#ifndef components_2ffeed_2fcore_2fproto_2fv2_2fpacking_2eproto_2epb_2eh
#define components_2ffeed_2fcore_2fproto_2fv2_2fpacking_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/feed/core/proto/v2/wire/data_operation.pb.h"
// @@protoc_insertion_point(includes)

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

#define PROTOBUF_INTERNAL_EXPORT_components_2ffeed_2fcore_2fproto_2fv2_2fpacking_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_2ffeed_2fcore_2fproto_2fv2_2fpacking_2eproto {
  static const ::uint32_t offsets[];
};
namespace feedpacking {
class DismissData;
struct DismissDataGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern DismissDataGlobalsTypeInternal DismissData_globals_;
extern const ::google::protobuf::internal::ClassDataLite DismissData_class_data_;
#else
extern const DismissDataGlobalsTypeInternal DismissData_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
}  // namespace feedpacking
namespace google {
namespace protobuf {
}  // namespace protobuf
}  // namespace google

namespace feedpacking {

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


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

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

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

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

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

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

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

  explicit DismissData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  DismissData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const DismissData& from);
  DismissData(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, DismissData&& from) noexcept
      : DismissData(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 {
    kDataOperationsFieldNumber = 1,
  };
  // repeated .feedwire.DataOperation data_operations = 1;
  int data_operations_size()
      const;
  private:
  int _internal_data_operations_size() const;

  public:
  void clear_data_operations() ;
  const ::feedwire::DataOperation& data_operations(int index) const;
  ::feedwire::DataOperation* PROTOBUF_NONNULL mutable_data_operations(int index);
  ::feedwire::DataOperation* PROTOBUF_NONNULL add_data_operations();
  const ::google::protobuf::RepeatedPtrField<::feedwire::DataOperation>&
  data_operations() const;
  ::google::protobuf::RepeatedPtrField<::feedwire::DataOperation>* PROTOBUF_NONNULL
  mutable_data_operations();

  private:
  const ::google::protobuf::RepeatedPtrField<::feedwire::DataOperation>& _internal_data_operations() const;
  ::google::protobuf::RepeatedPtrField<::feedwire::DataOperation>* PROTOBUF_NONNULL _internal_mutable_data_operations();

  public:
  // @@protoc_insertion_point(class_scope:feedpacking.DismissData)
 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 DismissData& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::RepeatedPtrField< ::feedwire::DataOperation > data_operations_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_components_2ffeed_2fcore_2fproto_2fv2_2fpacking_2eproto;
};

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




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


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

// DismissData

// repeated .feedwire.DataOperation data_operations = 1;
inline int DismissData::_internal_data_operations_size() const {
  return _internal_data_operations().size();
}
inline int DismissData::data_operations_size() const {
  return _internal_data_operations_size();
}
inline const ::feedwire::DataOperation& DismissData::data_operations(int index) const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:feedpacking.DismissData.data_operations)
  return _internal_data_operations().Get(index);
}
inline ::feedwire::DataOperation* PROTOBUF_NONNULL DismissData::mutable_data_operations(int index)
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable:feedpacking.DismissData.data_operations)
  return _internal_mutable_data_operations()->Mutable(index);
}
inline ::feedwire::DataOperation* PROTOBUF_NONNULL DismissData::add_data_operations()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::feedwire::DataOperation* _add =
      _internal_mutable_data_operations()->InternalAddWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), GetArena());
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_add:feedpacking.DismissData.data_operations)
  return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::feedwire::DataOperation>& DismissData::data_operations() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:feedpacking.DismissData.data_operations)
  return _internal_data_operations();
}
inline ::google::protobuf::RepeatedPtrField<::feedwire::DataOperation>* PROTOBUF_NONNULL
DismissData::mutable_data_operations() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_mutable_list:feedpacking.DismissData.data_operations)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_data_operations();
}
inline const ::google::protobuf::RepeatedPtrField<::feedwire::DataOperation>&
DismissData::_internal_data_operations() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.data_operations_;
}
inline ::google::protobuf::RepeatedPtrField<::feedwire::DataOperation>* PROTOBUF_NONNULL
DismissData::_internal_mutable_data_operations() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.data_operations_;
}

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

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


// @@protoc_insertion_point(global_scope)

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

#endif  // components_2ffeed_2fcore_2fproto_2fv2_2fpacking_2eproto_2epb_2eh
