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

#ifndef modality_5fchip_5fprops_2eproto_2epb_2eh
#define modality_5fchip_5fprops_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 "added_inputs.pb.h"
#include "aim_icon.pb.h"
// @@protoc_insertion_point(includes)

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

#define PROTOBUF_INTERNAL_EXPORT_modality_5fchip_5fprops_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_modality_5fchip_5fprops_2eproto {
  static const ::uint32_t offsets[];
};
namespace lens {
class ModalityChipProps;
struct ModalityChipPropsGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern ModalityChipPropsGlobalsTypeInternal ModalityChipProps_globals_;
extern const ::google::protobuf::internal::ClassDataLite ModalityChipProps_class_data_;
#else
extern const ModalityChipPropsGlobalsTypeInternal ModalityChipProps_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
}  // namespace lens
namespace google {
namespace protobuf {
}  // namespace protobuf
}  // namespace google

namespace lens {

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


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

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

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

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

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

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

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

  explicit ModalityChipProps(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  ModalityChipProps(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ModalityChipProps& from);
  ModalityChipProps(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ModalityChipProps&& from) noexcept
      : ModalityChipProps(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 {
    kTitleFieldNumber = 1,
    kIdFieldNumber = 11,
    kAddedInputFieldNumber = 10,
    kIsUnimodalFieldNumber = 4,
    kThumbnailSrcFieldNumber = 2,
    kThumbnailBitmapFieldNumber = 13,
    kIconIdFieldNumber = 16,
  };
  // string title = 1;
  bool has_title()
      const;
  void clear_title() ;
  ::absl::string_view title() const;
  template <typename Arg_ = ::std::string&&>
  void set_title(Arg_&& arg);

  private:
  ::absl::string_view _internal_title() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_title(::absl::string_view value);

  public:
  // string id = 11;
  bool has_id()
      const;
  void clear_id() ;
  ::absl::string_view id() const;
  template <typename Arg_ = ::std::string&&>
  void set_id(Arg_&& arg);

  private:
  ::absl::string_view _internal_id() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_id(::absl::string_view value);

  public:
  // .lens.AddedInput added_input = 10;
  bool has_added_input()
      const;
  void clear_added_input() ;
  const ::lens::AddedInput& added_input() const;
  ::lens::AddedInput* PROTOBUF_NULLABLE release_added_input();
  ::lens::AddedInput* PROTOBUF_NONNULL mutable_added_input();
  void set_allocated_added_input(::lens::AddedInput* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_added_input(::lens::AddedInput* PROTOBUF_NULLABLE value);
  ::lens::AddedInput* PROTOBUF_NULLABLE unsafe_arena_release_added_input();

  private:
  const ::lens::AddedInput& _internal_added_input() const;
  ::lens::AddedInput* PROTOBUF_NONNULL _internal_mutable_added_input();

  public:
  // bool is_unimodal = 4;
  bool has_is_unimodal()
      const;
  void clear_is_unimodal() ;
  bool is_unimodal() const;
  void set_is_unimodal(bool value);

  private:
  bool _internal_is_unimodal() const;
  void _internal_set_is_unimodal(bool value);

  public:
  // string thumbnail_src = 2;
  bool has_thumbnail_src()
      const;
  void clear_thumbnail_src() ;
  ::absl::string_view thumbnail_src() const;
  template <typename Arg_ = ::std::string&&>
  void set_thumbnail_src(Arg_&& arg);

  private:
  ::absl::string_view _internal_thumbnail_src() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_thumbnail_src(::absl::string_view value);

  public:
  // bytes thumbnail_bitmap = 13;
  bool has_thumbnail_bitmap()
      const;
  void clear_thumbnail_bitmap() ;
  ::absl::string_view thumbnail_bitmap() const;
  template <typename Arg_ = ::std::string&&>
  void set_thumbnail_bitmap(Arg_&& arg);

  private:
  ::absl::string_view _internal_thumbnail_bitmap() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_thumbnail_bitmap(::absl::string_view value);

  public:
  // .lens.AimIconType icon_id = 16;
  bool has_icon_id()
      const;
  void clear_icon_id() ;
  ::lens::AimIconType icon_id() const;
  void set_icon_id(::lens::AimIconType value);

  private:
  ::lens::AimIconType _internal_icon_id() const;
  void _internal_set_icon_id(::lens::AimIconType value);

  public:
  void clear_thumbnail();
  ThumbnailCase thumbnail_case() const;
  // @@protoc_insertion_point(class_scope:lens.ModalityChipProps)
 private:
  class _Internal;
  void set_has_thumbnail_src();
  void set_has_thumbnail_bitmap();
  void set_has_icon_id();
  inline bool has_thumbnail() const;
  inline void clear_has_thumbnail();
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<2, 7,
                          1, 51,
                          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 ModalityChipProps& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::internal::ArenaStringPtr title_;
    ::google::protobuf::internal::ArenaStringPtr id_;
    ::lens::AddedInput* PROTOBUF_NULLABLE added_input_;
    bool is_unimodal_;
    union ThumbnailUnion {
      constexpr ThumbnailUnion() : _constinit_{} {}
      ::google::protobuf::internal::ConstantInitialized _constinit_;
      ::google::protobuf::internal::ArenaStringPtr thumbnail_src_;
      ::google::protobuf::internal::ArenaStringPtr thumbnail_bitmap_;
      int icon_id_;
    } thumbnail_;
    ::uint32_t _oneof_case_[1];
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_modality_5fchip_5fprops_2eproto;
};

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




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


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

// ModalityChipProps

// string title = 1;
inline bool ModalityChipProps::has_title() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void ModalityChipProps::clear_title() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.title_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline ::absl::string_view ModalityChipProps::title() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:lens.ModalityChipProps.title)
  return _internal_title();
}
template <typename Arg_>
PROTOBUF_ALWAYS_INLINE void ModalityChipProps::set_title(Arg_&& arg) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  _impl_.title_.Set(static_cast<Arg_&&>(arg), GetArena());
  // @@protoc_insertion_point(field_set:lens.ModalityChipProps.title)
}
inline ::absl::string_view ModalityChipProps::_internal_title() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.title_.Get();
}
inline void ModalityChipProps::_internal_set_title(::absl::string_view value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  _impl_.title_.Set(value, GetArena());
}

