// Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: proto/mediums/nfc_frames.proto // Protobuf C++ Version: 6.33.3 #ifndef proto_2fmediums_2fnfc_5fframes_2eproto_2epb_2eh #define proto_2fmediums_2fnfc_5fframes_2eproto_2epb_2eh #include #include #include #include #include "google/protobuf/runtime_version.h" #if PROTOBUF_VERSION != 6033003 #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 // @@protoc_insertion_point(includes) // Must be included last. #include "google/protobuf/port_def.inc" #define PROTOBUF_INTERNAL_EXPORT_proto_2fmediums_2fnfc_5fframes_2eproto namespace google { namespace protobuf { namespace internal { template ::absl::string_view GetAnyMessageName(); } // namespace internal } // namespace protobuf } // namespace google // Internal implementation detail -- do not use these members. struct TableStruct_proto_2fmediums_2fnfc_5fframes_2eproto { static const ::uint32_t offsets[]; }; namespace location { namespace nearby { namespace mediums { class AdvertisementData; struct AdvertisementDataDefaultTypeInternal; extern AdvertisementDataDefaultTypeInternal _AdvertisementData_default_instance_; extern const ::google::protobuf::internal::ClassDataLite<42> AdvertisementData_class_data_; class AdvertisementRequest; struct AdvertisementRequestDefaultTypeInternal; extern AdvertisementRequestDefaultTypeInternal _AdvertisementRequest_default_instance_; extern const ::google::protobuf::internal::ClassDataLite<45> AdvertisementRequest_class_data_; } // namespace mediums } // namespace nearby } // namespace location namespace google { namespace protobuf { } // namespace protobuf } // namespace google namespace location { namespace nearby { namespace mediums { // =================================================================== // ------------------------------------------------------------------- class AdvertisementRequest final : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:location.nearby.mediums.AdvertisementRequest) */ { public: inline AdvertisementRequest() : AdvertisementRequest(nullptr) {} ~AdvertisementRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) void operator delete(AdvertisementRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(AdvertisementRequest)); } #endif template explicit PROTOBUF_CONSTEXPR AdvertisementRequest(::google::protobuf::internal::ConstantInitialized); inline AdvertisementRequest(const AdvertisementRequest& from) : AdvertisementRequest(nullptr, from) {} inline AdvertisementRequest(AdvertisementRequest&& from) noexcept : AdvertisementRequest(nullptr, ::std::move(from)) {} inline AdvertisementRequest& operator=(const AdvertisementRequest& from) { CopyFrom(from); return *this; } inline AdvertisementRequest& operator=(AdvertisementRequest&& 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 AdvertisementRequest& default_instance() { return *reinterpret_cast( &_AdvertisementRequest_default_instance_); } static constexpr int kIndexInFileMessages = 1; friend void swap(AdvertisementRequest& a, AdvertisementRequest& b) { a.Swap(&b); } inline void Swap(AdvertisementRequest* 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(AdvertisementRequest* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- AdvertisementRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::MessageLite::DefaultConstruct(arena); } void CopyFrom(const AdvertisementRequest& from); void MergeFrom(const AdvertisementRequest& from) { AdvertisementRequest::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(AdvertisementRequest* PROTOBUF_NONNULL other); private: template friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); static ::absl::string_view FullMessageName() { return "location.nearby.mediums.AdvertisementRequest"; } explicit AdvertisementRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); AdvertisementRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const AdvertisementRequest& from); AdvertisementRequest( ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, AdvertisementRequest&& from) noexcept : AdvertisementRequest(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_(); // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kServiceIdFieldNumber = 1, kEndpointIdFieldNumber = 2, kPublicKeyFieldNumber = 3, }; // optional string service_id = 1; bool has_service_id() const; void clear_service_id() ; const ::std::string& service_id() const; template void set_service_id(Arg_&& arg, Args_... args); ::std::string* PROTOBUF_NONNULL mutable_service_id(); [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_service_id(); void set_allocated_service_id(::std::string* PROTOBUF_NULLABLE value); private: const ::std::string& _internal_service_id() const; PROTOBUF_ALWAYS_INLINE void _internal_set_service_id(const ::std::string& value); ::std::string* PROTOBUF_NONNULL _internal_mutable_service_id(); public: // optional string endpoint_id = 2; bool has_endpoint_id() const; void clear_endpoint_id() ; const ::std::string& endpoint_id() const; template void set_endpoint_id(Arg_&& arg, Args_... args); ::std::string* PROTOBUF_NONNULL mutable_endpoint_id(); [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_endpoint_id(); void set_allocated_endpoint_id(::std::string* PROTOBUF_NULLABLE value); private: const ::std::string& _internal_endpoint_id() const; PROTOBUF_ALWAYS_INLINE void _internal_set_endpoint_id(const ::std::string& value); ::std::string* PROTOBUF_NONNULL _internal_mutable_endpoint_id(); public: // optional bytes public_key = 3; bool has_public_key() const; void clear_public_key() ; const ::std::string& public_key() const; template void set_public_key(Arg_&& arg, Args_... args); ::std::string* PROTOBUF_NONNULL mutable_public_key(); [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_public_key(); void set_allocated_public_key(::std::string* PROTOBUF_NULLABLE value); private: const ::std::string& _internal_public_key() const; PROTOBUF_ALWAYS_INLINE void _internal_set_public_key(const ::std::string& value); ::std::string* PROTOBUF_NONNULL _internal_mutable_public_key(); public: // @@protoc_insertion_point(class_scope:location.nearby.mediums.AdvertisementRequest) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable<2, 3, 0, 0, 2> _table_; friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; template friend class ::google::protobuf::Arena::InternalHelper; using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct Impl_ { inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; inline explicit Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); inline explicit Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, const AdvertisementRequest& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; ::google::protobuf::internal::ArenaStringPtr service_id_; ::google::protobuf::internal::ArenaStringPtr endpoint_id_; ::google::protobuf::internal::ArenaStringPtr public_key_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_proto_2fmediums_2fnfc_5fframes_2eproto; }; extern const ::google::protobuf::internal::ClassDataLite<45> AdvertisementRequest_class_data_; // ------------------------------------------------------------------- class AdvertisementData final : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:location.nearby.mediums.AdvertisementData) */ { public: inline AdvertisementData() : AdvertisementData(nullptr) {} ~AdvertisementData() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) void operator delete(AdvertisementData* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(AdvertisementData)); } #endif template explicit PROTOBUF_CONSTEXPR AdvertisementData(::google::protobuf::internal::ConstantInitialized); inline AdvertisementData(const AdvertisementData& from) : AdvertisementData(nullptr, from) {} inline AdvertisementData(AdvertisementData&& from) noexcept : AdvertisementData(nullptr, ::std::move(from)) {} inline AdvertisementData& operator=(const AdvertisementData& from) { CopyFrom(from); return *this; } inline AdvertisementData& operator=(AdvertisementData&& 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 AdvertisementData& default_instance() { return *reinterpret_cast( &_AdvertisementData_default_instance_); } static constexpr int kIndexInFileMessages = 0; friend void swap(AdvertisementData& a, AdvertisementData& b) { a.Swap(&b); } inline void Swap(AdvertisementData* 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(AdvertisementData* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- AdvertisementData* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::MessageLite::DefaultConstruct(arena); } void CopyFrom(const AdvertisementData& from); void MergeFrom(const AdvertisementData& from) { AdvertisementData::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(AdvertisementData* PROTOBUF_NONNULL other); private: template friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); static ::absl::string_view FullMessageName() { return "location.nearby.mediums.AdvertisementData"; } explicit AdvertisementData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); AdvertisementData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const AdvertisementData& from); AdvertisementData( ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, AdvertisementData&& from) noexcept : AdvertisementData(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_(); // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kTagFieldNumber = 1, kPublicKeyFieldNumber = 2, kRxAdvertisementFieldNumber = 3, }; // optional bytes tag = 1; bool has_tag() const; void clear_tag() ; const ::std::string& tag() const; template void set_tag(Arg_&& arg, Args_... args); ::std::string* PROTOBUF_NONNULL mutable_tag(); [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_tag(); void set_allocated_tag(::std::string* PROTOBUF_NULLABLE value); private: const ::std::string& _internal_tag() const; PROTOBUF_ALWAYS_INLINE void _internal_set_tag(const ::std::string& value); ::std::string* PROTOBUF_NONNULL _internal_mutable_tag(); public: // optional bytes public_key = 2; bool has_public_key() const; void clear_public_key() ; const ::std::string& public_key() const; template void set_public_key(Arg_&& arg, Args_... args); ::std::string* PROTOBUF_NONNULL mutable_public_key(); [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_public_key(); void set_allocated_public_key(::std::string* PROTOBUF_NULLABLE value); private: const ::std::string& _internal_public_key() const; PROTOBUF_ALWAYS_INLINE void _internal_set_public_key(const ::std::string& value); ::std::string* PROTOBUF_NONNULL _internal_mutable_public_key(); public: // optional bytes rx_advertisement = 3; bool has_rx_advertisement() const; void clear_rx_advertisement() ; const ::std::string& rx_advertisement() const; template void set_rx_advertisement(Arg_&& arg, Args_... args); ::std::string* PROTOBUF_NONNULL mutable_rx_advertisement(); [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_rx_advertisement(); void set_allocated_rx_advertisement(::std::string* PROTOBUF_NULLABLE value); private: const ::std::string& _internal_rx_advertisement() const; PROTOBUF_ALWAYS_INLINE void _internal_set_rx_advertisement(const ::std::string& value); ::std::string* PROTOBUF_NONNULL _internal_mutable_rx_advertisement(); public: // @@protoc_insertion_point(class_scope:location.nearby.mediums.AdvertisementData) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable<2, 3, 0, 0, 2> _table_; friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; template friend class ::google::protobuf::Arena::InternalHelper; using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct Impl_ { inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; inline explicit Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); inline explicit Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, const AdvertisementData& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; ::google::protobuf::internal::ArenaStringPtr tag_; ::google::protobuf::internal::ArenaStringPtr public_key_; ::google::protobuf::internal::ArenaStringPtr rx_advertisement_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_proto_2fmediums_2fnfc_5fframes_2eproto; }; extern const ::google::protobuf::internal::ClassDataLite<42> AdvertisementData_class_data_; // =================================================================== // =================================================================== #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif // __GNUC__ // ------------------------------------------------------------------- // AdvertisementData // optional bytes tag = 1; inline bool AdvertisementData::has_tag() const { bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U); return value; } inline void AdvertisementData::clear_tag() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.tag_.ClearToEmpty(); ClearHasBit(_impl_._has_bits_[0], 0x00000001U); } inline const ::std::string& AdvertisementData::tag() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:location.nearby.mediums.AdvertisementData.tag) return _internal_tag(); } template PROTOBUF_ALWAYS_INLINE void AdvertisementData::set_tag(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); SetHasBit(_impl_._has_bits_[0], 0x00000001U); _impl_.tag_.SetBytes(static_cast(arg), args..., GetArena()); // @@protoc_insertion_point(field_set:location.nearby.mediums.AdvertisementData.tag) } inline ::std::string* PROTOBUF_NONNULL AdvertisementData::mutable_tag() ABSL_ATTRIBUTE_LIFETIME_BOUND { SetHasBit(_impl_._has_bits_[0], 0x00000001U); ::std::string* _s = _internal_mutable_tag(); // @@protoc_insertion_point(field_mutable:location.nearby.mediums.AdvertisementData.tag) return _s; } inline const ::std::string& AdvertisementData::_internal_tag() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.tag_.Get(); } inline void AdvertisementData::_internal_set_tag(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.tag_.Set(value, GetArena()); } inline ::std::string* PROTOBUF_NONNULL AdvertisementData::_internal_mutable_tag() { ::google::protobuf::internal::TSanWrite(&_impl_); return _impl_.tag_.Mutable( GetArena()); } inline ::std::string* PROTOBUF_NULLABLE AdvertisementData::release_tag() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:location.nearby.mediums.AdvertisementData.tag) if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) { return nullptr; } ClearHasBit(_impl_._has_bits_[0], 0x00000001U); auto* released = _impl_.tag_.Release(); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { _impl_.tag_.Set("", GetArena()); } return released; } inline void AdvertisementData::set_allocated_tag(::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_.tag_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.tag_.IsDefault()) { _impl_.tag_.Set("", GetArena()); } // @@protoc_insertion_point(field_set_allocated:location.nearby.mediums.AdvertisementData.tag) } // optional bytes public_key = 2; inline bool AdvertisementData::has_public_key() const { bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U); return value; } inline void AdvertisementData::clear_public_key() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.public_key_.ClearToEmpty(); ClearHasBit(_impl_._has_bits_[0], 0x00000002U); } inline const ::std::string& AdvertisementData::public_key() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:location.nearby.mediums.AdvertisementData.public_key) return _internal_public_key(); } template PROTOBUF_ALWAYS_INLINE void AdvertisementData::set_public_key(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); SetHasBit(_impl_._has_bits_[0], 0x00000002U); _impl_.public_key_.SetBytes(static_cast(arg), args..., GetArena()); // @@protoc_insertion_point(field_set:location.nearby.mediums.AdvertisementData.public_key) } inline ::std::string* PROTOBUF_NONNULL AdvertisementData::mutable_public_key() ABSL_ATTRIBUTE_LIFETIME_BOUND { SetHasBit(_impl_._has_bits_[0], 0x00000002U); ::std::string* _s = _internal_mutable_public_key(); // @@protoc_insertion_point(field_mutable:location.nearby.mediums.AdvertisementData.public_key) return _s; } inline const ::std::string& AdvertisementData::_internal_public_key() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.public_key_.Get(); } inline void AdvertisementData::_internal_set_public_key(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.public_key_.Set(value, GetArena()); } inline ::std::string* PROTOBUF_NONNULL AdvertisementData::_internal_mutable_public_key() { ::google::protobuf::internal::TSanWrite(&_impl_); return _impl_.public_key_.Mutable( GetArena()); } inline ::std::string* PROTOBUF_NULLABLE AdvertisementData::release_public_key() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:location.nearby.mediums.AdvertisementData.public_key) if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) { return nullptr; } ClearHasBit(_impl_._has_bits_[0], 0x00000002U); auto* released = _impl_.public_key_.Release(); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { _impl_.public_key_.Set("", GetArena()); } return released; } inline void AdvertisementData::set_allocated_public_key(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (value != nullptr) { SetHasBit(_impl_._has_bits_[0], 0x00000002U); } else { ClearHasBit(_impl_._has_bits_[0], 0x00000002U); } _impl_.public_key_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.public_key_.IsDefault()) { _impl_.public_key_.Set("", GetArena()); } // @@protoc_insertion_point(field_set_allocated:location.nearby.mediums.AdvertisementData.public_key) } // optional bytes rx_advertisement = 3; inline bool AdvertisementData::has_rx_advertisement() const { bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U); return value; } inline void AdvertisementData::clear_rx_advertisement() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.rx_advertisement_.ClearToEmpty(); ClearHasBit(_impl_._has_bits_[0], 0x00000004U); } inline const ::std::string& AdvertisementData::rx_advertisement() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:location.nearby.mediums.AdvertisementData.rx_advertisement) return _internal_rx_advertisement(); } template PROTOBUF_ALWAYS_INLINE void AdvertisementData::set_rx_advertisement(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); SetHasBit(_impl_._has_bits_[0], 0x00000004U); _impl_.rx_advertisement_.SetBytes(static_cast(arg), args..., GetArena()); // @@protoc_insertion_point(field_set:location.nearby.mediums.AdvertisementData.rx_advertisement) } inline ::std::string* PROTOBUF_NONNULL AdvertisementData::mutable_rx_advertisement() ABSL_ATTRIBUTE_LIFETIME_BOUND { SetHasBit(_impl_._has_bits_[0], 0x00000004U); ::std::string* _s = _internal_mutable_rx_advertisement(); // @@protoc_insertion_point(field_mutable:location.nearby.mediums.AdvertisementData.rx_advertisement) return _s; } inline const ::std::string& AdvertisementData::_internal_rx_advertisement() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.rx_advertisement_.Get(); } inline void AdvertisementData::_internal_set_rx_advertisement(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.rx_advertisement_.Set(value, GetArena()); } inline ::std::string* PROTOBUF_NONNULL AdvertisementData::_internal_mutable_rx_advertisement() { ::google::protobuf::internal::TSanWrite(&_impl_); return _impl_.rx_advertisement_.Mutable( GetArena()); } inline ::std::string* PROTOBUF_NULLABLE AdvertisementData::release_rx_advertisement() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:location.nearby.mediums.AdvertisementData.rx_advertisement) if (!CheckHasBit(_impl_._has_bits_[0], 0x00000004U)) { return nullptr; } ClearHasBit(_impl_._has_bits_[0], 0x00000004U); auto* released = _impl_.rx_advertisement_.Release(); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { _impl_.rx_advertisement_.Set("", GetArena()); } return released; } inline void AdvertisementData::set_allocated_rx_advertisement(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (value != nullptr) { SetHasBit(_impl_._has_bits_[0], 0x00000004U); } else { ClearHasBit(_impl_._has_bits_[0], 0x00000004U); } _impl_.rx_advertisement_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.rx_advertisement_.IsDefault()) { _impl_.rx_advertisement_.Set("", GetArena()); } // @@protoc_insertion_point(field_set_allocated:location.nearby.mediums.AdvertisementData.rx_advertisement) } // ------------------------------------------------------------------- // AdvertisementRequest // optional string service_id = 1; inline bool AdvertisementRequest::has_service_id() const { bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U); return value; } inline void AdvertisementRequest::clear_service_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.service_id_.ClearToEmpty(); ClearHasBit(_impl_._has_bits_[0], 0x00000001U); } inline const ::std::string& AdvertisementRequest::service_id() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:location.nearby.mediums.AdvertisementRequest.service_id) return _internal_service_id(); } template PROTOBUF_ALWAYS_INLINE void AdvertisementRequest::set_service_id(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); SetHasBit(_impl_._has_bits_[0], 0x00000001U); _impl_.service_id_.Set(static_cast(arg), args..., GetArena()); // @@protoc_insertion_point(field_set:location.nearby.mediums.AdvertisementRequest.service_id) } inline ::std::string* PROTOBUF_NONNULL AdvertisementRequest::mutable_service_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { SetHasBit(_impl_._has_bits_[0], 0x00000001U); ::std::string* _s = _internal_mutable_service_id(); // @@protoc_insertion_point(field_mutable:location.nearby.mediums.AdvertisementRequest.service_id) return _s; } inline const ::std::string& AdvertisementRequest::_internal_service_id() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.service_id_.Get(); } inline void AdvertisementRequest::_internal_set_service_id(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.service_id_.Set(value, GetArena()); } inline ::std::string* PROTOBUF_NONNULL AdvertisementRequest::_internal_mutable_service_id() { ::google::protobuf::internal::TSanWrite(&_impl_); return _impl_.service_id_.Mutable( GetArena()); } inline ::std::string* PROTOBUF_NULLABLE AdvertisementRequest::release_service_id() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:location.nearby.mediums.AdvertisementRequest.service_id) if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) { return nullptr; } ClearHasBit(_impl_._has_bits_[0], 0x00000001U); auto* released = _impl_.service_id_.Release(); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { _impl_.service_id_.Set("", GetArena()); } return released; } inline void AdvertisementRequest::set_allocated_service_id(::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_.service_id_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.service_id_.IsDefault()) { _impl_.service_id_.Set("", GetArena()); } // @@protoc_insertion_point(field_set_allocated:location.nearby.mediums.AdvertisementRequest.service_id) } // optional string endpoint_id = 2; inline bool AdvertisementRequest::has_endpoint_id() const { bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U); return value; } inline void AdvertisementRequest::clear_endpoint_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.endpoint_id_.ClearToEmpty(); ClearHasBit(_impl_._has_bits_[0], 0x00000002U); } inline const ::std::string& AdvertisementRequest::endpoint_id() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:location.nearby.mediums.AdvertisementRequest.endpoint_id) return _internal_endpoint_id(); } template PROTOBUF_ALWAYS_INLINE void AdvertisementRequest::set_endpoint_id(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); SetHasBit(_impl_._has_bits_[0], 0x00000002U); _impl_.endpoint_id_.Set(static_cast(arg), args..., GetArena()); // @@protoc_insertion_point(field_set:location.nearby.mediums.AdvertisementRequest.endpoint_id) } inline ::std::string* PROTOBUF_NONNULL AdvertisementRequest::mutable_endpoint_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { SetHasBit(_impl_._has_bits_[0], 0x00000002U); ::std::string* _s = _internal_mutable_endpoint_id(); // @@protoc_insertion_point(field_mutable:location.nearby.mediums.AdvertisementRequest.endpoint_id) return _s; } inline const ::std::string& AdvertisementRequest::_internal_endpoint_id() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.endpoint_id_.Get(); } inline void AdvertisementRequest::_internal_set_endpoint_id(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.endpoint_id_.Set(value, GetArena()); } inline ::std::string* PROTOBUF_NONNULL AdvertisementRequest::_internal_mutable_endpoint_id() { ::google::protobuf::internal::TSanWrite(&_impl_); return _impl_.endpoint_id_.Mutable( GetArena()); } inline ::std::string* PROTOBUF_NULLABLE AdvertisementRequest::release_endpoint_id() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:location.nearby.mediums.AdvertisementRequest.endpoint_id) if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) { return nullptr; } ClearHasBit(_impl_._has_bits_[0], 0x00000002U); auto* released = _impl_.endpoint_id_.Release(); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { _impl_.endpoint_id_.Set("", GetArena()); } return released; } inline void AdvertisementRequest::set_allocated_endpoint_id(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (value != nullptr) { SetHasBit(_impl_._has_bits_[0], 0x00000002U); } else { ClearHasBit(_impl_._has_bits_[0], 0x00000002U); } _impl_.endpoint_id_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.endpoint_id_.IsDefault()) { _impl_.endpoint_id_.Set("", GetArena()); } // @@protoc_insertion_point(field_set_allocated:location.nearby.mediums.AdvertisementRequest.endpoint_id) } // optional bytes public_key = 3; inline bool AdvertisementRequest::has_public_key() const { bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U); return value; } inline void AdvertisementRequest::clear_public_key() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.public_key_.ClearToEmpty(); ClearHasBit(_impl_._has_bits_[0], 0x00000004U); } inline const ::std::string& AdvertisementRequest::public_key() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:location.nearby.mediums.AdvertisementRequest.public_key) return _internal_public_key(); } template PROTOBUF_ALWAYS_INLINE void AdvertisementRequest::set_public_key(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); SetHasBit(_impl_._has_bits_[0], 0x00000004U); _impl_.public_key_.SetBytes(static_cast(arg), args..., GetArena()); // @@protoc_insertion_point(field_set:location.nearby.mediums.AdvertisementRequest.public_key) } inline ::std::string* PROTOBUF_NONNULL AdvertisementRequest::mutable_public_key() ABSL_ATTRIBUTE_LIFETIME_BOUND { SetHasBit(_impl_._has_bits_[0], 0x00000004U); ::std::string* _s = _internal_mutable_public_key(); // @@protoc_insertion_point(field_mutable:location.nearby.mediums.AdvertisementRequest.public_key) return _s; } inline const ::std::string& AdvertisementRequest::_internal_public_key() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.public_key_.Get(); } inline void AdvertisementRequest::_internal_set_public_key(const ::std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.public_key_.Set(value, GetArena()); } inline ::std::string* PROTOBUF_NONNULL AdvertisementRequest::_internal_mutable_public_key() { ::google::protobuf::internal::TSanWrite(&_impl_); return _impl_.public_key_.Mutable( GetArena()); } inline ::std::string* PROTOBUF_NULLABLE AdvertisementRequest::release_public_key() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:location.nearby.mediums.AdvertisementRequest.public_key) if (!CheckHasBit(_impl_._has_bits_[0], 0x00000004U)) { return nullptr; } ClearHasBit(_impl_._has_bits_[0], 0x00000004U); auto* released = _impl_.public_key_.Release(); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { _impl_.public_key_.Set("", GetArena()); } return released; } inline void AdvertisementRequest::set_allocated_public_key(::std::string* PROTOBUF_NULLABLE value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (value != nullptr) { SetHasBit(_impl_._has_bits_[0], 0x00000004U); } else { ClearHasBit(_impl_._has_bits_[0], 0x00000004U); } _impl_.public_key_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.public_key_.IsDefault()) { _impl_.public_key_.Set("", GetArena()); } // @@protoc_insertion_point(field_set_allocated:location.nearby.mediums.AdvertisementRequest.public_key) } #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ // @@protoc_insertion_point(namespace_scope) } // namespace mediums } // namespace nearby } // namespace location // @@protoc_insertion_point(global_scope) #include "google/protobuf/port_undef.inc" #endif // proto_2fmediums_2fnfc_5fframes_2eproto_2epb_2eh