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

#ifndef lens_5foverlay_5fimage_5fdata_2eproto_2epb_2eh
#define lens_5foverlay_5fimage_5fdata_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 "lens_overlay_geometry.pb.h"
// @@protoc_insertion_point(includes)

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

#define PROTOBUF_INTERNAL_EXPORT_lens_5foverlay_5fimage_5fdata_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_lens_5foverlay_5fimage_5fdata_2eproto {
  static const ::uint32_t offsets[];
};
namespace lens {
class ImageData;
struct ImageDataGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern ImageDataGlobalsTypeInternal ImageData_globals_;
extern const ::google::protobuf::internal::ClassDataLite ImageData_class_data_;
#else
extern const ImageDataGlobalsTypeInternal ImageData_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class ImageMetadata;
struct ImageMetadataGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern ImageMetadataGlobalsTypeInternal ImageMetadata_globals_;
extern const ::google::protobuf::internal::ClassDataLite ImageMetadata_class_data_;
#else
extern const ImageMetadataGlobalsTypeInternal ImageMetadata_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class ImagePayload;
struct ImagePayloadGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern ImagePayloadGlobalsTypeInternal ImagePayload_globals_;
extern const ::google::protobuf::internal::ClassDataLite ImagePayload_class_data_;
#else
extern const ImagePayloadGlobalsTypeInternal ImagePayload_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
}  // namespace lens
namespace google {
namespace protobuf {
}  // namespace protobuf
}  // namespace google

namespace lens {

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


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

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

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

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

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

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

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