// string thumbnail_src = 2;
inline bool ModalityChipProps::has_thumbnail_src() const {
  return thumbnail_case() == kThumbnailSrc;
}
inline void ModalityChipProps::set_has_thumbnail_src() {
  _impl_._oneof_case_[0] = kThumbnailSrc;
}
inline void ModalityChipProps::clear_thumbnail_src() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (thumbnail_case() == kThumbnailSrc) {
    _impl_.thumbnail_.thumbnail_src_.Destroy();
    clear_has_thumbnail();
  }
}
inline ::absl::string_view ModalityChipProps::thumbnail_src() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:lens.ModalityChipProps.thumbnail_src)
  return _internal_thumbnail_src();
}
template <typename Arg_>
PROTOBUF_ALWAYS_INLINE void ModalityChipProps::set_thumbnail_src(Arg_&& arg) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (thumbnail_case() != kThumbnailSrc) {
    clear_thumbnail();

    set_has_thumbnail_src();
    _impl_.thumbnail_.thumbnail_src_.InitDefault();
  }
  _impl_.thumbnail_.thumbnail_src_.Set(static_cast<Arg_&&>(arg), GetArena());
  // @@protoc_insertion_point(field_set:lens.ModalityChipProps.thumbnail_src)
}
inline ::absl::string_view ModalityChipProps::_internal_thumbnail_src() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  if (thumbnail_case() != kThumbnailSrc) {
    return ::google::protobuf::internal::GetEmptyStringAlreadyInited();
  }
  return _impl_.thumbnail_.thumbnail_src_.Get();
}
inline void ModalityChipProps::_internal_set_thumbnail_src(::absl::string_view value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (thumbnail_case() != kThumbnailSrc) {
    clear_thumbnail();

    set_has_thumbnail_src();
    _impl_.thumbnail_.thumbnail_src_.InitDefault();
  }
  _impl_.thumbnail_.thumbnail_src_.Set(value, GetArena());
}

