mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-15 07:06:11 -04:00
1711 lines
77 KiB
C++
1711 lines
77 KiB
C++
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// NO CHECKED-IN PROTOBUF GENCODE
|
|
// source: proto/mediums/ble_frames.proto
|
|
// Protobuf C++ Version: 6.33.3
|
|
|
|
#ifndef proto_2fmediums_2fble_5fframes_2eproto_2epb_2eh
|
|
#define proto_2fmediums_2fble_5fframes_2eproto_2epb_2eh
|
|
|
|
#include <limits>
|
|
#include <string>
|
|
#include <type_traits>
|
|
#include <utility>
|
|
|
|
#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
|
|
#include "google/protobuf/generated_enum_util.h"
|
|
// @@protoc_insertion_point(includes)
|
|
|
|
// Must be included last.
|
|
#include "google/protobuf/port_def.inc"
|
|
|
|
#define PROTOBUF_INTERNAL_EXPORT_proto_2fmediums_2fble_5fframes_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_proto_2fmediums_2fble_5fframes_2eproto {
|
|
static const ::uint32_t offsets[];
|
|
};
|
|
namespace location {
|
|
namespace nearby {
|
|
namespace mediums {
|
|
enum SocketControlFrame_ControlFrameType : int;
|
|
extern const uint32_t SocketControlFrame_ControlFrameType_internal_data_[];
|
|
enum SocketVersion : int;
|
|
extern const uint32_t SocketVersion_internal_data_[];
|
|
class DisconnectionFrame;
|
|
struct DisconnectionFrameDefaultTypeInternal;
|
|
extern DisconnectionFrameDefaultTypeInternal _DisconnectionFrame_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<43> DisconnectionFrame_class_data_;
|
|
class IntroductionFrame;
|
|
struct IntroductionFrameDefaultTypeInternal;
|
|
extern IntroductionFrameDefaultTypeInternal _IntroductionFrame_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<42> IntroductionFrame_class_data_;
|
|
class PacketAcknowledgementFrame;
|
|
struct PacketAcknowledgementFrameDefaultTypeInternal;
|
|
extern PacketAcknowledgementFrameDefaultTypeInternal _PacketAcknowledgementFrame_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<51> PacketAcknowledgementFrame_class_data_;
|
|
class SocketControlFrame;
|
|
struct SocketControlFrameDefaultTypeInternal;
|
|
extern SocketControlFrameDefaultTypeInternal _SocketControlFrame_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<43> SocketControlFrame_class_data_;
|
|
} // namespace mediums
|
|
} // namespace nearby
|
|
} // namespace location
|
|
namespace google {
|
|
namespace protobuf {
|
|
template <>
|
|
internal::EnumTraitsT<::location::nearby::mediums::SocketControlFrame_ControlFrameType_internal_data_>
|
|
internal::EnumTraitsImpl::value<::location::nearby::mediums::SocketControlFrame_ControlFrameType>;
|
|
template <>
|
|
internal::EnumTraitsT<::location::nearby::mediums::SocketVersion_internal_data_>
|
|
internal::EnumTraitsImpl::value<::location::nearby::mediums::SocketVersion>;
|
|
} // namespace protobuf
|
|
} // namespace google
|
|
|
|
namespace location {
|
|
namespace nearby {
|
|
namespace mediums {
|
|
enum SocketControlFrame_ControlFrameType : int {
|
|
SocketControlFrame_ControlFrameType_UNKNOWN_CONTROL_FRAME_TYPE = 0,
|
|
SocketControlFrame_ControlFrameType_INTRODUCTION = 1,
|
|
SocketControlFrame_ControlFrameType_DISCONNECTION = 2,
|
|
SocketControlFrame_ControlFrameType_PACKET_ACKNOWLEDGEMENT = 3,
|
|
};
|
|
|
|
extern const uint32_t SocketControlFrame_ControlFrameType_internal_data_[];
|
|
inline constexpr SocketControlFrame_ControlFrameType SocketControlFrame_ControlFrameType_ControlFrameType_MIN =
|
|
static_cast<SocketControlFrame_ControlFrameType>(0);
|
|
inline constexpr SocketControlFrame_ControlFrameType SocketControlFrame_ControlFrameType_ControlFrameType_MAX =
|
|
static_cast<SocketControlFrame_ControlFrameType>(3);
|
|
inline bool SocketControlFrame_ControlFrameType_IsValid(int value) {
|
|
return 0 <= value && value <= 3;
|
|
}
|
|
inline constexpr int SocketControlFrame_ControlFrameType_ControlFrameType_ARRAYSIZE = 3 + 1;
|
|
const ::std::string& SocketControlFrame_ControlFrameType_Name(SocketControlFrame_ControlFrameType value);
|
|
template <typename T>
|
|
const ::std::string& SocketControlFrame_ControlFrameType_Name(T value) {
|
|
static_assert(::std::is_same<T, SocketControlFrame_ControlFrameType>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to ControlFrameType_Name().");
|
|
return SocketControlFrame_ControlFrameType_Name(static_cast<SocketControlFrame_ControlFrameType>(value));
|
|
}
|
|
bool SocketControlFrame_ControlFrameType_Parse(
|
|
::absl::string_view name, SocketControlFrame_ControlFrameType* PROTOBUF_NONNULL value);
|
|
enum SocketVersion : int {
|
|
UNKNOWN_SOCKET_VERSION = 0,
|
|
V1 = 1,
|
|
V2 = 2,
|
|
};
|
|
|
|
extern const uint32_t SocketVersion_internal_data_[];
|
|
inline constexpr SocketVersion SocketVersion_MIN =
|
|
static_cast<SocketVersion>(0);
|
|
inline constexpr SocketVersion SocketVersion_MAX =
|
|
static_cast<SocketVersion>(2);
|
|
inline bool SocketVersion_IsValid(int value) {
|
|
return 0 <= value && value <= 2;
|
|
}
|
|
inline constexpr int SocketVersion_ARRAYSIZE = 2 + 1;
|
|
const ::std::string& SocketVersion_Name(SocketVersion value);
|
|
template <typename T>
|
|
const ::std::string& SocketVersion_Name(T value) {
|
|
static_assert(::std::is_same<T, SocketVersion>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to SocketVersion_Name().");
|
|
return SocketVersion_Name(static_cast<SocketVersion>(value));
|
|
}
|
|
bool SocketVersion_Parse(
|
|
::absl::string_view name, SocketVersion* PROTOBUF_NONNULL value);
|
|
|
|
// ===================================================================
|
|
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
class PacketAcknowledgementFrame final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.mediums.PacketAcknowledgementFrame) */ {
|
|
public:
|
|
inline PacketAcknowledgementFrame() : PacketAcknowledgementFrame(nullptr) {}
|
|
~PacketAcknowledgementFrame() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(PacketAcknowledgementFrame* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(PacketAcknowledgementFrame));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR PacketAcknowledgementFrame(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline PacketAcknowledgementFrame(const PacketAcknowledgementFrame& from) : PacketAcknowledgementFrame(nullptr, from) {}
|
|
inline PacketAcknowledgementFrame(PacketAcknowledgementFrame&& from) noexcept
|
|
: PacketAcknowledgementFrame(nullptr, ::std::move(from)) {}
|
|
inline PacketAcknowledgementFrame& operator=(const PacketAcknowledgementFrame& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline PacketAcknowledgementFrame& operator=(PacketAcknowledgementFrame&& 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 PacketAcknowledgementFrame& default_instance() {
|
|
return *reinterpret_cast<const PacketAcknowledgementFrame*>(
|
|
&_PacketAcknowledgementFrame_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 3;
|
|
friend void swap(PacketAcknowledgementFrame& a, PacketAcknowledgementFrame& b) { a.Swap(&b); }
|
|
inline void Swap(PacketAcknowledgementFrame* 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(PacketAcknowledgementFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
PacketAcknowledgementFrame* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<PacketAcknowledgementFrame>(arena);
|
|
}
|
|
void CopyFrom(const PacketAcknowledgementFrame& from);
|
|
void MergeFrom(const PacketAcknowledgementFrame& from) { PacketAcknowledgementFrame::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(PacketAcknowledgementFrame* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.mediums.PacketAcknowledgementFrame"; }
|
|
|
|
explicit PacketAcknowledgementFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
PacketAcknowledgementFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const PacketAcknowledgementFrame& from);
|
|
PacketAcknowledgementFrame(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, PacketAcknowledgementFrame&& from) noexcept
|
|
: PacketAcknowledgementFrame(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 {
|
|
kServiceIdHashFieldNumber = 1,
|
|
kReceivedSizeFieldNumber = 2,
|
|
};
|
|
// optional bytes service_id_hash = 1;
|
|
bool has_service_id_hash() const;
|
|
void clear_service_id_hash() ;
|
|
const ::std::string& service_id_hash() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_service_id_hash(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_service_id_hash();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_service_id_hash();
|
|
void set_allocated_service_id_hash(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_service_id_hash() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_service_id_hash(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_service_id_hash();
|
|
|
|
public:
|
|
// optional int32 received_size = 2;
|
|
bool has_received_size() const;
|
|
void clear_received_size() ;
|
|
::int32_t received_size() const;
|
|
void set_received_size(::int32_t value);
|
|
|
|
private:
|
|
::int32_t _internal_received_size() const;
|
|
void _internal_set_received_size(::int32_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.mediums.PacketAcknowledgementFrame)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<1, 2,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
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 PacketAcknowledgementFrame& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr service_id_hash_;
|
|
::int32_t received_size_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_proto_2fmediums_2fble_5fframes_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<51> PacketAcknowledgementFrame_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class IntroductionFrame final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.mediums.IntroductionFrame) */ {
|
|
public:
|
|
inline IntroductionFrame() : IntroductionFrame(nullptr) {}
|
|
~IntroductionFrame() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(IntroductionFrame* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(IntroductionFrame));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR IntroductionFrame(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline IntroductionFrame(const IntroductionFrame& from) : IntroductionFrame(nullptr, from) {}
|
|
inline IntroductionFrame(IntroductionFrame&& from) noexcept
|
|
: IntroductionFrame(nullptr, ::std::move(from)) {}
|
|
inline IntroductionFrame& operator=(const IntroductionFrame& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline IntroductionFrame& operator=(IntroductionFrame&& 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 IntroductionFrame& default_instance() {
|
|
return *reinterpret_cast<const IntroductionFrame*>(
|
|
&_IntroductionFrame_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 1;
|
|
friend void swap(IntroductionFrame& a, IntroductionFrame& b) { a.Swap(&b); }
|
|
inline void Swap(IntroductionFrame* 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(IntroductionFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
IntroductionFrame* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<IntroductionFrame>(arena);
|
|
}
|
|
void CopyFrom(const IntroductionFrame& from);
|
|
void MergeFrom(const IntroductionFrame& from) { IntroductionFrame::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(IntroductionFrame* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.mediums.IntroductionFrame"; }
|
|
|
|
explicit IntroductionFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
IntroductionFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const IntroductionFrame& from);
|
|
IntroductionFrame(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, IntroductionFrame&& from) noexcept
|
|
: IntroductionFrame(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 {
|
|
kServiceIdHashFieldNumber = 1,
|
|
kServiceIdHashSaltFieldNumber = 3,
|
|
kSocketVersionFieldNumber = 2,
|
|
};
|
|
// optional bytes service_id_hash = 1;
|
|
bool has_service_id_hash() const;
|
|
void clear_service_id_hash() ;
|
|
const ::std::string& service_id_hash() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_service_id_hash(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_service_id_hash();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_service_id_hash();
|
|
void set_allocated_service_id_hash(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_service_id_hash() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_service_id_hash(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_service_id_hash();
|
|
|
|
public:
|
|
// optional string service_id_hash_salt = 3;
|
|
bool has_service_id_hash_salt() const;
|
|
void clear_service_id_hash_salt() ;
|
|
const ::std::string& service_id_hash_salt() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_service_id_hash_salt(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_service_id_hash_salt();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_service_id_hash_salt();
|
|
void set_allocated_service_id_hash_salt(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_service_id_hash_salt() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_service_id_hash_salt(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_service_id_hash_salt();
|
|
|
|
public:
|
|
// optional .location.nearby.mediums.SocketVersion socket_version = 2;
|
|
bool has_socket_version() const;
|
|
void clear_socket_version() ;
|
|
::location::nearby::mediums::SocketVersion socket_version() const;
|
|
void set_socket_version(::location::nearby::mediums::SocketVersion value);
|
|
|
|
private:
|
|
::location::nearby::mediums::SocketVersion _internal_socket_version() const;
|
|
void _internal_set_socket_version(::location::nearby::mediums::SocketVersion value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.mediums.IntroductionFrame)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<2, 3,
|
|
1, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
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 IntroductionFrame& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr service_id_hash_;
|
|
::google::protobuf::internal::ArenaStringPtr service_id_hash_salt_;
|
|
int socket_version_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_proto_2fmediums_2fble_5fframes_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<42> IntroductionFrame_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class DisconnectionFrame final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.mediums.DisconnectionFrame) */ {
|
|
public:
|
|
inline DisconnectionFrame() : DisconnectionFrame(nullptr) {}
|
|
~DisconnectionFrame() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(DisconnectionFrame* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(DisconnectionFrame));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR DisconnectionFrame(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline DisconnectionFrame(const DisconnectionFrame& from) : DisconnectionFrame(nullptr, from) {}
|
|
inline DisconnectionFrame(DisconnectionFrame&& from) noexcept
|
|
: DisconnectionFrame(nullptr, ::std::move(from)) {}
|
|
inline DisconnectionFrame& operator=(const DisconnectionFrame& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline DisconnectionFrame& operator=(DisconnectionFrame&& 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 DisconnectionFrame& default_instance() {
|
|
return *reinterpret_cast<const DisconnectionFrame*>(
|
|
&_DisconnectionFrame_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 2;
|
|
friend void swap(DisconnectionFrame& a, DisconnectionFrame& b) { a.Swap(&b); }
|
|
inline void Swap(DisconnectionFrame* 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(DisconnectionFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
DisconnectionFrame* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<DisconnectionFrame>(arena);
|
|
}
|
|
void CopyFrom(const DisconnectionFrame& from);
|
|
void MergeFrom(const DisconnectionFrame& from) { DisconnectionFrame::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(DisconnectionFrame* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.mediums.DisconnectionFrame"; }
|
|
|
|
explicit DisconnectionFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
DisconnectionFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const DisconnectionFrame& from);
|
|
DisconnectionFrame(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, DisconnectionFrame&& from) noexcept
|
|
: DisconnectionFrame(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 {
|
|
kServiceIdHashFieldNumber = 1,
|
|
};
|
|
// optional bytes service_id_hash = 1;
|
|
bool has_service_id_hash() const;
|
|
void clear_service_id_hash() ;
|
|
const ::std::string& service_id_hash() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_service_id_hash(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_service_id_hash();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_service_id_hash();
|
|
void set_allocated_service_id_hash(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_service_id_hash() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_service_id_hash(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_service_id_hash();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.mediums.DisconnectionFrame)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 1,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
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 DisconnectionFrame& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr service_id_hash_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_proto_2fmediums_2fble_5fframes_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<43> DisconnectionFrame_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class SocketControlFrame final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.mediums.SocketControlFrame) */ {
|
|
public:
|
|
inline SocketControlFrame() : SocketControlFrame(nullptr) {}
|
|
~SocketControlFrame() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(SocketControlFrame* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(SocketControlFrame));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR SocketControlFrame(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline SocketControlFrame(const SocketControlFrame& from) : SocketControlFrame(nullptr, from) {}
|
|
inline SocketControlFrame(SocketControlFrame&& from) noexcept
|
|
: SocketControlFrame(nullptr, ::std::move(from)) {}
|
|
inline SocketControlFrame& operator=(const SocketControlFrame& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline SocketControlFrame& operator=(SocketControlFrame&& 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 SocketControlFrame& default_instance() {
|
|
return *reinterpret_cast<const SocketControlFrame*>(
|
|
&_SocketControlFrame_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 0;
|
|
friend void swap(SocketControlFrame& a, SocketControlFrame& b) { a.Swap(&b); }
|
|
inline void Swap(SocketControlFrame* 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(SocketControlFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
SocketControlFrame* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<SocketControlFrame>(arena);
|
|
}
|
|
void CopyFrom(const SocketControlFrame& from);
|
|
void MergeFrom(const SocketControlFrame& from) { SocketControlFrame::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(SocketControlFrame* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.mediums.SocketControlFrame"; }
|
|
|
|
explicit SocketControlFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
SocketControlFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SocketControlFrame& from);
|
|
SocketControlFrame(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SocketControlFrame&& from) noexcept
|
|
: SocketControlFrame(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 ----------------------------------------------------
|
|
using ControlFrameType = SocketControlFrame_ControlFrameType;
|
|
static constexpr ControlFrameType UNKNOWN_CONTROL_FRAME_TYPE = SocketControlFrame_ControlFrameType_UNKNOWN_CONTROL_FRAME_TYPE;
|
|
static constexpr ControlFrameType INTRODUCTION = SocketControlFrame_ControlFrameType_INTRODUCTION;
|
|
static constexpr ControlFrameType DISCONNECTION = SocketControlFrame_ControlFrameType_DISCONNECTION;
|
|
static constexpr ControlFrameType PACKET_ACKNOWLEDGEMENT = SocketControlFrame_ControlFrameType_PACKET_ACKNOWLEDGEMENT;
|
|
static inline bool ControlFrameType_IsValid(int value) {
|
|
return SocketControlFrame_ControlFrameType_IsValid(value);
|
|
}
|
|
static constexpr ControlFrameType ControlFrameType_MIN = SocketControlFrame_ControlFrameType_ControlFrameType_MIN;
|
|
static constexpr ControlFrameType ControlFrameType_MAX = SocketControlFrame_ControlFrameType_ControlFrameType_MAX;
|
|
static constexpr int ControlFrameType_ARRAYSIZE = SocketControlFrame_ControlFrameType_ControlFrameType_ARRAYSIZE;
|
|
template <typename T>
|
|
static inline const ::std::string& ControlFrameType_Name(T value) {
|
|
return SocketControlFrame_ControlFrameType_Name(value);
|
|
}
|
|
static inline bool ControlFrameType_Parse(
|
|
::absl::string_view name, ControlFrameType* PROTOBUF_NONNULL value) {
|
|
return SocketControlFrame_ControlFrameType_Parse(name, value);
|
|
}
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kIntroductionFieldNumber = 2,
|
|
kDisconnectionFieldNumber = 3,
|
|
kPacketAcknowledgementFieldNumber = 4,
|
|
kTypeFieldNumber = 1,
|
|
};
|
|
// optional .location.nearby.mediums.IntroductionFrame introduction = 2;
|
|
bool has_introduction() const;
|
|
void clear_introduction() ;
|
|
const ::location::nearby::mediums::IntroductionFrame& introduction() const;
|
|
[[nodiscard]] ::location::nearby::mediums::IntroductionFrame* PROTOBUF_NULLABLE release_introduction();
|
|
::location::nearby::mediums::IntroductionFrame* PROTOBUF_NONNULL mutable_introduction();
|
|
void set_allocated_introduction(::location::nearby::mediums::IntroductionFrame* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_introduction(::location::nearby::mediums::IntroductionFrame* PROTOBUF_NULLABLE value);
|
|
::location::nearby::mediums::IntroductionFrame* PROTOBUF_NULLABLE unsafe_arena_release_introduction();
|
|
|
|
private:
|
|
const ::location::nearby::mediums::IntroductionFrame& _internal_introduction() const;
|
|
::location::nearby::mediums::IntroductionFrame* PROTOBUF_NONNULL _internal_mutable_introduction();
|
|
|
|
public:
|
|
// optional .location.nearby.mediums.DisconnectionFrame disconnection = 3;
|
|
bool has_disconnection() const;
|
|
void clear_disconnection() ;
|
|
const ::location::nearby::mediums::DisconnectionFrame& disconnection() const;
|
|
[[nodiscard]] ::location::nearby::mediums::DisconnectionFrame* PROTOBUF_NULLABLE release_disconnection();
|
|
::location::nearby::mediums::DisconnectionFrame* PROTOBUF_NONNULL mutable_disconnection();
|
|
void set_allocated_disconnection(::location::nearby::mediums::DisconnectionFrame* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_disconnection(::location::nearby::mediums::DisconnectionFrame* PROTOBUF_NULLABLE value);
|
|
::location::nearby::mediums::DisconnectionFrame* PROTOBUF_NULLABLE unsafe_arena_release_disconnection();
|
|
|
|
private:
|
|
const ::location::nearby::mediums::DisconnectionFrame& _internal_disconnection() const;
|
|
::location::nearby::mediums::DisconnectionFrame* PROTOBUF_NONNULL _internal_mutable_disconnection();
|
|
|
|
public:
|
|
// optional .location.nearby.mediums.PacketAcknowledgementFrame packet_acknowledgement = 4;
|
|
bool has_packet_acknowledgement() const;
|
|
void clear_packet_acknowledgement() ;
|
|
const ::location::nearby::mediums::PacketAcknowledgementFrame& packet_acknowledgement() const;
|
|
[[nodiscard]] ::location::nearby::mediums::PacketAcknowledgementFrame* PROTOBUF_NULLABLE release_packet_acknowledgement();
|
|
::location::nearby::mediums::PacketAcknowledgementFrame* PROTOBUF_NONNULL mutable_packet_acknowledgement();
|
|
void set_allocated_packet_acknowledgement(::location::nearby::mediums::PacketAcknowledgementFrame* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_packet_acknowledgement(::location::nearby::mediums::PacketAcknowledgementFrame* PROTOBUF_NULLABLE value);
|
|
::location::nearby::mediums::PacketAcknowledgementFrame* PROTOBUF_NULLABLE unsafe_arena_release_packet_acknowledgement();
|
|
|
|
private:
|
|
const ::location::nearby::mediums::PacketAcknowledgementFrame& _internal_packet_acknowledgement() const;
|
|
::location::nearby::mediums::PacketAcknowledgementFrame* PROTOBUF_NONNULL _internal_mutable_packet_acknowledgement();
|
|
|
|
public:
|
|
// optional .location.nearby.mediums.SocketControlFrame.ControlFrameType type = 1;
|
|
bool has_type() const;
|
|
void clear_type() ;
|
|
::location::nearby::mediums::SocketControlFrame_ControlFrameType type() const;
|
|
void set_type(::location::nearby::mediums::SocketControlFrame_ControlFrameType value);
|
|
|
|
private:
|
|
::location::nearby::mediums::SocketControlFrame_ControlFrameType _internal_type() const;
|
|
void _internal_set_type(::location::nearby::mediums::SocketControlFrame_ControlFrameType value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.mediums.SocketControlFrame)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<2, 4,
|
|
4, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <typename T>
|
|
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 SocketControlFrame& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::location::nearby::mediums::IntroductionFrame* PROTOBUF_NULLABLE introduction_;
|
|
::location::nearby::mediums::DisconnectionFrame* PROTOBUF_NULLABLE disconnection_;
|
|
::location::nearby::mediums::PacketAcknowledgementFrame* PROTOBUF_NULLABLE packet_acknowledgement_;
|
|
int type_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_proto_2fmediums_2fble_5fframes_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<43> SocketControlFrame_class_data_;
|
|
|
|
// ===================================================================
|
|
|
|
|
|
|
|
|
|
// ===================================================================
|
|
|
|
|
|
#ifdef __GNUC__
|
|
#pragma GCC diagnostic push
|
|
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
|
#endif // __GNUC__
|
|
// -------------------------------------------------------------------
|
|
|
|
// SocketControlFrame
|
|
|
|
// optional .location.nearby.mediums.SocketControlFrame.ControlFrameType type = 1;
|
|
inline bool SocketControlFrame::has_type() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
return value;
|
|
}
|
|
inline void SocketControlFrame::clear_type() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.type_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000008U);
|
|
}
|
|
inline ::location::nearby::mediums::SocketControlFrame_ControlFrameType SocketControlFrame::type() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.SocketControlFrame.type)
|
|
return _internal_type();
|
|
}
|
|
inline void SocketControlFrame::set_type(::location::nearby::mediums::SocketControlFrame_ControlFrameType value) {
|
|
_internal_set_type(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000008U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.mediums.SocketControlFrame.type)
|
|
}
|
|
inline ::location::nearby::mediums::SocketControlFrame_ControlFrameType SocketControlFrame::_internal_type() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return static_cast<::location::nearby::mediums::SocketControlFrame_ControlFrameType>(_impl_.type_);
|
|
}
|
|
inline void SocketControlFrame::_internal_set_type(::location::nearby::mediums::SocketControlFrame_ControlFrameType value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
assert(::google::protobuf::internal::ValidateEnum(
|
|
value, ::location::nearby::mediums::SocketControlFrame_ControlFrameType_internal_data_));
|
|
_impl_.type_ = value;
|
|
}
|
|
|
|
// optional .location.nearby.mediums.IntroductionFrame introduction = 2;
|
|
inline bool SocketControlFrame::has_introduction() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
PROTOBUF_ASSUME(!value || _impl_.introduction_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void SocketControlFrame::clear_introduction() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.introduction_ != nullptr) _impl_.introduction_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline const ::location::nearby::mediums::IntroductionFrame& SocketControlFrame::_internal_introduction() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::mediums::IntroductionFrame* p = _impl_.introduction_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::mediums::IntroductionFrame&>(::location::nearby::mediums::_IntroductionFrame_default_instance_);
|
|
}
|
|
inline const ::location::nearby::mediums::IntroductionFrame& SocketControlFrame::introduction() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.SocketControlFrame.introduction)
|
|
return _internal_introduction();
|
|
}
|
|
inline void SocketControlFrame::unsafe_arena_set_allocated_introduction(
|
|
::location::nearby::mediums::IntroductionFrame* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.introduction_);
|
|
}
|
|
_impl_.introduction_ = reinterpret_cast<::location::nearby::mediums::IntroductionFrame*>(value);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.mediums.SocketControlFrame.introduction)
|
|
}
|
|
inline ::location::nearby::mediums::IntroductionFrame* PROTOBUF_NULLABLE SocketControlFrame::release_introduction() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::location::nearby::mediums::IntroductionFrame* released = _impl_.introduction_;
|
|
_impl_.introduction_ = 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 ::location::nearby::mediums::IntroductionFrame* PROTOBUF_NULLABLE SocketControlFrame::unsafe_arena_release_introduction() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.mediums.SocketControlFrame.introduction)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::location::nearby::mediums::IntroductionFrame* temp = _impl_.introduction_;
|
|
_impl_.introduction_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::mediums::IntroductionFrame* PROTOBUF_NONNULL SocketControlFrame::_internal_mutable_introduction() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.introduction_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::mediums::IntroductionFrame>(GetArena());
|
|
_impl_.introduction_ = reinterpret_cast<::location::nearby::mediums::IntroductionFrame*>(p);
|
|
}
|
|
return _impl_.introduction_;
|
|
}
|
|
inline ::location::nearby::mediums::IntroductionFrame* PROTOBUF_NONNULL SocketControlFrame::mutable_introduction()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::location::nearby::mediums::IntroductionFrame* _msg = _internal_mutable_introduction();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.mediums.SocketControlFrame.introduction)
|
|
return _msg;
|
|
}
|
|
inline void SocketControlFrame::set_allocated_introduction(::location::nearby::mediums::IntroductionFrame* 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_.introduction_);
|
|
}
|
|
|
|
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], 0x00000001U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
}
|
|
|
|
_impl_.introduction_ = reinterpret_cast<::location::nearby::mediums::IntroductionFrame*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.mediums.SocketControlFrame.introduction)
|
|
}
|
|
|
|
// optional .location.nearby.mediums.DisconnectionFrame disconnection = 3;
|
|
inline bool SocketControlFrame::has_disconnection() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
PROTOBUF_ASSUME(!value || _impl_.disconnection_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void SocketControlFrame::clear_disconnection() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.disconnection_ != nullptr) _impl_.disconnection_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline const ::location::nearby::mediums::DisconnectionFrame& SocketControlFrame::_internal_disconnection() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::mediums::DisconnectionFrame* p = _impl_.disconnection_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::mediums::DisconnectionFrame&>(::location::nearby::mediums::_DisconnectionFrame_default_instance_);
|
|
}
|
|
inline const ::location::nearby::mediums::DisconnectionFrame& SocketControlFrame::disconnection() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.SocketControlFrame.disconnection)
|
|
return _internal_disconnection();
|
|
}
|
|
inline void SocketControlFrame::unsafe_arena_set_allocated_disconnection(
|
|
::location::nearby::mediums::DisconnectionFrame* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.disconnection_);
|
|
}
|
|
_impl_.disconnection_ = reinterpret_cast<::location::nearby::mediums::DisconnectionFrame*>(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:location.nearby.mediums.SocketControlFrame.disconnection)
|
|
}
|
|
inline ::location::nearby::mediums::DisconnectionFrame* PROTOBUF_NULLABLE SocketControlFrame::release_disconnection() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::location::nearby::mediums::DisconnectionFrame* released = _impl_.disconnection_;
|
|
_impl_.disconnection_ = 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 ::location::nearby::mediums::DisconnectionFrame* PROTOBUF_NULLABLE SocketControlFrame::unsafe_arena_release_disconnection() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.mediums.SocketControlFrame.disconnection)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::location::nearby::mediums::DisconnectionFrame* temp = _impl_.disconnection_;
|
|
_impl_.disconnection_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::mediums::DisconnectionFrame* PROTOBUF_NONNULL SocketControlFrame::_internal_mutable_disconnection() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.disconnection_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::mediums::DisconnectionFrame>(GetArena());
|
|
_impl_.disconnection_ = reinterpret_cast<::location::nearby::mediums::DisconnectionFrame*>(p);
|
|
}
|
|
return _impl_.disconnection_;
|
|
}
|
|
inline ::location::nearby::mediums::DisconnectionFrame* PROTOBUF_NONNULL SocketControlFrame::mutable_disconnection()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::location::nearby::mediums::DisconnectionFrame* _msg = _internal_mutable_disconnection();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.mediums.SocketControlFrame.disconnection)
|
|
return _msg;
|
|
}
|
|
inline void SocketControlFrame::set_allocated_disconnection(::location::nearby::mediums::DisconnectionFrame* 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_.disconnection_);
|
|
}
|
|
|
|
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_.disconnection_ = reinterpret_cast<::location::nearby::mediums::DisconnectionFrame*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.mediums.SocketControlFrame.disconnection)
|
|
}
|
|
|
|
// optional .location.nearby.mediums.PacketAcknowledgementFrame packet_acknowledgement = 4;
|
|
inline bool SocketControlFrame::has_packet_acknowledgement() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
PROTOBUF_ASSUME(!value || _impl_.packet_acknowledgement_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void SocketControlFrame::clear_packet_acknowledgement() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.packet_acknowledgement_ != nullptr) _impl_.packet_acknowledgement_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000004U);
|
|
}
|
|
inline const ::location::nearby::mediums::PacketAcknowledgementFrame& SocketControlFrame::_internal_packet_acknowledgement() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::mediums::PacketAcknowledgementFrame* p = _impl_.packet_acknowledgement_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::mediums::PacketAcknowledgementFrame&>(::location::nearby::mediums::_PacketAcknowledgementFrame_default_instance_);
|
|
}
|
|
inline const ::location::nearby::mediums::PacketAcknowledgementFrame& SocketControlFrame::packet_acknowledgement() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.SocketControlFrame.packet_acknowledgement)
|
|
return _internal_packet_acknowledgement();
|
|
}
|
|
inline void SocketControlFrame::unsafe_arena_set_allocated_packet_acknowledgement(
|
|
::location::nearby::mediums::PacketAcknowledgementFrame* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.packet_acknowledgement_);
|
|
}
|
|
_impl_.packet_acknowledgement_ = reinterpret_cast<::location::nearby::mediums::PacketAcknowledgementFrame*>(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:location.nearby.mediums.SocketControlFrame.packet_acknowledgement)
|
|
}
|
|
inline ::location::nearby::mediums::PacketAcknowledgementFrame* PROTOBUF_NULLABLE SocketControlFrame::release_packet_acknowledgement() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
::location::nearby::mediums::PacketAcknowledgementFrame* released = _impl_.packet_acknowledgement_;
|
|
_impl_.packet_acknowledgement_ = 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 ::location::nearby::mediums::PacketAcknowledgementFrame* PROTOBUF_NULLABLE SocketControlFrame::unsafe_arena_release_packet_acknowledgement() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.mediums.SocketControlFrame.packet_acknowledgement)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
::location::nearby::mediums::PacketAcknowledgementFrame* temp = _impl_.packet_acknowledgement_;
|
|
_impl_.packet_acknowledgement_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::mediums::PacketAcknowledgementFrame* PROTOBUF_NONNULL SocketControlFrame::_internal_mutable_packet_acknowledgement() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.packet_acknowledgement_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::mediums::PacketAcknowledgementFrame>(GetArena());
|
|
_impl_.packet_acknowledgement_ = reinterpret_cast<::location::nearby::mediums::PacketAcknowledgementFrame*>(p);
|
|
}
|
|
return _impl_.packet_acknowledgement_;
|
|
}
|
|
inline ::location::nearby::mediums::PacketAcknowledgementFrame* PROTOBUF_NONNULL SocketControlFrame::mutable_packet_acknowledgement()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
::location::nearby::mediums::PacketAcknowledgementFrame* _msg = _internal_mutable_packet_acknowledgement();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.mediums.SocketControlFrame.packet_acknowledgement)
|
|
return _msg;
|
|
}
|
|
inline void SocketControlFrame::set_allocated_packet_acknowledgement(::location::nearby::mediums::PacketAcknowledgementFrame* 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_.packet_acknowledgement_);
|
|
}
|
|
|
|
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_.packet_acknowledgement_ = reinterpret_cast<::location::nearby::mediums::PacketAcknowledgementFrame*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.mediums.SocketControlFrame.packet_acknowledgement)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// IntroductionFrame
|
|
|
|
// optional bytes service_id_hash = 1;
|
|
inline bool IntroductionFrame::has_service_id_hash() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
return value;
|
|
}
|
|
inline void IntroductionFrame::clear_service_id_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.service_id_hash_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline const ::std::string& IntroductionFrame::service_id_hash() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.IntroductionFrame.service_id_hash)
|
|
return _internal_service_id_hash();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void IntroductionFrame::set_service_id_hash(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
_impl_.service_id_hash_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.mediums.IntroductionFrame.service_id_hash)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL IntroductionFrame::mutable_service_id_hash()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::std::string* _s = _internal_mutable_service_id_hash();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.mediums.IntroductionFrame.service_id_hash)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& IntroductionFrame::_internal_service_id_hash() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.service_id_hash_.Get();
|
|
}
|
|
inline void IntroductionFrame::_internal_set_service_id_hash(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.service_id_hash_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL IntroductionFrame::_internal_mutable_service_id_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.service_id_hash_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE IntroductionFrame::release_service_id_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.mediums.IntroductionFrame.service_id_hash)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
auto* released = _impl_.service_id_hash_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.service_id_hash_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void IntroductionFrame::set_allocated_service_id_hash(::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_hash_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.service_id_hash_.IsDefault()) {
|
|
_impl_.service_id_hash_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.mediums.IntroductionFrame.service_id_hash)
|
|
}
|
|
|
|
// optional .location.nearby.mediums.SocketVersion socket_version = 2;
|
|
inline bool IntroductionFrame::has_socket_version() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
return value;
|
|
}
|
|
inline void IntroductionFrame::clear_socket_version() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.socket_version_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000004U);
|
|
}
|
|
inline ::location::nearby::mediums::SocketVersion IntroductionFrame::socket_version() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.IntroductionFrame.socket_version)
|
|
return _internal_socket_version();
|
|
}
|
|
inline void IntroductionFrame::set_socket_version(::location::nearby::mediums::SocketVersion value) {
|
|
_internal_set_socket_version(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.mediums.IntroductionFrame.socket_version)
|
|
}
|
|
inline ::location::nearby::mediums::SocketVersion IntroductionFrame::_internal_socket_version() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return static_cast<::location::nearby::mediums::SocketVersion>(_impl_.socket_version_);
|
|
}
|
|
inline void IntroductionFrame::_internal_set_socket_version(::location::nearby::mediums::SocketVersion value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
assert(::google::protobuf::internal::ValidateEnum(
|
|
value, ::location::nearby::mediums::SocketVersion_internal_data_));
|
|
_impl_.socket_version_ = value;
|
|
}
|
|
|
|
// optional string service_id_hash_salt = 3;
|
|
inline bool IntroductionFrame::has_service_id_hash_salt() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
return value;
|
|
}
|
|
inline void IntroductionFrame::clear_service_id_hash_salt() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.service_id_hash_salt_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline const ::std::string& IntroductionFrame::service_id_hash_salt() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.IntroductionFrame.service_id_hash_salt)
|
|
return _internal_service_id_hash_salt();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void IntroductionFrame::set_service_id_hash_salt(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
_impl_.service_id_hash_salt_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.mediums.IntroductionFrame.service_id_hash_salt)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL IntroductionFrame::mutable_service_id_hash_salt()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::std::string* _s = _internal_mutable_service_id_hash_salt();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.mediums.IntroductionFrame.service_id_hash_salt)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& IntroductionFrame::_internal_service_id_hash_salt() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.service_id_hash_salt_.Get();
|
|
}
|
|
inline void IntroductionFrame::_internal_set_service_id_hash_salt(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.service_id_hash_salt_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL IntroductionFrame::_internal_mutable_service_id_hash_salt() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.service_id_hash_salt_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE IntroductionFrame::release_service_id_hash_salt() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.mediums.IntroductionFrame.service_id_hash_salt)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
auto* released = _impl_.service_id_hash_salt_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.service_id_hash_salt_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void IntroductionFrame::set_allocated_service_id_hash_salt(::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_.service_id_hash_salt_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.service_id_hash_salt_.IsDefault()) {
|
|
_impl_.service_id_hash_salt_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.mediums.IntroductionFrame.service_id_hash_salt)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// DisconnectionFrame
|
|
|
|
// optional bytes service_id_hash = 1;
|
|
inline bool DisconnectionFrame::has_service_id_hash() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
return value;
|
|
}
|
|
inline void DisconnectionFrame::clear_service_id_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.service_id_hash_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline const ::std::string& DisconnectionFrame::service_id_hash() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.DisconnectionFrame.service_id_hash)
|
|
return _internal_service_id_hash();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void DisconnectionFrame::set_service_id_hash(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
_impl_.service_id_hash_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.mediums.DisconnectionFrame.service_id_hash)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL DisconnectionFrame::mutable_service_id_hash()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::std::string* _s = _internal_mutable_service_id_hash();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.mediums.DisconnectionFrame.service_id_hash)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& DisconnectionFrame::_internal_service_id_hash() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.service_id_hash_.Get();
|
|
}
|
|
inline void DisconnectionFrame::_internal_set_service_id_hash(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.service_id_hash_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL DisconnectionFrame::_internal_mutable_service_id_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.service_id_hash_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE DisconnectionFrame::release_service_id_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.mediums.DisconnectionFrame.service_id_hash)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
auto* released = _impl_.service_id_hash_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.service_id_hash_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void DisconnectionFrame::set_allocated_service_id_hash(::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_hash_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.service_id_hash_.IsDefault()) {
|
|
_impl_.service_id_hash_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.mediums.DisconnectionFrame.service_id_hash)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// PacketAcknowledgementFrame
|
|
|
|
// optional bytes service_id_hash = 1;
|
|
inline bool PacketAcknowledgementFrame::has_service_id_hash() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
return value;
|
|
}
|
|
inline void PacketAcknowledgementFrame::clear_service_id_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.service_id_hash_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline const ::std::string& PacketAcknowledgementFrame::service_id_hash() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.PacketAcknowledgementFrame.service_id_hash)
|
|
return _internal_service_id_hash();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void PacketAcknowledgementFrame::set_service_id_hash(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
_impl_.service_id_hash_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.mediums.PacketAcknowledgementFrame.service_id_hash)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL PacketAcknowledgementFrame::mutable_service_id_hash()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::std::string* _s = _internal_mutable_service_id_hash();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.mediums.PacketAcknowledgementFrame.service_id_hash)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& PacketAcknowledgementFrame::_internal_service_id_hash() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.service_id_hash_.Get();
|
|
}
|
|
inline void PacketAcknowledgementFrame::_internal_set_service_id_hash(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.service_id_hash_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL PacketAcknowledgementFrame::_internal_mutable_service_id_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.service_id_hash_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE PacketAcknowledgementFrame::release_service_id_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.mediums.PacketAcknowledgementFrame.service_id_hash)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
auto* released = _impl_.service_id_hash_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.service_id_hash_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void PacketAcknowledgementFrame::set_allocated_service_id_hash(::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_hash_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.service_id_hash_.IsDefault()) {
|
|
_impl_.service_id_hash_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.mediums.PacketAcknowledgementFrame.service_id_hash)
|
|
}
|
|
|
|
// optional int32 received_size = 2;
|
|
inline bool PacketAcknowledgementFrame::has_received_size() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
return value;
|
|
}
|
|
inline void PacketAcknowledgementFrame::clear_received_size() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.received_size_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline ::int32_t PacketAcknowledgementFrame::received_size() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.PacketAcknowledgementFrame.received_size)
|
|
return _internal_received_size();
|
|
}
|
|
inline void PacketAcknowledgementFrame::set_received_size(::int32_t value) {
|
|
_internal_set_received_size(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.mediums.PacketAcknowledgementFrame.received_size)
|
|
}
|
|
inline ::int32_t PacketAcknowledgementFrame::_internal_received_size() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.received_size_;
|
|
}
|
|
inline void PacketAcknowledgementFrame::_internal_set_received_size(::int32_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.received_size_ = value;
|
|
}
|
|
|
|
#ifdef __GNUC__
|
|
#pragma GCC diagnostic pop
|
|
#endif // __GNUC__
|
|
|
|
// @@protoc_insertion_point(namespace_scope)
|
|
} // namespace mediums
|
|
} // namespace nearby
|
|
} // namespace location
|
|
|
|
|
|
namespace google {
|
|
namespace protobuf {
|
|
|
|
template <>
|
|
struct is_proto_enum<::location::nearby::mediums::SocketControlFrame_ControlFrameType> : std::true_type {};
|
|
template <>
|
|
struct is_proto_enum<::location::nearby::mediums::SocketVersion> : std::true_type {};
|
|
|
|
} // namespace protobuf
|
|
} // namespace google
|
|
|
|
// @@protoc_insertion_point(global_scope)
|
|
|
|
#include "google/protobuf/port_undef.inc"
|
|
|
|
#endif // proto_2fmediums_2fble_5fframes_2eproto_2epb_2eh
|