  explicit ImagePayload(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  ImagePayload(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ImagePayload& from);
  ImagePayload(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ImagePayload&& from) noexcept
      : ImagePayload(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 {
    kImageBytesFieldNumber = 1,
  };
  // bytes image_bytes = 1;
  void clear_image_bytes() ;
  const ::std::string& image_bytes() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_image_bytes(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_image_bytes();
  ::std::string* PROTOBUF_NULLABLE release_image_bytes();
  void set_allocated_image_bytes(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_image_bytes() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_image_bytes(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_image_bytes();

  public:
  // @@protoc_insertion_point(class_scope:lens.ImagePayload)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<0, 1,
                          0, 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 ImagePayload& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::internal::ArenaStringPtr image_bytes_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_lens_5foverlay_5fimage_5fdata_2eproto;
};
// -------------------------------------------------------------------

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

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

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

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

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

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

  explicit ImageMetadata(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  ImageMetadata(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ImageMetadata& from);
  ImageMetadata(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ImageMetadata&& from) noexcept
      : ImageMetadata(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 {
    kFileNameFieldNumber = 7,
    kWidthFieldNumber = 1,
    kHeightFieldNumber = 2,
  };
  // string file_name = 7;
  void clear_file_name() ;
  const ::std::string& file_name() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_file_name(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_file_name();
  ::std::string* PROTOBUF_NULLABLE release_file_name();
  void set_allocated_file_name(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_file_name() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_file_name(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_file_name();

  public:
  // int32 width = 1;
  void clear_width() ;
  ::int32_t width() const;
  void set_width(::int32_t value);

  private:
  ::int32_t _internal_width() const;
  void _internal_set_width(::int32_t value);

  public:
  // int32 height = 2;
  void clear_height() ;
  ::int32_t height() const;
  void set_height(::int32_t value);

  private:
  ::int32_t _internal_height() const;
  void _internal_set_height(::int32_t value);

  public:
  // @@protoc_insertion_point(class_scope:lens.ImageMetadata)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<2, 3,
                          0, 36,
                          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 ImageMetadata& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::internal::ArenaStringPtr file_name_;
    ::int32_t width_;
    ::int32_t height_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_lens_5foverlay_5fimage_5fdata_2eproto;
};
// -------------------------------------------------------------------

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

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

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

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

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

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

  explicit ImageData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  ImageData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ImageData& from);
  ImageData(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ImageData&& from) noexcept
      : ImageData(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 {
    kSignificantRegionsFieldNumber = 4,
    kPayloadFieldNumber = 1,
    kImageMetadataFieldNumber = 3,
  };
  // repeated .lens.Geometry significant_regions = 4;
  int significant_regions_size()
      const;
  private:
  int _internal_significant_regions_size() const;

  public:
  void clear_significant_regions() ;
  const ::lens::Geometry& significant_regions(int index) const;
  ::lens::Geometry* PROTOBUF_NONNULL mutable_significant_regions(int index);
  ::lens::Geometry* PROTOBUF_NONNULL add_significant_regions();
  const ::google::protobuf::RepeatedPtrField<::lens::Geometry>&
  significant_regions() const;
  ::google::protobuf::RepeatedPtrField<::lens::Geometry>* PROTOBUF_NONNULL
  mutable_significant_regions();

  private:
  const ::google::protobuf::RepeatedPtrField<::lens::Geometry>& _internal_significant_regions() const;
  ::google::protobuf::RepeatedPtrField<::lens::Geometry>* PROTOBUF_NONNULL _internal_mutable_significant_regions();

  public:
  // .lens.ImagePayload payload = 1;
  bool has_payload()
      const;
  void clear_payload() ;
  const ::lens::ImagePayload& payload() const;
  ::lens::ImagePayload* PROTOBUF_NULLABLE release_payload();
  ::lens::ImagePayload* PROTOBUF_NONNULL mutable_payload();
  void set_allocated_payload(::lens::ImagePayload* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_payload(::lens::ImagePayload* PROTOBUF_NULLABLE value);
  ::lens::ImagePayload* PROTOBUF_NULLABLE unsafe_arena_release_payload();

  private:
  const ::lens::ImagePayload& _internal_payload() const;
  ::lens::ImagePayload* PROTOBUF_NONNULL _internal_mutable_payload();

  public:
  // .lens.ImageMetadata image_metadata = 3;
  bool has_image_metadata()
      const;
  void clear_image_metadata() ;
  const ::lens::ImageMetadata& image_metadata() const;
  ::lens::ImageMetadata* PROTOBUF_NULLABLE release_image_metadata();
  ::lens::ImageMetadata* PROTOBUF_NONNULL mutable_image_metadata();
  void set_allocated_image_metadata(::lens::ImageMetadata* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_image_metadata(::lens::ImageMetadata* PROTOBUF_NULLABLE value);
  ::lens::ImageMetadata* PROTOBUF_NULLABLE unsafe_arena_release_image_metadata();

  private:
  const ::lens::ImageMetadata& _internal_image_metadata() const;
  ::lens::ImageMetadata* PROTOBUF_NONNULL _internal_mutable_image_metadata();

  public:
  // @@protoc_insertion_point(class_scope:lens.ImageData)
 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 ImageData& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::RepeatedPtrField< ::lens::Geometry > significant_regions_;
    ::lens::ImagePayload* PROTOBUF_NULLABLE payload_;
    ::lens::ImageMetadata* PROTOBUF_NULLABLE image_metadata_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_lens_5foverlay_5fimage_5fdata_2eproto;
};

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




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


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

// ImageData

// .lens.ImagePayload payload = 1;
inline bool ImageData::has_payload() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  PROTOBUF_ASSUME(!value || _impl_.payload_ != nullptr);
  return value;
}
inline void ImageData::clear_payload() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.payload_ != nullptr) _impl_.payload_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline const ::lens::ImagePayload& ImageData::_internal_payload() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::lens::ImagePayload* p = _impl_.payload_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::lens::ImagePayload>(&::lens::ImagePayload_globals_);
}
inline const ::lens::ImagePayload& ImageData::payload() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:lens.ImageData.payload)
  return _internal_payload();
}
inline void ImageData::unsafe_arena_set_allocated_payload(
    ::lens::ImagePayload* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.payload_);
  }
  _impl_.payload_ = reinterpret_cast<::lens::ImagePayload*>(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:lens.ImageData.payload)
}
inline ::lens::ImagePayload* PROTOBUF_NULLABLE ImageData::release_payload() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::lens::ImagePayload* released = _impl_.payload_;
  _impl_.payload_ = 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 ::lens::ImagePayload* PROTOBUF_NULLABLE ImageData::unsafe_arena_release_payload() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:lens.ImageData.payload)

  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::lens::ImagePayload* temp = _impl_.payload_;
  _impl_.payload_ = nullptr;
  return temp;
}
inline ::lens::ImagePayload* PROTOBUF_NONNULL ImageData::_internal_mutable_payload() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.payload_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::lens::ImagePayload>(GetArena());
    _impl_.payload_ = reinterpret_cast<::lens::ImagePayload*>(p);
  }
  return _impl_.payload_;
}
inline ::lens::ImagePayload* PROTOBUF_NONNULL ImageData::mutable_payload()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::lens::ImagePayload* _msg = _internal_mutable_payload();
  // @@protoc_insertion_point(field_mutable:lens.ImageData.payload)
  return _msg;
}
inline void ImageData::set_allocated_payload(::lens::ImagePayload* 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_.payload_);
  }

  if (value != nullptr) {
    ::google::protobuf::Arena* submessage_arena = 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_.payload_ = reinterpret_cast<::lens::ImagePayload*>(value);
  // @@protoc_insertion_point(field_set_allocated:lens.ImageData.payload)
}

