mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 22:56:12 -04:00
2556 lines
118 KiB
C++
2556 lines
118 KiB
C++
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// NO CHECKED-IN PROTOBUF GENCODE
|
|
// source: proto/mediums/multiplex_frames.proto
|
|
// Protobuf C++ Version: 6.33.3
|
|
|
|
#ifndef proto_2fmediums_2fmultiplex_5fframes_2eproto_2epb_2eh
|
|
#define proto_2fmediums_2fmultiplex_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_2fmultiplex_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_2fmultiplex_5fframes_2eproto {
|
|
static const ::uint32_t offsets[];
|
|
};
|
|
namespace location {
|
|
namespace nearby {
|
|
namespace mediums {
|
|
enum ConnectionResponseFrame_ConnectionResponseCode : int;
|
|
extern const uint32_t ConnectionResponseFrame_ConnectionResponseCode_internal_data_[];
|
|
enum MultiplexControlFrame_MultiplexControlFrameType : int;
|
|
extern const uint32_t MultiplexControlFrame_MultiplexControlFrameType_internal_data_[];
|
|
enum MultiplexFrame_MultiplexFrameType : int;
|
|
extern const uint32_t MultiplexFrame_MultiplexFrameType_internal_data_[];
|
|
class ConnectionRequestFrame;
|
|
struct ConnectionRequestFrameDefaultTypeInternal;
|
|
extern ConnectionRequestFrameDefaultTypeInternal _ConnectionRequestFrame_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<47> ConnectionRequestFrame_class_data_;
|
|
class ConnectionResponseFrame;
|
|
struct ConnectionResponseFrameDefaultTypeInternal;
|
|
extern ConnectionResponseFrameDefaultTypeInternal _ConnectionResponseFrame_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<48> ConnectionResponseFrame_class_data_;
|
|
class DisconnectFrame;
|
|
struct DisconnectFrameDefaultTypeInternal;
|
|
extern DisconnectFrameDefaultTypeInternal _DisconnectFrame_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<40> DisconnectFrame_class_data_;
|
|
class MultiplexControlFrame;
|
|
struct MultiplexControlFrameDefaultTypeInternal;
|
|
extern MultiplexControlFrameDefaultTypeInternal _MultiplexControlFrame_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<46> MultiplexControlFrame_class_data_;
|
|
class MultiplexDataFrame;
|
|
struct MultiplexDataFrameDefaultTypeInternal;
|
|
extern MultiplexDataFrameDefaultTypeInternal _MultiplexDataFrame_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<43> MultiplexDataFrame_class_data_;
|
|
class MultiplexFrame;
|
|
struct MultiplexFrameDefaultTypeInternal;
|
|
extern MultiplexFrameDefaultTypeInternal _MultiplexFrame_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<39> MultiplexFrame_class_data_;
|
|
class MultiplexFrameHeader;
|
|
struct MultiplexFrameHeaderDefaultTypeInternal;
|
|
extern MultiplexFrameHeaderDefaultTypeInternal _MultiplexFrameHeader_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<45> MultiplexFrameHeader_class_data_;
|
|
} // namespace mediums
|
|
} // namespace nearby
|
|
} // namespace location
|
|
namespace google {
|
|
namespace protobuf {
|
|
template <>
|
|
internal::EnumTraitsT<::location::nearby::mediums::ConnectionResponseFrame_ConnectionResponseCode_internal_data_>
|
|
internal::EnumTraitsImpl::value<::location::nearby::mediums::ConnectionResponseFrame_ConnectionResponseCode>;
|
|
template <>
|
|
internal::EnumTraitsT<::location::nearby::mediums::MultiplexControlFrame_MultiplexControlFrameType_internal_data_>
|
|
internal::EnumTraitsImpl::value<::location::nearby::mediums::MultiplexControlFrame_MultiplexControlFrameType>;
|
|
template <>
|
|
internal::EnumTraitsT<::location::nearby::mediums::MultiplexFrame_MultiplexFrameType_internal_data_>
|
|
internal::EnumTraitsImpl::value<::location::nearby::mediums::MultiplexFrame_MultiplexFrameType>;
|
|
} // namespace protobuf
|
|
} // namespace google
|
|
|
|
namespace location {
|
|
namespace nearby {
|
|
namespace mediums {
|
|
enum MultiplexFrame_MultiplexFrameType : int {
|
|
MultiplexFrame_MultiplexFrameType_UNKNOWN_FRAME_TYPE = 0,
|
|
MultiplexFrame_MultiplexFrameType_CONTROL_FRAME = 1,
|
|
MultiplexFrame_MultiplexFrameType_DATA_FRAME = 2,
|
|
};
|
|
|
|
extern const uint32_t MultiplexFrame_MultiplexFrameType_internal_data_[];
|
|
inline constexpr MultiplexFrame_MultiplexFrameType MultiplexFrame_MultiplexFrameType_MultiplexFrameType_MIN =
|
|
static_cast<MultiplexFrame_MultiplexFrameType>(0);
|
|
inline constexpr MultiplexFrame_MultiplexFrameType MultiplexFrame_MultiplexFrameType_MultiplexFrameType_MAX =
|
|
static_cast<MultiplexFrame_MultiplexFrameType>(2);
|
|
inline bool MultiplexFrame_MultiplexFrameType_IsValid(int value) {
|
|
return 0 <= value && value <= 2;
|
|
}
|
|
inline constexpr int MultiplexFrame_MultiplexFrameType_MultiplexFrameType_ARRAYSIZE = 2 + 1;
|
|
const ::std::string& MultiplexFrame_MultiplexFrameType_Name(MultiplexFrame_MultiplexFrameType value);
|
|
template <typename T>
|
|
const ::std::string& MultiplexFrame_MultiplexFrameType_Name(T value) {
|
|
static_assert(::std::is_same<T, MultiplexFrame_MultiplexFrameType>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to MultiplexFrameType_Name().");
|
|
return MultiplexFrame_MultiplexFrameType_Name(static_cast<MultiplexFrame_MultiplexFrameType>(value));
|
|
}
|
|
bool MultiplexFrame_MultiplexFrameType_Parse(
|
|
::absl::string_view name, MultiplexFrame_MultiplexFrameType* PROTOBUF_NONNULL value);
|
|
enum MultiplexControlFrame_MultiplexControlFrameType : int {
|
|
MultiplexControlFrame_MultiplexControlFrameType_UNKNOWN_CONTROL_FRAME_TYPE = 0,
|
|
MultiplexControlFrame_MultiplexControlFrameType_CONNECTION_REQUEST = 1,
|
|
MultiplexControlFrame_MultiplexControlFrameType_CONNECTION_RESPONSE = 2,
|
|
MultiplexControlFrame_MultiplexControlFrameType_DISCONNECTION = 3,
|
|
};
|
|
|
|
extern const uint32_t MultiplexControlFrame_MultiplexControlFrameType_internal_data_[];
|
|
inline constexpr MultiplexControlFrame_MultiplexControlFrameType MultiplexControlFrame_MultiplexControlFrameType_MultiplexControlFrameType_MIN =
|
|
static_cast<MultiplexControlFrame_MultiplexControlFrameType>(0);
|
|
inline constexpr MultiplexControlFrame_MultiplexControlFrameType MultiplexControlFrame_MultiplexControlFrameType_MultiplexControlFrameType_MAX =
|
|
static_cast<MultiplexControlFrame_MultiplexControlFrameType>(3);
|
|
inline bool MultiplexControlFrame_MultiplexControlFrameType_IsValid(int value) {
|
|
return 0 <= value && value <= 3;
|
|
}
|
|
inline constexpr int MultiplexControlFrame_MultiplexControlFrameType_MultiplexControlFrameType_ARRAYSIZE = 3 + 1;
|
|
const ::std::string& MultiplexControlFrame_MultiplexControlFrameType_Name(MultiplexControlFrame_MultiplexControlFrameType value);
|
|
template <typename T>
|
|
const ::std::string& MultiplexControlFrame_MultiplexControlFrameType_Name(T value) {
|
|
static_assert(::std::is_same<T, MultiplexControlFrame_MultiplexControlFrameType>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to MultiplexControlFrameType_Name().");
|
|
return MultiplexControlFrame_MultiplexControlFrameType_Name(static_cast<MultiplexControlFrame_MultiplexControlFrameType>(value));
|
|
}
|
|
bool MultiplexControlFrame_MultiplexControlFrameType_Parse(
|
|
::absl::string_view name, MultiplexControlFrame_MultiplexControlFrameType* PROTOBUF_NONNULL value);
|
|
enum ConnectionResponseFrame_ConnectionResponseCode : int {
|
|
ConnectionResponseFrame_ConnectionResponseCode_UNKNOWN_RESPONSE_CODE = 0,
|
|
ConnectionResponseFrame_ConnectionResponseCode_CONNECTION_ACCEPTED = 1,
|
|
ConnectionResponseFrame_ConnectionResponseCode_NOT_LISTENING = 2,
|
|
};
|
|
|
|
extern const uint32_t ConnectionResponseFrame_ConnectionResponseCode_internal_data_[];
|
|
inline constexpr ConnectionResponseFrame_ConnectionResponseCode ConnectionResponseFrame_ConnectionResponseCode_ConnectionResponseCode_MIN =
|
|
static_cast<ConnectionResponseFrame_ConnectionResponseCode>(0);
|
|
inline constexpr ConnectionResponseFrame_ConnectionResponseCode ConnectionResponseFrame_ConnectionResponseCode_ConnectionResponseCode_MAX =
|
|
static_cast<ConnectionResponseFrame_ConnectionResponseCode>(2);
|
|
inline bool ConnectionResponseFrame_ConnectionResponseCode_IsValid(int value) {
|
|
return 0 <= value && value <= 2;
|
|
}
|
|
inline constexpr int ConnectionResponseFrame_ConnectionResponseCode_ConnectionResponseCode_ARRAYSIZE = 2 + 1;
|
|
const ::std::string& ConnectionResponseFrame_ConnectionResponseCode_Name(ConnectionResponseFrame_ConnectionResponseCode value);
|
|
template <typename T>
|
|
const ::std::string& ConnectionResponseFrame_ConnectionResponseCode_Name(T value) {
|
|
static_assert(::std::is_same<T, ConnectionResponseFrame_ConnectionResponseCode>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to ConnectionResponseCode_Name().");
|
|
return ConnectionResponseFrame_ConnectionResponseCode_Name(static_cast<ConnectionResponseFrame_ConnectionResponseCode>(value));
|
|
}
|
|
bool ConnectionResponseFrame_ConnectionResponseCode_Parse(
|
|
::absl::string_view name, ConnectionResponseFrame_ConnectionResponseCode* PROTOBUF_NONNULL value);
|
|
|
|
// ===================================================================
|
|
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
class MultiplexFrameHeader final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.mediums.MultiplexFrameHeader) */ {
|
|
public:
|
|
inline MultiplexFrameHeader() : MultiplexFrameHeader(nullptr) {}
|
|
~MultiplexFrameHeader() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(MultiplexFrameHeader* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(MultiplexFrameHeader));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR MultiplexFrameHeader(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline MultiplexFrameHeader(const MultiplexFrameHeader& from) : MultiplexFrameHeader(nullptr, from) {}
|
|
inline MultiplexFrameHeader(MultiplexFrameHeader&& from) noexcept
|
|
: MultiplexFrameHeader(nullptr, ::std::move(from)) {}
|
|
inline MultiplexFrameHeader& operator=(const MultiplexFrameHeader& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline MultiplexFrameHeader& operator=(MultiplexFrameHeader&& 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 MultiplexFrameHeader& default_instance() {
|
|
return *reinterpret_cast<const MultiplexFrameHeader*>(
|
|
&_MultiplexFrameHeader_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 1;
|
|
friend void swap(MultiplexFrameHeader& a, MultiplexFrameHeader& b) { a.Swap(&b); }
|
|
inline void Swap(MultiplexFrameHeader* 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(MultiplexFrameHeader* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
MultiplexFrameHeader* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<MultiplexFrameHeader>(arena);
|
|
}
|
|
void CopyFrom(const MultiplexFrameHeader& from);
|
|
void MergeFrom(const MultiplexFrameHeader& from) { MultiplexFrameHeader::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(MultiplexFrameHeader* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.mediums.MultiplexFrameHeader"; }
|
|
|
|
explicit MultiplexFrameHeader(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
MultiplexFrameHeader(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MultiplexFrameHeader& from);
|
|
MultiplexFrameHeader(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MultiplexFrameHeader&& from) noexcept
|
|
: MultiplexFrameHeader(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 {
|
|
kSaltedServiceIdHashFieldNumber = 1,
|
|
kServiceIdHashSaltFieldNumber = 2,
|
|
};
|
|
// optional bytes salted_service_id_hash = 1;
|
|
bool has_salted_service_id_hash() const;
|
|
void clear_salted_service_id_hash() ;
|
|
const ::std::string& salted_service_id_hash() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_salted_service_id_hash(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_salted_service_id_hash();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_salted_service_id_hash();
|
|
void set_allocated_salted_service_id_hash(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_salted_service_id_hash() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_salted_service_id_hash(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_salted_service_id_hash();
|
|
|
|
public:
|
|
// optional string service_id_hash_salt = 2;
|
|
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:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.mediums.MultiplexFrameHeader)
|
|
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 MultiplexFrameHeader& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr salted_service_id_hash_;
|
|
::google::protobuf::internal::ArenaStringPtr service_id_hash_salt_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_proto_2fmediums_2fmultiplex_5fframes_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<45> MultiplexFrameHeader_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class MultiplexDataFrame final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.mediums.MultiplexDataFrame) */ {
|
|
public:
|
|
inline MultiplexDataFrame() : MultiplexDataFrame(nullptr) {}
|
|
~MultiplexDataFrame() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(MultiplexDataFrame* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(MultiplexDataFrame));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR MultiplexDataFrame(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline MultiplexDataFrame(const MultiplexDataFrame& from) : MultiplexDataFrame(nullptr, from) {}
|
|
inline MultiplexDataFrame(MultiplexDataFrame&& from) noexcept
|
|
: MultiplexDataFrame(nullptr, ::std::move(from)) {}
|
|
inline MultiplexDataFrame& operator=(const MultiplexDataFrame& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline MultiplexDataFrame& operator=(MultiplexDataFrame&& 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 MultiplexDataFrame& default_instance() {
|
|
return *reinterpret_cast<const MultiplexDataFrame*>(
|
|
&_MultiplexDataFrame_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 6;
|
|
friend void swap(MultiplexDataFrame& a, MultiplexDataFrame& b) { a.Swap(&b); }
|
|
inline void Swap(MultiplexDataFrame* 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(MultiplexDataFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
MultiplexDataFrame* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<MultiplexDataFrame>(arena);
|
|
}
|
|
void CopyFrom(const MultiplexDataFrame& from);
|
|
void MergeFrom(const MultiplexDataFrame& from) { MultiplexDataFrame::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(MultiplexDataFrame* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.mediums.MultiplexDataFrame"; }
|
|
|
|
explicit MultiplexDataFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
MultiplexDataFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MultiplexDataFrame& from);
|
|
MultiplexDataFrame(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MultiplexDataFrame&& from) noexcept
|
|
: MultiplexDataFrame(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 {
|
|
kDataFieldNumber = 1,
|
|
};
|
|
// optional bytes data = 1;
|
|
bool has_data() const;
|
|
void clear_data() ;
|
|
const ::std::string& data() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_data(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_data();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_data();
|
|
void set_allocated_data(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_data() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_data(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_data();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.mediums.MultiplexDataFrame)
|
|
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 MultiplexDataFrame& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr data_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_proto_2fmediums_2fmultiplex_5fframes_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<43> MultiplexDataFrame_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class DisconnectFrame final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.mediums.DisconnectFrame) */ {
|
|
public:
|
|
inline DisconnectFrame() : DisconnectFrame(nullptr) {}
|
|
~DisconnectFrame() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(DisconnectFrame* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(DisconnectFrame));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR DisconnectFrame(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline DisconnectFrame(const DisconnectFrame& from) : DisconnectFrame(nullptr, from) {}
|
|
inline DisconnectFrame(DisconnectFrame&& from) noexcept
|
|
: DisconnectFrame(nullptr, ::std::move(from)) {}
|
|
inline DisconnectFrame& operator=(const DisconnectFrame& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline DisconnectFrame& operator=(DisconnectFrame&& 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 DisconnectFrame& default_instance() {
|
|
return *reinterpret_cast<const DisconnectFrame*>(
|
|
&_DisconnectFrame_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 5;
|
|
friend void swap(DisconnectFrame& a, DisconnectFrame& b) { a.Swap(&b); }
|
|
inline void Swap(DisconnectFrame* 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(DisconnectFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
DisconnectFrame* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<DisconnectFrame>(arena);
|
|
}
|
|
void CopyFrom(const DisconnectFrame& from);
|
|
void MergeFrom(const DisconnectFrame& from) { DisconnectFrame::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(DisconnectFrame* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.mediums.DisconnectFrame"; }
|
|
|
|
explicit DisconnectFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
DisconnectFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const DisconnectFrame& from);
|
|
DisconnectFrame(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, DisconnectFrame&& from) noexcept
|
|
: DisconnectFrame(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 -------------------------------------------------------
|
|
// @@protoc_insertion_point(class_scope:location.nearby.mediums.DisconnectFrame)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 0,
|
|
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 DisconnectFrame& from_msg);
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_proto_2fmediums_2fmultiplex_5fframes_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<40> DisconnectFrame_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class ConnectionResponseFrame final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.mediums.ConnectionResponseFrame) */ {
|
|
public:
|
|
inline ConnectionResponseFrame() : ConnectionResponseFrame(nullptr) {}
|
|
~ConnectionResponseFrame() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(ConnectionResponseFrame* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(ConnectionResponseFrame));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR ConnectionResponseFrame(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline ConnectionResponseFrame(const ConnectionResponseFrame& from) : ConnectionResponseFrame(nullptr, from) {}
|
|
inline ConnectionResponseFrame(ConnectionResponseFrame&& from) noexcept
|
|
: ConnectionResponseFrame(nullptr, ::std::move(from)) {}
|
|
inline ConnectionResponseFrame& operator=(const ConnectionResponseFrame& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ConnectionResponseFrame& operator=(ConnectionResponseFrame&& 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 ConnectionResponseFrame& default_instance() {
|
|
return *reinterpret_cast<const ConnectionResponseFrame*>(
|
|
&_ConnectionResponseFrame_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 4;
|
|
friend void swap(ConnectionResponseFrame& a, ConnectionResponseFrame& b) { a.Swap(&b); }
|
|
inline void Swap(ConnectionResponseFrame* 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(ConnectionResponseFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
ConnectionResponseFrame* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<ConnectionResponseFrame>(arena);
|
|
}
|
|
void CopyFrom(const ConnectionResponseFrame& from);
|
|
void MergeFrom(const ConnectionResponseFrame& from) { ConnectionResponseFrame::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(ConnectionResponseFrame* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.mediums.ConnectionResponseFrame"; }
|
|
|
|
explicit ConnectionResponseFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
ConnectionResponseFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ConnectionResponseFrame& from);
|
|
ConnectionResponseFrame(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ConnectionResponseFrame&& from) noexcept
|
|
: ConnectionResponseFrame(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 ConnectionResponseCode = ConnectionResponseFrame_ConnectionResponseCode;
|
|
static constexpr ConnectionResponseCode UNKNOWN_RESPONSE_CODE = ConnectionResponseFrame_ConnectionResponseCode_UNKNOWN_RESPONSE_CODE;
|
|
static constexpr ConnectionResponseCode CONNECTION_ACCEPTED = ConnectionResponseFrame_ConnectionResponseCode_CONNECTION_ACCEPTED;
|
|
static constexpr ConnectionResponseCode NOT_LISTENING = ConnectionResponseFrame_ConnectionResponseCode_NOT_LISTENING;
|
|
static inline bool ConnectionResponseCode_IsValid(int value) {
|
|
return ConnectionResponseFrame_ConnectionResponseCode_IsValid(value);
|
|
}
|
|
static constexpr ConnectionResponseCode ConnectionResponseCode_MIN = ConnectionResponseFrame_ConnectionResponseCode_ConnectionResponseCode_MIN;
|
|
static constexpr ConnectionResponseCode ConnectionResponseCode_MAX = ConnectionResponseFrame_ConnectionResponseCode_ConnectionResponseCode_MAX;
|
|
static constexpr int ConnectionResponseCode_ARRAYSIZE = ConnectionResponseFrame_ConnectionResponseCode_ConnectionResponseCode_ARRAYSIZE;
|
|
template <typename T>
|
|
static inline const ::std::string& ConnectionResponseCode_Name(T value) {
|
|
return ConnectionResponseFrame_ConnectionResponseCode_Name(value);
|
|
}
|
|
static inline bool ConnectionResponseCode_Parse(
|
|
::absl::string_view name, ConnectionResponseCode* PROTOBUF_NONNULL value) {
|
|
return ConnectionResponseFrame_ConnectionResponseCode_Parse(name, value);
|
|
}
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kConnectionResponseCodeFieldNumber = 1,
|
|
};
|
|
// optional .location.nearby.mediums.ConnectionResponseFrame.ConnectionResponseCode connection_response_code = 1;
|
|
bool has_connection_response_code() const;
|
|
void clear_connection_response_code() ;
|
|
::location::nearby::mediums::ConnectionResponseFrame_ConnectionResponseCode connection_response_code() const;
|
|
void set_connection_response_code(::location::nearby::mediums::ConnectionResponseFrame_ConnectionResponseCode value);
|
|
|
|
private:
|
|
::location::nearby::mediums::ConnectionResponseFrame_ConnectionResponseCode _internal_connection_response_code() const;
|
|
void _internal_set_connection_response_code(::location::nearby::mediums::ConnectionResponseFrame_ConnectionResponseCode value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.mediums.ConnectionResponseFrame)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 1,
|
|
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 ConnectionResponseFrame& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
int connection_response_code_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_proto_2fmediums_2fmultiplex_5fframes_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<48> ConnectionResponseFrame_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class ConnectionRequestFrame final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.mediums.ConnectionRequestFrame) */ {
|
|
public:
|
|
inline ConnectionRequestFrame() : ConnectionRequestFrame(nullptr) {}
|
|
~ConnectionRequestFrame() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(ConnectionRequestFrame* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(ConnectionRequestFrame));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR ConnectionRequestFrame(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline ConnectionRequestFrame(const ConnectionRequestFrame& from) : ConnectionRequestFrame(nullptr, from) {}
|
|
inline ConnectionRequestFrame(ConnectionRequestFrame&& from) noexcept
|
|
: ConnectionRequestFrame(nullptr, ::std::move(from)) {}
|
|
inline ConnectionRequestFrame& operator=(const ConnectionRequestFrame& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ConnectionRequestFrame& operator=(ConnectionRequestFrame&& 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 ConnectionRequestFrame& default_instance() {
|
|
return *reinterpret_cast<const ConnectionRequestFrame*>(
|
|
&_ConnectionRequestFrame_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 3;
|
|
friend void swap(ConnectionRequestFrame& a, ConnectionRequestFrame& b) { a.Swap(&b); }
|
|
inline void Swap(ConnectionRequestFrame* 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(ConnectionRequestFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
ConnectionRequestFrame* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<ConnectionRequestFrame>(arena);
|
|
}
|
|
void CopyFrom(const ConnectionRequestFrame& from);
|
|
void MergeFrom(const ConnectionRequestFrame& from) { ConnectionRequestFrame::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(ConnectionRequestFrame* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.mediums.ConnectionRequestFrame"; }
|
|
|
|
explicit ConnectionRequestFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
ConnectionRequestFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ConnectionRequestFrame& from);
|
|
ConnectionRequestFrame(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ConnectionRequestFrame&& from) noexcept
|
|
: ConnectionRequestFrame(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 -------------------------------------------------------
|
|
// @@protoc_insertion_point(class_scope:location.nearby.mediums.ConnectionRequestFrame)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 0,
|
|
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 ConnectionRequestFrame& from_msg);
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_proto_2fmediums_2fmultiplex_5fframes_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<47> ConnectionRequestFrame_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class MultiplexControlFrame final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.mediums.MultiplexControlFrame) */ {
|
|
public:
|
|
inline MultiplexControlFrame() : MultiplexControlFrame(nullptr) {}
|
|
~MultiplexControlFrame() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(MultiplexControlFrame* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(MultiplexControlFrame));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR MultiplexControlFrame(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline MultiplexControlFrame(const MultiplexControlFrame& from) : MultiplexControlFrame(nullptr, from) {}
|
|
inline MultiplexControlFrame(MultiplexControlFrame&& from) noexcept
|
|
: MultiplexControlFrame(nullptr, ::std::move(from)) {}
|
|
inline MultiplexControlFrame& operator=(const MultiplexControlFrame& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline MultiplexControlFrame& operator=(MultiplexControlFrame&& 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 MultiplexControlFrame& default_instance() {
|
|
return *reinterpret_cast<const MultiplexControlFrame*>(
|
|
&_MultiplexControlFrame_default_instance_);
|
|
}
|
|
enum FrameCase {
|
|
kConnectionRequestFrame = 2,
|
|
kConnectionResponseFrame = 3,
|
|
kDisconnectFrame = 4,
|
|
FRAME_NOT_SET = 0,
|
|
};
|
|
static constexpr int kIndexInFileMessages = 2;
|
|
friend void swap(MultiplexControlFrame& a, MultiplexControlFrame& b) { a.Swap(&b); }
|
|
inline void Swap(MultiplexControlFrame* 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(MultiplexControlFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
MultiplexControlFrame* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<MultiplexControlFrame>(arena);
|
|
}
|
|
void CopyFrom(const MultiplexControlFrame& from);
|
|
void MergeFrom(const MultiplexControlFrame& from) { MultiplexControlFrame::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(MultiplexControlFrame* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.mediums.MultiplexControlFrame"; }
|
|
|
|
explicit MultiplexControlFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
MultiplexControlFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MultiplexControlFrame& from);
|
|
MultiplexControlFrame(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MultiplexControlFrame&& from) noexcept
|
|
: MultiplexControlFrame(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 MultiplexControlFrameType = MultiplexControlFrame_MultiplexControlFrameType;
|
|
static constexpr MultiplexControlFrameType UNKNOWN_CONTROL_FRAME_TYPE = MultiplexControlFrame_MultiplexControlFrameType_UNKNOWN_CONTROL_FRAME_TYPE;
|
|
static constexpr MultiplexControlFrameType CONNECTION_REQUEST = MultiplexControlFrame_MultiplexControlFrameType_CONNECTION_REQUEST;
|
|
static constexpr MultiplexControlFrameType CONNECTION_RESPONSE = MultiplexControlFrame_MultiplexControlFrameType_CONNECTION_RESPONSE;
|
|
static constexpr MultiplexControlFrameType DISCONNECTION = MultiplexControlFrame_MultiplexControlFrameType_DISCONNECTION;
|
|
static inline bool MultiplexControlFrameType_IsValid(int value) {
|
|
return MultiplexControlFrame_MultiplexControlFrameType_IsValid(value);
|
|
}
|
|
static constexpr MultiplexControlFrameType MultiplexControlFrameType_MIN = MultiplexControlFrame_MultiplexControlFrameType_MultiplexControlFrameType_MIN;
|
|
static constexpr MultiplexControlFrameType MultiplexControlFrameType_MAX = MultiplexControlFrame_MultiplexControlFrameType_MultiplexControlFrameType_MAX;
|
|
static constexpr int MultiplexControlFrameType_ARRAYSIZE = MultiplexControlFrame_MultiplexControlFrameType_MultiplexControlFrameType_ARRAYSIZE;
|
|
template <typename T>
|
|
static inline const ::std::string& MultiplexControlFrameType_Name(T value) {
|
|
return MultiplexControlFrame_MultiplexControlFrameType_Name(value);
|
|
}
|
|
static inline bool MultiplexControlFrameType_Parse(
|
|
::absl::string_view name, MultiplexControlFrameType* PROTOBUF_NONNULL value) {
|
|
return MultiplexControlFrame_MultiplexControlFrameType_Parse(name, value);
|
|
}
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kControlFrameTypeFieldNumber = 1,
|
|
kConnectionRequestFrameFieldNumber = 2,
|
|
kConnectionResponseFrameFieldNumber = 3,
|
|
kDisconnectFrameFieldNumber = 4,
|
|
};
|
|
// optional .location.nearby.mediums.MultiplexControlFrame.MultiplexControlFrameType control_frame_type = 1;
|
|
bool has_control_frame_type() const;
|
|
void clear_control_frame_type() ;
|
|
::location::nearby::mediums::MultiplexControlFrame_MultiplexControlFrameType control_frame_type() const;
|
|
void set_control_frame_type(::location::nearby::mediums::MultiplexControlFrame_MultiplexControlFrameType value);
|
|
|
|
private:
|
|
::location::nearby::mediums::MultiplexControlFrame_MultiplexControlFrameType _internal_control_frame_type() const;
|
|
void _internal_set_control_frame_type(::location::nearby::mediums::MultiplexControlFrame_MultiplexControlFrameType value);
|
|
|
|
public:
|
|
// .location.nearby.mediums.ConnectionRequestFrame connection_request_frame = 2;
|
|
bool has_connection_request_frame() const;
|
|
private:
|
|
bool _internal_has_connection_request_frame() const;
|
|
|
|
public:
|
|
void clear_connection_request_frame() ;
|
|
const ::location::nearby::mediums::ConnectionRequestFrame& connection_request_frame() const;
|
|
[[nodiscard]] ::location::nearby::mediums::ConnectionRequestFrame* PROTOBUF_NULLABLE release_connection_request_frame();
|
|
::location::nearby::mediums::ConnectionRequestFrame* PROTOBUF_NONNULL mutable_connection_request_frame();
|
|
void set_allocated_connection_request_frame(::location::nearby::mediums::ConnectionRequestFrame* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_connection_request_frame(::location::nearby::mediums::ConnectionRequestFrame* PROTOBUF_NULLABLE value);
|
|
::location::nearby::mediums::ConnectionRequestFrame* PROTOBUF_NULLABLE unsafe_arena_release_connection_request_frame();
|
|
|
|
private:
|
|
const ::location::nearby::mediums::ConnectionRequestFrame& _internal_connection_request_frame() const;
|
|
::location::nearby::mediums::ConnectionRequestFrame* PROTOBUF_NONNULL _internal_mutable_connection_request_frame();
|
|
|
|
public:
|
|
// .location.nearby.mediums.ConnectionResponseFrame connection_response_frame = 3;
|
|
bool has_connection_response_frame() const;
|
|
private:
|
|
bool _internal_has_connection_response_frame() const;
|
|
|
|
public:
|
|
void clear_connection_response_frame() ;
|
|
const ::location::nearby::mediums::ConnectionResponseFrame& connection_response_frame() const;
|
|
[[nodiscard]] ::location::nearby::mediums::ConnectionResponseFrame* PROTOBUF_NULLABLE release_connection_response_frame();
|
|
::location::nearby::mediums::ConnectionResponseFrame* PROTOBUF_NONNULL mutable_connection_response_frame();
|
|
void set_allocated_connection_response_frame(::location::nearby::mediums::ConnectionResponseFrame* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_connection_response_frame(::location::nearby::mediums::ConnectionResponseFrame* PROTOBUF_NULLABLE value);
|
|
::location::nearby::mediums::ConnectionResponseFrame* PROTOBUF_NULLABLE unsafe_arena_release_connection_response_frame();
|
|
|
|
private:
|
|
const ::location::nearby::mediums::ConnectionResponseFrame& _internal_connection_response_frame() const;
|
|
::location::nearby::mediums::ConnectionResponseFrame* PROTOBUF_NONNULL _internal_mutable_connection_response_frame();
|
|
|
|
public:
|
|
// .location.nearby.mediums.DisconnectFrame disconnect_frame = 4;
|
|
bool has_disconnect_frame() const;
|
|
private:
|
|
bool _internal_has_disconnect_frame() const;
|
|
|
|
public:
|
|
void clear_disconnect_frame() ;
|
|
const ::location::nearby::mediums::DisconnectFrame& disconnect_frame() const;
|
|
[[nodiscard]] ::location::nearby::mediums::DisconnectFrame* PROTOBUF_NULLABLE release_disconnect_frame();
|
|
::location::nearby::mediums::DisconnectFrame* PROTOBUF_NONNULL mutable_disconnect_frame();
|
|
void set_allocated_disconnect_frame(::location::nearby::mediums::DisconnectFrame* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_disconnect_frame(::location::nearby::mediums::DisconnectFrame* PROTOBUF_NULLABLE value);
|
|
::location::nearby::mediums::DisconnectFrame* PROTOBUF_NULLABLE unsafe_arena_release_disconnect_frame();
|
|
|
|
private:
|
|
const ::location::nearby::mediums::DisconnectFrame& _internal_disconnect_frame() const;
|
|
::location::nearby::mediums::DisconnectFrame* PROTOBUF_NONNULL _internal_mutable_disconnect_frame();
|
|
|
|
public:
|
|
void clear_Frame();
|
|
FrameCase Frame_case() const;
|
|
// @@protoc_insertion_point(class_scope:location.nearby.mediums.MultiplexControlFrame)
|
|
private:
|
|
class _Internal;
|
|
void set_has_connection_request_frame();
|
|
void set_has_connection_response_frame();
|
|
void set_has_disconnect_frame();
|
|
inline bool has_Frame() const;
|
|
inline void clear_has_Frame();
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<0, 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 MultiplexControlFrame& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
int control_frame_type_;
|
|
union FrameUnion {
|
|
constexpr FrameUnion() : _constinit_{} {}
|
|
::google::protobuf::internal::ConstantInitialized _constinit_;
|
|
::google::protobuf::MessageLite* PROTOBUF_NULLABLE connection_request_frame_;
|
|
::google::protobuf::MessageLite* PROTOBUF_NULLABLE connection_response_frame_;
|
|
::google::protobuf::MessageLite* PROTOBUF_NULLABLE disconnect_frame_;
|
|
} Frame_;
|
|
::uint32_t _oneof_case_[1];
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_proto_2fmediums_2fmultiplex_5fframes_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<46> MultiplexControlFrame_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class MultiplexFrame final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.mediums.MultiplexFrame) */ {
|
|
public:
|
|
inline MultiplexFrame() : MultiplexFrame(nullptr) {}
|
|
~MultiplexFrame() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(MultiplexFrame* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(MultiplexFrame));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR MultiplexFrame(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline MultiplexFrame(const MultiplexFrame& from) : MultiplexFrame(nullptr, from) {}
|
|
inline MultiplexFrame(MultiplexFrame&& from) noexcept
|
|
: MultiplexFrame(nullptr, ::std::move(from)) {}
|
|
inline MultiplexFrame& operator=(const MultiplexFrame& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline MultiplexFrame& operator=(MultiplexFrame&& 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 MultiplexFrame& default_instance() {
|
|
return *reinterpret_cast<const MultiplexFrame*>(
|
|
&_MultiplexFrame_default_instance_);
|
|
}
|
|
enum FrameCase {
|
|
kControlFrame = 3,
|
|
kDataFrame = 4,
|
|
FRAME_NOT_SET = 0,
|
|
};
|
|
static constexpr int kIndexInFileMessages = 0;
|
|
friend void swap(MultiplexFrame& a, MultiplexFrame& b) { a.Swap(&b); }
|
|
inline void Swap(MultiplexFrame* 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(MultiplexFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
MultiplexFrame* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<MultiplexFrame>(arena);
|
|
}
|
|
void CopyFrom(const MultiplexFrame& from);
|
|
void MergeFrom(const MultiplexFrame& from) { MultiplexFrame::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(MultiplexFrame* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.mediums.MultiplexFrame"; }
|
|
|
|
explicit MultiplexFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
MultiplexFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MultiplexFrame& from);
|
|
MultiplexFrame(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MultiplexFrame&& from) noexcept
|
|
: MultiplexFrame(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 MultiplexFrameType = MultiplexFrame_MultiplexFrameType;
|
|
static constexpr MultiplexFrameType UNKNOWN_FRAME_TYPE = MultiplexFrame_MultiplexFrameType_UNKNOWN_FRAME_TYPE;
|
|
static constexpr MultiplexFrameType CONTROL_FRAME = MultiplexFrame_MultiplexFrameType_CONTROL_FRAME;
|
|
static constexpr MultiplexFrameType DATA_FRAME = MultiplexFrame_MultiplexFrameType_DATA_FRAME;
|
|
static inline bool MultiplexFrameType_IsValid(int value) {
|
|
return MultiplexFrame_MultiplexFrameType_IsValid(value);
|
|
}
|
|
static constexpr MultiplexFrameType MultiplexFrameType_MIN = MultiplexFrame_MultiplexFrameType_MultiplexFrameType_MIN;
|
|
static constexpr MultiplexFrameType MultiplexFrameType_MAX = MultiplexFrame_MultiplexFrameType_MultiplexFrameType_MAX;
|
|
static constexpr int MultiplexFrameType_ARRAYSIZE = MultiplexFrame_MultiplexFrameType_MultiplexFrameType_ARRAYSIZE;
|
|
template <typename T>
|
|
static inline const ::std::string& MultiplexFrameType_Name(T value) {
|
|
return MultiplexFrame_MultiplexFrameType_Name(value);
|
|
}
|
|
static inline bool MultiplexFrameType_Parse(
|
|
::absl::string_view name, MultiplexFrameType* PROTOBUF_NONNULL value) {
|
|
return MultiplexFrame_MultiplexFrameType_Parse(name, value);
|
|
}
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kHeaderFieldNumber = 1,
|
|
kFrameTypeFieldNumber = 2,
|
|
kControlFrameFieldNumber = 3,
|
|
kDataFrameFieldNumber = 4,
|
|
};
|
|
// optional .location.nearby.mediums.MultiplexFrameHeader header = 1;
|
|
bool has_header() const;
|
|
void clear_header() ;
|
|
const ::location::nearby::mediums::MultiplexFrameHeader& header() const;
|
|
[[nodiscard]] ::location::nearby::mediums::MultiplexFrameHeader* PROTOBUF_NULLABLE release_header();
|
|
::location::nearby::mediums::MultiplexFrameHeader* PROTOBUF_NONNULL mutable_header();
|
|
void set_allocated_header(::location::nearby::mediums::MultiplexFrameHeader* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_header(::location::nearby::mediums::MultiplexFrameHeader* PROTOBUF_NULLABLE value);
|
|
::location::nearby::mediums::MultiplexFrameHeader* PROTOBUF_NULLABLE unsafe_arena_release_header();
|
|
|
|
private:
|
|
const ::location::nearby::mediums::MultiplexFrameHeader& _internal_header() const;
|
|
::location::nearby::mediums::MultiplexFrameHeader* PROTOBUF_NONNULL _internal_mutable_header();
|
|
|
|
public:
|
|
// optional .location.nearby.mediums.MultiplexFrame.MultiplexFrameType frame_type = 2;
|
|
bool has_frame_type() const;
|
|
void clear_frame_type() ;
|
|
::location::nearby::mediums::MultiplexFrame_MultiplexFrameType frame_type() const;
|
|
void set_frame_type(::location::nearby::mediums::MultiplexFrame_MultiplexFrameType value);
|
|
|
|
private:
|
|
::location::nearby::mediums::MultiplexFrame_MultiplexFrameType _internal_frame_type() const;
|
|
void _internal_set_frame_type(::location::nearby::mediums::MultiplexFrame_MultiplexFrameType value);
|
|
|
|
public:
|
|
// .location.nearby.mediums.MultiplexControlFrame control_frame = 3;
|
|
bool has_control_frame() const;
|
|
private:
|
|
bool _internal_has_control_frame() const;
|
|
|
|
public:
|
|
void clear_control_frame() ;
|
|
const ::location::nearby::mediums::MultiplexControlFrame& control_frame() const;
|
|
[[nodiscard]] ::location::nearby::mediums::MultiplexControlFrame* PROTOBUF_NULLABLE release_control_frame();
|
|
::location::nearby::mediums::MultiplexControlFrame* PROTOBUF_NONNULL mutable_control_frame();
|
|
void set_allocated_control_frame(::location::nearby::mediums::MultiplexControlFrame* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_control_frame(::location::nearby::mediums::MultiplexControlFrame* PROTOBUF_NULLABLE value);
|
|
::location::nearby::mediums::MultiplexControlFrame* PROTOBUF_NULLABLE unsafe_arena_release_control_frame();
|
|
|
|
private:
|
|
const ::location::nearby::mediums::MultiplexControlFrame& _internal_control_frame() const;
|
|
::location::nearby::mediums::MultiplexControlFrame* PROTOBUF_NONNULL _internal_mutable_control_frame();
|
|
|
|
public:
|
|
// .location.nearby.mediums.MultiplexDataFrame data_frame = 4;
|
|
bool has_data_frame() const;
|
|
private:
|
|
bool _internal_has_data_frame() const;
|
|
|
|
public:
|
|
void clear_data_frame() ;
|
|
const ::location::nearby::mediums::MultiplexDataFrame& data_frame() const;
|
|
[[nodiscard]] ::location::nearby::mediums::MultiplexDataFrame* PROTOBUF_NULLABLE release_data_frame();
|
|
::location::nearby::mediums::MultiplexDataFrame* PROTOBUF_NONNULL mutable_data_frame();
|
|
void set_allocated_data_frame(::location::nearby::mediums::MultiplexDataFrame* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_data_frame(::location::nearby::mediums::MultiplexDataFrame* PROTOBUF_NULLABLE value);
|
|
::location::nearby::mediums::MultiplexDataFrame* PROTOBUF_NULLABLE unsafe_arena_release_data_frame();
|
|
|
|
private:
|
|
const ::location::nearby::mediums::MultiplexDataFrame& _internal_data_frame() const;
|
|
::location::nearby::mediums::MultiplexDataFrame* PROTOBUF_NONNULL _internal_mutable_data_frame();
|
|
|
|
public:
|
|
void clear_Frame();
|
|
FrameCase Frame_case() const;
|
|
// @@protoc_insertion_point(class_scope:location.nearby.mediums.MultiplexFrame)
|
|
private:
|
|
class _Internal;
|
|
void set_has_control_frame();
|
|
void set_has_data_frame();
|
|
inline bool has_Frame() const;
|
|
inline void clear_has_Frame();
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<1, 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 MultiplexFrame& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::location::nearby::mediums::MultiplexFrameHeader* PROTOBUF_NULLABLE header_;
|
|
int frame_type_;
|
|
union FrameUnion {
|
|
constexpr FrameUnion() : _constinit_{} {}
|
|
::google::protobuf::internal::ConstantInitialized _constinit_;
|
|
::location::nearby::mediums::MultiplexControlFrame* PROTOBUF_NULLABLE control_frame_;
|
|
::location::nearby::mediums::MultiplexDataFrame* PROTOBUF_NULLABLE data_frame_;
|
|
} Frame_;
|
|
::uint32_t _oneof_case_[1];
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_proto_2fmediums_2fmultiplex_5fframes_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<39> MultiplexFrame_class_data_;
|
|
|
|
// ===================================================================
|
|
|
|
|
|
|
|
|
|
// ===================================================================
|
|
|
|
|
|
#ifdef __GNUC__
|
|
#pragma GCC diagnostic push
|
|
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
|
#endif // __GNUC__
|
|
// -------------------------------------------------------------------
|
|
|
|
// MultiplexFrame
|
|
|
|
// optional .location.nearby.mediums.MultiplexFrameHeader header = 1;
|
|
inline bool MultiplexFrame::has_header() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
PROTOBUF_ASSUME(!value || _impl_.header_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void MultiplexFrame::clear_header() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.header_ != nullptr) _impl_.header_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline const ::location::nearby::mediums::MultiplexFrameHeader& MultiplexFrame::_internal_header() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::mediums::MultiplexFrameHeader* p = _impl_.header_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::mediums::MultiplexFrameHeader&>(::location::nearby::mediums::_MultiplexFrameHeader_default_instance_);
|
|
}
|
|
inline const ::location::nearby::mediums::MultiplexFrameHeader& MultiplexFrame::header() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.MultiplexFrame.header)
|
|
return _internal_header();
|
|
}
|
|
inline void MultiplexFrame::unsafe_arena_set_allocated_header(
|
|
::location::nearby::mediums::MultiplexFrameHeader* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.header_);
|
|
}
|
|
_impl_.header_ = reinterpret_cast<::location::nearby::mediums::MultiplexFrameHeader*>(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.MultiplexFrame.header)
|
|
}
|
|
inline ::location::nearby::mediums::MultiplexFrameHeader* PROTOBUF_NULLABLE MultiplexFrame::release_header() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::location::nearby::mediums::MultiplexFrameHeader* released = _impl_.header_;
|
|
_impl_.header_ = 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::MultiplexFrameHeader* PROTOBUF_NULLABLE MultiplexFrame::unsafe_arena_release_header() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.mediums.MultiplexFrame.header)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::location::nearby::mediums::MultiplexFrameHeader* temp = _impl_.header_;
|
|
_impl_.header_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::mediums::MultiplexFrameHeader* PROTOBUF_NONNULL MultiplexFrame::_internal_mutable_header() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.header_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::mediums::MultiplexFrameHeader>(GetArena());
|
|
_impl_.header_ = reinterpret_cast<::location::nearby::mediums::MultiplexFrameHeader*>(p);
|
|
}
|
|
return _impl_.header_;
|
|
}
|
|
inline ::location::nearby::mediums::MultiplexFrameHeader* PROTOBUF_NONNULL MultiplexFrame::mutable_header()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::location::nearby::mediums::MultiplexFrameHeader* _msg = _internal_mutable_header();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.mediums.MultiplexFrame.header)
|
|
return _msg;
|
|
}
|
|
inline void MultiplexFrame::set_allocated_header(::location::nearby::mediums::MultiplexFrameHeader* 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_.header_);
|
|
}
|
|
|
|
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_.header_ = reinterpret_cast<::location::nearby::mediums::MultiplexFrameHeader*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.mediums.MultiplexFrame.header)
|
|
}
|
|
|
|
// optional .location.nearby.mediums.MultiplexFrame.MultiplexFrameType frame_type = 2;
|
|
inline bool MultiplexFrame::has_frame_type() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
return value;
|
|
}
|
|
inline void MultiplexFrame::clear_frame_type() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.frame_type_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline ::location::nearby::mediums::MultiplexFrame_MultiplexFrameType MultiplexFrame::frame_type() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.MultiplexFrame.frame_type)
|
|
return _internal_frame_type();
|
|
}
|
|
inline void MultiplexFrame::set_frame_type(::location::nearby::mediums::MultiplexFrame_MultiplexFrameType value) {
|
|
_internal_set_frame_type(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.mediums.MultiplexFrame.frame_type)
|
|
}
|
|
inline ::location::nearby::mediums::MultiplexFrame_MultiplexFrameType MultiplexFrame::_internal_frame_type() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return static_cast<::location::nearby::mediums::MultiplexFrame_MultiplexFrameType>(_impl_.frame_type_);
|
|
}
|
|
inline void MultiplexFrame::_internal_set_frame_type(::location::nearby::mediums::MultiplexFrame_MultiplexFrameType value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
assert(::google::protobuf::internal::ValidateEnum(
|
|
value, ::location::nearby::mediums::MultiplexFrame_MultiplexFrameType_internal_data_));
|
|
_impl_.frame_type_ = value;
|
|
}
|
|
|
|
// .location.nearby.mediums.MultiplexControlFrame control_frame = 3;
|
|
inline bool MultiplexFrame::has_control_frame() const {
|
|
return Frame_case() == kControlFrame;
|
|
}
|
|
inline bool MultiplexFrame::_internal_has_control_frame() const {
|
|
return Frame_case() == kControlFrame;
|
|
}
|
|
inline void MultiplexFrame::set_has_control_frame() {
|
|
_impl_._oneof_case_[0] = kControlFrame;
|
|
}
|
|
inline void MultiplexFrame::clear_control_frame() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (Frame_case() == kControlFrame) {
|
|
if (GetArena() == nullptr) {
|
|
delete _impl_.Frame_.control_frame_;
|
|
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
|
|
if (_impl_.Frame_.control_frame_ != nullptr) {
|
|
_impl_.Frame_.control_frame_->Clear();
|
|
}
|
|
}
|
|
clear_has_Frame();
|
|
}
|
|
}
|
|
inline ::location::nearby::mediums::MultiplexControlFrame* PROTOBUF_NULLABLE MultiplexFrame::release_control_frame() {
|
|
// @@protoc_insertion_point(field_release:location.nearby.mediums.MultiplexFrame.control_frame)
|
|
if (Frame_case() == kControlFrame) {
|
|
clear_has_Frame();
|
|
auto* temp = _impl_.Frame_.control_frame_;
|
|
if (GetArena() != nullptr) {
|
|
temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
|
|
}
|
|
_impl_.Frame_.control_frame_ = nullptr;
|
|
return temp;
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline const ::location::nearby::mediums::MultiplexControlFrame& MultiplexFrame::_internal_control_frame() const {
|
|
return Frame_case() == kControlFrame ? static_cast<const ::location::nearby::mediums::MultiplexControlFrame&>(*_impl_.Frame_.control_frame_)
|
|
: reinterpret_cast<const ::location::nearby::mediums::MultiplexControlFrame&>(::location::nearby::mediums::_MultiplexControlFrame_default_instance_);
|
|
}
|
|
inline const ::location::nearby::mediums::MultiplexControlFrame& MultiplexFrame::control_frame() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.MultiplexFrame.control_frame)
|
|
return _internal_control_frame();
|
|
}
|
|
inline ::location::nearby::mediums::MultiplexControlFrame* PROTOBUF_NULLABLE MultiplexFrame::unsafe_arena_release_control_frame() {
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:location.nearby.mediums.MultiplexFrame.control_frame)
|
|
if (Frame_case() == kControlFrame) {
|
|
clear_has_Frame();
|
|
auto* temp = _impl_.Frame_.control_frame_;
|
|
_impl_.Frame_.control_frame_ = nullptr;
|
|
return temp;
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline void MultiplexFrame::unsafe_arena_set_allocated_control_frame(
|
|
::location::nearby::mediums::MultiplexControlFrame* PROTOBUF_NULLABLE value) {
|
|
// We rely on the oneof clear method to free the earlier contents
|
|
// of this oneof. We can directly use the pointer we're given to
|
|
// set the new value.
|
|
clear_Frame();
|
|
if (value) {
|
|
set_has_control_frame();
|
|
_impl_.Frame_.control_frame_ = value;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.mediums.MultiplexFrame.control_frame)
|
|
}
|
|
inline ::location::nearby::mediums::MultiplexControlFrame* PROTOBUF_NONNULL MultiplexFrame::_internal_mutable_control_frame() {
|
|
if (Frame_case() != kControlFrame) {
|
|
clear_Frame();
|
|
set_has_control_frame();
|
|
_impl_.Frame_.control_frame_ =
|
|
::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::mediums::MultiplexControlFrame>(GetArena());
|
|
}
|
|
return _impl_.Frame_.control_frame_;
|
|
}
|
|
inline ::location::nearby::mediums::MultiplexControlFrame* PROTOBUF_NONNULL MultiplexFrame::mutable_control_frame()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::location::nearby::mediums::MultiplexControlFrame* _msg = _internal_mutable_control_frame();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.mediums.MultiplexFrame.control_frame)
|
|
return _msg;
|
|
}
|
|
|
|
// .location.nearby.mediums.MultiplexDataFrame data_frame = 4;
|
|
inline bool MultiplexFrame::has_data_frame() const {
|
|
return Frame_case() == kDataFrame;
|
|
}
|
|
inline bool MultiplexFrame::_internal_has_data_frame() const {
|
|
return Frame_case() == kDataFrame;
|
|
}
|
|
inline void MultiplexFrame::set_has_data_frame() {
|
|
_impl_._oneof_case_[0] = kDataFrame;
|
|
}
|
|
inline void MultiplexFrame::clear_data_frame() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (Frame_case() == kDataFrame) {
|
|
if (GetArena() == nullptr) {
|
|
delete _impl_.Frame_.data_frame_;
|
|
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
|
|
if (_impl_.Frame_.data_frame_ != nullptr) {
|
|
_impl_.Frame_.data_frame_->Clear();
|
|
}
|
|
}
|
|
clear_has_Frame();
|
|
}
|
|
}
|
|
inline ::location::nearby::mediums::MultiplexDataFrame* PROTOBUF_NULLABLE MultiplexFrame::release_data_frame() {
|
|
// @@protoc_insertion_point(field_release:location.nearby.mediums.MultiplexFrame.data_frame)
|
|
if (Frame_case() == kDataFrame) {
|
|
clear_has_Frame();
|
|
auto* temp = _impl_.Frame_.data_frame_;
|
|
if (GetArena() != nullptr) {
|
|
temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
|
|
}
|
|
_impl_.Frame_.data_frame_ = nullptr;
|
|
return temp;
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline const ::location::nearby::mediums::MultiplexDataFrame& MultiplexFrame::_internal_data_frame() const {
|
|
return Frame_case() == kDataFrame ? static_cast<const ::location::nearby::mediums::MultiplexDataFrame&>(*_impl_.Frame_.data_frame_)
|
|
: reinterpret_cast<const ::location::nearby::mediums::MultiplexDataFrame&>(::location::nearby::mediums::_MultiplexDataFrame_default_instance_);
|
|
}
|
|
inline const ::location::nearby::mediums::MultiplexDataFrame& MultiplexFrame::data_frame() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.MultiplexFrame.data_frame)
|
|
return _internal_data_frame();
|
|
}
|
|
inline ::location::nearby::mediums::MultiplexDataFrame* PROTOBUF_NULLABLE MultiplexFrame::unsafe_arena_release_data_frame() {
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:location.nearby.mediums.MultiplexFrame.data_frame)
|
|
if (Frame_case() == kDataFrame) {
|
|
clear_has_Frame();
|
|
auto* temp = _impl_.Frame_.data_frame_;
|
|
_impl_.Frame_.data_frame_ = nullptr;
|
|
return temp;
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline void MultiplexFrame::unsafe_arena_set_allocated_data_frame(
|
|
::location::nearby::mediums::MultiplexDataFrame* PROTOBUF_NULLABLE value) {
|
|
// We rely on the oneof clear method to free the earlier contents
|
|
// of this oneof. We can directly use the pointer we're given to
|
|
// set the new value.
|
|
clear_Frame();
|
|
if (value) {
|
|
set_has_data_frame();
|
|
_impl_.Frame_.data_frame_ = value;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.mediums.MultiplexFrame.data_frame)
|
|
}
|
|
inline ::location::nearby::mediums::MultiplexDataFrame* PROTOBUF_NONNULL MultiplexFrame::_internal_mutable_data_frame() {
|
|
if (Frame_case() != kDataFrame) {
|
|
clear_Frame();
|
|
set_has_data_frame();
|
|
_impl_.Frame_.data_frame_ =
|
|
::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::mediums::MultiplexDataFrame>(GetArena());
|
|
}
|
|
return _impl_.Frame_.data_frame_;
|
|
}
|
|
inline ::location::nearby::mediums::MultiplexDataFrame* PROTOBUF_NONNULL MultiplexFrame::mutable_data_frame()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::location::nearby::mediums::MultiplexDataFrame* _msg = _internal_mutable_data_frame();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.mediums.MultiplexFrame.data_frame)
|
|
return _msg;
|
|
}
|
|
|
|
inline bool MultiplexFrame::has_Frame() const {
|
|
return Frame_case() != FRAME_NOT_SET;
|
|
}
|
|
inline void MultiplexFrame::clear_has_Frame() {
|
|
_impl_._oneof_case_[0] = FRAME_NOT_SET;
|
|
}
|
|
inline MultiplexFrame::FrameCase MultiplexFrame::Frame_case() const {
|
|
return MultiplexFrame::FrameCase(_impl_._oneof_case_[0]);
|
|
}
|
|
// -------------------------------------------------------------------
|
|
|
|
// MultiplexFrameHeader
|
|
|
|
// optional bytes salted_service_id_hash = 1;
|
|
inline bool MultiplexFrameHeader::has_salted_service_id_hash() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
return value;
|
|
}
|
|
inline void MultiplexFrameHeader::clear_salted_service_id_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.salted_service_id_hash_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline const ::std::string& MultiplexFrameHeader::salted_service_id_hash() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.MultiplexFrameHeader.salted_service_id_hash)
|
|
return _internal_salted_service_id_hash();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void MultiplexFrameHeader::set_salted_service_id_hash(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
_impl_.salted_service_id_hash_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.mediums.MultiplexFrameHeader.salted_service_id_hash)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL MultiplexFrameHeader::mutable_salted_service_id_hash()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::std::string* _s = _internal_mutable_salted_service_id_hash();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.mediums.MultiplexFrameHeader.salted_service_id_hash)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& MultiplexFrameHeader::_internal_salted_service_id_hash() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.salted_service_id_hash_.Get();
|
|
}
|
|
inline void MultiplexFrameHeader::_internal_set_salted_service_id_hash(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.salted_service_id_hash_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL MultiplexFrameHeader::_internal_mutable_salted_service_id_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.salted_service_id_hash_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE MultiplexFrameHeader::release_salted_service_id_hash() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.mediums.MultiplexFrameHeader.salted_service_id_hash)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
auto* released = _impl_.salted_service_id_hash_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.salted_service_id_hash_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void MultiplexFrameHeader::set_allocated_salted_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_.salted_service_id_hash_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.salted_service_id_hash_.IsDefault()) {
|
|
_impl_.salted_service_id_hash_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.mediums.MultiplexFrameHeader.salted_service_id_hash)
|
|
}
|
|
|
|
// optional string service_id_hash_salt = 2;
|
|
inline bool MultiplexFrameHeader::has_service_id_hash_salt() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
return value;
|
|
}
|
|
inline void MultiplexFrameHeader::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& MultiplexFrameHeader::service_id_hash_salt() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.MultiplexFrameHeader.service_id_hash_salt)
|
|
return _internal_service_id_hash_salt();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void MultiplexFrameHeader::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.MultiplexFrameHeader.service_id_hash_salt)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL MultiplexFrameHeader::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.MultiplexFrameHeader.service_id_hash_salt)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& MultiplexFrameHeader::_internal_service_id_hash_salt() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.service_id_hash_salt_.Get();
|
|
}
|
|
inline void MultiplexFrameHeader::_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 MultiplexFrameHeader::_internal_mutable_service_id_hash_salt() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.service_id_hash_salt_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE MultiplexFrameHeader::release_service_id_hash_salt() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.mediums.MultiplexFrameHeader.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 MultiplexFrameHeader::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.MultiplexFrameHeader.service_id_hash_salt)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// MultiplexControlFrame
|
|
|
|
// optional .location.nearby.mediums.MultiplexControlFrame.MultiplexControlFrameType control_frame_type = 1;
|
|
inline bool MultiplexControlFrame::has_control_frame_type() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
return value;
|
|
}
|
|
inline void MultiplexControlFrame::clear_control_frame_type() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.control_frame_type_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline ::location::nearby::mediums::MultiplexControlFrame_MultiplexControlFrameType MultiplexControlFrame::control_frame_type() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.MultiplexControlFrame.control_frame_type)
|
|
return _internal_control_frame_type();
|
|
}
|
|
inline void MultiplexControlFrame::set_control_frame_type(::location::nearby::mediums::MultiplexControlFrame_MultiplexControlFrameType value) {
|
|
_internal_set_control_frame_type(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.mediums.MultiplexControlFrame.control_frame_type)
|
|
}
|
|
inline ::location::nearby::mediums::MultiplexControlFrame_MultiplexControlFrameType MultiplexControlFrame::_internal_control_frame_type() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return static_cast<::location::nearby::mediums::MultiplexControlFrame_MultiplexControlFrameType>(_impl_.control_frame_type_);
|
|
}
|
|
inline void MultiplexControlFrame::_internal_set_control_frame_type(::location::nearby::mediums::MultiplexControlFrame_MultiplexControlFrameType value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
assert(::google::protobuf::internal::ValidateEnum(
|
|
value, ::location::nearby::mediums::MultiplexControlFrame_MultiplexControlFrameType_internal_data_));
|
|
_impl_.control_frame_type_ = value;
|
|
}
|
|
|
|
// .location.nearby.mediums.ConnectionRequestFrame connection_request_frame = 2;
|
|
inline bool MultiplexControlFrame::has_connection_request_frame() const {
|
|
return Frame_case() == kConnectionRequestFrame;
|
|
}
|
|
inline bool MultiplexControlFrame::_internal_has_connection_request_frame() const {
|
|
return Frame_case() == kConnectionRequestFrame;
|
|
}
|
|
inline void MultiplexControlFrame::set_has_connection_request_frame() {
|
|
_impl_._oneof_case_[0] = kConnectionRequestFrame;
|
|
}
|
|
inline void MultiplexControlFrame::clear_connection_request_frame() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (Frame_case() == kConnectionRequestFrame) {
|
|
if (GetArena() == nullptr) {
|
|
delete _impl_.Frame_.connection_request_frame_;
|
|
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
|
|
if (_impl_.Frame_.connection_request_frame_ != nullptr) {
|
|
_impl_.Frame_.connection_request_frame_->Clear();
|
|
}
|
|
}
|
|
clear_has_Frame();
|
|
}
|
|
}
|
|
inline ::location::nearby::mediums::ConnectionRequestFrame* PROTOBUF_NULLABLE MultiplexControlFrame::release_connection_request_frame() {
|
|
// @@protoc_insertion_point(field_release:location.nearby.mediums.MultiplexControlFrame.connection_request_frame)
|
|
if (Frame_case() == kConnectionRequestFrame) {
|
|
clear_has_Frame();
|
|
auto* temp = reinterpret_cast<::location::nearby::mediums::ConnectionRequestFrame*>(_impl_.Frame_.connection_request_frame_);
|
|
if (GetArena() != nullptr) {
|
|
temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
|
|
}
|
|
_impl_.Frame_.connection_request_frame_ = nullptr;
|
|
return temp;
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline const ::location::nearby::mediums::ConnectionRequestFrame& MultiplexControlFrame::_internal_connection_request_frame() const {
|
|
return Frame_case() == kConnectionRequestFrame ? static_cast<const ::location::nearby::mediums::ConnectionRequestFrame&>(*reinterpret_cast<::location::nearby::mediums::ConnectionRequestFrame*>(_impl_.Frame_.connection_request_frame_))
|
|
: reinterpret_cast<const ::location::nearby::mediums::ConnectionRequestFrame&>(::location::nearby::mediums::_ConnectionRequestFrame_default_instance_);
|
|
}
|
|
inline const ::location::nearby::mediums::ConnectionRequestFrame& MultiplexControlFrame::connection_request_frame() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.MultiplexControlFrame.connection_request_frame)
|
|
return _internal_connection_request_frame();
|
|
}
|
|
inline ::location::nearby::mediums::ConnectionRequestFrame* PROTOBUF_NULLABLE MultiplexControlFrame::unsafe_arena_release_connection_request_frame() {
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:location.nearby.mediums.MultiplexControlFrame.connection_request_frame)
|
|
if (Frame_case() == kConnectionRequestFrame) {
|
|
clear_has_Frame();
|
|
auto* temp = reinterpret_cast<::location::nearby::mediums::ConnectionRequestFrame*>(_impl_.Frame_.connection_request_frame_);
|
|
_impl_.Frame_.connection_request_frame_ = nullptr;
|
|
return temp;
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline void MultiplexControlFrame::unsafe_arena_set_allocated_connection_request_frame(
|
|
::location::nearby::mediums::ConnectionRequestFrame* PROTOBUF_NULLABLE value) {
|
|
// We rely on the oneof clear method to free the earlier contents
|
|
// of this oneof. We can directly use the pointer we're given to
|
|
// set the new value.
|
|
clear_Frame();
|
|
if (value) {
|
|
set_has_connection_request_frame();
|
|
_impl_.Frame_.connection_request_frame_ = reinterpret_cast<::google::protobuf::MessageLite*>(value);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.mediums.MultiplexControlFrame.connection_request_frame)
|
|
}
|
|
inline ::location::nearby::mediums::ConnectionRequestFrame* PROTOBUF_NONNULL MultiplexControlFrame::_internal_mutable_connection_request_frame() {
|
|
if (Frame_case() != kConnectionRequestFrame) {
|
|
clear_Frame();
|
|
set_has_connection_request_frame();
|
|
_impl_.Frame_.connection_request_frame_ = reinterpret_cast<::google::protobuf::MessageLite*>(
|
|
::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::mediums::ConnectionRequestFrame>(GetArena()));
|
|
}
|
|
return reinterpret_cast<::location::nearby::mediums::ConnectionRequestFrame*>(_impl_.Frame_.connection_request_frame_);
|
|
}
|
|
inline ::location::nearby::mediums::ConnectionRequestFrame* PROTOBUF_NONNULL MultiplexControlFrame::mutable_connection_request_frame()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::location::nearby::mediums::ConnectionRequestFrame* _msg = _internal_mutable_connection_request_frame();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.mediums.MultiplexControlFrame.connection_request_frame)
|
|
return _msg;
|
|
}
|
|
|
|
// .location.nearby.mediums.ConnectionResponseFrame connection_response_frame = 3;
|
|
inline bool MultiplexControlFrame::has_connection_response_frame() const {
|
|
return Frame_case() == kConnectionResponseFrame;
|
|
}
|
|
inline bool MultiplexControlFrame::_internal_has_connection_response_frame() const {
|
|
return Frame_case() == kConnectionResponseFrame;
|
|
}
|
|
inline void MultiplexControlFrame::set_has_connection_response_frame() {
|
|
_impl_._oneof_case_[0] = kConnectionResponseFrame;
|
|
}
|
|
inline void MultiplexControlFrame::clear_connection_response_frame() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (Frame_case() == kConnectionResponseFrame) {
|
|
if (GetArena() == nullptr) {
|
|
delete _impl_.Frame_.connection_response_frame_;
|
|
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
|
|
if (_impl_.Frame_.connection_response_frame_ != nullptr) {
|
|
_impl_.Frame_.connection_response_frame_->Clear();
|
|
}
|
|
}
|
|
clear_has_Frame();
|
|
}
|
|
}
|
|
inline ::location::nearby::mediums::ConnectionResponseFrame* PROTOBUF_NULLABLE MultiplexControlFrame::release_connection_response_frame() {
|
|
// @@protoc_insertion_point(field_release:location.nearby.mediums.MultiplexControlFrame.connection_response_frame)
|
|
if (Frame_case() == kConnectionResponseFrame) {
|
|
clear_has_Frame();
|
|
auto* temp = reinterpret_cast<::location::nearby::mediums::ConnectionResponseFrame*>(_impl_.Frame_.connection_response_frame_);
|
|
if (GetArena() != nullptr) {
|
|
temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
|
|
}
|
|
_impl_.Frame_.connection_response_frame_ = nullptr;
|
|
return temp;
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline const ::location::nearby::mediums::ConnectionResponseFrame& MultiplexControlFrame::_internal_connection_response_frame() const {
|
|
return Frame_case() == kConnectionResponseFrame ? static_cast<const ::location::nearby::mediums::ConnectionResponseFrame&>(*reinterpret_cast<::location::nearby::mediums::ConnectionResponseFrame*>(_impl_.Frame_.connection_response_frame_))
|
|
: reinterpret_cast<const ::location::nearby::mediums::ConnectionResponseFrame&>(::location::nearby::mediums::_ConnectionResponseFrame_default_instance_);
|
|
}
|
|
inline const ::location::nearby::mediums::ConnectionResponseFrame& MultiplexControlFrame::connection_response_frame() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.MultiplexControlFrame.connection_response_frame)
|
|
return _internal_connection_response_frame();
|
|
}
|
|
inline ::location::nearby::mediums::ConnectionResponseFrame* PROTOBUF_NULLABLE MultiplexControlFrame::unsafe_arena_release_connection_response_frame() {
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:location.nearby.mediums.MultiplexControlFrame.connection_response_frame)
|
|
if (Frame_case() == kConnectionResponseFrame) {
|
|
clear_has_Frame();
|
|
auto* temp = reinterpret_cast<::location::nearby::mediums::ConnectionResponseFrame*>(_impl_.Frame_.connection_response_frame_);
|
|
_impl_.Frame_.connection_response_frame_ = nullptr;
|
|
return temp;
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline void MultiplexControlFrame::unsafe_arena_set_allocated_connection_response_frame(
|
|
::location::nearby::mediums::ConnectionResponseFrame* PROTOBUF_NULLABLE value) {
|
|
// We rely on the oneof clear method to free the earlier contents
|
|
// of this oneof. We can directly use the pointer we're given to
|
|
// set the new value.
|
|
clear_Frame();
|
|
if (value) {
|
|
set_has_connection_response_frame();
|
|
_impl_.Frame_.connection_response_frame_ = reinterpret_cast<::google::protobuf::MessageLite*>(value);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.mediums.MultiplexControlFrame.connection_response_frame)
|
|
}
|
|
inline ::location::nearby::mediums::ConnectionResponseFrame* PROTOBUF_NONNULL MultiplexControlFrame::_internal_mutable_connection_response_frame() {
|
|
if (Frame_case() != kConnectionResponseFrame) {
|
|
clear_Frame();
|
|
set_has_connection_response_frame();
|
|
_impl_.Frame_.connection_response_frame_ = reinterpret_cast<::google::protobuf::MessageLite*>(
|
|
::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::mediums::ConnectionResponseFrame>(GetArena()));
|
|
}
|
|
return reinterpret_cast<::location::nearby::mediums::ConnectionResponseFrame*>(_impl_.Frame_.connection_response_frame_);
|
|
}
|
|
inline ::location::nearby::mediums::ConnectionResponseFrame* PROTOBUF_NONNULL MultiplexControlFrame::mutable_connection_response_frame()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::location::nearby::mediums::ConnectionResponseFrame* _msg = _internal_mutable_connection_response_frame();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.mediums.MultiplexControlFrame.connection_response_frame)
|
|
return _msg;
|
|
}
|
|
|
|
// .location.nearby.mediums.DisconnectFrame disconnect_frame = 4;
|
|
inline bool MultiplexControlFrame::has_disconnect_frame() const {
|
|
return Frame_case() == kDisconnectFrame;
|
|
}
|
|
inline bool MultiplexControlFrame::_internal_has_disconnect_frame() const {
|
|
return Frame_case() == kDisconnectFrame;
|
|
}
|
|
inline void MultiplexControlFrame::set_has_disconnect_frame() {
|
|
_impl_._oneof_case_[0] = kDisconnectFrame;
|
|
}
|
|
inline void MultiplexControlFrame::clear_disconnect_frame() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (Frame_case() == kDisconnectFrame) {
|
|
if (GetArena() == nullptr) {
|
|
delete _impl_.Frame_.disconnect_frame_;
|
|
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
|
|
if (_impl_.Frame_.disconnect_frame_ != nullptr) {
|
|
_impl_.Frame_.disconnect_frame_->Clear();
|
|
}
|
|
}
|
|
clear_has_Frame();
|
|
}
|
|
}
|
|
inline ::location::nearby::mediums::DisconnectFrame* PROTOBUF_NULLABLE MultiplexControlFrame::release_disconnect_frame() {
|
|
// @@protoc_insertion_point(field_release:location.nearby.mediums.MultiplexControlFrame.disconnect_frame)
|
|
if (Frame_case() == kDisconnectFrame) {
|
|
clear_has_Frame();
|
|
auto* temp = reinterpret_cast<::location::nearby::mediums::DisconnectFrame*>(_impl_.Frame_.disconnect_frame_);
|
|
if (GetArena() != nullptr) {
|
|
temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
|
|
}
|
|
_impl_.Frame_.disconnect_frame_ = nullptr;
|
|
return temp;
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline const ::location::nearby::mediums::DisconnectFrame& MultiplexControlFrame::_internal_disconnect_frame() const {
|
|
return Frame_case() == kDisconnectFrame ? static_cast<const ::location::nearby::mediums::DisconnectFrame&>(*reinterpret_cast<::location::nearby::mediums::DisconnectFrame*>(_impl_.Frame_.disconnect_frame_))
|
|
: reinterpret_cast<const ::location::nearby::mediums::DisconnectFrame&>(::location::nearby::mediums::_DisconnectFrame_default_instance_);
|
|
}
|
|
inline const ::location::nearby::mediums::DisconnectFrame& MultiplexControlFrame::disconnect_frame() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.MultiplexControlFrame.disconnect_frame)
|
|
return _internal_disconnect_frame();
|
|
}
|
|
inline ::location::nearby::mediums::DisconnectFrame* PROTOBUF_NULLABLE MultiplexControlFrame::unsafe_arena_release_disconnect_frame() {
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:location.nearby.mediums.MultiplexControlFrame.disconnect_frame)
|
|
if (Frame_case() == kDisconnectFrame) {
|
|
clear_has_Frame();
|
|
auto* temp = reinterpret_cast<::location::nearby::mediums::DisconnectFrame*>(_impl_.Frame_.disconnect_frame_);
|
|
_impl_.Frame_.disconnect_frame_ = nullptr;
|
|
return temp;
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline void MultiplexControlFrame::unsafe_arena_set_allocated_disconnect_frame(
|
|
::location::nearby::mediums::DisconnectFrame* PROTOBUF_NULLABLE value) {
|
|
// We rely on the oneof clear method to free the earlier contents
|
|
// of this oneof. We can directly use the pointer we're given to
|
|
// set the new value.
|
|
clear_Frame();
|
|
if (value) {
|
|
set_has_disconnect_frame();
|
|
_impl_.Frame_.disconnect_frame_ = reinterpret_cast<::google::protobuf::MessageLite*>(value);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.mediums.MultiplexControlFrame.disconnect_frame)
|
|
}
|
|
inline ::location::nearby::mediums::DisconnectFrame* PROTOBUF_NONNULL MultiplexControlFrame::_internal_mutable_disconnect_frame() {
|
|
if (Frame_case() != kDisconnectFrame) {
|
|
clear_Frame();
|
|
set_has_disconnect_frame();
|
|
_impl_.Frame_.disconnect_frame_ = reinterpret_cast<::google::protobuf::MessageLite*>(
|
|
::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::mediums::DisconnectFrame>(GetArena()));
|
|
}
|
|
return reinterpret_cast<::location::nearby::mediums::DisconnectFrame*>(_impl_.Frame_.disconnect_frame_);
|
|
}
|
|
inline ::location::nearby::mediums::DisconnectFrame* PROTOBUF_NONNULL MultiplexControlFrame::mutable_disconnect_frame()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::location::nearby::mediums::DisconnectFrame* _msg = _internal_mutable_disconnect_frame();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.mediums.MultiplexControlFrame.disconnect_frame)
|
|
return _msg;
|
|
}
|
|
|
|
inline bool MultiplexControlFrame::has_Frame() const {
|
|
return Frame_case() != FRAME_NOT_SET;
|
|
}
|
|
inline void MultiplexControlFrame::clear_has_Frame() {
|
|
_impl_._oneof_case_[0] = FRAME_NOT_SET;
|
|
}
|
|
inline MultiplexControlFrame::FrameCase MultiplexControlFrame::Frame_case() const {
|
|
return MultiplexControlFrame::FrameCase(_impl_._oneof_case_[0]);
|
|
}
|
|
// -------------------------------------------------------------------
|
|
|
|
// ConnectionRequestFrame
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ConnectionResponseFrame
|
|
|
|
// optional .location.nearby.mediums.ConnectionResponseFrame.ConnectionResponseCode connection_response_code = 1;
|
|
inline bool ConnectionResponseFrame::has_connection_response_code() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
return value;
|
|
}
|
|
inline void ConnectionResponseFrame::clear_connection_response_code() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.connection_response_code_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline ::location::nearby::mediums::ConnectionResponseFrame_ConnectionResponseCode ConnectionResponseFrame::connection_response_code() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.ConnectionResponseFrame.connection_response_code)
|
|
return _internal_connection_response_code();
|
|
}
|
|
inline void ConnectionResponseFrame::set_connection_response_code(::location::nearby::mediums::ConnectionResponseFrame_ConnectionResponseCode value) {
|
|
_internal_set_connection_response_code(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.mediums.ConnectionResponseFrame.connection_response_code)
|
|
}
|
|
inline ::location::nearby::mediums::ConnectionResponseFrame_ConnectionResponseCode ConnectionResponseFrame::_internal_connection_response_code() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return static_cast<::location::nearby::mediums::ConnectionResponseFrame_ConnectionResponseCode>(_impl_.connection_response_code_);
|
|
}
|
|
inline void ConnectionResponseFrame::_internal_set_connection_response_code(::location::nearby::mediums::ConnectionResponseFrame_ConnectionResponseCode value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
assert(::google::protobuf::internal::ValidateEnum(
|
|
value, ::location::nearby::mediums::ConnectionResponseFrame_ConnectionResponseCode_internal_data_));
|
|
_impl_.connection_response_code_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// DisconnectFrame
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// MultiplexDataFrame
|
|
|
|
// optional bytes data = 1;
|
|
inline bool MultiplexDataFrame::has_data() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
return value;
|
|
}
|
|
inline void MultiplexDataFrame::clear_data() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.data_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline const ::std::string& MultiplexDataFrame::data() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.MultiplexDataFrame.data)
|
|
return _internal_data();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void MultiplexDataFrame::set_data(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
_impl_.data_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.mediums.MultiplexDataFrame.data)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL MultiplexDataFrame::mutable_data()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::std::string* _s = _internal_mutable_data();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.mediums.MultiplexDataFrame.data)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& MultiplexDataFrame::_internal_data() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.data_.Get();
|
|
}
|
|
inline void MultiplexDataFrame::_internal_set_data(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.data_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL MultiplexDataFrame::_internal_mutable_data() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.data_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE MultiplexDataFrame::release_data() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.mediums.MultiplexDataFrame.data)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
auto* released = _impl_.data_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.data_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void MultiplexDataFrame::set_allocated_data(::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_.data_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.data_.IsDefault()) {
|
|
_impl_.data_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.mediums.MultiplexDataFrame.data)
|
|
}
|
|
|
|
#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::MultiplexFrame_MultiplexFrameType> : std::true_type {};
|
|
template <>
|
|
struct is_proto_enum<::location::nearby::mediums::MultiplexControlFrame_MultiplexControlFrameType> : std::true_type {};
|
|
template <>
|
|
struct is_proto_enum<::location::nearby::mediums::ConnectionResponseFrame_ConnectionResponseCode> : std::true_type {};
|
|
|
|
} // namespace protobuf
|
|
} // namespace google
|
|
|
|
// @@protoc_insertion_point(global_scope)
|
|
|
|
#include "google/protobuf/port_undef.inc"
|
|
|
|
#endif // proto_2fmediums_2fmultiplex_5fframes_2eproto_2epb_2eh
|