mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 07:36:10 -04:00
2853 lines
122 KiB
C++
2853 lines
122 KiB
C++
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// NO CHECKED-IN PROTOBUF GENCODE
|
|
// source: proto/mediums/web_rtc_signaling_frames.proto
|
|
// Protobuf C++ Version: 6.33.3
|
|
|
|
#ifndef proto_2fmediums_2fweb_5frtc_5fsignaling_5fframes_2eproto_2epb_2eh
|
|
#define proto_2fmediums_2fweb_5frtc_5fsignaling_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_2fweb_5frtc_5fsignaling_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_2fweb_5frtc_5fsignaling_5fframes_2eproto {
|
|
static const ::uint32_t offsets[];
|
|
};
|
|
namespace location {
|
|
namespace nearby {
|
|
namespace mediums {
|
|
enum WebRtcSignalingFrame_FrameType : int;
|
|
extern const uint32_t WebRtcSignalingFrame_FrameType_internal_data_[];
|
|
class Answer;
|
|
struct AnswerDefaultTypeInternal;
|
|
extern AnswerDefaultTypeInternal _Answer_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<31> Answer_class_data_;
|
|
class IceCandidate;
|
|
struct IceCandidateDefaultTypeInternal;
|
|
extern IceCandidateDefaultTypeInternal _IceCandidate_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<37> IceCandidate_class_data_;
|
|
class IceCandidates;
|
|
struct IceCandidatesDefaultTypeInternal;
|
|
extern IceCandidatesDefaultTypeInternal _IceCandidates_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<38> IceCandidates_class_data_;
|
|
class Offer;
|
|
struct OfferDefaultTypeInternal;
|
|
extern OfferDefaultTypeInternal _Offer_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<30> Offer_class_data_;
|
|
class PeerId;
|
|
struct PeerIdDefaultTypeInternal;
|
|
extern PeerIdDefaultTypeInternal _PeerId_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<31> PeerId_class_data_;
|
|
class ReadyForSignalingPoke;
|
|
struct ReadyForSignalingPokeDefaultTypeInternal;
|
|
extern ReadyForSignalingPokeDefaultTypeInternal _ReadyForSignalingPoke_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<46> ReadyForSignalingPoke_class_data_;
|
|
class SessionDescription;
|
|
struct SessionDescriptionDefaultTypeInternal;
|
|
extern SessionDescriptionDefaultTypeInternal _SessionDescription_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<43> SessionDescription_class_data_;
|
|
class WebRtcSignalingFrame;
|
|
struct WebRtcSignalingFrameDefaultTypeInternal;
|
|
extern WebRtcSignalingFrameDefaultTypeInternal _WebRtcSignalingFrame_default_instance_;
|
|
extern const ::google::protobuf::internal::ClassDataLite<45> WebRtcSignalingFrame_class_data_;
|
|
} // namespace mediums
|
|
} // namespace nearby
|
|
} // namespace location
|
|
namespace google {
|
|
namespace protobuf {
|
|
template <>
|
|
internal::EnumTraitsT<::location::nearby::mediums::WebRtcSignalingFrame_FrameType_internal_data_>
|
|
internal::EnumTraitsImpl::value<::location::nearby::mediums::WebRtcSignalingFrame_FrameType>;
|
|
} // namespace protobuf
|
|
} // namespace google
|
|
|
|
namespace location {
|
|
namespace nearby {
|
|
namespace mediums {
|
|
enum WebRtcSignalingFrame_FrameType : int {
|
|
WebRtcSignalingFrame_FrameType_UNKNOWN_FRAME_TYPE = 0,
|
|
WebRtcSignalingFrame_FrameType_OFFER_TYPE = 1,
|
|
WebRtcSignalingFrame_FrameType_ANSWER_TYPE = 2,
|
|
WebRtcSignalingFrame_FrameType_ICE_CANDIDATES_TYPE = 3,
|
|
WebRtcSignalingFrame_FrameType_READY_FOR_SIGNALING_POKE_TYPE = 4,
|
|
};
|
|
|
|
extern const uint32_t WebRtcSignalingFrame_FrameType_internal_data_[];
|
|
inline constexpr WebRtcSignalingFrame_FrameType WebRtcSignalingFrame_FrameType_FrameType_MIN =
|
|
static_cast<WebRtcSignalingFrame_FrameType>(0);
|
|
inline constexpr WebRtcSignalingFrame_FrameType WebRtcSignalingFrame_FrameType_FrameType_MAX =
|
|
static_cast<WebRtcSignalingFrame_FrameType>(4);
|
|
inline bool WebRtcSignalingFrame_FrameType_IsValid(int value) {
|
|
return 0 <= value && value <= 4;
|
|
}
|
|
inline constexpr int WebRtcSignalingFrame_FrameType_FrameType_ARRAYSIZE = 4 + 1;
|
|
const ::std::string& WebRtcSignalingFrame_FrameType_Name(WebRtcSignalingFrame_FrameType value);
|
|
template <typename T>
|
|
const ::std::string& WebRtcSignalingFrame_FrameType_Name(T value) {
|
|
static_assert(::std::is_same<T, WebRtcSignalingFrame_FrameType>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to FrameType_Name().");
|
|
return WebRtcSignalingFrame_FrameType_Name(static_cast<WebRtcSignalingFrame_FrameType>(value));
|
|
}
|
|
bool WebRtcSignalingFrame_FrameType_Parse(
|
|
::absl::string_view name, WebRtcSignalingFrame_FrameType* PROTOBUF_NONNULL value);
|
|
|
|
// ===================================================================
|
|
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
class SessionDescription final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.mediums.SessionDescription) */ {
|
|
public:
|
|
inline SessionDescription() : SessionDescription(nullptr) {}
|
|
~SessionDescription() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(SessionDescription* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(SessionDescription));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR SessionDescription(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline SessionDescription(const SessionDescription& from) : SessionDescription(nullptr, from) {}
|
|
inline SessionDescription(SessionDescription&& from) noexcept
|
|
: SessionDescription(nullptr, ::std::move(from)) {}
|
|
inline SessionDescription& operator=(const SessionDescription& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline SessionDescription& operator=(SessionDescription&& 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 SessionDescription& default_instance() {
|
|
return *reinterpret_cast<const SessionDescription*>(
|
|
&_SessionDescription_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 2;
|
|
friend void swap(SessionDescription& a, SessionDescription& b) { a.Swap(&b); }
|
|
inline void Swap(SessionDescription* 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(SessionDescription* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
SessionDescription* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<SessionDescription>(arena);
|
|
}
|
|
void CopyFrom(const SessionDescription& from);
|
|
void MergeFrom(const SessionDescription& from) { SessionDescription::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(SessionDescription* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.mediums.SessionDescription"; }
|
|
|
|
explicit SessionDescription(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
SessionDescription(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SessionDescription& from);
|
|
SessionDescription(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SessionDescription&& from) noexcept
|
|
: SessionDescription(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 {
|
|
kDescriptionFieldNumber = 1,
|
|
};
|
|
// optional string description = 1;
|
|
bool has_description() const;
|
|
void clear_description() ;
|
|
const ::std::string& description() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_description(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_description();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_description();
|
|
void set_allocated_description(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_description() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_description(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_description();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.mediums.SessionDescription)
|
|
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 SessionDescription& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr description_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_proto_2fmediums_2fweb_5frtc_5fsignaling_5fframes_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<43> SessionDescription_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class ReadyForSignalingPoke final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.mediums.ReadyForSignalingPoke) */ {
|
|
public:
|
|
inline ReadyForSignalingPoke() : ReadyForSignalingPoke(nullptr) {}
|
|
~ReadyForSignalingPoke() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(ReadyForSignalingPoke* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(ReadyForSignalingPoke));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR ReadyForSignalingPoke(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline ReadyForSignalingPoke(const ReadyForSignalingPoke& from) : ReadyForSignalingPoke(nullptr, from) {}
|
|
inline ReadyForSignalingPoke(ReadyForSignalingPoke&& from) noexcept
|
|
: ReadyForSignalingPoke(nullptr, ::std::move(from)) {}
|
|
inline ReadyForSignalingPoke& operator=(const ReadyForSignalingPoke& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ReadyForSignalingPoke& operator=(ReadyForSignalingPoke&& 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 ReadyForSignalingPoke& default_instance() {
|
|
return *reinterpret_cast<const ReadyForSignalingPoke*>(
|
|
&_ReadyForSignalingPoke_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 7;
|
|
friend void swap(ReadyForSignalingPoke& a, ReadyForSignalingPoke& b) { a.Swap(&b); }
|
|
inline void Swap(ReadyForSignalingPoke* 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(ReadyForSignalingPoke* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
ReadyForSignalingPoke* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<ReadyForSignalingPoke>(arena);
|
|
}
|
|
void CopyFrom(const ReadyForSignalingPoke& from);
|
|
void MergeFrom(const ReadyForSignalingPoke& from) { ReadyForSignalingPoke::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(ReadyForSignalingPoke* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.mediums.ReadyForSignalingPoke"; }
|
|
|
|
explicit ReadyForSignalingPoke(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
ReadyForSignalingPoke(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ReadyForSignalingPoke& from);
|
|
ReadyForSignalingPoke(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ReadyForSignalingPoke&& from) noexcept
|
|
: ReadyForSignalingPoke(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.ReadyForSignalingPoke)
|
|
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 ReadyForSignalingPoke& from_msg);
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_proto_2fmediums_2fweb_5frtc_5fsignaling_5fframes_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<46> ReadyForSignalingPoke_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class PeerId final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.mediums.PeerId) */ {
|
|
public:
|
|
inline PeerId() : PeerId(nullptr) {}
|
|
~PeerId() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(PeerId* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(PeerId));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR PeerId(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline PeerId(const PeerId& from) : PeerId(nullptr, from) {}
|
|
inline PeerId(PeerId&& from) noexcept
|
|
: PeerId(nullptr, ::std::move(from)) {}
|
|
inline PeerId& operator=(const PeerId& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline PeerId& operator=(PeerId&& 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 PeerId& default_instance() {
|
|
return *reinterpret_cast<const PeerId*>(
|
|
&_PeerId_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 1;
|
|
friend void swap(PeerId& a, PeerId& b) { a.Swap(&b); }
|
|
inline void Swap(PeerId* 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(PeerId* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
PeerId* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<PeerId>(arena);
|
|
}
|
|
void CopyFrom(const PeerId& from);
|
|
void MergeFrom(const PeerId& from) { PeerId::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(PeerId* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.mediums.PeerId"; }
|
|
|
|
explicit PeerId(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
PeerId(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const PeerId& from);
|
|
PeerId(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, PeerId&& from) noexcept
|
|
: PeerId(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 {
|
|
kIdFieldNumber = 1,
|
|
};
|
|
// optional string id = 1;
|
|
bool has_id() const;
|
|
void clear_id() ;
|
|
const ::std::string& id() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_id(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_id();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_id();
|
|
void set_allocated_id(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_id() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_id(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_id();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.mediums.PeerId)
|
|
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 PeerId& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr id_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_proto_2fmediums_2fweb_5frtc_5fsignaling_5fframes_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<31> PeerId_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class IceCandidate final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.mediums.IceCandidate) */ {
|
|
public:
|
|
inline IceCandidate() : IceCandidate(nullptr) {}
|
|
~IceCandidate() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(IceCandidate* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(IceCandidate));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR IceCandidate(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline IceCandidate(const IceCandidate& from) : IceCandidate(nullptr, from) {}
|
|
inline IceCandidate(IceCandidate&& from) noexcept
|
|
: IceCandidate(nullptr, ::std::move(from)) {}
|
|
inline IceCandidate& operator=(const IceCandidate& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline IceCandidate& operator=(IceCandidate&& 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 IceCandidate& default_instance() {
|
|
return *reinterpret_cast<const IceCandidate*>(
|
|
&_IceCandidate_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 3;
|
|
friend void swap(IceCandidate& a, IceCandidate& b) { a.Swap(&b); }
|
|
inline void Swap(IceCandidate* 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(IceCandidate* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
IceCandidate* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<IceCandidate>(arena);
|
|
}
|
|
void CopyFrom(const IceCandidate& from);
|
|
void MergeFrom(const IceCandidate& from) { IceCandidate::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(IceCandidate* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.mediums.IceCandidate"; }
|
|
|
|
explicit IceCandidate(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
IceCandidate(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const IceCandidate& from);
|
|
IceCandidate(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, IceCandidate&& from) noexcept
|
|
: IceCandidate(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 {
|
|
kSdpFieldNumber = 1,
|
|
kSdpMidFieldNumber = 2,
|
|
kSdpMLineIndexFieldNumber = 3,
|
|
};
|
|
// optional string sdp = 1;
|
|
bool has_sdp() const;
|
|
void clear_sdp() ;
|
|
const ::std::string& sdp() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_sdp(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_sdp();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_sdp();
|
|
void set_allocated_sdp(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_sdp() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_sdp(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_sdp();
|
|
|
|
public:
|
|
// optional string sdp_mid = 2;
|
|
bool has_sdp_mid() const;
|
|
void clear_sdp_mid() ;
|
|
const ::std::string& sdp_mid() const;
|
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
|
void set_sdp_mid(Arg_&& arg, Args_... args);
|
|
::std::string* PROTOBUF_NONNULL mutable_sdp_mid();
|
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_sdp_mid();
|
|
void set_allocated_sdp_mid(::std::string* PROTOBUF_NULLABLE value);
|
|
|
|
private:
|
|
const ::std::string& _internal_sdp_mid() const;
|
|
PROTOBUF_ALWAYS_INLINE void _internal_set_sdp_mid(const ::std::string& value);
|
|
::std::string* PROTOBUF_NONNULL _internal_mutable_sdp_mid();
|
|
|
|
public:
|
|
// optional int32 sdp_m_line_index = 3;
|
|
bool has_sdp_m_line_index() const;
|
|
void clear_sdp_m_line_index() ;
|
|
::int32_t sdp_m_line_index() const;
|
|
void set_sdp_m_line_index(::int32_t value);
|
|
|
|
private:
|
|
::int32_t _internal_sdp_m_line_index() const;
|
|
void _internal_set_sdp_m_line_index(::int32_t value);
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.mediums.IceCandidate)
|
|
private:
|
|
class _Internal;
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<2, 3,
|
|
0, 0,
|
|
2>
|
|
_table_;
|
|
|
|
friend class ::google::protobuf::MessageLite;
|
|
friend class ::google::protobuf::Arena;
|
|
template <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 IceCandidate& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::internal::ArenaStringPtr sdp_;
|
|
::google::protobuf::internal::ArenaStringPtr sdp_mid_;
|
|
::int32_t sdp_m_line_index_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_proto_2fmediums_2fweb_5frtc_5fsignaling_5fframes_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<37> IceCandidate_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class Offer final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.mediums.Offer) */ {
|
|
public:
|
|
inline Offer() : Offer(nullptr) {}
|
|
~Offer() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(Offer* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(Offer));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR Offer(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline Offer(const Offer& from) : Offer(nullptr, from) {}
|
|
inline Offer(Offer&& from) noexcept
|
|
: Offer(nullptr, ::std::move(from)) {}
|
|
inline Offer& operator=(const Offer& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline Offer& operator=(Offer&& 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 Offer& default_instance() {
|
|
return *reinterpret_cast<const Offer*>(
|
|
&_Offer_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 5;
|
|
friend void swap(Offer& a, Offer& b) { a.Swap(&b); }
|
|
inline void Swap(Offer* 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(Offer* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
Offer* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<Offer>(arena);
|
|
}
|
|
void CopyFrom(const Offer& from);
|
|
void MergeFrom(const Offer& from) { Offer::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(Offer* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.mediums.Offer"; }
|
|
|
|
explicit Offer(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
Offer(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Offer& from);
|
|
Offer(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Offer&& from) noexcept
|
|
: Offer(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 {
|
|
kSessionDescriptionFieldNumber = 1,
|
|
};
|
|
// optional .location.nearby.mediums.SessionDescription session_description = 1;
|
|
bool has_session_description() const;
|
|
void clear_session_description() ;
|
|
const ::location::nearby::mediums::SessionDescription& session_description() const;
|
|
[[nodiscard]] ::location::nearby::mediums::SessionDescription* PROTOBUF_NULLABLE release_session_description();
|
|
::location::nearby::mediums::SessionDescription* PROTOBUF_NONNULL mutable_session_description();
|
|
void set_allocated_session_description(::location::nearby::mediums::SessionDescription* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_session_description(::location::nearby::mediums::SessionDescription* PROTOBUF_NULLABLE value);
|
|
::location::nearby::mediums::SessionDescription* PROTOBUF_NULLABLE unsafe_arena_release_session_description();
|
|
|
|
private:
|
|
const ::location::nearby::mediums::SessionDescription& _internal_session_description() const;
|
|
::location::nearby::mediums::SessionDescription* PROTOBUF_NONNULL _internal_mutable_session_description();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.mediums.Offer)
|
|
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 Offer& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::location::nearby::mediums::SessionDescription* PROTOBUF_NULLABLE session_description_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_proto_2fmediums_2fweb_5frtc_5fsignaling_5fframes_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<30> Offer_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class IceCandidates final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.mediums.IceCandidates) */ {
|
|
public:
|
|
inline IceCandidates() : IceCandidates(nullptr) {}
|
|
~IceCandidates() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(IceCandidates* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(IceCandidates));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR IceCandidates(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline IceCandidates(const IceCandidates& from) : IceCandidates(nullptr, from) {}
|
|
inline IceCandidates(IceCandidates&& from) noexcept
|
|
: IceCandidates(nullptr, ::std::move(from)) {}
|
|
inline IceCandidates& operator=(const IceCandidates& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline IceCandidates& operator=(IceCandidates&& 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 IceCandidates& default_instance() {
|
|
return *reinterpret_cast<const IceCandidates*>(
|
|
&_IceCandidates_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 4;
|
|
friend void swap(IceCandidates& a, IceCandidates& b) { a.Swap(&b); }
|
|
inline void Swap(IceCandidates* 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(IceCandidates* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
IceCandidates* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<IceCandidates>(arena);
|
|
}
|
|
void CopyFrom(const IceCandidates& from);
|
|
void MergeFrom(const IceCandidates& from) { IceCandidates::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(IceCandidates* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.mediums.IceCandidates"; }
|
|
|
|
explicit IceCandidates(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
IceCandidates(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const IceCandidates& from);
|
|
IceCandidates(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, IceCandidates&& from) noexcept
|
|
: IceCandidates(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 {
|
|
kIceCandidatesFieldNumber = 1,
|
|
};
|
|
// repeated .location.nearby.mediums.IceCandidate ice_candidates = 1;
|
|
int ice_candidates_size() const;
|
|
private:
|
|
int _internal_ice_candidates_size() const;
|
|
|
|
public:
|
|
void clear_ice_candidates() ;
|
|
::location::nearby::mediums::IceCandidate* PROTOBUF_NONNULL mutable_ice_candidates(int index);
|
|
::google::protobuf::RepeatedPtrField<::location::nearby::mediums::IceCandidate>* PROTOBUF_NONNULL mutable_ice_candidates();
|
|
|
|
private:
|
|
const ::google::protobuf::RepeatedPtrField<::location::nearby::mediums::IceCandidate>& _internal_ice_candidates() const;
|
|
::google::protobuf::RepeatedPtrField<::location::nearby::mediums::IceCandidate>* PROTOBUF_NONNULL _internal_mutable_ice_candidates();
|
|
public:
|
|
const ::location::nearby::mediums::IceCandidate& ice_candidates(int index) const;
|
|
::location::nearby::mediums::IceCandidate* PROTOBUF_NONNULL add_ice_candidates();
|
|
const ::google::protobuf::RepeatedPtrField<::location::nearby::mediums::IceCandidate>& ice_candidates() const;
|
|
// @@protoc_insertion_point(class_scope:location.nearby.mediums.IceCandidates)
|
|
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 IceCandidates& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::google::protobuf::RepeatedPtrField< ::location::nearby::mediums::IceCandidate > ice_candidates_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_proto_2fmediums_2fweb_5frtc_5fsignaling_5fframes_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<38> IceCandidates_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class Answer final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.mediums.Answer) */ {
|
|
public:
|
|
inline Answer() : Answer(nullptr) {}
|
|
~Answer() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(Answer* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(Answer));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR Answer(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline Answer(const Answer& from) : Answer(nullptr, from) {}
|
|
inline Answer(Answer&& from) noexcept
|
|
: Answer(nullptr, ::std::move(from)) {}
|
|
inline Answer& operator=(const Answer& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline Answer& operator=(Answer&& 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 Answer& default_instance() {
|
|
return *reinterpret_cast<const Answer*>(
|
|
&_Answer_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages = 6;
|
|
friend void swap(Answer& a, Answer& b) { a.Swap(&b); }
|
|
inline void Swap(Answer* 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(Answer* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
Answer* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<Answer>(arena);
|
|
}
|
|
void CopyFrom(const Answer& from);
|
|
void MergeFrom(const Answer& from) { Answer::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(Answer* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.mediums.Answer"; }
|
|
|
|
explicit Answer(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
Answer(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Answer& from);
|
|
Answer(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Answer&& from) noexcept
|
|
: Answer(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 {
|
|
kSessionDescriptionFieldNumber = 1,
|
|
};
|
|
// optional .location.nearby.mediums.SessionDescription session_description = 1;
|
|
bool has_session_description() const;
|
|
void clear_session_description() ;
|
|
const ::location::nearby::mediums::SessionDescription& session_description() const;
|
|
[[nodiscard]] ::location::nearby::mediums::SessionDescription* PROTOBUF_NULLABLE release_session_description();
|
|
::location::nearby::mediums::SessionDescription* PROTOBUF_NONNULL mutable_session_description();
|
|
void set_allocated_session_description(::location::nearby::mediums::SessionDescription* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_session_description(::location::nearby::mediums::SessionDescription* PROTOBUF_NULLABLE value);
|
|
::location::nearby::mediums::SessionDescription* PROTOBUF_NULLABLE unsafe_arena_release_session_description();
|
|
|
|
private:
|
|
const ::location::nearby::mediums::SessionDescription& _internal_session_description() const;
|
|
::location::nearby::mediums::SessionDescription* PROTOBUF_NONNULL _internal_mutable_session_description();
|
|
|
|
public:
|
|
// @@protoc_insertion_point(class_scope:location.nearby.mediums.Answer)
|
|
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 Answer& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::location::nearby::mediums::SessionDescription* PROTOBUF_NULLABLE session_description_;
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_proto_2fmediums_2fweb_5frtc_5fsignaling_5fframes_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<31> Answer_class_data_;
|
|
// -------------------------------------------------------------------
|
|
|
|
class WebRtcSignalingFrame final : public ::google::protobuf::MessageLite
|
|
/* @@protoc_insertion_point(class_definition:location.nearby.mediums.WebRtcSignalingFrame) */ {
|
|
public:
|
|
inline WebRtcSignalingFrame() : WebRtcSignalingFrame(nullptr) {}
|
|
~WebRtcSignalingFrame() PROTOBUF_FINAL;
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
void operator delete(WebRtcSignalingFrame* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
|
|
SharedDtor(*msg);
|
|
::google::protobuf::internal::SizedDelete(msg, sizeof(WebRtcSignalingFrame));
|
|
}
|
|
#endif
|
|
|
|
template <typename = void>
|
|
explicit PROTOBUF_CONSTEXPR WebRtcSignalingFrame(::google::protobuf::internal::ConstantInitialized);
|
|
|
|
inline WebRtcSignalingFrame(const WebRtcSignalingFrame& from) : WebRtcSignalingFrame(nullptr, from) {}
|
|
inline WebRtcSignalingFrame(WebRtcSignalingFrame&& from) noexcept
|
|
: WebRtcSignalingFrame(nullptr, ::std::move(from)) {}
|
|
inline WebRtcSignalingFrame& operator=(const WebRtcSignalingFrame& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline WebRtcSignalingFrame& operator=(WebRtcSignalingFrame&& 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 WebRtcSignalingFrame& default_instance() {
|
|
return *reinterpret_cast<const WebRtcSignalingFrame*>(
|
|
&_WebRtcSignalingFrame_default_instance_);
|
|
}
|
|
enum FrameCase {
|
|
kOffer = 3,
|
|
kAnswer = 4,
|
|
kIceCandidates = 5,
|
|
kReadyForSignalingPoke = 6,
|
|
FRAME_NOT_SET = 0,
|
|
};
|
|
static constexpr int kIndexInFileMessages = 0;
|
|
friend void swap(WebRtcSignalingFrame& a, WebRtcSignalingFrame& b) { a.Swap(&b); }
|
|
inline void Swap(WebRtcSignalingFrame* 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(WebRtcSignalingFrame* PROTOBUF_NONNULL other) {
|
|
if (other == this) return;
|
|
ABSL_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
WebRtcSignalingFrame* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
|
|
return ::google::protobuf::MessageLite::DefaultConstruct<WebRtcSignalingFrame>(arena);
|
|
}
|
|
void CopyFrom(const WebRtcSignalingFrame& from);
|
|
void MergeFrom(const WebRtcSignalingFrame& from) { WebRtcSignalingFrame::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(WebRtcSignalingFrame* PROTOBUF_NONNULL other);
|
|
private:
|
|
template <typename T>
|
|
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
|
|
static ::absl::string_view FullMessageName() { return "location.nearby.mediums.WebRtcSignalingFrame"; }
|
|
|
|
explicit WebRtcSignalingFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
|
|
WebRtcSignalingFrame(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const WebRtcSignalingFrame& from);
|
|
WebRtcSignalingFrame(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, WebRtcSignalingFrame&& from) noexcept
|
|
: WebRtcSignalingFrame(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 FrameType = WebRtcSignalingFrame_FrameType;
|
|
static constexpr FrameType UNKNOWN_FRAME_TYPE = WebRtcSignalingFrame_FrameType_UNKNOWN_FRAME_TYPE;
|
|
static constexpr FrameType OFFER_TYPE = WebRtcSignalingFrame_FrameType_OFFER_TYPE;
|
|
static constexpr FrameType ANSWER_TYPE = WebRtcSignalingFrame_FrameType_ANSWER_TYPE;
|
|
static constexpr FrameType ICE_CANDIDATES_TYPE = WebRtcSignalingFrame_FrameType_ICE_CANDIDATES_TYPE;
|
|
static constexpr FrameType READY_FOR_SIGNALING_POKE_TYPE = WebRtcSignalingFrame_FrameType_READY_FOR_SIGNALING_POKE_TYPE;
|
|
static inline bool FrameType_IsValid(int value) {
|
|
return WebRtcSignalingFrame_FrameType_IsValid(value);
|
|
}
|
|
static constexpr FrameType FrameType_MIN = WebRtcSignalingFrame_FrameType_FrameType_MIN;
|
|
static constexpr FrameType FrameType_MAX = WebRtcSignalingFrame_FrameType_FrameType_MAX;
|
|
static constexpr int FrameType_ARRAYSIZE = WebRtcSignalingFrame_FrameType_FrameType_ARRAYSIZE;
|
|
template <typename T>
|
|
static inline const ::std::string& FrameType_Name(T value) {
|
|
return WebRtcSignalingFrame_FrameType_Name(value);
|
|
}
|
|
static inline bool FrameType_Parse(
|
|
::absl::string_view name, FrameType* PROTOBUF_NONNULL value) {
|
|
return WebRtcSignalingFrame_FrameType_Parse(name, value);
|
|
}
|
|
|
|
// accessors -------------------------------------------------------
|
|
enum : int {
|
|
kSenderIdFieldNumber = 1,
|
|
kTypeFieldNumber = 2,
|
|
kOfferFieldNumber = 3,
|
|
kAnswerFieldNumber = 4,
|
|
kIceCandidatesFieldNumber = 5,
|
|
kReadyForSignalingPokeFieldNumber = 6,
|
|
};
|
|
// optional .location.nearby.mediums.PeerId sender_id = 1;
|
|
bool has_sender_id() const;
|
|
void clear_sender_id() ;
|
|
const ::location::nearby::mediums::PeerId& sender_id() const;
|
|
[[nodiscard]] ::location::nearby::mediums::PeerId* PROTOBUF_NULLABLE release_sender_id();
|
|
::location::nearby::mediums::PeerId* PROTOBUF_NONNULL mutable_sender_id();
|
|
void set_allocated_sender_id(::location::nearby::mediums::PeerId* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_sender_id(::location::nearby::mediums::PeerId* PROTOBUF_NULLABLE value);
|
|
::location::nearby::mediums::PeerId* PROTOBUF_NULLABLE unsafe_arena_release_sender_id();
|
|
|
|
private:
|
|
const ::location::nearby::mediums::PeerId& _internal_sender_id() const;
|
|
::location::nearby::mediums::PeerId* PROTOBUF_NONNULL _internal_mutable_sender_id();
|
|
|
|
public:
|
|
// optional .location.nearby.mediums.WebRtcSignalingFrame.FrameType type = 2;
|
|
bool has_type() const;
|
|
void clear_type() ;
|
|
::location::nearby::mediums::WebRtcSignalingFrame_FrameType type() const;
|
|
void set_type(::location::nearby::mediums::WebRtcSignalingFrame_FrameType value);
|
|
|
|
private:
|
|
::location::nearby::mediums::WebRtcSignalingFrame_FrameType _internal_type() const;
|
|
void _internal_set_type(::location::nearby::mediums::WebRtcSignalingFrame_FrameType value);
|
|
|
|
public:
|
|
// .location.nearby.mediums.Offer offer = 3;
|
|
bool has_offer() const;
|
|
private:
|
|
bool _internal_has_offer() const;
|
|
|
|
public:
|
|
void clear_offer() ;
|
|
const ::location::nearby::mediums::Offer& offer() const;
|
|
[[nodiscard]] ::location::nearby::mediums::Offer* PROTOBUF_NULLABLE release_offer();
|
|
::location::nearby::mediums::Offer* PROTOBUF_NONNULL mutable_offer();
|
|
void set_allocated_offer(::location::nearby::mediums::Offer* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_offer(::location::nearby::mediums::Offer* PROTOBUF_NULLABLE value);
|
|
::location::nearby::mediums::Offer* PROTOBUF_NULLABLE unsafe_arena_release_offer();
|
|
|
|
private:
|
|
const ::location::nearby::mediums::Offer& _internal_offer() const;
|
|
::location::nearby::mediums::Offer* PROTOBUF_NONNULL _internal_mutable_offer();
|
|
|
|
public:
|
|
// .location.nearby.mediums.Answer answer = 4;
|
|
bool has_answer() const;
|
|
private:
|
|
bool _internal_has_answer() const;
|
|
|
|
public:
|
|
void clear_answer() ;
|
|
const ::location::nearby::mediums::Answer& answer() const;
|
|
[[nodiscard]] ::location::nearby::mediums::Answer* PROTOBUF_NULLABLE release_answer();
|
|
::location::nearby::mediums::Answer* PROTOBUF_NONNULL mutable_answer();
|
|
void set_allocated_answer(::location::nearby::mediums::Answer* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_answer(::location::nearby::mediums::Answer* PROTOBUF_NULLABLE value);
|
|
::location::nearby::mediums::Answer* PROTOBUF_NULLABLE unsafe_arena_release_answer();
|
|
|
|
private:
|
|
const ::location::nearby::mediums::Answer& _internal_answer() const;
|
|
::location::nearby::mediums::Answer* PROTOBUF_NONNULL _internal_mutable_answer();
|
|
|
|
public:
|
|
// .location.nearby.mediums.IceCandidates ice_candidates = 5;
|
|
bool has_ice_candidates() const;
|
|
private:
|
|
bool _internal_has_ice_candidates() const;
|
|
|
|
public:
|
|
void clear_ice_candidates() ;
|
|
const ::location::nearby::mediums::IceCandidates& ice_candidates() const;
|
|
[[nodiscard]] ::location::nearby::mediums::IceCandidates* PROTOBUF_NULLABLE release_ice_candidates();
|
|
::location::nearby::mediums::IceCandidates* PROTOBUF_NONNULL mutable_ice_candidates();
|
|
void set_allocated_ice_candidates(::location::nearby::mediums::IceCandidates* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_ice_candidates(::location::nearby::mediums::IceCandidates* PROTOBUF_NULLABLE value);
|
|
::location::nearby::mediums::IceCandidates* PROTOBUF_NULLABLE unsafe_arena_release_ice_candidates();
|
|
|
|
private:
|
|
const ::location::nearby::mediums::IceCandidates& _internal_ice_candidates() const;
|
|
::location::nearby::mediums::IceCandidates* PROTOBUF_NONNULL _internal_mutable_ice_candidates();
|
|
|
|
public:
|
|
// .location.nearby.mediums.ReadyForSignalingPoke ready_for_signaling_poke = 6;
|
|
bool has_ready_for_signaling_poke() const;
|
|
private:
|
|
bool _internal_has_ready_for_signaling_poke() const;
|
|
|
|
public:
|
|
void clear_ready_for_signaling_poke() ;
|
|
const ::location::nearby::mediums::ReadyForSignalingPoke& ready_for_signaling_poke() const;
|
|
[[nodiscard]] ::location::nearby::mediums::ReadyForSignalingPoke* PROTOBUF_NULLABLE release_ready_for_signaling_poke();
|
|
::location::nearby::mediums::ReadyForSignalingPoke* PROTOBUF_NONNULL mutable_ready_for_signaling_poke();
|
|
void set_allocated_ready_for_signaling_poke(::location::nearby::mediums::ReadyForSignalingPoke* PROTOBUF_NULLABLE value);
|
|
void unsafe_arena_set_allocated_ready_for_signaling_poke(::location::nearby::mediums::ReadyForSignalingPoke* PROTOBUF_NULLABLE value);
|
|
::location::nearby::mediums::ReadyForSignalingPoke* PROTOBUF_NULLABLE unsafe_arena_release_ready_for_signaling_poke();
|
|
|
|
private:
|
|
const ::location::nearby::mediums::ReadyForSignalingPoke& _internal_ready_for_signaling_poke() const;
|
|
::location::nearby::mediums::ReadyForSignalingPoke* PROTOBUF_NONNULL _internal_mutable_ready_for_signaling_poke();
|
|
|
|
public:
|
|
void clear_Frame();
|
|
FrameCase Frame_case() const;
|
|
// @@protoc_insertion_point(class_scope:location.nearby.mediums.WebRtcSignalingFrame)
|
|
private:
|
|
class _Internal;
|
|
void set_has_offer();
|
|
void set_has_answer();
|
|
void set_has_ice_candidates();
|
|
void set_has_ready_for_signaling_poke();
|
|
inline bool has_Frame() const;
|
|
inline void clear_has_Frame();
|
|
friend class ::google::protobuf::internal::TcParser;
|
|
static const ::google::protobuf::internal::TcParseTable<1, 6,
|
|
6, 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 WebRtcSignalingFrame& from_msg);
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
::google::protobuf::internal::CachedSize _cached_size_;
|
|
::location::nearby::mediums::PeerId* PROTOBUF_NULLABLE sender_id_;
|
|
int type_;
|
|
union FrameUnion {
|
|
constexpr FrameUnion() : _constinit_{} {}
|
|
::google::protobuf::internal::ConstantInitialized _constinit_;
|
|
::google::protobuf::MessageLite* PROTOBUF_NULLABLE offer_;
|
|
::google::protobuf::MessageLite* PROTOBUF_NULLABLE answer_;
|
|
::google::protobuf::MessageLite* PROTOBUF_NULLABLE ice_candidates_;
|
|
::google::protobuf::MessageLite* PROTOBUF_NULLABLE ready_for_signaling_poke_;
|
|
} Frame_;
|
|
::uint32_t _oneof_case_[1];
|
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_proto_2fmediums_2fweb_5frtc_5fsignaling_5fframes_2eproto;
|
|
};
|
|
|
|
extern const ::google::protobuf::internal::ClassDataLite<45> WebRtcSignalingFrame_class_data_;
|
|
|
|
// ===================================================================
|
|
|
|
|
|
|
|
|
|
// ===================================================================
|
|
|
|
|
|
#ifdef __GNUC__
|
|
#pragma GCC diagnostic push
|
|
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
|
#endif // __GNUC__
|
|
// -------------------------------------------------------------------
|
|
|
|
// WebRtcSignalingFrame
|
|
|
|
// optional .location.nearby.mediums.PeerId sender_id = 1;
|
|
inline bool WebRtcSignalingFrame::has_sender_id() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
PROTOBUF_ASSUME(!value || _impl_.sender_id_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void WebRtcSignalingFrame::clear_sender_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.sender_id_ != nullptr) _impl_.sender_id_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline const ::location::nearby::mediums::PeerId& WebRtcSignalingFrame::_internal_sender_id() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::mediums::PeerId* p = _impl_.sender_id_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::mediums::PeerId&>(::location::nearby::mediums::_PeerId_default_instance_);
|
|
}
|
|
inline const ::location::nearby::mediums::PeerId& WebRtcSignalingFrame::sender_id() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.WebRtcSignalingFrame.sender_id)
|
|
return _internal_sender_id();
|
|
}
|
|
inline void WebRtcSignalingFrame::unsafe_arena_set_allocated_sender_id(
|
|
::location::nearby::mediums::PeerId* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.sender_id_);
|
|
}
|
|
_impl_.sender_id_ = reinterpret_cast<::location::nearby::mediums::PeerId*>(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.WebRtcSignalingFrame.sender_id)
|
|
}
|
|
inline ::location::nearby::mediums::PeerId* PROTOBUF_NULLABLE WebRtcSignalingFrame::release_sender_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::location::nearby::mediums::PeerId* released = _impl_.sender_id_;
|
|
_impl_.sender_id_ = 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::PeerId* PROTOBUF_NULLABLE WebRtcSignalingFrame::unsafe_arena_release_sender_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.mediums.WebRtcSignalingFrame.sender_id)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::location::nearby::mediums::PeerId* temp = _impl_.sender_id_;
|
|
_impl_.sender_id_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::mediums::PeerId* PROTOBUF_NONNULL WebRtcSignalingFrame::_internal_mutable_sender_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.sender_id_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::mediums::PeerId>(GetArena());
|
|
_impl_.sender_id_ = reinterpret_cast<::location::nearby::mediums::PeerId*>(p);
|
|
}
|
|
return _impl_.sender_id_;
|
|
}
|
|
inline ::location::nearby::mediums::PeerId* PROTOBUF_NONNULL WebRtcSignalingFrame::mutable_sender_id()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::location::nearby::mediums::PeerId* _msg = _internal_mutable_sender_id();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.mediums.WebRtcSignalingFrame.sender_id)
|
|
return _msg;
|
|
}
|
|
inline void WebRtcSignalingFrame::set_allocated_sender_id(::location::nearby::mediums::PeerId* 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_.sender_id_);
|
|
}
|
|
|
|
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_.sender_id_ = reinterpret_cast<::location::nearby::mediums::PeerId*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.mediums.WebRtcSignalingFrame.sender_id)
|
|
}
|
|
|
|
// optional .location.nearby.mediums.WebRtcSignalingFrame.FrameType type = 2;
|
|
inline bool WebRtcSignalingFrame::has_type() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
return value;
|
|
}
|
|
inline void WebRtcSignalingFrame::clear_type() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.type_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline ::location::nearby::mediums::WebRtcSignalingFrame_FrameType WebRtcSignalingFrame::type() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.WebRtcSignalingFrame.type)
|
|
return _internal_type();
|
|
}
|
|
inline void WebRtcSignalingFrame::set_type(::location::nearby::mediums::WebRtcSignalingFrame_FrameType value) {
|
|
_internal_set_type(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.mediums.WebRtcSignalingFrame.type)
|
|
}
|
|
inline ::location::nearby::mediums::WebRtcSignalingFrame_FrameType WebRtcSignalingFrame::_internal_type() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return static_cast<::location::nearby::mediums::WebRtcSignalingFrame_FrameType>(_impl_.type_);
|
|
}
|
|
inline void WebRtcSignalingFrame::_internal_set_type(::location::nearby::mediums::WebRtcSignalingFrame_FrameType value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
assert(::google::protobuf::internal::ValidateEnum(
|
|
value, ::location::nearby::mediums::WebRtcSignalingFrame_FrameType_internal_data_));
|
|
_impl_.type_ = value;
|
|
}
|
|
|
|
// .location.nearby.mediums.Offer offer = 3;
|
|
inline bool WebRtcSignalingFrame::has_offer() const {
|
|
return Frame_case() == kOffer;
|
|
}
|
|
inline bool WebRtcSignalingFrame::_internal_has_offer() const {
|
|
return Frame_case() == kOffer;
|
|
}
|
|
inline void WebRtcSignalingFrame::set_has_offer() {
|
|
_impl_._oneof_case_[0] = kOffer;
|
|
}
|
|
inline void WebRtcSignalingFrame::clear_offer() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (Frame_case() == kOffer) {
|
|
if (GetArena() == nullptr) {
|
|
delete _impl_.Frame_.offer_;
|
|
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
|
|
if (_impl_.Frame_.offer_ != nullptr) {
|
|
_impl_.Frame_.offer_->Clear();
|
|
}
|
|
}
|
|
clear_has_Frame();
|
|
}
|
|
}
|
|
inline ::location::nearby::mediums::Offer* PROTOBUF_NULLABLE WebRtcSignalingFrame::release_offer() {
|
|
// @@protoc_insertion_point(field_release:location.nearby.mediums.WebRtcSignalingFrame.offer)
|
|
if (Frame_case() == kOffer) {
|
|
clear_has_Frame();
|
|
auto* temp = reinterpret_cast<::location::nearby::mediums::Offer*>(_impl_.Frame_.offer_);
|
|
if (GetArena() != nullptr) {
|
|
temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
|
|
}
|
|
_impl_.Frame_.offer_ = nullptr;
|
|
return temp;
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline const ::location::nearby::mediums::Offer& WebRtcSignalingFrame::_internal_offer() const {
|
|
return Frame_case() == kOffer ? static_cast<const ::location::nearby::mediums::Offer&>(*reinterpret_cast<::location::nearby::mediums::Offer*>(_impl_.Frame_.offer_))
|
|
: reinterpret_cast<const ::location::nearby::mediums::Offer&>(::location::nearby::mediums::_Offer_default_instance_);
|
|
}
|
|
inline const ::location::nearby::mediums::Offer& WebRtcSignalingFrame::offer() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.WebRtcSignalingFrame.offer)
|
|
return _internal_offer();
|
|
}
|
|
inline ::location::nearby::mediums::Offer* PROTOBUF_NULLABLE WebRtcSignalingFrame::unsafe_arena_release_offer() {
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:location.nearby.mediums.WebRtcSignalingFrame.offer)
|
|
if (Frame_case() == kOffer) {
|
|
clear_has_Frame();
|
|
auto* temp = reinterpret_cast<::location::nearby::mediums::Offer*>(_impl_.Frame_.offer_);
|
|
_impl_.Frame_.offer_ = nullptr;
|
|
return temp;
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline void WebRtcSignalingFrame::unsafe_arena_set_allocated_offer(
|
|
::location::nearby::mediums::Offer* 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_offer();
|
|
_impl_.Frame_.offer_ = reinterpret_cast<::google::protobuf::MessageLite*>(value);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.mediums.WebRtcSignalingFrame.offer)
|
|
}
|
|
inline ::location::nearby::mediums::Offer* PROTOBUF_NONNULL WebRtcSignalingFrame::_internal_mutable_offer() {
|
|
if (Frame_case() != kOffer) {
|
|
clear_Frame();
|
|
set_has_offer();
|
|
_impl_.Frame_.offer_ = reinterpret_cast<::google::protobuf::MessageLite*>(
|
|
::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::mediums::Offer>(GetArena()));
|
|
}
|
|
return reinterpret_cast<::location::nearby::mediums::Offer*>(_impl_.Frame_.offer_);
|
|
}
|
|
inline ::location::nearby::mediums::Offer* PROTOBUF_NONNULL WebRtcSignalingFrame::mutable_offer()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::location::nearby::mediums::Offer* _msg = _internal_mutable_offer();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.mediums.WebRtcSignalingFrame.offer)
|
|
return _msg;
|
|
}
|
|
|
|
// .location.nearby.mediums.Answer answer = 4;
|
|
inline bool WebRtcSignalingFrame::has_answer() const {
|
|
return Frame_case() == kAnswer;
|
|
}
|
|
inline bool WebRtcSignalingFrame::_internal_has_answer() const {
|
|
return Frame_case() == kAnswer;
|
|
}
|
|
inline void WebRtcSignalingFrame::set_has_answer() {
|
|
_impl_._oneof_case_[0] = kAnswer;
|
|
}
|
|
inline void WebRtcSignalingFrame::clear_answer() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (Frame_case() == kAnswer) {
|
|
if (GetArena() == nullptr) {
|
|
delete _impl_.Frame_.answer_;
|
|
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
|
|
if (_impl_.Frame_.answer_ != nullptr) {
|
|
_impl_.Frame_.answer_->Clear();
|
|
}
|
|
}
|
|
clear_has_Frame();
|
|
}
|
|
}
|
|
inline ::location::nearby::mediums::Answer* PROTOBUF_NULLABLE WebRtcSignalingFrame::release_answer() {
|
|
// @@protoc_insertion_point(field_release:location.nearby.mediums.WebRtcSignalingFrame.answer)
|
|
if (Frame_case() == kAnswer) {
|
|
clear_has_Frame();
|
|
auto* temp = reinterpret_cast<::location::nearby::mediums::Answer*>(_impl_.Frame_.answer_);
|
|
if (GetArena() != nullptr) {
|
|
temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
|
|
}
|
|
_impl_.Frame_.answer_ = nullptr;
|
|
return temp;
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline const ::location::nearby::mediums::Answer& WebRtcSignalingFrame::_internal_answer() const {
|
|
return Frame_case() == kAnswer ? static_cast<const ::location::nearby::mediums::Answer&>(*reinterpret_cast<::location::nearby::mediums::Answer*>(_impl_.Frame_.answer_))
|
|
: reinterpret_cast<const ::location::nearby::mediums::Answer&>(::location::nearby::mediums::_Answer_default_instance_);
|
|
}
|
|
inline const ::location::nearby::mediums::Answer& WebRtcSignalingFrame::answer() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.WebRtcSignalingFrame.answer)
|
|
return _internal_answer();
|
|
}
|
|
inline ::location::nearby::mediums::Answer* PROTOBUF_NULLABLE WebRtcSignalingFrame::unsafe_arena_release_answer() {
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:location.nearby.mediums.WebRtcSignalingFrame.answer)
|
|
if (Frame_case() == kAnswer) {
|
|
clear_has_Frame();
|
|
auto* temp = reinterpret_cast<::location::nearby::mediums::Answer*>(_impl_.Frame_.answer_);
|
|
_impl_.Frame_.answer_ = nullptr;
|
|
return temp;
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline void WebRtcSignalingFrame::unsafe_arena_set_allocated_answer(
|
|
::location::nearby::mediums::Answer* 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_answer();
|
|
_impl_.Frame_.answer_ = reinterpret_cast<::google::protobuf::MessageLite*>(value);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.mediums.WebRtcSignalingFrame.answer)
|
|
}
|
|
inline ::location::nearby::mediums::Answer* PROTOBUF_NONNULL WebRtcSignalingFrame::_internal_mutable_answer() {
|
|
if (Frame_case() != kAnswer) {
|
|
clear_Frame();
|
|
set_has_answer();
|
|
_impl_.Frame_.answer_ = reinterpret_cast<::google::protobuf::MessageLite*>(
|
|
::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::mediums::Answer>(GetArena()));
|
|
}
|
|
return reinterpret_cast<::location::nearby::mediums::Answer*>(_impl_.Frame_.answer_);
|
|
}
|
|
inline ::location::nearby::mediums::Answer* PROTOBUF_NONNULL WebRtcSignalingFrame::mutable_answer()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::location::nearby::mediums::Answer* _msg = _internal_mutable_answer();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.mediums.WebRtcSignalingFrame.answer)
|
|
return _msg;
|
|
}
|
|
|
|
// .location.nearby.mediums.IceCandidates ice_candidates = 5;
|
|
inline bool WebRtcSignalingFrame::has_ice_candidates() const {
|
|
return Frame_case() == kIceCandidates;
|
|
}
|
|
inline bool WebRtcSignalingFrame::_internal_has_ice_candidates() const {
|
|
return Frame_case() == kIceCandidates;
|
|
}
|
|
inline void WebRtcSignalingFrame::set_has_ice_candidates() {
|
|
_impl_._oneof_case_[0] = kIceCandidates;
|
|
}
|
|
inline void WebRtcSignalingFrame::clear_ice_candidates() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (Frame_case() == kIceCandidates) {
|
|
if (GetArena() == nullptr) {
|
|
delete _impl_.Frame_.ice_candidates_;
|
|
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
|
|
if (_impl_.Frame_.ice_candidates_ != nullptr) {
|
|
_impl_.Frame_.ice_candidates_->Clear();
|
|
}
|
|
}
|
|
clear_has_Frame();
|
|
}
|
|
}
|
|
inline ::location::nearby::mediums::IceCandidates* PROTOBUF_NULLABLE WebRtcSignalingFrame::release_ice_candidates() {
|
|
// @@protoc_insertion_point(field_release:location.nearby.mediums.WebRtcSignalingFrame.ice_candidates)
|
|
if (Frame_case() == kIceCandidates) {
|
|
clear_has_Frame();
|
|
auto* temp = reinterpret_cast<::location::nearby::mediums::IceCandidates*>(_impl_.Frame_.ice_candidates_);
|
|
if (GetArena() != nullptr) {
|
|
temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
|
|
}
|
|
_impl_.Frame_.ice_candidates_ = nullptr;
|
|
return temp;
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline const ::location::nearby::mediums::IceCandidates& WebRtcSignalingFrame::_internal_ice_candidates() const {
|
|
return Frame_case() == kIceCandidates ? static_cast<const ::location::nearby::mediums::IceCandidates&>(*reinterpret_cast<::location::nearby::mediums::IceCandidates*>(_impl_.Frame_.ice_candidates_))
|
|
: reinterpret_cast<const ::location::nearby::mediums::IceCandidates&>(::location::nearby::mediums::_IceCandidates_default_instance_);
|
|
}
|
|
inline const ::location::nearby::mediums::IceCandidates& WebRtcSignalingFrame::ice_candidates() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.WebRtcSignalingFrame.ice_candidates)
|
|
return _internal_ice_candidates();
|
|
}
|
|
inline ::location::nearby::mediums::IceCandidates* PROTOBUF_NULLABLE WebRtcSignalingFrame::unsafe_arena_release_ice_candidates() {
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:location.nearby.mediums.WebRtcSignalingFrame.ice_candidates)
|
|
if (Frame_case() == kIceCandidates) {
|
|
clear_has_Frame();
|
|
auto* temp = reinterpret_cast<::location::nearby::mediums::IceCandidates*>(_impl_.Frame_.ice_candidates_);
|
|
_impl_.Frame_.ice_candidates_ = nullptr;
|
|
return temp;
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline void WebRtcSignalingFrame::unsafe_arena_set_allocated_ice_candidates(
|
|
::location::nearby::mediums::IceCandidates* 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_ice_candidates();
|
|
_impl_.Frame_.ice_candidates_ = reinterpret_cast<::google::protobuf::MessageLite*>(value);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.mediums.WebRtcSignalingFrame.ice_candidates)
|
|
}
|
|
inline ::location::nearby::mediums::IceCandidates* PROTOBUF_NONNULL WebRtcSignalingFrame::_internal_mutable_ice_candidates() {
|
|
if (Frame_case() != kIceCandidates) {
|
|
clear_Frame();
|
|
set_has_ice_candidates();
|
|
_impl_.Frame_.ice_candidates_ = reinterpret_cast<::google::protobuf::MessageLite*>(
|
|
::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::mediums::IceCandidates>(GetArena()));
|
|
}
|
|
return reinterpret_cast<::location::nearby::mediums::IceCandidates*>(_impl_.Frame_.ice_candidates_);
|
|
}
|
|
inline ::location::nearby::mediums::IceCandidates* PROTOBUF_NONNULL WebRtcSignalingFrame::mutable_ice_candidates()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::location::nearby::mediums::IceCandidates* _msg = _internal_mutable_ice_candidates();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.mediums.WebRtcSignalingFrame.ice_candidates)
|
|
return _msg;
|
|
}
|
|
|
|
// .location.nearby.mediums.ReadyForSignalingPoke ready_for_signaling_poke = 6;
|
|
inline bool WebRtcSignalingFrame::has_ready_for_signaling_poke() const {
|
|
return Frame_case() == kReadyForSignalingPoke;
|
|
}
|
|
inline bool WebRtcSignalingFrame::_internal_has_ready_for_signaling_poke() const {
|
|
return Frame_case() == kReadyForSignalingPoke;
|
|
}
|
|
inline void WebRtcSignalingFrame::set_has_ready_for_signaling_poke() {
|
|
_impl_._oneof_case_[0] = kReadyForSignalingPoke;
|
|
}
|
|
inline void WebRtcSignalingFrame::clear_ready_for_signaling_poke() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (Frame_case() == kReadyForSignalingPoke) {
|
|
if (GetArena() == nullptr) {
|
|
delete _impl_.Frame_.ready_for_signaling_poke_;
|
|
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
|
|
if (_impl_.Frame_.ready_for_signaling_poke_ != nullptr) {
|
|
_impl_.Frame_.ready_for_signaling_poke_->Clear();
|
|
}
|
|
}
|
|
clear_has_Frame();
|
|
}
|
|
}
|
|
inline ::location::nearby::mediums::ReadyForSignalingPoke* PROTOBUF_NULLABLE WebRtcSignalingFrame::release_ready_for_signaling_poke() {
|
|
// @@protoc_insertion_point(field_release:location.nearby.mediums.WebRtcSignalingFrame.ready_for_signaling_poke)
|
|
if (Frame_case() == kReadyForSignalingPoke) {
|
|
clear_has_Frame();
|
|
auto* temp = reinterpret_cast<::location::nearby::mediums::ReadyForSignalingPoke*>(_impl_.Frame_.ready_for_signaling_poke_);
|
|
if (GetArena() != nullptr) {
|
|
temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
|
|
}
|
|
_impl_.Frame_.ready_for_signaling_poke_ = nullptr;
|
|
return temp;
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline const ::location::nearby::mediums::ReadyForSignalingPoke& WebRtcSignalingFrame::_internal_ready_for_signaling_poke() const {
|
|
return Frame_case() == kReadyForSignalingPoke ? static_cast<const ::location::nearby::mediums::ReadyForSignalingPoke&>(*reinterpret_cast<::location::nearby::mediums::ReadyForSignalingPoke*>(_impl_.Frame_.ready_for_signaling_poke_))
|
|
: reinterpret_cast<const ::location::nearby::mediums::ReadyForSignalingPoke&>(::location::nearby::mediums::_ReadyForSignalingPoke_default_instance_);
|
|
}
|
|
inline const ::location::nearby::mediums::ReadyForSignalingPoke& WebRtcSignalingFrame::ready_for_signaling_poke() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.WebRtcSignalingFrame.ready_for_signaling_poke)
|
|
return _internal_ready_for_signaling_poke();
|
|
}
|
|
inline ::location::nearby::mediums::ReadyForSignalingPoke* PROTOBUF_NULLABLE WebRtcSignalingFrame::unsafe_arena_release_ready_for_signaling_poke() {
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:location.nearby.mediums.WebRtcSignalingFrame.ready_for_signaling_poke)
|
|
if (Frame_case() == kReadyForSignalingPoke) {
|
|
clear_has_Frame();
|
|
auto* temp = reinterpret_cast<::location::nearby::mediums::ReadyForSignalingPoke*>(_impl_.Frame_.ready_for_signaling_poke_);
|
|
_impl_.Frame_.ready_for_signaling_poke_ = nullptr;
|
|
return temp;
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline void WebRtcSignalingFrame::unsafe_arena_set_allocated_ready_for_signaling_poke(
|
|
::location::nearby::mediums::ReadyForSignalingPoke* 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_ready_for_signaling_poke();
|
|
_impl_.Frame_.ready_for_signaling_poke_ = reinterpret_cast<::google::protobuf::MessageLite*>(value);
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.mediums.WebRtcSignalingFrame.ready_for_signaling_poke)
|
|
}
|
|
inline ::location::nearby::mediums::ReadyForSignalingPoke* PROTOBUF_NONNULL WebRtcSignalingFrame::_internal_mutable_ready_for_signaling_poke() {
|
|
if (Frame_case() != kReadyForSignalingPoke) {
|
|
clear_Frame();
|
|
set_has_ready_for_signaling_poke();
|
|
_impl_.Frame_.ready_for_signaling_poke_ = reinterpret_cast<::google::protobuf::MessageLite*>(
|
|
::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::mediums::ReadyForSignalingPoke>(GetArena()));
|
|
}
|
|
return reinterpret_cast<::location::nearby::mediums::ReadyForSignalingPoke*>(_impl_.Frame_.ready_for_signaling_poke_);
|
|
}
|
|
inline ::location::nearby::mediums::ReadyForSignalingPoke* PROTOBUF_NONNULL WebRtcSignalingFrame::mutable_ready_for_signaling_poke()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::location::nearby::mediums::ReadyForSignalingPoke* _msg = _internal_mutable_ready_for_signaling_poke();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.mediums.WebRtcSignalingFrame.ready_for_signaling_poke)
|
|
return _msg;
|
|
}
|
|
|
|
inline bool WebRtcSignalingFrame::has_Frame() const {
|
|
return Frame_case() != FRAME_NOT_SET;
|
|
}
|
|
inline void WebRtcSignalingFrame::clear_has_Frame() {
|
|
_impl_._oneof_case_[0] = FRAME_NOT_SET;
|
|
}
|
|
inline WebRtcSignalingFrame::FrameCase WebRtcSignalingFrame::Frame_case() const {
|
|
return WebRtcSignalingFrame::FrameCase(_impl_._oneof_case_[0]);
|
|
}
|
|
// -------------------------------------------------------------------
|
|
|
|
// PeerId
|
|
|
|
// optional string id = 1;
|
|
inline bool PeerId::has_id() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
return value;
|
|
}
|
|
inline void PeerId::clear_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.id_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline const ::std::string& PeerId::id() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.PeerId.id)
|
|
return _internal_id();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void PeerId::set_id(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
_impl_.id_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.mediums.PeerId.id)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL PeerId::mutable_id()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::std::string* _s = _internal_mutable_id();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.mediums.PeerId.id)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& PeerId::_internal_id() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.id_.Get();
|
|
}
|
|
inline void PeerId::_internal_set_id(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.id_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL PeerId::_internal_mutable_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.id_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE PeerId::release_id() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.mediums.PeerId.id)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
auto* released = _impl_.id_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.id_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void PeerId::set_allocated_id(::std::string* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (value != nullptr) {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
} else {
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
}
|
|
_impl_.id_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.id_.IsDefault()) {
|
|
_impl_.id_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.mediums.PeerId.id)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// SessionDescription
|
|
|
|
// optional string description = 1;
|
|
inline bool SessionDescription::has_description() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
return value;
|
|
}
|
|
inline void SessionDescription::clear_description() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.description_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline const ::std::string& SessionDescription::description() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.SessionDescription.description)
|
|
return _internal_description();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void SessionDescription::set_description(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
_impl_.description_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.mediums.SessionDescription.description)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL SessionDescription::mutable_description()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::std::string* _s = _internal_mutable_description();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.mediums.SessionDescription.description)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& SessionDescription::_internal_description() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.description_.Get();
|
|
}
|
|
inline void SessionDescription::_internal_set_description(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.description_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL SessionDescription::_internal_mutable_description() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.description_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE SessionDescription::release_description() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.mediums.SessionDescription.description)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
auto* released = _impl_.description_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.description_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void SessionDescription::set_allocated_description(::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_.description_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.description_.IsDefault()) {
|
|
_impl_.description_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.mediums.SessionDescription.description)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// IceCandidate
|
|
|
|
// optional string sdp = 1;
|
|
inline bool IceCandidate::has_sdp() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
return value;
|
|
}
|
|
inline void IceCandidate::clear_sdp() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.sdp_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline const ::std::string& IceCandidate::sdp() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.IceCandidate.sdp)
|
|
return _internal_sdp();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void IceCandidate::set_sdp(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
_impl_.sdp_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.mediums.IceCandidate.sdp)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL IceCandidate::mutable_sdp()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::std::string* _s = _internal_mutable_sdp();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.mediums.IceCandidate.sdp)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& IceCandidate::_internal_sdp() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.sdp_.Get();
|
|
}
|
|
inline void IceCandidate::_internal_set_sdp(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.sdp_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL IceCandidate::_internal_mutable_sdp() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.sdp_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE IceCandidate::release_sdp() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.mediums.IceCandidate.sdp)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
auto* released = _impl_.sdp_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.sdp_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void IceCandidate::set_allocated_sdp(::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_.sdp_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.sdp_.IsDefault()) {
|
|
_impl_.sdp_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.mediums.IceCandidate.sdp)
|
|
}
|
|
|
|
// optional string sdp_mid = 2;
|
|
inline bool IceCandidate::has_sdp_mid() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
return value;
|
|
}
|
|
inline void IceCandidate::clear_sdp_mid() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.sdp_mid_.ClearToEmpty();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000002U);
|
|
}
|
|
inline const ::std::string& IceCandidate::sdp_mid() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.IceCandidate.sdp_mid)
|
|
return _internal_sdp_mid();
|
|
}
|
|
template <typename Arg_, typename... Args_>
|
|
PROTOBUF_ALWAYS_INLINE void IceCandidate::set_sdp_mid(Arg_&& arg, Args_... args) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
_impl_.sdp_mid_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
|
// @@protoc_insertion_point(field_set:location.nearby.mediums.IceCandidate.sdp_mid)
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL IceCandidate::mutable_sdp_mid()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
::std::string* _s = _internal_mutable_sdp_mid();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.mediums.IceCandidate.sdp_mid)
|
|
return _s;
|
|
}
|
|
inline const ::std::string& IceCandidate::_internal_sdp_mid() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.sdp_mid_.Get();
|
|
}
|
|
inline void IceCandidate::_internal_set_sdp_mid(const ::std::string& value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.sdp_mid_.Set(value, GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NONNULL IceCandidate::_internal_mutable_sdp_mid() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _impl_.sdp_mid_.Mutable( GetArena());
|
|
}
|
|
inline ::std::string* PROTOBUF_NULLABLE IceCandidate::release_sdp_mid() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.mediums.IceCandidate.sdp_mid)
|
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
|
|
return nullptr;
|
|
}
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
|
|
auto* released = _impl_.sdp_mid_.Release();
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
|
_impl_.sdp_mid_.Set("", GetArena());
|
|
}
|
|
return released;
|
|
}
|
|
inline void IceCandidate::set_allocated_sdp_mid(::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_.sdp_mid_.SetAllocated(value, GetArena());
|
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.sdp_mid_.IsDefault()) {
|
|
_impl_.sdp_mid_.Set("", GetArena());
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.mediums.IceCandidate.sdp_mid)
|
|
}
|
|
|
|
// optional int32 sdp_m_line_index = 3;
|
|
inline bool IceCandidate::has_sdp_m_line_index() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
return value;
|
|
}
|
|
inline void IceCandidate::clear_sdp_m_line_index() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.sdp_m_line_index_ = 0;
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000004U);
|
|
}
|
|
inline ::int32_t IceCandidate::sdp_m_line_index() const {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.IceCandidate.sdp_m_line_index)
|
|
return _internal_sdp_m_line_index();
|
|
}
|
|
inline void IceCandidate::set_sdp_m_line_index(::int32_t value) {
|
|
_internal_set_sdp_m_line_index(value);
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000004U);
|
|
// @@protoc_insertion_point(field_set:location.nearby.mediums.IceCandidate.sdp_m_line_index)
|
|
}
|
|
inline ::int32_t IceCandidate::_internal_sdp_m_line_index() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.sdp_m_line_index_;
|
|
}
|
|
inline void IceCandidate::_internal_set_sdp_m_line_index(::int32_t value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.sdp_m_line_index_ = value;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// IceCandidates
|
|
|
|
// repeated .location.nearby.mediums.IceCandidate ice_candidates = 1;
|
|
inline int IceCandidates::_internal_ice_candidates_size() const {
|
|
return _internal_ice_candidates().size();
|
|
}
|
|
inline int IceCandidates::ice_candidates_size() const {
|
|
return _internal_ice_candidates_size();
|
|
}
|
|
inline void IceCandidates::clear_ice_candidates() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
_impl_.ice_candidates_.Clear();
|
|
ClearHasBitForRepeated(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline ::location::nearby::mediums::IceCandidate* PROTOBUF_NONNULL IceCandidates::mutable_ice_candidates(int index)
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.mediums.IceCandidates.ice_candidates)
|
|
return _internal_mutable_ice_candidates()->Mutable(index);
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField<::location::nearby::mediums::IceCandidate>* PROTOBUF_NONNULL IceCandidates::mutable_ice_candidates()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_mutable_list:location.nearby.mediums.IceCandidates.ice_candidates)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
return _internal_mutable_ice_candidates();
|
|
}
|
|
inline const ::location::nearby::mediums::IceCandidate& IceCandidates::ice_candidates(int index) const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.IceCandidates.ice_candidates)
|
|
return _internal_ice_candidates().Get(index);
|
|
}
|
|
inline ::location::nearby::mediums::IceCandidate* PROTOBUF_NONNULL IceCandidates::add_ice_candidates()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::location::nearby::mediums::IceCandidate* _add =
|
|
_internal_mutable_ice_candidates()->InternalAddWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), GetArena());
|
|
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
|
|
// @@protoc_insertion_point(field_add:location.nearby.mediums.IceCandidates.ice_candidates)
|
|
return _add;
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField<::location::nearby::mediums::IceCandidate>& IceCandidates::ice_candidates() const
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_list:location.nearby.mediums.IceCandidates.ice_candidates)
|
|
return _internal_ice_candidates();
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField<::location::nearby::mediums::IceCandidate>&
|
|
IceCandidates::_internal_ice_candidates() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return _impl_.ice_candidates_;
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField<::location::nearby::mediums::IceCandidate>* PROTOBUF_NONNULL
|
|
IceCandidates::_internal_mutable_ice_candidates() {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
return &_impl_.ice_candidates_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// Offer
|
|
|
|
// optional .location.nearby.mediums.SessionDescription session_description = 1;
|
|
inline bool Offer::has_session_description() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
PROTOBUF_ASSUME(!value || _impl_.session_description_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void Offer::clear_session_description() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.session_description_ != nullptr) _impl_.session_description_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline const ::location::nearby::mediums::SessionDescription& Offer::_internal_session_description() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::mediums::SessionDescription* p = _impl_.session_description_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::mediums::SessionDescription&>(::location::nearby::mediums::_SessionDescription_default_instance_);
|
|
}
|
|
inline const ::location::nearby::mediums::SessionDescription& Offer::session_description() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.Offer.session_description)
|
|
return _internal_session_description();
|
|
}
|
|
inline void Offer::unsafe_arena_set_allocated_session_description(
|
|
::location::nearby::mediums::SessionDescription* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.session_description_);
|
|
}
|
|
_impl_.session_description_ = reinterpret_cast<::location::nearby::mediums::SessionDescription*>(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.Offer.session_description)
|
|
}
|
|
inline ::location::nearby::mediums::SessionDescription* PROTOBUF_NULLABLE Offer::release_session_description() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::location::nearby::mediums::SessionDescription* released = _impl_.session_description_;
|
|
_impl_.session_description_ = 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::SessionDescription* PROTOBUF_NULLABLE Offer::unsafe_arena_release_session_description() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.mediums.Offer.session_description)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::location::nearby::mediums::SessionDescription* temp = _impl_.session_description_;
|
|
_impl_.session_description_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::mediums::SessionDescription* PROTOBUF_NONNULL Offer::_internal_mutable_session_description() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.session_description_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::mediums::SessionDescription>(GetArena());
|
|
_impl_.session_description_ = reinterpret_cast<::location::nearby::mediums::SessionDescription*>(p);
|
|
}
|
|
return _impl_.session_description_;
|
|
}
|
|
inline ::location::nearby::mediums::SessionDescription* PROTOBUF_NONNULL Offer::mutable_session_description()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::location::nearby::mediums::SessionDescription* _msg = _internal_mutable_session_description();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.mediums.Offer.session_description)
|
|
return _msg;
|
|
}
|
|
inline void Offer::set_allocated_session_description(::location::nearby::mediums::SessionDescription* 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_.session_description_);
|
|
}
|
|
|
|
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_.session_description_ = reinterpret_cast<::location::nearby::mediums::SessionDescription*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.mediums.Offer.session_description)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// Answer
|
|
|
|
// optional .location.nearby.mediums.SessionDescription session_description = 1;
|
|
inline bool Answer::has_session_description() const {
|
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
PROTOBUF_ASSUME(!value || _impl_.session_description_ != nullptr);
|
|
return value;
|
|
}
|
|
inline void Answer::clear_session_description() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.session_description_ != nullptr) _impl_.session_description_->Clear();
|
|
ClearHasBit(_impl_._has_bits_[0],
|
|
0x00000001U);
|
|
}
|
|
inline const ::location::nearby::mediums::SessionDescription& Answer::_internal_session_description() const {
|
|
::google::protobuf::internal::TSanRead(&_impl_);
|
|
const ::location::nearby::mediums::SessionDescription* p = _impl_.session_description_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::mediums::SessionDescription&>(::location::nearby::mediums::_SessionDescription_default_instance_);
|
|
}
|
|
inline const ::location::nearby::mediums::SessionDescription& Answer::session_description() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
// @@protoc_insertion_point(field_get:location.nearby.mediums.Answer.session_description)
|
|
return _internal_session_description();
|
|
}
|
|
inline void Answer::unsafe_arena_set_allocated_session_description(
|
|
::location::nearby::mediums::SessionDescription* PROTOBUF_NULLABLE value) {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.session_description_);
|
|
}
|
|
_impl_.session_description_ = reinterpret_cast<::location::nearby::mediums::SessionDescription*>(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.Answer.session_description)
|
|
}
|
|
inline ::location::nearby::mediums::SessionDescription* PROTOBUF_NULLABLE Answer::release_session_description() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::location::nearby::mediums::SessionDescription* released = _impl_.session_description_;
|
|
_impl_.session_description_ = 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::SessionDescription* PROTOBUF_NULLABLE Answer::unsafe_arena_release_session_description() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
// @@protoc_insertion_point(field_release:location.nearby.mediums.Answer.session_description)
|
|
|
|
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::location::nearby::mediums::SessionDescription* temp = _impl_.session_description_;
|
|
_impl_.session_description_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::location::nearby::mediums::SessionDescription* PROTOBUF_NONNULL Answer::_internal_mutable_session_description() {
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
if (_impl_.session_description_ == nullptr) {
|
|
auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::location::nearby::mediums::SessionDescription>(GetArena());
|
|
_impl_.session_description_ = reinterpret_cast<::location::nearby::mediums::SessionDescription*>(p);
|
|
}
|
|
return _impl_.session_description_;
|
|
}
|
|
inline ::location::nearby::mediums::SessionDescription* PROTOBUF_NONNULL Answer::mutable_session_description()
|
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
|
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
|
|
::location::nearby::mediums::SessionDescription* _msg = _internal_mutable_session_description();
|
|
// @@protoc_insertion_point(field_mutable:location.nearby.mediums.Answer.session_description)
|
|
return _msg;
|
|
}
|
|
inline void Answer::set_allocated_session_description(::location::nearby::mediums::SessionDescription* 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_.session_description_);
|
|
}
|
|
|
|
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_.session_description_ = reinterpret_cast<::location::nearby::mediums::SessionDescription*>(value);
|
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.mediums.Answer.session_description)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ReadyForSignalingPoke
|
|
|
|
#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::WebRtcSignalingFrame_FrameType> : std::true_type {};
|
|
|
|
} // namespace protobuf
|
|
} // namespace google
|
|
|
|
// @@protoc_insertion_point(global_scope)
|
|
|
|
#include "google/protobuf/port_undef.inc"
|
|
|
|
#endif // proto_2fmediums_2fweb_5frtc_5fsignaling_5fframes_2eproto_2epb_2eh
|