// .lens.ImageMetadata image_metadata = 3;
inline bool ImageData::has_image_metadata() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
  PROTOBUF_ASSUME(!value || _impl_.image_metadata_ != nullptr);
  return value;
}
inline void ImageData::clear_image_metadata() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.image_metadata_ != nullptr) _impl_.image_metadata_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline const ::lens::ImageMetadata& ImageData::_internal_image_metadata() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::lens::ImageMetadata* p = _impl_.image_metadata_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::lens::ImageMetadata>(&::lens::ImageMetadata_globals_);
}
inline const ::lens::ImageMetadata& ImageData::image_metadata() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:lens.ImageData.image_metadata)
  return _internal_image_metadata();
}
inline void ImageData::unsafe_arena_set_allocated_image_metadata(
    ::lens::ImageMetadata* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.image_metadata_);
  }
  _impl_.image_metadata_ = reinterpret_cast<::lens::ImageMetadata*>(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:lens.ImageData.image_metadata)
}
inline ::lens::ImageMetadata* PROTOBUF_NULLABLE ImageData::release_image_metadata() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  ::lens::ImageMetadata* released = _impl_.image_metadata_;
  _impl_.image_metadata_ = 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 ::lens::ImageMetadata* PROTOBUF_NULLABLE ImageData::unsafe_arena_release_image_metadata() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:lens.ImageData.image_metadata)

  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  ::lens::ImageMetadata* temp = _impl_.image_metadata_;
  _impl_.image_metadata_ = nullptr;
  return temp;
}
inline ::lens::ImageMetadata* PROTOBUF_NONNULL ImageData::_internal_mutable_image_metadata() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.image_metadata_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::lens::ImageMetadata>(GetArena());
    _impl_.image_metadata_ = reinterpret_cast<::lens::ImageMetadata*>(p);
  }
  return _impl_.image_metadata_;
}
inline ::lens::ImageMetadata* PROTOBUF_NONNULL ImageData::mutable_image_metadata()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  ::lens::ImageMetadata* _msg = _internal_mutable_image_metadata();
  // @@protoc_insertion_point(field_mutable:lens.ImageData.image_metadata)
  return _msg;
}
inline void ImageData::set_allocated_image_metadata(::lens::ImageMetadata* 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_.image_metadata_);
  }

  if (value != nullptr) {
    ::google::protobuf::Arena* submessage_arena = 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_.image_metadata_ = reinterpret_cast<::lens::ImageMetadata*>(value);
  // @@protoc_insertion_point(field_set_allocated:lens.ImageData.image_metadata)
}

// repeated .lens.Geometry significant_regions = 4;
inline int ImageData::_internal_significant_regions_size() const {
  return _internal_significant_regions().size();
}
inline int ImageData::significant_regions_size() const {
  return _internal_significant_regions_size();
}
inline const ::lens::Geometry& ImageData::significant_regions(int index) const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:lens.ImageData.significant_regions)
  return _internal_significant_regions().Get(index);
}
inline ::lens::Geometry* PROTOBUF_NONNULL ImageData::mutable_significant_regions(int index)
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable:lens.ImageData.significant_regions)
  return _internal_mutable_significant_regions()->Mutable(index);
}
inline ::lens::Geometry* PROTOBUF_NONNULL ImageData::add_significant_regions()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::lens::Geometry* _add =
      _internal_mutable_significant_regions()->InternalAddWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), GetArena());
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_add:lens.ImageData.significant_regions)
  return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::lens::Geometry>& ImageData::significant_regions() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:lens.ImageData.significant_regions)
  return _internal_significant_regions();
}
inline ::google::protobuf::RepeatedPtrField<::lens::Geometry>* PROTOBUF_NONNULL
ImageData::mutable_significant_regions() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_mutable_list:lens.ImageData.significant_regions)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_significant_regions();
}
inline const ::google::protobuf::RepeatedPtrField<::lens::Geometry>&
ImageData::_internal_significant_regions() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.significant_regions_;
}
inline ::google::protobuf::RepeatedPtrField<::lens::Geometry>* PROTOBUF_NONNULL
ImageData::_internal_mutable_significant_regions() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.significant_regions_;
}

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

