mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 07:36:10 -04:00
Compile protos for AWDL
This commit is contained in:
@@ -252,6 +252,19 @@ struct BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentialsDefault
|
||||
};
|
||||
};
|
||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentialsDefaultTypeInternal _BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials_default_instance_;
|
||||
constexpr BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials(
|
||||
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
|
||||
: service_name_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
|
||||
, service_type_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){}
|
||||
struct BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentialsDefaultTypeInternal {
|
||||
constexpr BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentialsDefaultTypeInternal()
|
||||
: _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
|
||||
~BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentialsDefaultTypeInternal() {}
|
||||
union {
|
||||
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials _instance;
|
||||
};
|
||||
};
|
||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentialsDefaultTypeInternal _BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials_default_instance_;
|
||||
constexpr BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest(
|
||||
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
|
||||
: mediums_()
|
||||
@@ -275,6 +288,7 @@ constexpr BandwidthUpgradeNegotiationFrame_UpgradePathInfo::BandwidthUpgradeNego
|
||||
, wifi_direct_credentials_(nullptr)
|
||||
, web_rtc_credentials_(nullptr)
|
||||
, upgrade_path_request_(nullptr)
|
||||
, awdl_credentials_(nullptr)
|
||||
, medium_(0)
|
||||
|
||||
, supports_disabling_encryption_(false)
|
||||
@@ -7563,6 +7577,271 @@ std::string BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials::
|
||||
}
|
||||
|
||||
|
||||
// ===================================================================
|
||||
|
||||
class BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::_Internal {
|
||||
public:
|
||||
using HasBits = decltype(std::declval<BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials>()._has_bits_);
|
||||
static void set_has_service_name(HasBits* has_bits) {
|
||||
(*has_bits)[0] |= 1u;
|
||||
}
|
||||
static void set_has_service_type(HasBits* has_bits) {
|
||||
(*has_bits)[0] |= 2u;
|
||||
}
|
||||
};
|
||||
|
||||
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||
bool is_message_owned)
|
||||
: ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
|
||||
SharedCtor();
|
||||
if (!is_message_owned) {
|
||||
RegisterArenaDtor(arena);
|
||||
}
|
||||
// @@protoc_insertion_point(arena_constructor:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials)
|
||||
}
|
||||
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials& from)
|
||||
: ::PROTOBUF_NAMESPACE_ID::MessageLite(),
|
||||
_has_bits_(from._has_bits_) {
|
||||
_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
|
||||
service_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
||||
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
service_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
|
||||
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
if (from._internal_has_service_name()) {
|
||||
service_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_service_name(),
|
||||
GetArenaForAllocation());
|
||||
}
|
||||
service_type_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
||||
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
service_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
|
||||
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
if (from._internal_has_service_type()) {
|
||||
service_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_service_type(),
|
||||
GetArenaForAllocation());
|
||||
}
|
||||
// @@protoc_insertion_point(copy_constructor:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials)
|
||||
}
|
||||
|
||||
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::SharedCtor() {
|
||||
service_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
||||
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
service_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
|
||||
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
service_type_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
||||
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
service_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
|
||||
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
}
|
||||
|
||||
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::~BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials() {
|
||||
// @@protoc_insertion_point(destructor:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials)
|
||||
if (GetArenaForAllocation() != nullptr) return;
|
||||
SharedDtor();
|
||||
_internal_metadata_.Delete<std::string>();
|
||||
}
|
||||
|
||||
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::SharedDtor() {
|
||||
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
|
||||
service_name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
||||
service_type_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
||||
}
|
||||
|
||||
void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::ArenaDtor(void* object) {
|
||||
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* _this = reinterpret_cast< BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* >(object);
|
||||
(void)_this;
|
||||
}
|
||||
void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
|
||||
}
|
||||
void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::SetCachedSize(int size) const {
|
||||
_cached_size_.Set(size);
|
||||
}
|
||||
|
||||
void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::Clear() {
|
||||
// @@protoc_insertion_point(message_clear_start:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials)
|
||||
uint32_t cached_has_bits = 0;
|
||||
// Prevent compiler warnings about cached_has_bits being unused
|
||||
(void) cached_has_bits;
|
||||
|
||||
cached_has_bits = _has_bits_[0];
|
||||
if (cached_has_bits & 0x00000003u) {
|
||||
if (cached_has_bits & 0x00000001u) {
|
||||
service_name_.ClearNonDefaultToEmpty();
|
||||
}
|
||||
if (cached_has_bits & 0x00000002u) {
|
||||
service_type_.ClearNonDefaultToEmpty();
|
||||
}
|
||||
}
|
||||
_has_bits_.Clear();
|
||||
_internal_metadata_.Clear<std::string>();
|
||||
}
|
||||
|
||||
const char* BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
|
||||
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
|
||||
_Internal::HasBits has_bits{};
|
||||
while (!ctx->Done(&ptr)) {
|
||||
uint32_t tag;
|
||||
ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
|
||||
switch (tag >> 3) {
|
||||
// optional string service_name = 1;
|
||||
case 1:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
|
||||
auto str = _internal_mutable_service_name();
|
||||
ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
|
||||
CHK_(ptr);
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// optional string service_type = 2;
|
||||
case 2:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
|
||||
auto str = _internal_mutable_service_type();
|
||||
ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
|
||||
CHK_(ptr);
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
default:
|
||||
goto handle_unusual;
|
||||
} // switch
|
||||
handle_unusual:
|
||||
if ((tag == 0) || ((tag & 7) == 4)) {
|
||||
CHK_(ptr);
|
||||
ctx->SetLastTag(tag);
|
||||
goto message_done;
|
||||
}
|
||||
ptr = UnknownFieldParse(
|
||||
tag,
|
||||
_internal_metadata_.mutable_unknown_fields<std::string>(),
|
||||
ptr, ctx);
|
||||
CHK_(ptr != nullptr);
|
||||
} // while
|
||||
message_done:
|
||||
_has_bits_.Or(has_bits);
|
||||
return ptr;
|
||||
failure:
|
||||
ptr = nullptr;
|
||||
goto message_done;
|
||||
#undef CHK_
|
||||
}
|
||||
|
||||
uint8_t* BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::_InternalSerialize(
|
||||
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
|
||||
// @@protoc_insertion_point(serialize_to_array_start:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials)
|
||||
uint32_t cached_has_bits = 0;
|
||||
(void) cached_has_bits;
|
||||
|
||||
cached_has_bits = _has_bits_[0];
|
||||
// optional string service_name = 1;
|
||||
if (cached_has_bits & 0x00000001u) {
|
||||
target = stream->WriteStringMaybeAliased(
|
||||
1, this->_internal_service_name(), target);
|
||||
}
|
||||
|
||||
// optional string service_type = 2;
|
||||
if (cached_has_bits & 0x00000002u) {
|
||||
target = stream->WriteStringMaybeAliased(
|
||||
2, this->_internal_service_type(), target);
|
||||
}
|
||||
|
||||
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
||||
target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
|
||||
static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
|
||||
}
|
||||
// @@protoc_insertion_point(serialize_to_array_end:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials)
|
||||
return target;
|
||||
}
|
||||
|
||||
size_t BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::ByteSizeLong() const {
|
||||
// @@protoc_insertion_point(message_byte_size_start:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials)
|
||||
size_t total_size = 0;
|
||||
|
||||
uint32_t cached_has_bits = 0;
|
||||
// Prevent compiler warnings about cached_has_bits being unused
|
||||
(void) cached_has_bits;
|
||||
|
||||
cached_has_bits = _has_bits_[0];
|
||||
if (cached_has_bits & 0x00000003u) {
|
||||
// optional string service_name = 1;
|
||||
if (cached_has_bits & 0x00000001u) {
|
||||
total_size += 1 +
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
|
||||
this->_internal_service_name());
|
||||
}
|
||||
|
||||
// optional string service_type = 2;
|
||||
if (cached_has_bits & 0x00000002u) {
|
||||
total_size += 1 +
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
|
||||
this->_internal_service_type());
|
||||
}
|
||||
|
||||
}
|
||||
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
||||
total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
|
||||
}
|
||||
int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
|
||||
SetCachedSize(cached_size);
|
||||
return total_size;
|
||||
}
|
||||
|
||||
void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::CheckTypeAndMergeFrom(
|
||||
const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
|
||||
MergeFrom(*::PROTOBUF_NAMESPACE_ID::internal::DownCast<const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials*>(
|
||||
&from));
|
||||
}
|
||||
|
||||
void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::MergeFrom(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials& from) {
|
||||
// @@protoc_insertion_point(class_specific_merge_from_start:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials)
|
||||
GOOGLE_DCHECK_NE(&from, this);
|
||||
uint32_t cached_has_bits = 0;
|
||||
(void) cached_has_bits;
|
||||
|
||||
cached_has_bits = from._has_bits_[0];
|
||||
if (cached_has_bits & 0x00000003u) {
|
||||
if (cached_has_bits & 0x00000001u) {
|
||||
_internal_set_service_name(from._internal_service_name());
|
||||
}
|
||||
if (cached_has_bits & 0x00000002u) {
|
||||
_internal_set_service_type(from._internal_service_type());
|
||||
}
|
||||
}
|
||||
_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
|
||||
}
|
||||
|
||||
void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::CopyFrom(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials& from) {
|
||||
// @@protoc_insertion_point(class_specific_copy_from_start:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials)
|
||||
if (&from == this) return;
|
||||
Clear();
|
||||
MergeFrom(from);
|
||||
}
|
||||
|
||||
bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::IsInitialized() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::InternalSwap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* other) {
|
||||
using std::swap;
|
||||
auto* lhs_arena = GetArenaForAllocation();
|
||||
auto* rhs_arena = other->GetArenaForAllocation();
|
||||
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
||||
swap(_has_bits_[0], other->_has_bits_[0]);
|
||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
|
||||
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
||||
&service_name_, lhs_arena,
|
||||
&other->service_name_, rhs_arena
|
||||
);
|
||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
|
||||
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
|
||||
&service_type_, lhs_arena,
|
||||
&other->service_type_, rhs_arena
|
||||
);
|
||||
}
|
||||
|
||||
std::string BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::GetTypeName() const {
|
||||
return "location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials";
|
||||
}
|
||||
|
||||
|
||||
// ===================================================================
|
||||
|
||||
class BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest::_Internal {
|
||||
@@ -7821,7 +8100,7 @@ class BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_Internal {
|
||||
public:
|
||||
using HasBits = decltype(std::declval<BandwidthUpgradeNegotiationFrame_UpgradePathInfo>()._has_bits_);
|
||||
static void set_has_medium(HasBits* has_bits) {
|
||||
(*has_bits)[0] |= 128u;
|
||||
(*has_bits)[0] |= 256u;
|
||||
}
|
||||
static const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiHotspotCredentials& wifi_hotspot_credentials(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo* msg);
|
||||
static void set_has_wifi_hotspot_credentials(HasBits* has_bits) {
|
||||
@@ -7847,11 +8126,15 @@ class BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_Internal {
|
||||
static void set_has_web_rtc_credentials(HasBits* has_bits) {
|
||||
(*has_bits)[0] |= 32u;
|
||||
}
|
||||
static const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials& awdl_credentials(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo* msg);
|
||||
static void set_has_awdl_credentials(HasBits* has_bits) {
|
||||
(*has_bits)[0] |= 128u;
|
||||
}
|
||||
static void set_has_supports_disabling_encryption(HasBits* has_bits) {
|
||||
(*has_bits)[0] |= 256u;
|
||||
(*has_bits)[0] |= 512u;
|
||||
}
|
||||
static void set_has_supports_client_introduction_ack(HasBits* has_bits) {
|
||||
(*has_bits)[0] |= 512u;
|
||||
(*has_bits)[0] |= 1024u;
|
||||
}
|
||||
static const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest& upgrade_path_request(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo* msg);
|
||||
static void set_has_upgrade_path_request(HasBits* has_bits) {
|
||||
@@ -7883,6 +8166,10 @@ const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradeP
|
||||
BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_Internal::web_rtc_credentials(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo* msg) {
|
||||
return *msg->web_rtc_credentials_;
|
||||
}
|
||||
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials&
|
||||
BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_Internal::awdl_credentials(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo* msg) {
|
||||
return *msg->awdl_credentials_;
|
||||
}
|
||||
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest&
|
||||
BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_Internal::upgrade_path_request(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo* msg) {
|
||||
return *msg->upgrade_path_request_;
|
||||
@@ -7935,6 +8222,11 @@ BandwidthUpgradeNegotiationFrame_UpgradePathInfo::BandwidthUpgradeNegotiationFra
|
||||
} else {
|
||||
upgrade_path_request_ = nullptr;
|
||||
}
|
||||
if (from._internal_has_awdl_credentials()) {
|
||||
awdl_credentials_ = new ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials(*from.awdl_credentials_);
|
||||
} else {
|
||||
awdl_credentials_ = nullptr;
|
||||
}
|
||||
::memcpy(&medium_, &from.medium_,
|
||||
static_cast<size_t>(reinterpret_cast<char*>(&supports_client_introduction_ack_) -
|
||||
reinterpret_cast<char*>(&medium_)) + sizeof(supports_client_introduction_ack_));
|
||||
@@ -7964,6 +8256,7 @@ inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::SharedDtor() {
|
||||
if (this != internal_default_instance()) delete wifi_direct_credentials_;
|
||||
if (this != internal_default_instance()) delete web_rtc_credentials_;
|
||||
if (this != internal_default_instance()) delete upgrade_path_request_;
|
||||
if (this != internal_default_instance()) delete awdl_credentials_;
|
||||
}
|
||||
|
||||
void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::ArenaDtor(void* object) {
|
||||
@@ -7983,7 +8276,7 @@ void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::Clear() {
|
||||
(void) cached_has_bits;
|
||||
|
||||
cached_has_bits = _has_bits_[0];
|
||||
if (cached_has_bits & 0x0000007fu) {
|
||||
if (cached_has_bits & 0x000000ffu) {
|
||||
if (cached_has_bits & 0x00000001u) {
|
||||
GOOGLE_DCHECK(wifi_hotspot_credentials_ != nullptr);
|
||||
wifi_hotspot_credentials_->Clear();
|
||||
@@ -8012,12 +8305,15 @@ void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::Clear() {
|
||||
GOOGLE_DCHECK(upgrade_path_request_ != nullptr);
|
||||
upgrade_path_request_->Clear();
|
||||
}
|
||||
if (cached_has_bits & 0x00000080u) {
|
||||
GOOGLE_DCHECK(awdl_credentials_ != nullptr);
|
||||
awdl_credentials_->Clear();
|
||||
}
|
||||
}
|
||||
medium_ = 0;
|
||||
if (cached_has_bits & 0x00000300u) {
|
||||
::memset(&supports_disabling_encryption_, 0, static_cast<size_t>(
|
||||
if (cached_has_bits & 0x00000700u) {
|
||||
::memset(&medium_, 0, static_cast<size_t>(
|
||||
reinterpret_cast<char*>(&supports_client_introduction_ack_) -
|
||||
reinterpret_cast<char*>(&supports_disabling_encryption_)) + sizeof(supports_client_introduction_ack_));
|
||||
reinterpret_cast<char*>(&medium_)) + sizeof(supports_client_introduction_ack_));
|
||||
}
|
||||
_has_bits_.Clear();
|
||||
_internal_metadata_.Clear<std::string>();
|
||||
@@ -8117,6 +8413,14 @@ const char* BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_InternalParse(con
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials awdl_credentials = 11;
|
||||
case 11:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 90)) {
|
||||
ptr = ctx->ParseMessage(_internal_mutable_awdl_credentials(), ptr);
|
||||
CHK_(ptr);
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
default:
|
||||
goto handle_unusual;
|
||||
} // switch
|
||||
@@ -8149,7 +8453,7 @@ uint8_t* BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_InternalSerialize(
|
||||
|
||||
cached_has_bits = _has_bits_[0];
|
||||
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.Medium medium = 1;
|
||||
if (cached_has_bits & 0x00000080u) {
|
||||
if (cached_has_bits & 0x00000100u) {
|
||||
target = stream->EnsureSpace(target);
|
||||
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
|
||||
1, this->_internal_medium(), target);
|
||||
@@ -8196,7 +8500,7 @@ uint8_t* BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_InternalSerialize(
|
||||
}
|
||||
|
||||
// optional bool supports_disabling_encryption = 7;
|
||||
if (cached_has_bits & 0x00000100u) {
|
||||
if (cached_has_bits & 0x00000200u) {
|
||||
target = stream->EnsureSpace(target);
|
||||
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(7, this->_internal_supports_disabling_encryption(), target);
|
||||
}
|
||||
@@ -8210,7 +8514,7 @@ uint8_t* BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_InternalSerialize(
|
||||
}
|
||||
|
||||
// optional bool supports_client_introduction_ack = 9;
|
||||
if (cached_has_bits & 0x00000200u) {
|
||||
if (cached_has_bits & 0x00000400u) {
|
||||
target = stream->EnsureSpace(target);
|
||||
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(9, this->_internal_supports_client_introduction_ack(), target);
|
||||
}
|
||||
@@ -8223,6 +8527,14 @@ uint8_t* BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_InternalSerialize(
|
||||
10, _Internal::upgrade_path_request(this), target, stream);
|
||||
}
|
||||
|
||||
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials awdl_credentials = 11;
|
||||
if (cached_has_bits & 0x00000080u) {
|
||||
target = stream->EnsureSpace(target);
|
||||
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||
InternalWriteMessage(
|
||||
11, _Internal::awdl_credentials(this), target, stream);
|
||||
}
|
||||
|
||||
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
||||
target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
|
||||
static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
|
||||
@@ -8290,21 +8602,28 @@ size_t BandwidthUpgradeNegotiationFrame_UpgradePathInfo::ByteSizeLong() const {
|
||||
*upgrade_path_request_);
|
||||
}
|
||||
|
||||
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.Medium medium = 1;
|
||||
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials awdl_credentials = 11;
|
||||
if (cached_has_bits & 0x00000080u) {
|
||||
total_size += 1 +
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||
*awdl_credentials_);
|
||||
}
|
||||
|
||||
}
|
||||
if (cached_has_bits & 0x00000700u) {
|
||||
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.Medium medium = 1;
|
||||
if (cached_has_bits & 0x00000100u) {
|
||||
total_size += 1 +
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_medium());
|
||||
}
|
||||
|
||||
}
|
||||
if (cached_has_bits & 0x00000300u) {
|
||||
// optional bool supports_disabling_encryption = 7;
|
||||
if (cached_has_bits & 0x00000100u) {
|
||||
if (cached_has_bits & 0x00000200u) {
|
||||
total_size += 1 + 1;
|
||||
}
|
||||
|
||||
// optional bool supports_client_introduction_ack = 9;
|
||||
if (cached_has_bits & 0x00000200u) {
|
||||
if (cached_has_bits & 0x00000400u) {
|
||||
total_size += 1 + 1;
|
||||
}
|
||||
|
||||
@@ -8353,15 +8672,17 @@ void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::MergeFrom(const Bandwidth
|
||||
_internal_mutable_upgrade_path_request()->::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest::MergeFrom(from._internal_upgrade_path_request());
|
||||
}
|
||||
if (cached_has_bits & 0x00000080u) {
|
||||
_internal_mutable_awdl_credentials()->::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::MergeFrom(from._internal_awdl_credentials());
|
||||
}
|
||||
}
|
||||
if (cached_has_bits & 0x00000700u) {
|
||||
if (cached_has_bits & 0x00000100u) {
|
||||
medium_ = from.medium_;
|
||||
}
|
||||
_has_bits_[0] |= cached_has_bits;
|
||||
}
|
||||
if (cached_has_bits & 0x00000300u) {
|
||||
if (cached_has_bits & 0x00000100u) {
|
||||
if (cached_has_bits & 0x00000200u) {
|
||||
supports_disabling_encryption_ = from.supports_disabling_encryption_;
|
||||
}
|
||||
if (cached_has_bits & 0x00000200u) {
|
||||
if (cached_has_bits & 0x00000400u) {
|
||||
supports_client_introduction_ack_ = from.supports_client_introduction_ack_;
|
||||
}
|
||||
_has_bits_[0] |= cached_has_bits;
|
||||
@@ -14831,6 +15152,9 @@ template<> PROTOBUF_NOINLINE ::location::nearby::connections::BandwidthUpgradeNe
|
||||
template<> PROTOBUF_NOINLINE ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials* Arena::CreateMaybeMessage< ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials >(Arena* arena) {
|
||||
return Arena::CreateMessageInternal< ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials >(arena);
|
||||
}
|
||||
template<> PROTOBUF_NOINLINE ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* Arena::CreateMaybeMessage< ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials >(Arena* arena) {
|
||||
return Arena::CreateMessageInternal< ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials >(arena);
|
||||
}
|
||||
template<> PROTOBUF_NOINLINE ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest* Arena::CreateMaybeMessage< ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest >(Arena* arena) {
|
||||
return Arena::CreateMessageInternal< ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest >(arena);
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@ struct TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fforma
|
||||
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
|
||||
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
|
||||
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
|
||||
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[40]
|
||||
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[41]
|
||||
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
|
||||
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
|
||||
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
|
||||
@@ -84,6 +84,9 @@ extern BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannelDefaultTypeIntern
|
||||
class BandwidthUpgradeNegotiationFrame_UpgradePathInfo;
|
||||
struct BandwidthUpgradeNegotiationFrame_UpgradePathInfoDefaultTypeInternal;
|
||||
extern BandwidthUpgradeNegotiationFrame_UpgradePathInfoDefaultTypeInternal _BandwidthUpgradeNegotiationFrame_UpgradePathInfo_default_instance_;
|
||||
class BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials;
|
||||
struct BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentialsDefaultTypeInternal;
|
||||
extern BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentialsDefaultTypeInternal _BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials_default_instance_;
|
||||
class BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials;
|
||||
struct BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentialsDefaultTypeInternal;
|
||||
extern BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentialsDefaultTypeInternal _BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials_default_instance_;
|
||||
@@ -188,6 +191,7 @@ template<> ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_Cli
|
||||
template<> ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroductionAck* Arena::CreateMaybeMessage<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroductionAck>(Arena*);
|
||||
template<> ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* Arena::CreateMaybeMessage<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel>(Arena*);
|
||||
template<> ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo* Arena::CreateMaybeMessage<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo>(Arena*);
|
||||
template<> ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* Arena::CreateMaybeMessage<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials>(Arena*);
|
||||
template<> ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials* Arena::CreateMaybeMessage<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials>(Arena*);
|
||||
template<> ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest* Arena::CreateMaybeMessage<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest>(Arena*);
|
||||
template<> ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials* Arena::CreateMaybeMessage<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials>(Arena*);
|
||||
@@ -4106,6 +4110,173 @@ class BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials final :
|
||||
};
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
class BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials final :
|
||||
public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials) */ {
|
||||
public:
|
||||
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials() : BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials(nullptr) {}
|
||||
~BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials() override;
|
||||
explicit constexpr BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
||||
|
||||
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials& from);
|
||||
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials&& from) noexcept
|
||||
: BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials() {
|
||||
*this = ::std::move(from);
|
||||
}
|
||||
|
||||
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials& operator=(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials& from) {
|
||||
CopyFrom(from);
|
||||
return *this;
|
||||
}
|
||||
inline BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials& operator=(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials&& from) noexcept {
|
||||
if (this == &from) return *this;
|
||||
if (GetOwningArena() == from.GetOwningArena()
|
||||
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
|
||||
&& GetOwningArena() != nullptr
|
||||
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
||||
) {
|
||||
InternalSwap(&from);
|
||||
} else {
|
||||
CopyFrom(from);
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
|
||||
inline const std::string& unknown_fields() const {
|
||||
return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
|
||||
}
|
||||
inline std::string* mutable_unknown_fields() {
|
||||
return _internal_metadata_.mutable_unknown_fields<std::string>();
|
||||
}
|
||||
|
||||
static const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials& default_instance() {
|
||||
return *internal_default_instance();
|
||||
}
|
||||
static inline const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* internal_default_instance() {
|
||||
return reinterpret_cast<const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials*>(
|
||||
&_BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
14;
|
||||
|
||||
friend void swap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials& a, BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials& b) {
|
||||
a.Swap(&b);
|
||||
}
|
||||
inline void Swap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* other) {
|
||||
if (other == this) return;
|
||||
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
||||
if (GetOwningArena() != nullptr &&
|
||||
GetOwningArena() == other->GetOwningArena()) {
|
||||
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
||||
if (GetOwningArena() == other->GetOwningArena()) {
|
||||
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
||||
InternalSwap(other);
|
||||
} else {
|
||||
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
||||
}
|
||||
}
|
||||
void UnsafeArenaSwap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* other) {
|
||||
if (other == this) return;
|
||||
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
||||
InternalSwap(other);
|
||||
}
|
||||
|
||||
// implements Message ----------------------------------------------
|
||||
|
||||
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
||||
return CreateMaybeMessage<BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials>(arena);
|
||||
}
|
||||
void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
|
||||
void CopyFrom(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials& from);
|
||||
void MergeFrom(const BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials& from);
|
||||
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
||||
bool IsInitialized() const final;
|
||||
|
||||
size_t ByteSizeLong() const final;
|
||||
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
||||
uint8_t* _InternalSerialize(
|
||||
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
||||
int GetCachedSize() const final { return _cached_size_.Get(); }
|
||||
|
||||
private:
|
||||
void SharedCtor();
|
||||
void SharedDtor();
|
||||
void SetCachedSize(int size) const;
|
||||
void InternalSwap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* other);
|
||||
|
||||
private:
|
||||
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
||||
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
||||
return "location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials";
|
||||
}
|
||||
protected:
|
||||
explicit BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||
bool is_message_owned = false);
|
||||
private:
|
||||
static void ArenaDtor(void* object);
|
||||
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
|
||||
public:
|
||||
|
||||
std::string GetTypeName() const final;
|
||||
|
||||
// nested types ----------------------------------------------------
|
||||
|
||||
// accessors -------------------------------------------------------
|
||||
|
||||
enum : int {
|
||||
kServiceNameFieldNumber = 1,
|
||||
kServiceTypeFieldNumber = 2,
|
||||
};
|
||||
// optional string service_name = 1;
|
||||
bool has_service_name() const;
|
||||
private:
|
||||
bool _internal_has_service_name() const;
|
||||
public:
|
||||
void clear_service_name();
|
||||
const std::string& service_name() const;
|
||||
template <typename ArgT0 = const std::string&, typename... ArgT>
|
||||
void set_service_name(ArgT0&& arg0, ArgT... args);
|
||||
std::string* mutable_service_name();
|
||||
PROTOBUF_NODISCARD std::string* release_service_name();
|
||||
void set_allocated_service_name(std::string* service_name);
|
||||
private:
|
||||
const std::string& _internal_service_name() const;
|
||||
inline PROTOBUF_ALWAYS_INLINE void _internal_set_service_name(const std::string& value);
|
||||
std::string* _internal_mutable_service_name();
|
||||
public:
|
||||
|
||||
// optional string service_type = 2;
|
||||
bool has_service_type() const;
|
||||
private:
|
||||
bool _internal_has_service_type() const;
|
||||
public:
|
||||
void clear_service_type();
|
||||
const std::string& service_type() const;
|
||||
template <typename ArgT0 = const std::string&, typename... ArgT>
|
||||
void set_service_type(ArgT0&& arg0, ArgT... args);
|
||||
std::string* mutable_service_type();
|
||||
PROTOBUF_NODISCARD std::string* release_service_type();
|
||||
void set_allocated_service_type(std::string* service_type);
|
||||
private:
|
||||
const std::string& _internal_service_type() const;
|
||||
inline PROTOBUF_ALWAYS_INLINE void _internal_set_service_type(const std::string& value);
|
||||
std::string* _internal_mutable_service_type();
|
||||
public:
|
||||
|
||||
// @@protoc_insertion_point(class_scope:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials)
|
||||
private:
|
||||
class _Internal;
|
||||
|
||||
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
||||
typedef void InternalArenaConstructable_;
|
||||
typedef void DestructorSkippable_;
|
||||
::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
|
||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr service_name_;
|
||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr service_type_;
|
||||
friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto;
|
||||
};
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
class BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest final :
|
||||
public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.UpgradePathRequest) */ {
|
||||
public:
|
||||
@@ -4152,7 +4323,7 @@ class BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest final
|
||||
&_BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
14;
|
||||
15;
|
||||
|
||||
friend void swap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest& a, BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest& b) {
|
||||
a.Swap(&b);
|
||||
@@ -4319,7 +4490,7 @@ class BandwidthUpgradeNegotiationFrame_UpgradePathInfo final :
|
||||
&_BandwidthUpgradeNegotiationFrame_UpgradePathInfo_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
15;
|
||||
16;
|
||||
|
||||
friend void swap(BandwidthUpgradeNegotiationFrame_UpgradePathInfo& a, BandwidthUpgradeNegotiationFrame_UpgradePathInfo& b) {
|
||||
a.Swap(&b);
|
||||
@@ -4389,6 +4560,7 @@ class BandwidthUpgradeNegotiationFrame_UpgradePathInfo final :
|
||||
typedef BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiAwareCredentials WifiAwareCredentials;
|
||||
typedef BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials WifiDirectCredentials;
|
||||
typedef BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials WebRtcCredentials;
|
||||
typedef BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials AwdlCredentials;
|
||||
typedef BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest UpgradePathRequest;
|
||||
|
||||
typedef BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium Medium;
|
||||
@@ -4449,6 +4621,7 @@ class BandwidthUpgradeNegotiationFrame_UpgradePathInfo final :
|
||||
kWifiDirectCredentialsFieldNumber = 6,
|
||||
kWebRtcCredentialsFieldNumber = 8,
|
||||
kUpgradePathRequestFieldNumber = 10,
|
||||
kAwdlCredentialsFieldNumber = 11,
|
||||
kMediumFieldNumber = 1,
|
||||
kSupportsDisablingEncryptionFieldNumber = 7,
|
||||
kSupportsClientIntroductionAckFieldNumber = 9,
|
||||
@@ -4579,6 +4752,24 @@ class BandwidthUpgradeNegotiationFrame_UpgradePathInfo final :
|
||||
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest* upgrade_path_request);
|
||||
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest* unsafe_arena_release_upgrade_path_request();
|
||||
|
||||
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials awdl_credentials = 11;
|
||||
bool has_awdl_credentials() const;
|
||||
private:
|
||||
bool _internal_has_awdl_credentials() const;
|
||||
public:
|
||||
void clear_awdl_credentials();
|
||||
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials& awdl_credentials() const;
|
||||
PROTOBUF_NODISCARD ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* release_awdl_credentials();
|
||||
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* mutable_awdl_credentials();
|
||||
void set_allocated_awdl_credentials(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* awdl_credentials);
|
||||
private:
|
||||
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials& _internal_awdl_credentials() const;
|
||||
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* _internal_mutable_awdl_credentials();
|
||||
public:
|
||||
void unsafe_arena_set_allocated_awdl_credentials(
|
||||
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* awdl_credentials);
|
||||
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* unsafe_arena_release_awdl_credentials();
|
||||
|
||||
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.Medium medium = 1;
|
||||
bool has_medium() const;
|
||||
private:
|
||||
@@ -4634,6 +4825,7 @@ class BandwidthUpgradeNegotiationFrame_UpgradePathInfo final :
|
||||
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials* wifi_direct_credentials_;
|
||||
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials* web_rtc_credentials_;
|
||||
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest* upgrade_path_request_;
|
||||
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* awdl_credentials_;
|
||||
int medium_;
|
||||
bool supports_disabling_encryption_;
|
||||
bool supports_client_introduction_ack_;
|
||||
@@ -4687,7 +4879,7 @@ class BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel final :
|
||||
&_BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
16;
|
||||
17;
|
||||
|
||||
friend void swap(BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& a, BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& b) {
|
||||
a.Swap(&b);
|
||||
@@ -4829,7 +5021,7 @@ class BandwidthUpgradeNegotiationFrame_ClientIntroduction final :
|
||||
&_BandwidthUpgradeNegotiationFrame_ClientIntroduction_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
17;
|
||||
18;
|
||||
|
||||
friend void swap(BandwidthUpgradeNegotiationFrame_ClientIntroduction& a, BandwidthUpgradeNegotiationFrame_ClientIntroduction& b) {
|
||||
a.Swap(&b);
|
||||
@@ -4991,7 +5183,7 @@ class BandwidthUpgradeNegotiationFrame_ClientIntroductionAck final :
|
||||
&_BandwidthUpgradeNegotiationFrame_ClientIntroductionAck_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
18;
|
||||
19;
|
||||
|
||||
friend void swap(BandwidthUpgradeNegotiationFrame_ClientIntroductionAck& a, BandwidthUpgradeNegotiationFrame_ClientIntroductionAck& b) {
|
||||
a.Swap(&b);
|
||||
@@ -5115,7 +5307,7 @@ class BandwidthUpgradeNegotiationFrame final :
|
||||
&_BandwidthUpgradeNegotiationFrame_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
19;
|
||||
20;
|
||||
|
||||
friend void swap(BandwidthUpgradeNegotiationFrame& a, BandwidthUpgradeNegotiationFrame& b) {
|
||||
a.Swap(&b);
|
||||
@@ -5380,7 +5572,7 @@ class BandwidthUpgradeRetryFrame final :
|
||||
&_BandwidthUpgradeRetryFrame_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
20;
|
||||
21;
|
||||
|
||||
friend void swap(BandwidthUpgradeRetryFrame& a, BandwidthUpgradeRetryFrame& b) {
|
||||
a.Swap(&b);
|
||||
@@ -5589,7 +5781,7 @@ class KeepAliveFrame final :
|
||||
&_KeepAliveFrame_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
21;
|
||||
22;
|
||||
|
||||
friend void swap(KeepAliveFrame& a, KeepAliveFrame& b) {
|
||||
a.Swap(&b);
|
||||
@@ -5746,7 +5938,7 @@ class DisconnectionFrame final :
|
||||
&_DisconnectionFrame_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
22;
|
||||
23;
|
||||
|
||||
friend void swap(DisconnectionFrame& a, DisconnectionFrame& b) {
|
||||
a.Swap(&b);
|
||||
@@ -5903,7 +6095,7 @@ class PairedKeyEncryptionFrame final :
|
||||
&_PairedKeyEncryptionFrame_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
23;
|
||||
24;
|
||||
|
||||
friend void swap(PairedKeyEncryptionFrame& a, PairedKeyEncryptionFrame& b) {
|
||||
a.Swap(&b);
|
||||
@@ -6050,7 +6242,7 @@ class AuthenticationMessageFrame final :
|
||||
&_AuthenticationMessageFrame_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
24;
|
||||
25;
|
||||
|
||||
friend void swap(AuthenticationMessageFrame& a, AuthenticationMessageFrame& b) {
|
||||
a.Swap(&b);
|
||||
@@ -6197,7 +6389,7 @@ class AuthenticationResultFrame final :
|
||||
&_AuthenticationResultFrame_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
25;
|
||||
26;
|
||||
|
||||
friend void swap(AuthenticationResultFrame& a, AuthenticationResultFrame& b) {
|
||||
a.Swap(&b);
|
||||
@@ -6339,7 +6531,7 @@ class AutoResumeFrame final :
|
||||
&_AutoResumeFrame_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
26;
|
||||
27;
|
||||
|
||||
friend void swap(AutoResumeFrame& a, AutoResumeFrame& b) {
|
||||
a.Swap(&b);
|
||||
@@ -6554,7 +6746,7 @@ class AutoReconnectFrame final :
|
||||
&_AutoReconnectFrame_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
27;
|
||||
28;
|
||||
|
||||
friend void swap(AutoReconnectFrame& a, AutoReconnectFrame& b) {
|
||||
a.Swap(&b);
|
||||
@@ -6764,7 +6956,7 @@ class MediumMetadata final :
|
||||
&_MediumMetadata_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
28;
|
||||
29;
|
||||
|
||||
friend void swap(MediumMetadata& a, MediumMetadata& b) {
|
||||
a.Swap(&b);
|
||||
@@ -7111,7 +7303,7 @@ class AvailableChannels final :
|
||||
&_AvailableChannels_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
29;
|
||||
30;
|
||||
|
||||
friend void swap(AvailableChannels& a, AvailableChannels& b) {
|
||||
a.Swap(&b);
|
||||
@@ -7262,7 +7454,7 @@ class WifiDirectCliUsableChannels final :
|
||||
&_WifiDirectCliUsableChannels_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
30;
|
||||
31;
|
||||
|
||||
friend void swap(WifiDirectCliUsableChannels& a, WifiDirectCliUsableChannels& b) {
|
||||
a.Swap(&b);
|
||||
@@ -7413,7 +7605,7 @@ class WifiLanUsableChannels final :
|
||||
&_WifiLanUsableChannels_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
31;
|
||||
32;
|
||||
|
||||
friend void swap(WifiLanUsableChannels& a, WifiLanUsableChannels& b) {
|
||||
a.Swap(&b);
|
||||
@@ -7564,7 +7756,7 @@ class WifiAwareUsableChannels final :
|
||||
&_WifiAwareUsableChannels_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
32;
|
||||
33;
|
||||
|
||||
friend void swap(WifiAwareUsableChannels& a, WifiAwareUsableChannels& b) {
|
||||
a.Swap(&b);
|
||||
@@ -7715,7 +7907,7 @@ class WifiHotspotStaUsableChannels final :
|
||||
&_WifiHotspotStaUsableChannels_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
33;
|
||||
34;
|
||||
|
||||
friend void swap(WifiHotspotStaUsableChannels& a, WifiHotspotStaUsableChannels& b) {
|
||||
a.Swap(&b);
|
||||
@@ -7866,7 +8058,7 @@ class MediumRole final :
|
||||
&_MediumRole_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
34;
|
||||
35;
|
||||
|
||||
friend void swap(MediumRole& a, MediumRole& b) {
|
||||
a.Swap(&b);
|
||||
@@ -8113,7 +8305,7 @@ class LocationHint final :
|
||||
&_LocationHint_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
35;
|
||||
36;
|
||||
|
||||
friend void swap(LocationHint& a, LocationHint& b) {
|
||||
a.Swap(&b);
|
||||
@@ -8275,7 +8467,7 @@ class LocationStandard final :
|
||||
&_LocationStandard_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
36;
|
||||
37;
|
||||
|
||||
friend void swap(LocationStandard& a, LocationStandard& b) {
|
||||
a.Swap(&b);
|
||||
@@ -8427,7 +8619,7 @@ class OsInfo final :
|
||||
&_OsInfo_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
37;
|
||||
38;
|
||||
|
||||
friend void swap(OsInfo& a, OsInfo& b) {
|
||||
a.Swap(&b);
|
||||
@@ -8603,7 +8795,7 @@ class ConnectionsDevice final :
|
||||
&_ConnectionsDevice_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
38;
|
||||
39;
|
||||
|
||||
friend void swap(ConnectionsDevice& a, ConnectionsDevice& b) {
|
||||
a.Swap(&b);
|
||||
@@ -8805,7 +8997,7 @@ class PresenceDevice final :
|
||||
&_PresenceDevice_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
39;
|
||||
40;
|
||||
|
||||
friend void swap(PresenceDevice& a, PresenceDevice& b) {
|
||||
a.Swap(&b);
|
||||
@@ -13660,6 +13852,148 @@ inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials::
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials
|
||||
|
||||
// optional string service_name = 1;
|
||||
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::_internal_has_service_name() const {
|
||||
bool value = (_has_bits_[0] & 0x00000001u) != 0;
|
||||
return value;
|
||||
}
|
||||
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::has_service_name() const {
|
||||
return _internal_has_service_name();
|
||||
}
|
||||
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::clear_service_name() {
|
||||
service_name_.ClearToEmpty();
|
||||
_has_bits_[0] &= ~0x00000001u;
|
||||
}
|
||||
inline const std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::service_name() const {
|
||||
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials.service_name)
|
||||
return _internal_service_name();
|
||||
}
|
||||
template <typename ArgT0, typename... ArgT>
|
||||
inline PROTOBUF_ALWAYS_INLINE
|
||||
void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::set_service_name(ArgT0&& arg0, ArgT... args) {
|
||||
_has_bits_[0] |= 0x00000001u;
|
||||
service_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
||||
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials.service_name)
|
||||
}
|
||||
inline std::string* BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::mutable_service_name() {
|
||||
std::string* _s = _internal_mutable_service_name();
|
||||
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials.service_name)
|
||||
return _s;
|
||||
}
|
||||
inline const std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::_internal_service_name() const {
|
||||
return service_name_.Get();
|
||||
}
|
||||
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::_internal_set_service_name(const std::string& value) {
|
||||
_has_bits_[0] |= 0x00000001u;
|
||||
service_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
|
||||
}
|
||||
inline std::string* BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::_internal_mutable_service_name() {
|
||||
_has_bits_[0] |= 0x00000001u;
|
||||
return service_name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
|
||||
}
|
||||
inline std::string* BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::release_service_name() {
|
||||
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials.service_name)
|
||||
if (!_internal_has_service_name()) {
|
||||
return nullptr;
|
||||
}
|
||||
_has_bits_[0] &= ~0x00000001u;
|
||||
auto* p = service_name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
|
||||
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
if (service_name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
|
||||
service_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
|
||||
}
|
||||
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
return p;
|
||||
}
|
||||
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::set_allocated_service_name(std::string* service_name) {
|
||||
if (service_name != nullptr) {
|
||||
_has_bits_[0] |= 0x00000001u;
|
||||
} else {
|
||||
_has_bits_[0] &= ~0x00000001u;
|
||||
}
|
||||
service_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), service_name,
|
||||
GetArenaForAllocation());
|
||||
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
if (service_name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
|
||||
service_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
|
||||
}
|
||||
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials.service_name)
|
||||
}
|
||||
|
||||
// optional string service_type = 2;
|
||||
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::_internal_has_service_type() const {
|
||||
bool value = (_has_bits_[0] & 0x00000002u) != 0;
|
||||
return value;
|
||||
}
|
||||
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::has_service_type() const {
|
||||
return _internal_has_service_type();
|
||||
}
|
||||
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::clear_service_type() {
|
||||
service_type_.ClearToEmpty();
|
||||
_has_bits_[0] &= ~0x00000002u;
|
||||
}
|
||||
inline const std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::service_type() const {
|
||||
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials.service_type)
|
||||
return _internal_service_type();
|
||||
}
|
||||
template <typename ArgT0, typename... ArgT>
|
||||
inline PROTOBUF_ALWAYS_INLINE
|
||||
void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::set_service_type(ArgT0&& arg0, ArgT... args) {
|
||||
_has_bits_[0] |= 0x00000002u;
|
||||
service_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
||||
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials.service_type)
|
||||
}
|
||||
inline std::string* BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::mutable_service_type() {
|
||||
std::string* _s = _internal_mutable_service_type();
|
||||
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials.service_type)
|
||||
return _s;
|
||||
}
|
||||
inline const std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::_internal_service_type() const {
|
||||
return service_type_.Get();
|
||||
}
|
||||
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::_internal_set_service_type(const std::string& value) {
|
||||
_has_bits_[0] |= 0x00000002u;
|
||||
service_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
|
||||
}
|
||||
inline std::string* BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::_internal_mutable_service_type() {
|
||||
_has_bits_[0] |= 0x00000002u;
|
||||
return service_type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
|
||||
}
|
||||
inline std::string* BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::release_service_type() {
|
||||
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials.service_type)
|
||||
if (!_internal_has_service_type()) {
|
||||
return nullptr;
|
||||
}
|
||||
_has_bits_[0] &= ~0x00000002u;
|
||||
auto* p = service_type_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
|
||||
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
if (service_type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
|
||||
service_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
|
||||
}
|
||||
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
return p;
|
||||
}
|
||||
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials::set_allocated_service_type(std::string* service_type) {
|
||||
if (service_type != nullptr) {
|
||||
_has_bits_[0] |= 0x00000002u;
|
||||
} else {
|
||||
_has_bits_[0] &= ~0x00000002u;
|
||||
}
|
||||
service_type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), service_type,
|
||||
GetArenaForAllocation());
|
||||
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
if (service_type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
|
||||
service_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
|
||||
}
|
||||
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials.service_type)
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest
|
||||
|
||||
// repeated .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.Medium mediums = 1 [packed = true];
|
||||
@@ -13803,7 +14137,7 @@ inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_UpgradePathRequest:
|
||||
|
||||
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.Medium medium = 1;
|
||||
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_internal_has_medium() const {
|
||||
bool value = (_has_bits_[0] & 0x00000080u) != 0;
|
||||
bool value = (_has_bits_[0] & 0x00000100u) != 0;
|
||||
return value;
|
||||
}
|
||||
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo::has_medium() const {
|
||||
@@ -13811,7 +14145,7 @@ inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo::has_medium() const
|
||||
}
|
||||
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::clear_medium() {
|
||||
medium_ = 0;
|
||||
_has_bits_[0] &= ~0x00000080u;
|
||||
_has_bits_[0] &= ~0x00000100u;
|
||||
}
|
||||
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_internal_medium() const {
|
||||
return static_cast< ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium >(medium_);
|
||||
@@ -13822,7 +14156,7 @@ inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_Upgrade
|
||||
}
|
||||
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_internal_set_medium(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium value) {
|
||||
assert(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_IsValid(value));
|
||||
_has_bits_[0] |= 0x00000080u;
|
||||
_has_bits_[0] |= 0x00000100u;
|
||||
medium_ = value;
|
||||
}
|
||||
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::set_medium(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium value) {
|
||||
@@ -14370,9 +14704,99 @@ inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::set_allocated_web_
|
||||
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.web_rtc_credentials)
|
||||
}
|
||||
|
||||
// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.AwdlCredentials awdl_credentials = 11;
|
||||
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_internal_has_awdl_credentials() const {
|
||||
bool value = (_has_bits_[0] & 0x00000080u) != 0;
|
||||
PROTOBUF_ASSUME(!value || awdl_credentials_ != nullptr);
|
||||
return value;
|
||||
}
|
||||
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo::has_awdl_credentials() const {
|
||||
return _internal_has_awdl_credentials();
|
||||
}
|
||||
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::clear_awdl_credentials() {
|
||||
if (awdl_credentials_ != nullptr) awdl_credentials_->Clear();
|
||||
_has_bits_[0] &= ~0x00000080u;
|
||||
}
|
||||
inline const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials& BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_internal_awdl_credentials() const {
|
||||
const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* p = awdl_credentials_;
|
||||
return p != nullptr ? *p : reinterpret_cast<const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials&>(
|
||||
::location::nearby::connections::_BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials_default_instance_);
|
||||
}
|
||||
inline const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials& BandwidthUpgradeNegotiationFrame_UpgradePathInfo::awdl_credentials() const {
|
||||
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.awdl_credentials)
|
||||
return _internal_awdl_credentials();
|
||||
}
|
||||
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::unsafe_arena_set_allocated_awdl_credentials(
|
||||
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* awdl_credentials) {
|
||||
if (GetArenaForAllocation() == nullptr) {
|
||||
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(awdl_credentials_);
|
||||
}
|
||||
awdl_credentials_ = awdl_credentials;
|
||||
if (awdl_credentials) {
|
||||
_has_bits_[0] |= 0x00000080u;
|
||||
} else {
|
||||
_has_bits_[0] &= ~0x00000080u;
|
||||
}
|
||||
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.awdl_credentials)
|
||||
}
|
||||
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* BandwidthUpgradeNegotiationFrame_UpgradePathInfo::release_awdl_credentials() {
|
||||
_has_bits_[0] &= ~0x00000080u;
|
||||
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* temp = awdl_credentials_;
|
||||
awdl_credentials_ = nullptr;
|
||||
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
|
||||
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||
if (GetArenaForAllocation() == nullptr) { delete old; }
|
||||
#else // PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||
if (GetArenaForAllocation() != nullptr) {
|
||||
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||
}
|
||||
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||
return temp;
|
||||
}
|
||||
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* BandwidthUpgradeNegotiationFrame_UpgradePathInfo::unsafe_arena_release_awdl_credentials() {
|
||||
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.awdl_credentials)
|
||||
_has_bits_[0] &= ~0x00000080u;
|
||||
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* temp = awdl_credentials_;
|
||||
awdl_credentials_ = nullptr;
|
||||
return temp;
|
||||
}
|
||||
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_internal_mutable_awdl_credentials() {
|
||||
_has_bits_[0] |= 0x00000080u;
|
||||
if (awdl_credentials_ == nullptr) {
|
||||
auto* p = CreateMaybeMessage<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials>(GetArenaForAllocation());
|
||||
awdl_credentials_ = p;
|
||||
}
|
||||
return awdl_credentials_;
|
||||
}
|
||||
inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* BandwidthUpgradeNegotiationFrame_UpgradePathInfo::mutable_awdl_credentials() {
|
||||
::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* _msg = _internal_mutable_awdl_credentials();
|
||||
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.awdl_credentials)
|
||||
return _msg;
|
||||
}
|
||||
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::set_allocated_awdl_credentials(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials* awdl_credentials) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||
if (message_arena == nullptr) {
|
||||
delete awdl_credentials_;
|
||||
}
|
||||
if (awdl_credentials) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
||||
::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_AwdlCredentials>::GetOwningArena(awdl_credentials);
|
||||
if (message_arena != submessage_arena) {
|
||||
awdl_credentials = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
||||
message_arena, awdl_credentials, submessage_arena);
|
||||
}
|
||||
_has_bits_[0] |= 0x00000080u;
|
||||
} else {
|
||||
_has_bits_[0] &= ~0x00000080u;
|
||||
}
|
||||
awdl_credentials_ = awdl_credentials;
|
||||
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.awdl_credentials)
|
||||
}
|
||||
|
||||
// optional bool supports_disabling_encryption = 7;
|
||||
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_internal_has_supports_disabling_encryption() const {
|
||||
bool value = (_has_bits_[0] & 0x00000100u) != 0;
|
||||
bool value = (_has_bits_[0] & 0x00000200u) != 0;
|
||||
return value;
|
||||
}
|
||||
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo::has_supports_disabling_encryption() const {
|
||||
@@ -14380,7 +14804,7 @@ inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo::has_supports_disab
|
||||
}
|
||||
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::clear_supports_disabling_encryption() {
|
||||
supports_disabling_encryption_ = false;
|
||||
_has_bits_[0] &= ~0x00000100u;
|
||||
_has_bits_[0] &= ~0x00000200u;
|
||||
}
|
||||
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_internal_supports_disabling_encryption() const {
|
||||
return supports_disabling_encryption_;
|
||||
@@ -14390,7 +14814,7 @@ inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo::supports_disabling
|
||||
return _internal_supports_disabling_encryption();
|
||||
}
|
||||
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_internal_set_supports_disabling_encryption(bool value) {
|
||||
_has_bits_[0] |= 0x00000100u;
|
||||
_has_bits_[0] |= 0x00000200u;
|
||||
supports_disabling_encryption_ = value;
|
||||
}
|
||||
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::set_supports_disabling_encryption(bool value) {
|
||||
@@ -14400,7 +14824,7 @@ inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::set_supports_disab
|
||||
|
||||
// optional bool supports_client_introduction_ack = 9;
|
||||
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_internal_has_supports_client_introduction_ack() const {
|
||||
bool value = (_has_bits_[0] & 0x00000200u) != 0;
|
||||
bool value = (_has_bits_[0] & 0x00000400u) != 0;
|
||||
return value;
|
||||
}
|
||||
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo::has_supports_client_introduction_ack() const {
|
||||
@@ -14408,7 +14832,7 @@ inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo::has_supports_clien
|
||||
}
|
||||
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::clear_supports_client_introduction_ack() {
|
||||
supports_client_introduction_ack_ = false;
|
||||
_has_bits_[0] &= ~0x00000200u;
|
||||
_has_bits_[0] &= ~0x00000400u;
|
||||
}
|
||||
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_internal_supports_client_introduction_ack() const {
|
||||
return supports_client_introduction_ack_;
|
||||
@@ -14418,7 +14842,7 @@ inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo::supports_client_in
|
||||
return _internal_supports_client_introduction_ack();
|
||||
}
|
||||
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::_internal_set_supports_client_introduction_ack(bool value) {
|
||||
_has_bits_[0] |= 0x00000200u;
|
||||
_has_bits_[0] |= 0x00000400u;
|
||||
supports_client_introduction_ack_ = value;
|
||||
}
|
||||
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::set_supports_client_introduction_ack(bool value) {
|
||||
@@ -17951,6 +18375,8 @@ PresenceDevice::mutable_identity_type() {
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
|
||||
// @@protoc_insertion_point(namespace_scope)
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -576,11 +576,12 @@ enum OperationResultCategory : int {
|
||||
CATEGORY_NEARBY_ERROR = 6,
|
||||
CATEGORY_CONNECTIVITY_ERROR = 7,
|
||||
CATEGORY_MISCELLANEOUS = 8,
|
||||
CATEGORY_IO_ERROR = 9
|
||||
CATEGORY_IO_ERROR = 9,
|
||||
CATEGORY_DCT_ERROR = 10
|
||||
};
|
||||
bool OperationResultCategory_IsValid(int value);
|
||||
constexpr OperationResultCategory OperationResultCategory_MIN = CATEGORY_UNKNOWN;
|
||||
constexpr OperationResultCategory OperationResultCategory_MAX = CATEGORY_IO_ERROR;
|
||||
constexpr OperationResultCategory OperationResultCategory_MAX = CATEGORY_DCT_ERROR;
|
||||
constexpr int OperationResultCategory_ARRAYSIZE = OperationResultCategory_MAX + 1;
|
||||
|
||||
const std::string& OperationResultCategory_Name(OperationResultCategory value);
|
||||
@@ -951,11 +952,36 @@ enum OperationResultCode : int {
|
||||
NEARBY_CONNECTIVITY_INFO_NULL_OR_WRONG = 4606,
|
||||
NEARBY_LOCAL_CLIENT_STATE_WRONG = 4607,
|
||||
NEARBY_REMOTE_EXCEPTION_WHEN_PROCESSING_RECEIVED_PAYLOAD = 4608,
|
||||
NEARBY_BAD_FILE_DESCRIPTION_WHEN_PROCESSING_RECEIVED_PAYLOAD = 4609
|
||||
NEARBY_BAD_FILE_DESCRIPTION_WHEN_PROCESSING_RECEIVED_PAYLOAD = 4609,
|
||||
DCT_ERROR_BLE_DISABLED = 5000,
|
||||
DCT_ERROR_BLE_ADV_FAILED = 5001,
|
||||
DCT_ERROR_BLE_SCAN_FAILED = 5002,
|
||||
DCT_ERROR_L2CAP_SERVER_FAILED = 5003,
|
||||
DCT_ERROR_L2CAP_CLIENT_FAILED = 5004,
|
||||
DCT_ERROR_MDNS_DISCOVERY_TIMEOUT = 5005,
|
||||
DCT_ERROR_MDNS_REGISTER_SERVICE = 5006,
|
||||
DCT_ERROR_INITIAL_TLS_SPAKE = 5007,
|
||||
DCT_ERROR_SUBSEQUENT_TLS_SPAKE = 5008,
|
||||
DCT_ERROR_REQUEST_FAILED = 5009,
|
||||
DCT_ERROR_RESPONSE_FAILED = 5010,
|
||||
DCT_ERROR_CONTROL_MESSAGE_EXCHANGE = 5011,
|
||||
DCT_ERROR_CAPABILITY_MISMATCH = 5012,
|
||||
DCT_ERROR_HIGH_SPEED_MEDIUM_UNAVAILABLE = 5013,
|
||||
DCT_ERROR_WIFI_DISABLED = 5014,
|
||||
DCT_ERROR_WIFI_DISCONNECTED = 5015,
|
||||
DCT_ERROR_WIFI_CREDENTIAL_TRANSFER = 5016,
|
||||
DCT_ERROR_WIFI_INTERNET_CONNECTION = 5017,
|
||||
DCT_ERROR_UPGRADE_HIGH_SPEED_MEDIUM_FAILED = 5018,
|
||||
DCT_ERROR_KEEPALIVE_TIMEOUT = 5019,
|
||||
DCT_ERROR_ESTABLISHED_CONNECTION_LOST = 5020,
|
||||
DCT_ERROR_USER_CANCELLED = 5021,
|
||||
DCT_ERROR_SERVICE_CANCELLED = 5022,
|
||||
DCT_ERROR_UNVERIFIED_INTEGRITY = 5023,
|
||||
DCT_ERROR_HTTP_SERVER_CLOSED = 5024
|
||||
};
|
||||
bool OperationResultCode_IsValid(int value);
|
||||
constexpr OperationResultCode OperationResultCode_MIN = DETAIL_UNKNOWN;
|
||||
constexpr OperationResultCode OperationResultCode_MAX = NEARBY_BAD_FILE_DESCRIPTION_WHEN_PROCESSING_RECEIVED_PAYLOAD;
|
||||
constexpr OperationResultCode OperationResultCode_MAX = DCT_ERROR_HTTP_SERVER_CLOSED;
|
||||
constexpr int OperationResultCode_ARRAYSIZE = OperationResultCode_MAX + 1;
|
||||
|
||||
const std::string& OperationResultCode_Name(OperationResultCode value);
|
||||
@@ -1008,6 +1034,27 @@ inline const std::string& StopDiscoveringReason_Name(T enum_t_value) {
|
||||
}
|
||||
bool StopDiscoveringReason_Parse(
|
||||
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, StopDiscoveringReason* value);
|
||||
enum DeviceType : int {
|
||||
UNKNOWN_TYPE = 0,
|
||||
NEARBY_CONNECTION = 1,
|
||||
NEARBY_PRESENCE = 2,
|
||||
DCT = 3
|
||||
};
|
||||
bool DeviceType_IsValid(int value);
|
||||
constexpr DeviceType DeviceType_MIN = UNKNOWN_TYPE;
|
||||
constexpr DeviceType DeviceType_MAX = DCT;
|
||||
constexpr int DeviceType_ARRAYSIZE = DeviceType_MAX + 1;
|
||||
|
||||
const std::string& DeviceType_Name(DeviceType value);
|
||||
template<typename T>
|
||||
inline const std::string& DeviceType_Name(T enum_t_value) {
|
||||
static_assert(::std::is_same<T, DeviceType>::value ||
|
||||
::std::is_integral<T>::value,
|
||||
"Incorrect type passed to function DeviceType_Name.");
|
||||
return DeviceType_Name(static_cast<DeviceType>(enum_t_value));
|
||||
}
|
||||
bool DeviceType_Parse(
|
||||
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DeviceType* value);
|
||||
// ===================================================================
|
||||
|
||||
|
||||
@@ -1057,6 +1104,7 @@ template <> struct is_proto_enum< ::location::nearby::proto::connections::Operat
|
||||
template <> struct is_proto_enum< ::location::nearby::proto::connections::OperationResultCode> : ::std::true_type {};
|
||||
template <> struct is_proto_enum< ::location::nearby::proto::connections::StopAdvertisingReason> : ::std::true_type {};
|
||||
template <> struct is_proto_enum< ::location::nearby::proto::connections::StopDiscoveringReason> : ::std::true_type {};
|
||||
template <> struct is_proto_enum< ::location::nearby::proto::connections::DeviceType> : ::std::true_type {};
|
||||
|
||||
PROTOBUF_NAMESPACE_CLOSE
|
||||
|
||||
|
||||
@@ -2722,13 +2722,14 @@ bool AttachmentSourceType_IsValid(int value) {
|
||||
case 3:
|
||||
case 4:
|
||||
case 5:
|
||||
case 6:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> AttachmentSourceType_strings[6] = {};
|
||||
static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> AttachmentSourceType_strings[7] = {};
|
||||
|
||||
static const char AttachmentSourceType_names[] =
|
||||
"ATTACHMENT_SOURCE_CONTEXT_MENU"
|
||||
@@ -2736,6 +2737,7 @@ static const char AttachmentSourceType_names[] =
|
||||
"ATTACHMENT_SOURCE_PASTE"
|
||||
"ATTACHMENT_SOURCE_SELECT_FILES_BUTTON"
|
||||
"ATTACHMENT_SOURCE_SELECT_FOLDERS_BUTTON"
|
||||
"ATTACHMENT_SOURCE_SHARE_ACTIVATION"
|
||||
"ATTACHMENT_SOURCE_UNKNOWN";
|
||||
|
||||
static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry AttachmentSourceType_entries[] = {
|
||||
@@ -2744,16 +2746,18 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry AttachmentSourceType_e
|
||||
{ {AttachmentSourceType_names + 61, 23}, 4 },
|
||||
{ {AttachmentSourceType_names + 84, 37}, 3 },
|
||||
{ {AttachmentSourceType_names + 121, 39}, 5 },
|
||||
{ {AttachmentSourceType_names + 160, 25}, 0 },
|
||||
{ {AttachmentSourceType_names + 160, 34}, 6 },
|
||||
{ {AttachmentSourceType_names + 194, 25}, 0 },
|
||||
};
|
||||
|
||||
static const int AttachmentSourceType_entries_by_number[] = {
|
||||
5, // 0 -> ATTACHMENT_SOURCE_UNKNOWN
|
||||
6, // 0 -> ATTACHMENT_SOURCE_UNKNOWN
|
||||
0, // 1 -> ATTACHMENT_SOURCE_CONTEXT_MENU
|
||||
1, // 2 -> ATTACHMENT_SOURCE_DRAG_AND_DROP
|
||||
3, // 3 -> ATTACHMENT_SOURCE_SELECT_FILES_BUTTON
|
||||
2, // 4 -> ATTACHMENT_SOURCE_PASTE
|
||||
4, // 5 -> ATTACHMENT_SOURCE_SELECT_FOLDERS_BUTTON
|
||||
5, // 6 -> ATTACHMENT_SOURCE_SHARE_ACTIVATION
|
||||
};
|
||||
|
||||
const std::string& AttachmentSourceType_Name(
|
||||
@@ -2762,12 +2766,12 @@ const std::string& AttachmentSourceType_Name(
|
||||
::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings(
|
||||
AttachmentSourceType_entries,
|
||||
AttachmentSourceType_entries_by_number,
|
||||
6, AttachmentSourceType_strings);
|
||||
7, AttachmentSourceType_strings);
|
||||
(void) dummy;
|
||||
int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName(
|
||||
AttachmentSourceType_entries,
|
||||
AttachmentSourceType_entries_by_number,
|
||||
6, value);
|
||||
7, value);
|
||||
return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() :
|
||||
AttachmentSourceType_strings[idx].get();
|
||||
}
|
||||
@@ -2775,7 +2779,7 @@ bool AttachmentSourceType_Parse(
|
||||
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, AttachmentSourceType* value) {
|
||||
int int_value;
|
||||
bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue(
|
||||
AttachmentSourceType_entries, 6, name, &int_value);
|
||||
AttachmentSourceType_entries, 7, name, &int_value);
|
||||
if (success) {
|
||||
*value = static_cast<AttachmentSourceType>(int_value);
|
||||
}
|
||||
|
||||
@@ -948,11 +948,12 @@ enum AttachmentSourceType : int {
|
||||
ATTACHMENT_SOURCE_DRAG_AND_DROP = 2,
|
||||
ATTACHMENT_SOURCE_SELECT_FILES_BUTTON = 3,
|
||||
ATTACHMENT_SOURCE_PASTE = 4,
|
||||
ATTACHMENT_SOURCE_SELECT_FOLDERS_BUTTON = 5
|
||||
ATTACHMENT_SOURCE_SELECT_FOLDERS_BUTTON = 5,
|
||||
ATTACHMENT_SOURCE_SHARE_ACTIVATION = 6
|
||||
};
|
||||
bool AttachmentSourceType_IsValid(int value);
|
||||
constexpr AttachmentSourceType AttachmentSourceType_MIN = ATTACHMENT_SOURCE_UNKNOWN;
|
||||
constexpr AttachmentSourceType AttachmentSourceType_MAX = ATTACHMENT_SOURCE_SELECT_FOLDERS_BUTTON;
|
||||
constexpr AttachmentSourceType AttachmentSourceType_MAX = ATTACHMENT_SOURCE_SHARE_ACTIVATION;
|
||||
constexpr int AttachmentSourceType_ARRAYSIZE = AttachmentSourceType_MAX + 1;
|
||||
|
||||
const std::string& AttachmentSourceType_Name(AttachmentSourceType value);
|
||||
|
||||
Reference in New Issue
Block a user