// bytes thumbnail_bitmap = 13;
inline bool ModalityChipProps::has_thumbnail_bitmap() const {
  return thumbnail_case() == kThumbnailBitmap;
}
inline void ModalityChipProps::set_has_thumbnail_bitmap() {
  _impl_._oneof_case_[0] = kThumbnailBitmap;
}
inline void ModalityChipProps::clear_thumbnail_bitmap() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (thumbnail_case() == kThumbnailBitmap) {
    _impl_.thumbnail_.thumbnail_bitmap_.Destroy();
    clear_has_thumbnail();
  }
}
inline ::absl::string_view ModalityChipProps::thumbnail_bitmap() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:lens.ModalityChipProps.thumbnail_bitmap)
  return _internal_thumbnail_bitmap();
}
template <typename Arg_>
PROTOBUF_ALWAYS_INLINE void ModalityChipProps::set_thumbnail_bitmap(Arg_&& arg) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (thumbnail_case() != kThumbnailBitmap) {
    clear_thumbnail();

    set_has_thumbnail_bitmap();
    _impl_.thumbnail_.thumbnail_bitmap_.InitDefault();
  }
  _impl_.thumbnail_.thumbnail_bitmap_.Set(static_cast<Arg_&&>(arg), GetArena());
  // @@protoc_insertion_point(field_set:lens.ModalityChipProps.thumbnail_bitmap)
}
inline ::absl::string_view ModalityChipProps::_internal_thumbnail_bitmap() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  if (thumbnail_case() != kThumbnailBitmap) {
    return ::google::protobuf::internal::GetEmptyStringAlreadyInited();
  }
  return _impl_.thumbnail_.thumbnail_bitmap_.Get();
}
inline void ModalityChipProps::_internal_set_thumbnail_bitmap(::absl::string_view value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (thumbnail_case() != kThumbnailBitmap) {
    clear_thumbnail();

    set_has_thumbnail_bitmap();
    _impl_.thumbnail_.thumbnail_bitmap_.InitDefault();
  }
  _impl_.thumbnail_.thumbnail_bitmap_.Set(value, GetArena());
}

// .lens.AimIconType icon_id = 16;
inline bool ModalityChipProps::has_icon_id() const {
  return thumbnail_case() == kIconId;
}
inline void ModalityChipProps::set_has_icon_id() {
  _impl_._oneof_case_[0] = kIconId;
}
inline void ModalityChipProps::clear_icon_id() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (thumbnail_case() == kIconId) {
    _impl_.thumbnail_.icon_id_ = 0;
    clear_has_thumbnail();
  }
}
inline ::lens::AimIconType ModalityChipProps::icon_id() const {
  // @@protoc_insertion_point(field_get:lens.ModalityChipProps.icon_id)
  return _internal_icon_id();
}
inline void ModalityChipProps::set_icon_id(::lens::AimIconType value) {
  if (thumbnail_case() != kIconId) {
    clear_thumbnail();
    set_has_icon_id();
  }
  _impl_.thumbnail_.icon_id_ = value;
  // @@protoc_insertion_point(field_set:lens.ModalityChipProps.icon_id)
}
inline ::lens::AimIconType ModalityChipProps::_internal_icon_id() const {
  if (thumbnail_case() == kIconId) {
    return static_cast<::lens::AimIconType>(_impl_.thumbnail_.icon_id_);
  }
  return static_cast<::lens::AimIconType>(0);
}