// ImagePayload

// bytes image_bytes = 1;
inline void ImagePayload::clear_image_bytes() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.image_bytes_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::std::string& ImagePayload::image_bytes() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:lens.ImagePayload.image_bytes)
  return _internal_image_bytes();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void ImagePayload::set_image_bytes(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  _impl_.image_bytes_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:lens.ImagePayload.image_bytes)
}
inline ::std::string* PROTOBUF_NONNULL ImagePayload::mutable_image_bytes()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::std::string* _s = _internal_mutable_image_bytes();
  // @@protoc_insertion_point(field_mutable:lens.ImagePayload.image_bytes)
  return _s;
}
inline const ::std::string& ImagePayload::_internal_image_bytes() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.image_bytes_.Get();
}
inline void ImagePayload::_internal_set_image_bytes(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.image_bytes_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL ImagePayload::_internal_mutable_image_bytes() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.image_bytes_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE ImagePayload::release_image_bytes() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:lens.ImagePayload.image_bytes)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  auto* released = _impl_.image_bytes_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.image_bytes_.Set("", GetArena());
  }
  return released;
}
inline void ImagePayload::set_allocated_image_bytes(::std::string* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  }
  _impl_.image_bytes_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.image_bytes_.IsDefault()) {
    _impl_.image_bytes_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:lens.ImagePayload.image_bytes)
}

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

// ImageMetadata

// int32 width = 1;
inline void ImageMetadata::clear_width() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.width_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline ::int32_t ImageMetadata::width() const {
  // @@protoc_insertion_point(field_get:lens.ImageMetadata.width)
  return _internal_width();
}
inline void ImageMetadata::set_width(::int32_t value) {
  _internal_set_width(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  // @@protoc_insertion_point(field_set:lens.ImageMetadata.width)
}
inline ::int32_t ImageMetadata::_internal_width() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.width_;
}
inline void ImageMetadata::_internal_set_width(::int32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.width_ = value;
}

// int32 height = 2;
inline void ImageMetadata::clear_height() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.height_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline ::int32_t ImageMetadata::height() const {
  // @@protoc_insertion_point(field_get:lens.ImageMetadata.height)
  return _internal_height();
}
inline void ImageMetadata::set_height(::int32_t value) {
  _internal_set_height(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  // @@protoc_insertion_point(field_set:lens.ImageMetadata.height)
}
inline ::int32_t ImageMetadata::_internal_height() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.height_;
}
inline void ImageMetadata::_internal_set_height(::int32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.height_ = value;
}

// string file_name = 7;
inline void ImageMetadata::clear_file_name() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.file_name_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::std::string& ImageMetadata::file_name() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:lens.ImageMetadata.file_name)
  return _internal_file_name();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void ImageMetadata::set_file_name(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  _impl_.file_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:lens.ImageMetadata.file_name)
}
inline ::std::string* PROTOBUF_NONNULL ImageMetadata::mutable_file_name()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::std::string* _s = _internal_mutable_file_name();
  // @@protoc_insertion_point(field_mutable:lens.ImageMetadata.file_name)
  return _s;
}
inline const ::std::string& ImageMetadata::_internal_file_name() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.file_name_.Get();
}
inline void ImageMetadata::_internal_set_file_name(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.file_name_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL ImageMetadata::_internal_mutable_file_name() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.file_name_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE ImageMetadata::release_file_name() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:lens.ImageMetadata.file_name)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  auto* released = _impl_.file_name_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.file_name_.Set("", GetArena());
  }
  return released;
}
inline void ImageMetadata::set_allocated_file_name(::std::string* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  }
  _impl_.file_name_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.file_name_.IsDefault()) {
    _impl_.file_name_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:lens.ImageMetadata.file_name)
}

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

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


// @@protoc_insertion_point(global_scope)

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

#endif  // lens_5foverlay_5fimage_5fdata_2eproto_2epb_2eh