// .lens.AddedInput added_input = 10;
inline bool ModalityChipProps::has_added_input() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
  PROTOBUF_ASSUME(!value || _impl_.added_input_ != nullptr);
  return value;
}
inline const ::lens::AddedInput& ModalityChipProps::_internal_added_input() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::lens::AddedInput* p = _impl_.added_input_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::lens::AddedInput>(&::lens::AddedInput_globals_);
}
inline const ::lens::AddedInput& ModalityChipProps::added_input() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:lens.ModalityChipProps.added_input)
  return _internal_added_input();
}
inline void ModalityChipProps::unsafe_arena_set_allocated_added_input(
    ::lens::AddedInput* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.added_input_);
  }
  _impl_.added_input_ = reinterpret_cast<::lens::AddedInput*>(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.ModalityChipProps.added_input)
}
inline ::lens::AddedInput* PROTOBUF_NULLABLE ModalityChipProps::release_added_input() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  ::lens::AddedInput* released = _impl_.added_input_;
  _impl_.added_input_ = 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::AddedInput* PROTOBUF_NULLABLE ModalityChipProps::unsafe_arena_release_added_input() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:lens.ModalityChipProps.added_input)

  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  ::lens::AddedInput* temp = _impl_.added_input_;
  _impl_.added_input_ = nullptr;
  return temp;
}
inline ::lens::AddedInput* PROTOBUF_NONNULL ModalityChipProps::_internal_mutable_added_input() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.added_input_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::lens::AddedInput>(GetArena());
    _impl_.added_input_ = reinterpret_cast<::lens::AddedInput*>(p);
  }
  return _impl_.added_input_;
}
inline ::lens::AddedInput* PROTOBUF_NONNULL ModalityChipProps::mutable_added_input()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  ::lens::AddedInput* _msg = _internal_mutable_added_input();
  // @@protoc_insertion_point(field_mutable:lens.ModalityChipProps.added_input)
  return _msg;
}
inline void ModalityChipProps::set_allocated_added_input(::lens::AddedInput* 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_.added_input_);
  }

  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_.added_input_ = reinterpret_cast<::lens::AddedInput*>(value);
  // @@protoc_insertion_point(field_set_allocated:lens.ModalityChipProps.added_input)
}

// bool is_unimodal = 4;
inline bool ModalityChipProps::has_is_unimodal() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
  return value;
}
inline void ModalityChipProps::clear_is_unimodal() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.is_unimodal_ = false;
  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
inline bool ModalityChipProps::is_unimodal() const {
  // @@protoc_insertion_point(field_get:lens.ModalityChipProps.is_unimodal)
  return _internal_is_unimodal();
}
inline void ModalityChipProps::set_is_unimodal(bool value) {
  _internal_set_is_unimodal(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000008U);
  // @@protoc_insertion_point(field_set:lens.ModalityChipProps.is_unimodal)
}
inline bool ModalityChipProps::_internal_is_unimodal() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.is_unimodal_;
}
inline void ModalityChipProps::_internal_set_is_unimodal(bool value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.is_unimodal_ = value;
}

// string id = 11;
inline bool ModalityChipProps::has_id() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  return value;
}
inline void ModalityChipProps::clear_id() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.id_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline ::absl::string_view ModalityChipProps::id() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:lens.ModalityChipProps.id)
  return _internal_id();
}
template <typename Arg_>
PROTOBUF_ALWAYS_INLINE void ModalityChipProps::set_id(Arg_&& arg) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  _impl_.id_.Set(static_cast<Arg_&&>(arg), GetArena());
  // @@protoc_insertion_point(field_set:lens.ModalityChipProps.id)
}
inline ::absl::string_view ModalityChipProps::_internal_id() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.id_.Get();
}
inline void ModalityChipProps::_internal_set_id(::absl::string_view value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  _impl_.id_.Set(value, GetArena());
}

inline bool ModalityChipProps::has_thumbnail() const {
  return thumbnail_case() != THUMBNAIL_NOT_SET;
}
inline void ModalityChipProps::clear_has_thumbnail() {
  _impl_._oneof_case_[0] = THUMBNAIL_NOT_SET;
}
inline ModalityChipProps::ThumbnailCase ModalityChipProps::thumbnail_case() const {
  return ModalityChipProps::ThumbnailCase(_impl_._oneof_case_[0]);
}
#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  // modality_5fchip_5fprops_2eproto_2epb_2eh
