diff --git a/compiled_proto/connections/implementation/proto/offline_wire_formats.pb.cc b/compiled_proto/connections/implementation/proto/offline_wire_formats.pb.cc index fc18ba66..905c2cb9 100644 --- a/compiled_proto/connections/implementation/proto/offline_wire_formats.pb.cc +++ b/compiled_proto/connections/implementation/proto/offline_wire_formats.pb.cc @@ -68,6 +68,8 @@ constexpr ConnectionRequestFrame::ConnectionRequestFrame( , keep_alive_interval_millis_(0) , keep_alive_timeout_millis_(0) , device_type_(0) + , connection_mode_(0) + , _oneof_case_{}{} struct ConnectionRequestFrameDefaultTypeInternal { constexpr ConnectionRequestFrameDefaultTypeInternal() @@ -267,6 +269,18 @@ struct BandwidthUpgradeNegotiationFrame_UpgradePathInfoDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT BandwidthUpgradeNegotiationFrame_UpgradePathInfoDefaultTypeInternal _BandwidthUpgradeNegotiationFrame_UpgradePathInfo_default_instance_; +constexpr BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : sta_frequency_(0){} +struct BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannelDefaultTypeInternal { + constexpr BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannelDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannelDefaultTypeInternal() {} + union { + BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannelDefaultTypeInternal _BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel_default_instance_; constexpr BandwidthUpgradeNegotiationFrame_ClientIntroduction::BandwidthUpgradeNegotiationFrame_ClientIntroduction( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : endpoint_id_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) @@ -296,6 +310,7 @@ constexpr BandwidthUpgradeNegotiationFrame::BandwidthUpgradeNegotiationFrame( : upgrade_path_info_(nullptr) , client_introduction_(nullptr) , client_introduction_ack_(nullptr) + , safe_to_close_prior_channel_(nullptr) , event_type_(0) {} struct BandwidthUpgradeNegotiationFrameDefaultTypeInternal { @@ -769,13 +784,14 @@ bool ConnectionRequestFrame_Medium_IsValid(int value) { case 9: case 10: case 11: + case 12: return true; default: return false; } } -static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed ConnectionRequestFrame_Medium_strings[12] = {}; +static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed ConnectionRequestFrame_Medium_strings[13] = {}; static const char ConnectionRequestFrame_Medium_names[] = "BLE" @@ -786,6 +802,7 @@ static const char ConnectionRequestFrame_Medium_names[] = "UNKNOWN_MEDIUM" "USB" "WEB_RTC" + "WEB_RTC_NON_CELLULAR" "WIFI_AWARE" "WIFI_DIRECT" "WIFI_HOTSPOT" @@ -800,25 +817,27 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry ConnectionRequestFrame { {ConnectionRequestFrame_Medium_names + 28, 14}, 0 }, { {ConnectionRequestFrame_Medium_names + 42, 3}, 11 }, { {ConnectionRequestFrame_Medium_names + 45, 7}, 9 }, - { {ConnectionRequestFrame_Medium_names + 52, 10}, 6 }, - { {ConnectionRequestFrame_Medium_names + 62, 11}, 8 }, - { {ConnectionRequestFrame_Medium_names + 73, 12}, 3 }, - { {ConnectionRequestFrame_Medium_names + 85, 8}, 5 }, + { {ConnectionRequestFrame_Medium_names + 52, 20}, 12 }, + { {ConnectionRequestFrame_Medium_names + 72, 10}, 6 }, + { {ConnectionRequestFrame_Medium_names + 82, 11}, 8 }, + { {ConnectionRequestFrame_Medium_names + 93, 12}, 3 }, + { {ConnectionRequestFrame_Medium_names + 105, 8}, 5 }, }; static const int ConnectionRequestFrame_Medium_entries_by_number[] = { 5, // 0 -> UNKNOWN_MEDIUM 3, // 1 -> MDNS 2, // 2 -> BLUETOOTH - 10, // 3 -> WIFI_HOTSPOT + 11, // 3 -> WIFI_HOTSPOT 0, // 4 -> BLE - 11, // 5 -> WIFI_LAN - 8, // 6 -> WIFI_AWARE + 12, // 5 -> WIFI_LAN + 9, // 6 -> WIFI_AWARE 4, // 7 -> NFC - 9, // 8 -> WIFI_DIRECT + 10, // 8 -> WIFI_DIRECT 7, // 9 -> WEB_RTC 1, // 10 -> BLE_L2CAP 6, // 11 -> USB + 8, // 12 -> WEB_RTC_NON_CELLULAR }; const std::string& ConnectionRequestFrame_Medium_Name( @@ -827,12 +846,12 @@ const std::string& ConnectionRequestFrame_Medium_Name( ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings( ConnectionRequestFrame_Medium_entries, ConnectionRequestFrame_Medium_entries_by_number, - 12, ConnectionRequestFrame_Medium_strings); + 13, ConnectionRequestFrame_Medium_strings); (void) dummy; int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName( ConnectionRequestFrame_Medium_entries, ConnectionRequestFrame_Medium_entries_by_number, - 12, value); + 13, value); return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() : ConnectionRequestFrame_Medium_strings[idx].get(); } @@ -840,7 +859,7 @@ bool ConnectionRequestFrame_Medium_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConnectionRequestFrame_Medium* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( - ConnectionRequestFrame_Medium_entries, 12, name, &int_value); + ConnectionRequestFrame_Medium_entries, 13, name, &int_value); if (success) { *value = static_cast(int_value); } @@ -859,10 +878,69 @@ constexpr ConnectionRequestFrame_Medium ConnectionRequestFrame::WIFI_DIRECT; constexpr ConnectionRequestFrame_Medium ConnectionRequestFrame::WEB_RTC; constexpr ConnectionRequestFrame_Medium ConnectionRequestFrame::BLE_L2CAP; constexpr ConnectionRequestFrame_Medium ConnectionRequestFrame::USB; +constexpr ConnectionRequestFrame_Medium ConnectionRequestFrame::WEB_RTC_NON_CELLULAR; constexpr ConnectionRequestFrame_Medium ConnectionRequestFrame::Medium_MIN; constexpr ConnectionRequestFrame_Medium ConnectionRequestFrame::Medium_MAX; constexpr int ConnectionRequestFrame::Medium_ARRAYSIZE; #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +bool ConnectionRequestFrame_ConnectionMode_IsValid(int value) { + switch (value) { + case 0: + case 1: + return true; + default: + return false; + } +} + +static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed ConnectionRequestFrame_ConnectionMode_strings[2] = {}; + +static const char ConnectionRequestFrame_ConnectionMode_names[] = + "INSTANT" + "LEGACY"; + +static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry ConnectionRequestFrame_ConnectionMode_entries[] = { + { {ConnectionRequestFrame_ConnectionMode_names + 0, 7}, 1 }, + { {ConnectionRequestFrame_ConnectionMode_names + 7, 6}, 0 }, +}; + +static const int ConnectionRequestFrame_ConnectionMode_entries_by_number[] = { + 1, // 0 -> LEGACY + 0, // 1 -> INSTANT +}; + +const std::string& ConnectionRequestFrame_ConnectionMode_Name( + ConnectionRequestFrame_ConnectionMode value) { + static const bool dummy = + ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings( + ConnectionRequestFrame_ConnectionMode_entries, + ConnectionRequestFrame_ConnectionMode_entries_by_number, + 2, ConnectionRequestFrame_ConnectionMode_strings); + (void) dummy; + int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName( + ConnectionRequestFrame_ConnectionMode_entries, + ConnectionRequestFrame_ConnectionMode_entries_by_number, + 2, value); + return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() : + ConnectionRequestFrame_ConnectionMode_strings[idx].get(); +} +bool ConnectionRequestFrame_ConnectionMode_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConnectionRequestFrame_ConnectionMode* value) { + int int_value; + bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( + ConnectionRequestFrame_ConnectionMode_entries, 2, name, &int_value); + if (success) { + *value = static_cast(int_value); + } + return success; +} +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +constexpr ConnectionRequestFrame_ConnectionMode ConnectionRequestFrame::LEGACY; +constexpr ConnectionRequestFrame_ConnectionMode ConnectionRequestFrame::INSTANT; +constexpr ConnectionRequestFrame_ConnectionMode ConnectionRequestFrame::ConnectionMode_MIN; +constexpr ConnectionRequestFrame_ConnectionMode ConnectionRequestFrame::ConnectionMode_MAX; +constexpr int ConnectionRequestFrame::ConnectionMode_ARRAYSIZE; +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) bool ConnectionResponseFrame_ResponseStatus_IsValid(int value) { switch (value) { case 0: @@ -1196,13 +1274,14 @@ bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_IsValid(int value) case 8: case 9: case 11: + case 12: return true; default: return false; } } -static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_strings[11] = {}; +static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_strings[12] = {}; static const char BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_names[] = "BLE" @@ -1212,6 +1291,7 @@ static const char BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_names[ "UNKNOWN_MEDIUM" "USB" "WEB_RTC" + "WEB_RTC_NON_CELLULAR" "WIFI_AWARE" "WIFI_DIRECT" "WIFI_HOTSPOT" @@ -1225,24 +1305,26 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry BandwidthUpgradeNegoti { {BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_names + 19, 14}, 0 }, { {BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_names + 33, 3}, 11 }, { {BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_names + 36, 7}, 9 }, - { {BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_names + 43, 10}, 6 }, - { {BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_names + 53, 11}, 8 }, - { {BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_names + 64, 12}, 3 }, - { {BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_names + 76, 8}, 5 }, + { {BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_names + 43, 20}, 12 }, + { {BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_names + 63, 10}, 6 }, + { {BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_names + 73, 11}, 8 }, + { {BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_names + 84, 12}, 3 }, + { {BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_names + 96, 8}, 5 }, }; static const int BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_entries_by_number[] = { 4, // 0 -> UNKNOWN_MEDIUM 2, // 1 -> MDNS 1, // 2 -> BLUETOOTH - 9, // 3 -> WIFI_HOTSPOT + 10, // 3 -> WIFI_HOTSPOT 0, // 4 -> BLE - 10, // 5 -> WIFI_LAN - 7, // 6 -> WIFI_AWARE + 11, // 5 -> WIFI_LAN + 8, // 6 -> WIFI_AWARE 3, // 7 -> NFC - 8, // 8 -> WIFI_DIRECT + 9, // 8 -> WIFI_DIRECT 6, // 9 -> WEB_RTC 5, // 11 -> USB + 7, // 12 -> WEB_RTC_NON_CELLULAR }; const std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_Name( @@ -1251,12 +1333,12 @@ const std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_Name( ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings( BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_entries, BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_entries_by_number, - 11, BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_strings); + 12, BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_strings); (void) dummy; int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName( BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_entries, BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_entries_by_number, - 11, value); + 12, value); return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() : BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_strings[idx].get(); } @@ -1264,7 +1346,7 @@ bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( - BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_entries, 11, name, &int_value); + BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_entries, 12, name, &int_value); if (success) { *value = static_cast(int_value); } @@ -1282,6 +1364,7 @@ constexpr BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium BandwidthUpgra constexpr BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium BandwidthUpgradeNegotiationFrame_UpgradePathInfo::WIFI_DIRECT; constexpr BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium BandwidthUpgradeNegotiationFrame_UpgradePathInfo::WEB_RTC; constexpr BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium BandwidthUpgradeNegotiationFrame_UpgradePathInfo::USB; +constexpr BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium BandwidthUpgradeNegotiationFrame_UpgradePathInfo::WEB_RTC_NON_CELLULAR; constexpr BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium BandwidthUpgradeNegotiationFrame_UpgradePathInfo::Medium_MIN; constexpr BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium BandwidthUpgradeNegotiationFrame_UpgradePathInfo::Medium_MAX; constexpr int BandwidthUpgradeNegotiationFrame_UpgradePathInfo::Medium_ARRAYSIZE; @@ -1382,13 +1465,14 @@ bool BandwidthUpgradeRetryFrame_Medium_IsValid(int value) { case 9: case 10: case 11: + case 12: return true; default: return false; } } -static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed BandwidthUpgradeRetryFrame_Medium_strings[11] = {}; +static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed BandwidthUpgradeRetryFrame_Medium_strings[12] = {}; static const char BandwidthUpgradeRetryFrame_Medium_names[] = "BLE" @@ -1398,6 +1482,7 @@ static const char BandwidthUpgradeRetryFrame_Medium_names[] = "UNKNOWN_MEDIUM" "USB" "WEB_RTC" + "WEB_RTC_NON_CELLULAR" "WIFI_AWARE" "WIFI_DIRECT" "WIFI_HOTSPOT" @@ -1411,24 +1496,26 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry BandwidthUpgradeRetryF { {BandwidthUpgradeRetryFrame_Medium_names + 24, 14}, 0 }, { {BandwidthUpgradeRetryFrame_Medium_names + 38, 3}, 11 }, { {BandwidthUpgradeRetryFrame_Medium_names + 41, 7}, 9 }, - { {BandwidthUpgradeRetryFrame_Medium_names + 48, 10}, 6 }, - { {BandwidthUpgradeRetryFrame_Medium_names + 58, 11}, 8 }, - { {BandwidthUpgradeRetryFrame_Medium_names + 69, 12}, 3 }, - { {BandwidthUpgradeRetryFrame_Medium_names + 81, 8}, 5 }, + { {BandwidthUpgradeRetryFrame_Medium_names + 48, 20}, 12 }, + { {BandwidthUpgradeRetryFrame_Medium_names + 68, 10}, 6 }, + { {BandwidthUpgradeRetryFrame_Medium_names + 78, 11}, 8 }, + { {BandwidthUpgradeRetryFrame_Medium_names + 89, 12}, 3 }, + { {BandwidthUpgradeRetryFrame_Medium_names + 101, 8}, 5 }, }; static const int BandwidthUpgradeRetryFrame_Medium_entries_by_number[] = { 4, // 0 -> UNKNOWN_MEDIUM 2, // 2 -> BLUETOOTH - 9, // 3 -> WIFI_HOTSPOT + 10, // 3 -> WIFI_HOTSPOT 0, // 4 -> BLE - 10, // 5 -> WIFI_LAN - 7, // 6 -> WIFI_AWARE + 11, // 5 -> WIFI_LAN + 8, // 6 -> WIFI_AWARE 3, // 7 -> NFC - 8, // 8 -> WIFI_DIRECT + 9, // 8 -> WIFI_DIRECT 6, // 9 -> WEB_RTC 1, // 10 -> BLE_L2CAP 5, // 11 -> USB + 7, // 12 -> WEB_RTC_NON_CELLULAR }; const std::string& BandwidthUpgradeRetryFrame_Medium_Name( @@ -1437,12 +1524,12 @@ const std::string& BandwidthUpgradeRetryFrame_Medium_Name( ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings( BandwidthUpgradeRetryFrame_Medium_entries, BandwidthUpgradeRetryFrame_Medium_entries_by_number, - 11, BandwidthUpgradeRetryFrame_Medium_strings); + 12, BandwidthUpgradeRetryFrame_Medium_strings); (void) dummy; int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName( BandwidthUpgradeRetryFrame_Medium_entries, BandwidthUpgradeRetryFrame_Medium_entries_by_number, - 11, value); + 12, value); return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() : BandwidthUpgradeRetryFrame_Medium_strings[idx].get(); } @@ -1450,7 +1537,7 @@ bool BandwidthUpgradeRetryFrame_Medium_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, BandwidthUpgradeRetryFrame_Medium* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( - BandwidthUpgradeRetryFrame_Medium_entries, 11, name, &int_value); + BandwidthUpgradeRetryFrame_Medium_entries, 12, name, &int_value); if (success) { *value = static_cast(int_value); } @@ -1468,6 +1555,7 @@ constexpr BandwidthUpgradeRetryFrame_Medium BandwidthUpgradeRetryFrame::WIFI_DIR constexpr BandwidthUpgradeRetryFrame_Medium BandwidthUpgradeRetryFrame::WEB_RTC; constexpr BandwidthUpgradeRetryFrame_Medium BandwidthUpgradeRetryFrame::BLE_L2CAP; constexpr BandwidthUpgradeRetryFrame_Medium BandwidthUpgradeRetryFrame::USB; +constexpr BandwidthUpgradeRetryFrame_Medium BandwidthUpgradeRetryFrame::WEB_RTC_NON_CELLULAR; constexpr BandwidthUpgradeRetryFrame_Medium BandwidthUpgradeRetryFrame::Medium_MIN; constexpr BandwidthUpgradeRetryFrame_Medium BandwidthUpgradeRetryFrame::Medium_MAX; constexpr int BandwidthUpgradeRetryFrame::Medium_ARRAYSIZE; @@ -2912,6 +3000,9 @@ class ConnectionRequestFrame::_Internal { } static const ::location::nearby::connections::ConnectionsDevice& connections_device(const ConnectionRequestFrame* msg); static const ::location::nearby::connections::PresenceDevice& presence_device(const ConnectionRequestFrame* msg); + static void set_has_connection_mode(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } }; const ::location::nearby::connections::MediumMetadata& @@ -3017,8 +3108,8 @@ ConnectionRequestFrame::ConnectionRequestFrame(const ConnectionRequestFrame& fro medium_metadata_ = nullptr; } ::memcpy(&nonce_, &from.nonce_, - static_cast(reinterpret_cast(&device_type_) - - reinterpret_cast(&nonce_)) + sizeof(device_type_)); + static_cast(reinterpret_cast(&connection_mode_) - + reinterpret_cast(&nonce_)) + sizeof(connection_mode_)); clear_has_Device(); switch (from.Device_case()) { case kConnectionsDevice: { @@ -3059,8 +3150,8 @@ device_info_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING ::memset(reinterpret_cast(this) + static_cast( reinterpret_cast(&medium_metadata_) - reinterpret_cast(this)), - 0, static_cast(reinterpret_cast(&device_type_) - - reinterpret_cast(&medium_metadata_)) + sizeof(device_type_)); + 0, static_cast(reinterpret_cast(&connection_mode_) - + reinterpret_cast(&medium_metadata_)) + sizeof(connection_mode_)); clear_has_Device(); } @@ -3151,10 +3242,10 @@ void ConnectionRequestFrame::Clear() { reinterpret_cast(&keep_alive_interval_millis_) - reinterpret_cast(&nonce_)) + sizeof(keep_alive_interval_millis_)); } - if (cached_has_bits & 0x00000300u) { + if (cached_has_bits & 0x00000700u) { ::memset(&keep_alive_timeout_millis_, 0, static_cast( - reinterpret_cast(&device_type_) - - reinterpret_cast(&keep_alive_timeout_millis_)) + sizeof(device_type_)); + reinterpret_cast(&connection_mode_) - + reinterpret_cast(&keep_alive_timeout_millis_)) + sizeof(connection_mode_)); } clear_Device(); _has_bits_.Clear(); @@ -3294,6 +3385,19 @@ const char* ConnectionRequestFrame::_InternalParse(const char* ptr, ::PROTOBUF_N } else goto handle_unusual; continue; + // optional .location.nearby.connections.ConnectionRequestFrame.ConnectionMode connection_mode = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::location::nearby::connections::ConnectionRequestFrame_ConnectionMode_IsValid(val))) { + _internal_set_connection_mode(static_cast<::location::nearby::connections::ConnectionRequestFrame_ConnectionMode>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(14, val, mutable_unknown_fields()); + } + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -3411,6 +3515,13 @@ uint8_t* ConnectionRequestFrame::_InternalSerialize( } default: ; } + // optional .location.nearby.connections.ConnectionRequestFrame.ConnectionMode connection_mode = 14; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( + 14, this->_internal_connection_mode(), target); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = stream->WriteRaw(_internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(), static_cast(_internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target); @@ -3492,7 +3603,7 @@ size_t ConnectionRequestFrame::ByteSizeLong() const { } } - if (cached_has_bits & 0x00000300u) { + if (cached_has_bits & 0x00000700u) { // optional int32 keep_alive_timeout_millis = 9; if (cached_has_bits & 0x00000100u) { total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->_internal_keep_alive_timeout_millis()); @@ -3503,6 +3614,12 @@ size_t ConnectionRequestFrame::ByteSizeLong() const { total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->_internal_device_type()); } + // optional .location.nearby.connections.ConnectionRequestFrame.ConnectionMode connection_mode = 14; + if (cached_has_bits & 0x00000400u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_connection_mode()); + } + } switch (Device_case()) { // .location.nearby.connections.ConnectionsDevice connections_device = 12; @@ -3572,13 +3689,16 @@ void ConnectionRequestFrame::MergeFrom(const ConnectionRequestFrame& from) { } _has_bits_[0] |= cached_has_bits; } - if (cached_has_bits & 0x00000300u) { + if (cached_has_bits & 0x00000700u) { if (cached_has_bits & 0x00000100u) { keep_alive_timeout_millis_ = from.keep_alive_timeout_millis_; } if (cached_has_bits & 0x00000200u) { device_type_ = from.device_type_; } + if (cached_has_bits & 0x00000400u) { + connection_mode_ = from.connection_mode_; + } _has_bits_[0] |= cached_has_bits; } switch (from.Device_case()) { @@ -3641,8 +3761,8 @@ void ConnectionRequestFrame::InternalSwap(ConnectionRequestFrame* other) { &other->device_info_, rhs_arena ); ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(ConnectionRequestFrame, device_type_) - + sizeof(ConnectionRequestFrame::device_type_) + PROTOBUF_FIELD_OFFSET(ConnectionRequestFrame, connection_mode_) + + sizeof(ConnectionRequestFrame::connection_mode_) - PROTOBUF_FIELD_OFFSET(ConnectionRequestFrame, medium_metadata_)>( reinterpret_cast(&medium_metadata_), reinterpret_cast(&other->medium_metadata_)); @@ -7778,6 +7898,193 @@ std::string BandwidthUpgradeNegotiationFrame_UpgradePathInfo::GetTypeName() cons } +// =================================================================== + +class BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel::_Internal { + public: + using HasBits = decltype(std::declval()._has_bits_); + static void set_has_sta_frequency(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } +}; + +BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel(::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.SafeToClosePriorChannel) +} +BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel(const BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& from) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(), + _has_bits_(from._has_bits_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + sta_frequency_ = from.sta_frequency_; + // @@protoc_insertion_point(copy_constructor:location.nearby.connections.BandwidthUpgradeNegotiationFrame.SafeToClosePriorChannel) +} + +inline void BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel::SharedCtor() { +sta_frequency_ = 0; +} + +BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel::~BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel() { + // @@protoc_insertion_point(destructor:location.nearby.connections.BandwidthUpgradeNegotiationFrame.SafeToClosePriorChannel) + if (GetArenaForAllocation() != nullptr) return; + SharedDtor(); + _internal_metadata_.Delete(); +} + +inline void BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel::ArenaDtor(void* object) { + BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* _this = reinterpret_cast< BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* >(object); + (void)_this; +} +void BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} +void BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel::SetCachedSize(int size) const { + _cached_size_.Set(size); +} + +void BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel::Clear() { +// @@protoc_insertion_point(message_clear_start:location.nearby.connections.BandwidthUpgradeNegotiationFrame.SafeToClosePriorChannel) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + sta_frequency_ = 0; + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +const char* BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel::_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 int32 sta_frequency = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_sta_frequency(&has_bits); + sta_frequency_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + 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(), + 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_SafeToClosePriorChannel::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:location.nearby.connections.BandwidthUpgradeNegotiationFrame.SafeToClosePriorChannel) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional int32 sta_frequency = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(1, this->_internal_sta_frequency(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw(_internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(), + static_cast(_internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:location.nearby.connections.BandwidthUpgradeNegotiationFrame.SafeToClosePriorChannel) + return target; +} + +size_t BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:location.nearby.connections.BandwidthUpgradeNegotiationFrame.SafeToClosePriorChannel) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // optional int32 sta_frequency = 1; + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->_internal_sta_frequency()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + total_size += _internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size(); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel::CheckTypeAndMergeFrom( + const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) { + MergeFrom(*::PROTOBUF_NAMESPACE_ID::internal::DownCast( + &from)); +} + +void BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel::MergeFrom(const BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:location.nearby.connections.BandwidthUpgradeNegotiationFrame.SafeToClosePriorChannel) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_sta_frequency()) { + _internal_set_sta_frequency(from._internal_sta_frequency()); + } + _internal_metadata_.MergeFrom(from._internal_metadata_); +} + +void BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel::CopyFrom(const BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:location.nearby.connections.BandwidthUpgradeNegotiationFrame.SafeToClosePriorChannel) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel::IsInitialized() const { + return true; +} + +void BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel::InternalSwap(BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_has_bits_[0], other->_has_bits_[0]); + swap(sta_frequency_, other->sta_frequency_); +} + +std::string BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel::GetTypeName() const { + return "location.nearby.connections.BandwidthUpgradeNegotiationFrame.SafeToClosePriorChannel"; +} + + // =================================================================== class BandwidthUpgradeNegotiationFrame_ClientIntroduction::_Internal { @@ -8173,7 +8480,7 @@ class BandwidthUpgradeNegotiationFrame::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); static void set_has_event_type(HasBits* has_bits) { - (*has_bits)[0] |= 8u; + (*has_bits)[0] |= 16u; } static const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo& upgrade_path_info(const BandwidthUpgradeNegotiationFrame* msg); static void set_has_upgrade_path_info(HasBits* has_bits) { @@ -8187,6 +8494,10 @@ class BandwidthUpgradeNegotiationFrame::_Internal { static void set_has_client_introduction_ack(HasBits* has_bits) { (*has_bits)[0] |= 4u; } + static const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& safe_to_close_prior_channel(const BandwidthUpgradeNegotiationFrame* msg); + static void set_has_safe_to_close_prior_channel(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } }; const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo& @@ -8201,6 +8512,10 @@ const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIn BandwidthUpgradeNegotiationFrame::_Internal::client_introduction_ack(const BandwidthUpgradeNegotiationFrame* msg) { return *msg->client_introduction_ack_; } +const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& +BandwidthUpgradeNegotiationFrame::_Internal::safe_to_close_prior_channel(const BandwidthUpgradeNegotiationFrame* msg) { + return *msg->safe_to_close_prior_channel_; +} BandwidthUpgradeNegotiationFrame::BandwidthUpgradeNegotiationFrame(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { @@ -8229,6 +8544,11 @@ BandwidthUpgradeNegotiationFrame::BandwidthUpgradeNegotiationFrame(const Bandwid } else { client_introduction_ack_ = nullptr; } + if (from._internal_has_safe_to_close_prior_channel()) { + safe_to_close_prior_channel_ = new ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel(*from.safe_to_close_prior_channel_); + } else { + safe_to_close_prior_channel_ = nullptr; + } event_type_ = from.event_type_; // @@protoc_insertion_point(copy_constructor:location.nearby.connections.BandwidthUpgradeNegotiationFrame) } @@ -8252,6 +8572,7 @@ inline void BandwidthUpgradeNegotiationFrame::SharedDtor() { if (this != internal_default_instance()) delete upgrade_path_info_; if (this != internal_default_instance()) delete client_introduction_; if (this != internal_default_instance()) delete client_introduction_ack_; + if (this != internal_default_instance()) delete safe_to_close_prior_channel_; } void BandwidthUpgradeNegotiationFrame::ArenaDtor(void* object) { @@ -8271,7 +8592,7 @@ void BandwidthUpgradeNegotiationFrame::Clear() { (void) cached_has_bits; cached_has_bits = _has_bits_[0]; - if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x0000000fu) { if (cached_has_bits & 0x00000001u) { GOOGLE_DCHECK(upgrade_path_info_ != nullptr); upgrade_path_info_->Clear(); @@ -8284,6 +8605,10 @@ void BandwidthUpgradeNegotiationFrame::Clear() { GOOGLE_DCHECK(client_introduction_ack_ != nullptr); client_introduction_ack_->Clear(); } + if (cached_has_bits & 0x00000008u) { + GOOGLE_DCHECK(safe_to_close_prior_channel_ != nullptr); + safe_to_close_prior_channel_->Clear(); + } } event_type_ = 0; _has_bits_.Clear(); @@ -8334,6 +8659,14 @@ const char* BandwidthUpgradeNegotiationFrame::_InternalParse(const char* ptr, :: } else goto handle_unusual; continue; + // optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.SafeToClosePriorChannel safe_to_close_prior_channel = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_safe_to_close_prior_channel(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -8366,7 +8699,7 @@ uint8_t* BandwidthUpgradeNegotiationFrame::_InternalSerialize( cached_has_bits = _has_bits_[0]; // optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.EventType event_type = 1; - if (cached_has_bits & 0x00000008u) { + if (cached_has_bits & 0x00000010u) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( 1, this->_internal_event_type(), target); @@ -8396,6 +8729,14 @@ uint8_t* BandwidthUpgradeNegotiationFrame::_InternalSerialize( 4, _Internal::client_introduction_ack(this), target, stream); } + // optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.SafeToClosePriorChannel safe_to_close_prior_channel = 5; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 5, _Internal::safe_to_close_prior_channel(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = stream->WriteRaw(_internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(), static_cast(_internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target); @@ -8413,7 +8754,7 @@ size_t BandwidthUpgradeNegotiationFrame::ByteSizeLong() const { (void) cached_has_bits; cached_has_bits = _has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x0000001fu) { // optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo upgrade_path_info = 2; if (cached_has_bits & 0x00000001u) { total_size += 1 + @@ -8435,8 +8776,15 @@ size_t BandwidthUpgradeNegotiationFrame::ByteSizeLong() const { *client_introduction_ack_); } - // optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.EventType event_type = 1; + // optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.SafeToClosePriorChannel safe_to_close_prior_channel = 5; if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *safe_to_close_prior_channel_); + } + + // optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.EventType event_type = 1; + if (cached_has_bits & 0x00000010u) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_event_type()); } @@ -8463,7 +8811,7 @@ void BandwidthUpgradeNegotiationFrame::MergeFrom(const BandwidthUpgradeNegotiati (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x0000001fu) { if (cached_has_bits & 0x00000001u) { _internal_mutable_upgrade_path_info()->::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo::MergeFrom(from._internal_upgrade_path_info()); } @@ -8474,6 +8822,9 @@ void BandwidthUpgradeNegotiationFrame::MergeFrom(const BandwidthUpgradeNegotiati _internal_mutable_client_introduction_ack()->::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroductionAck::MergeFrom(from._internal_client_introduction_ack()); } if (cached_has_bits & 0x00000008u) { + _internal_mutable_safe_to_close_prior_channel()->::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel::MergeFrom(from._internal_safe_to_close_prior_channel()); + } + if (cached_has_bits & 0x00000010u) { event_type_ = from.event_type_; } _has_bits_[0] |= cached_has_bits; @@ -13475,6 +13826,9 @@ template<> PROTOBUF_NOINLINE ::location::nearby::connections::BandwidthUpgradeNe template<> PROTOBUF_NOINLINE ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo* Arena::CreateMaybeMessage< ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo >(Arena* arena) { return Arena::CreateMessageInternal< ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo >(arena); } +template<> PROTOBUF_NOINLINE ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* Arena::CreateMaybeMessage< ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel >(Arena* arena) { + return Arena::CreateMessageInternal< ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel >(arena); +} template<> PROTOBUF_NOINLINE ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroduction* Arena::CreateMaybeMessage< ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroduction >(Arena* arena) { return Arena::CreateMessageInternal< ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroduction >(arena); } diff --git a/compiled_proto/connections/implementation/proto/offline_wire_formats.pb.h b/compiled_proto/connections/implementation/proto/offline_wire_formats.pb.h index ca2d04a6..69ef2021 100644 --- a/compiled_proto/connections/implementation/proto/offline_wire_formats.pb.h +++ b/compiled_proto/connections/implementation/proto/offline_wire_formats.pb.h @@ -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[37] + static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[38] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; @@ -78,6 +78,9 @@ extern BandwidthUpgradeNegotiationFrame_ClientIntroductionDefaultTypeInternal _B class BandwidthUpgradeNegotiationFrame_ClientIntroductionAck; struct BandwidthUpgradeNegotiationFrame_ClientIntroductionAckDefaultTypeInternal; extern BandwidthUpgradeNegotiationFrame_ClientIntroductionAckDefaultTypeInternal _BandwidthUpgradeNegotiationFrame_ClientIntroductionAck_default_instance_; +class BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel; +struct BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannelDefaultTypeInternal; +extern BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannelDefaultTypeInternal _BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel_default_instance_; class BandwidthUpgradeNegotiationFrame_UpgradePathInfo; struct BandwidthUpgradeNegotiationFrame_UpgradePathInfoDefaultTypeInternal; extern BandwidthUpgradeNegotiationFrame_UpgradePathInfoDefaultTypeInternal _BandwidthUpgradeNegotiationFrame_UpgradePathInfo_default_instance_; @@ -177,6 +180,7 @@ template<> ::location::nearby::connections::AvailableChannels* Arena::CreateMayb template<> ::location::nearby::connections::BandwidthUpgradeNegotiationFrame* Arena::CreateMaybeMessage<::location::nearby::connections::BandwidthUpgradeNegotiationFrame>(Arena*); template<> ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroduction* Arena::CreateMaybeMessage<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroduction>(Arena*); 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_BluetoothCredentials* Arena::CreateMaybeMessage<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_BluetoothCredentials>(Arena*); template<> ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials* Arena::CreateMaybeMessage<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WebRtcCredentials>(Arena*); @@ -272,11 +276,12 @@ enum ConnectionRequestFrame_Medium : int { ConnectionRequestFrame_Medium_WIFI_DIRECT = 8, ConnectionRequestFrame_Medium_WEB_RTC = 9, ConnectionRequestFrame_Medium_BLE_L2CAP = 10, - ConnectionRequestFrame_Medium_USB = 11 + ConnectionRequestFrame_Medium_USB = 11, + ConnectionRequestFrame_Medium_WEB_RTC_NON_CELLULAR = 12 }; bool ConnectionRequestFrame_Medium_IsValid(int value); constexpr ConnectionRequestFrame_Medium ConnectionRequestFrame_Medium_Medium_MIN = ConnectionRequestFrame_Medium_UNKNOWN_MEDIUM; -constexpr ConnectionRequestFrame_Medium ConnectionRequestFrame_Medium_Medium_MAX = ConnectionRequestFrame_Medium_USB; +constexpr ConnectionRequestFrame_Medium ConnectionRequestFrame_Medium_Medium_MAX = ConnectionRequestFrame_Medium_WEB_RTC_NON_CELLULAR; constexpr int ConnectionRequestFrame_Medium_Medium_ARRAYSIZE = ConnectionRequestFrame_Medium_Medium_MAX + 1; const std::string& ConnectionRequestFrame_Medium_Name(ConnectionRequestFrame_Medium value); @@ -289,6 +294,25 @@ inline const std::string& ConnectionRequestFrame_Medium_Name(T enum_t_value) { } bool ConnectionRequestFrame_Medium_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConnectionRequestFrame_Medium* value); +enum ConnectionRequestFrame_ConnectionMode : int { + ConnectionRequestFrame_ConnectionMode_LEGACY = 0, + ConnectionRequestFrame_ConnectionMode_INSTANT = 1 +}; +bool ConnectionRequestFrame_ConnectionMode_IsValid(int value); +constexpr ConnectionRequestFrame_ConnectionMode ConnectionRequestFrame_ConnectionMode_ConnectionMode_MIN = ConnectionRequestFrame_ConnectionMode_LEGACY; +constexpr ConnectionRequestFrame_ConnectionMode ConnectionRequestFrame_ConnectionMode_ConnectionMode_MAX = ConnectionRequestFrame_ConnectionMode_INSTANT; +constexpr int ConnectionRequestFrame_ConnectionMode_ConnectionMode_ARRAYSIZE = ConnectionRequestFrame_ConnectionMode_ConnectionMode_MAX + 1; + +const std::string& ConnectionRequestFrame_ConnectionMode_Name(ConnectionRequestFrame_ConnectionMode value); +template +inline const std::string& ConnectionRequestFrame_ConnectionMode_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function ConnectionRequestFrame_ConnectionMode_Name."); + return ConnectionRequestFrame_ConnectionMode_Name(static_cast(enum_t_value)); +} +bool ConnectionRequestFrame_ConnectionMode_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConnectionRequestFrame_ConnectionMode* value); enum ConnectionResponseFrame_ResponseStatus : int { ConnectionResponseFrame_ResponseStatus_UNKNOWN_RESPONSE_STATUS = 0, ConnectionResponseFrame_ResponseStatus_ACCEPT = 1, @@ -401,11 +425,12 @@ enum BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium : int { BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_NFC = 7, BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_WIFI_DIRECT = 8, BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_WEB_RTC = 9, - BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_USB = 11 + BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_USB = 11, + BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_WEB_RTC_NON_CELLULAR = 12 }; bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_IsValid(int value); constexpr BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_Medium_MIN = BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_UNKNOWN_MEDIUM; -constexpr BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_Medium_MAX = BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_USB; +constexpr BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_Medium_MAX = BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_WEB_RTC_NON_CELLULAR; constexpr int BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_Medium_ARRAYSIZE = BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_Medium_MAX + 1; const std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_Name(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium value); @@ -453,11 +478,12 @@ enum BandwidthUpgradeRetryFrame_Medium : int { BandwidthUpgradeRetryFrame_Medium_WIFI_DIRECT = 8, BandwidthUpgradeRetryFrame_Medium_WEB_RTC = 9, BandwidthUpgradeRetryFrame_Medium_BLE_L2CAP = 10, - BandwidthUpgradeRetryFrame_Medium_USB = 11 + BandwidthUpgradeRetryFrame_Medium_USB = 11, + BandwidthUpgradeRetryFrame_Medium_WEB_RTC_NON_CELLULAR = 12 }; bool BandwidthUpgradeRetryFrame_Medium_IsValid(int value); constexpr BandwidthUpgradeRetryFrame_Medium BandwidthUpgradeRetryFrame_Medium_Medium_MIN = BandwidthUpgradeRetryFrame_Medium_UNKNOWN_MEDIUM; -constexpr BandwidthUpgradeRetryFrame_Medium BandwidthUpgradeRetryFrame_Medium_Medium_MAX = BandwidthUpgradeRetryFrame_Medium_USB; +constexpr BandwidthUpgradeRetryFrame_Medium BandwidthUpgradeRetryFrame_Medium_Medium_MAX = BandwidthUpgradeRetryFrame_Medium_WEB_RTC_NON_CELLULAR; constexpr int BandwidthUpgradeRetryFrame_Medium_Medium_ARRAYSIZE = BandwidthUpgradeRetryFrame_Medium_Medium_MAX + 1; const std::string& BandwidthUpgradeRetryFrame_Medium_Name(BandwidthUpgradeRetryFrame_Medium value); @@ -1358,6 +1384,8 @@ class ConnectionRequestFrame final : ConnectionRequestFrame_Medium_BLE_L2CAP; static constexpr Medium USB = ConnectionRequestFrame_Medium_USB; + static constexpr Medium WEB_RTC_NON_CELLULAR = + ConnectionRequestFrame_Medium_WEB_RTC_NON_CELLULAR; static inline bool Medium_IsValid(int value) { return ConnectionRequestFrame_Medium_IsValid(value); } @@ -1379,6 +1407,32 @@ class ConnectionRequestFrame final : return ConnectionRequestFrame_Medium_Parse(name, value); } + typedef ConnectionRequestFrame_ConnectionMode ConnectionMode; + static constexpr ConnectionMode LEGACY = + ConnectionRequestFrame_ConnectionMode_LEGACY; + static constexpr ConnectionMode INSTANT = + ConnectionRequestFrame_ConnectionMode_INSTANT; + static inline bool ConnectionMode_IsValid(int value) { + return ConnectionRequestFrame_ConnectionMode_IsValid(value); + } + static constexpr ConnectionMode ConnectionMode_MIN = + ConnectionRequestFrame_ConnectionMode_ConnectionMode_MIN; + static constexpr ConnectionMode ConnectionMode_MAX = + ConnectionRequestFrame_ConnectionMode_ConnectionMode_MAX; + static constexpr int ConnectionMode_ARRAYSIZE = + ConnectionRequestFrame_ConnectionMode_ConnectionMode_ARRAYSIZE; + template + static inline const std::string& ConnectionMode_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function ConnectionMode_Name."); + return ConnectionRequestFrame_ConnectionMode_Name(enum_t_value); + } + static inline bool ConnectionMode_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, + ConnectionMode* value) { + return ConnectionRequestFrame_ConnectionMode_Parse(name, value); + } + // accessors ------------------------------------------------------- enum : int { @@ -1393,6 +1447,7 @@ class ConnectionRequestFrame final : kKeepAliveIntervalMillisFieldNumber = 8, kKeepAliveTimeoutMillisFieldNumber = 9, kDeviceTypeFieldNumber = 10, + kConnectionModeFieldNumber = 14, kConnectionsDeviceFieldNumber = 12, kPresenceDeviceFieldNumber = 13, }; @@ -1573,6 +1628,19 @@ class ConnectionRequestFrame final : void _internal_set_device_type(int32_t value); public: + // optional .location.nearby.connections.ConnectionRequestFrame.ConnectionMode connection_mode = 14; + bool has_connection_mode() const; + private: + bool _internal_has_connection_mode() const; + public: + void clear_connection_mode(); + ::location::nearby::connections::ConnectionRequestFrame_ConnectionMode connection_mode() const; + void set_connection_mode(::location::nearby::connections::ConnectionRequestFrame_ConnectionMode value); + private: + ::location::nearby::connections::ConnectionRequestFrame_ConnectionMode _internal_connection_mode() const; + void _internal_set_connection_mode(::location::nearby::connections::ConnectionRequestFrame_ConnectionMode value); + public: + // .location.nearby.connections.ConnectionsDevice connections_device = 12; bool has_connections_device() const; private: @@ -1636,6 +1704,7 @@ class ConnectionRequestFrame final : int32_t keep_alive_interval_millis_; int32_t keep_alive_timeout_millis_; int32_t device_type_; + int connection_mode_; union DeviceUnion { constexpr DeviceUnion() : _constinit_{} {} ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; @@ -4093,6 +4162,8 @@ class BandwidthUpgradeNegotiationFrame_UpgradePathInfo final : BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_WEB_RTC; static constexpr Medium USB = BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_USB; + static constexpr Medium WEB_RTC_NON_CELLULAR = + BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_WEB_RTC_NON_CELLULAR; static inline bool Medium_IsValid(int value) { return BandwidthUpgradeNegotiationFrame_UpgradePathInfo_Medium_IsValid(value); } @@ -4296,6 +4367,148 @@ class BandwidthUpgradeNegotiationFrame_UpgradePathInfo final : }; // ------------------------------------------------------------------- +class BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel final : + public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:location.nearby.connections.BandwidthUpgradeNegotiationFrame.SafeToClosePriorChannel) */ { + public: + inline BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel() : BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel(nullptr) {} + ~BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel() override; + explicit constexpr BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel(const BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& from); + BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel(BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel&& from) noexcept + : BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel() { + *this = ::std::move(from); + } + + inline BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& operator=(const BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& from) { + CopyFrom(from); + return *this; + } + inline BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& operator=(BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel&& 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(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString); + } + inline std::string* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& default_instance() { + return *internal_default_instance(); + } + static inline const BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* internal_default_instance() { + return reinterpret_cast( + &_BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel_default_instance_); + } + static constexpr int kIndexInFileMessages = + 15; + + friend void swap(BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& a, BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& b) { + a.Swap(&b); + } + inline void Swap(BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* 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_SafeToClosePriorChannel* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; + void CopyFrom(const BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& from); + void MergeFrom(const BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& 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_SafeToClosePriorChannel* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "location.nearby.connections.BandwidthUpgradeNegotiationFrame.SafeToClosePriorChannel"; + } + protected: + explicit BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel(::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 { + kStaFrequencyFieldNumber = 1, + }; + // optional int32 sta_frequency = 1; + bool has_sta_frequency() const; + private: + bool _internal_has_sta_frequency() const; + public: + void clear_sta_frequency(); + int32_t sta_frequency() const; + void set_sta_frequency(int32_t value); + private: + int32_t _internal_sta_frequency() const; + void _internal_set_sta_frequency(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:location.nearby.connections.BandwidthUpgradeNegotiationFrame.SafeToClosePriorChannel) + private: + class _Internal; + + template 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_; + int32_t sta_frequency_; + friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto; +}; +// ------------------------------------------------------------------- + class BandwidthUpgradeNegotiationFrame_ClientIntroduction final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:location.nearby.connections.BandwidthUpgradeNegotiationFrame.ClientIntroduction) */ { public: @@ -4342,7 +4555,7 @@ class BandwidthUpgradeNegotiationFrame_ClientIntroduction final : &_BandwidthUpgradeNegotiationFrame_ClientIntroduction_default_instance_); } static constexpr int kIndexInFileMessages = - 15; + 16; friend void swap(BandwidthUpgradeNegotiationFrame_ClientIntroduction& a, BandwidthUpgradeNegotiationFrame_ClientIntroduction& b) { a.Swap(&b); @@ -4504,7 +4717,7 @@ class BandwidthUpgradeNegotiationFrame_ClientIntroductionAck final : &_BandwidthUpgradeNegotiationFrame_ClientIntroductionAck_default_instance_); } static constexpr int kIndexInFileMessages = - 16; + 17; friend void swap(BandwidthUpgradeNegotiationFrame_ClientIntroductionAck& a, BandwidthUpgradeNegotiationFrame_ClientIntroductionAck& b) { a.Swap(&b); @@ -4628,7 +4841,7 @@ class BandwidthUpgradeNegotiationFrame final : &_BandwidthUpgradeNegotiationFrame_default_instance_); } static constexpr int kIndexInFileMessages = - 17; + 18; friend void swap(BandwidthUpgradeNegotiationFrame& a, BandwidthUpgradeNegotiationFrame& b) { a.Swap(&b); @@ -4693,6 +4906,7 @@ class BandwidthUpgradeNegotiationFrame final : // nested types ---------------------------------------------------- typedef BandwidthUpgradeNegotiationFrame_UpgradePathInfo UpgradePathInfo; + typedef BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel SafeToClosePriorChannel; typedef BandwidthUpgradeNegotiationFrame_ClientIntroduction ClientIntroduction; typedef BandwidthUpgradeNegotiationFrame_ClientIntroductionAck ClientIntroductionAck; @@ -4738,6 +4952,7 @@ class BandwidthUpgradeNegotiationFrame final : kUpgradePathInfoFieldNumber = 2, kClientIntroductionFieldNumber = 3, kClientIntroductionAckFieldNumber = 4, + kSafeToClosePriorChannelFieldNumber = 5, kEventTypeFieldNumber = 1, }; // optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo upgrade_path_info = 2; @@ -4794,6 +5009,24 @@ class BandwidthUpgradeNegotiationFrame final : ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroductionAck* client_introduction_ack); ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroductionAck* unsafe_arena_release_client_introduction_ack(); + // optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.SafeToClosePriorChannel safe_to_close_prior_channel = 5; + bool has_safe_to_close_prior_channel() const; + private: + bool _internal_has_safe_to_close_prior_channel() const; + public: + void clear_safe_to_close_prior_channel(); + const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& safe_to_close_prior_channel() const; + PROTOBUF_NODISCARD ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* release_safe_to_close_prior_channel(); + ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* mutable_safe_to_close_prior_channel(); + void set_allocated_safe_to_close_prior_channel(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* safe_to_close_prior_channel); + private: + const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& _internal_safe_to_close_prior_channel() const; + ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* _internal_mutable_safe_to_close_prior_channel(); + public: + void unsafe_arena_set_allocated_safe_to_close_prior_channel( + ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* safe_to_close_prior_channel); + ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* unsafe_arena_release_safe_to_close_prior_channel(); + // optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.EventType event_type = 1; bool has_event_type() const; private: @@ -4819,6 +5052,7 @@ class BandwidthUpgradeNegotiationFrame final : ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo* upgrade_path_info_; ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroduction* client_introduction_; ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_ClientIntroductionAck* client_introduction_ack_; + ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* safe_to_close_prior_channel_; int event_type_; friend struct ::TableStruct_connections_2fimplementation_2fproto_2foffline_5fwire_5fformats_2eproto; }; @@ -4870,7 +5104,7 @@ class BandwidthUpgradeRetryFrame final : &_BandwidthUpgradeRetryFrame_default_instance_); } static constexpr int kIndexInFileMessages = - 18; + 19; friend void swap(BandwidthUpgradeRetryFrame& a, BandwidthUpgradeRetryFrame& b) { a.Swap(&b); @@ -4957,6 +5191,8 @@ class BandwidthUpgradeRetryFrame final : BandwidthUpgradeRetryFrame_Medium_BLE_L2CAP; static constexpr Medium USB = BandwidthUpgradeRetryFrame_Medium_USB; + static constexpr Medium WEB_RTC_NON_CELLULAR = + BandwidthUpgradeRetryFrame_Medium_WEB_RTC_NON_CELLULAR; static inline bool Medium_IsValid(int value) { return BandwidthUpgradeRetryFrame_Medium_IsValid(value); } @@ -5075,7 +5311,7 @@ class KeepAliveFrame final : &_KeepAliveFrame_default_instance_); } static constexpr int kIndexInFileMessages = - 19; + 20; friend void swap(KeepAliveFrame& a, KeepAliveFrame& b) { a.Swap(&b); @@ -5232,7 +5468,7 @@ class DisconnectionFrame final : &_DisconnectionFrame_default_instance_); } static constexpr int kIndexInFileMessages = - 20; + 21; friend void swap(DisconnectionFrame& a, DisconnectionFrame& b) { a.Swap(&b); @@ -5389,7 +5625,7 @@ class PairedKeyEncryptionFrame final : &_PairedKeyEncryptionFrame_default_instance_); } static constexpr int kIndexInFileMessages = - 21; + 22; friend void swap(PairedKeyEncryptionFrame& a, PairedKeyEncryptionFrame& b) { a.Swap(&b); @@ -5536,7 +5772,7 @@ class AuthenticationMessageFrame final : &_AuthenticationMessageFrame_default_instance_); } static constexpr int kIndexInFileMessages = - 22; + 23; friend void swap(AuthenticationMessageFrame& a, AuthenticationMessageFrame& b) { a.Swap(&b); @@ -5683,7 +5919,7 @@ class AuthenticationResultFrame final : &_AuthenticationResultFrame_default_instance_); } static constexpr int kIndexInFileMessages = - 23; + 24; friend void swap(AuthenticationResultFrame& a, AuthenticationResultFrame& b) { a.Swap(&b); @@ -5825,7 +6061,7 @@ class AutoResumeFrame final : &_AutoResumeFrame_default_instance_); } static constexpr int kIndexInFileMessages = - 24; + 25; friend void swap(AutoResumeFrame& a, AutoResumeFrame& b) { a.Swap(&b); @@ -6025,7 +6261,7 @@ class AutoReconnectFrame final : &_AutoReconnectFrame_default_instance_); } static constexpr int kIndexInFileMessages = - 25; + 26; friend void swap(AutoReconnectFrame& a, AutoReconnectFrame& b) { a.Swap(&b); @@ -6215,7 +6451,7 @@ class MediumMetadata final : &_MediumMetadata_default_instance_); } static constexpr int kIndexInFileMessages = - 26; + 27; friend void swap(MediumMetadata& a, MediumMetadata& b) { a.Swap(&b); @@ -6542,7 +6778,7 @@ class AvailableChannels final : &_AvailableChannels_default_instance_); } static constexpr int kIndexInFileMessages = - 27; + 28; friend void swap(AvailableChannels& a, AvailableChannels& b) { a.Swap(&b); @@ -6693,7 +6929,7 @@ class WifiDirectCliUsableChannels final : &_WifiDirectCliUsableChannels_default_instance_); } static constexpr int kIndexInFileMessages = - 28; + 29; friend void swap(WifiDirectCliUsableChannels& a, WifiDirectCliUsableChannels& b) { a.Swap(&b); @@ -6844,7 +7080,7 @@ class WifiLanUsableChannels final : &_WifiLanUsableChannels_default_instance_); } static constexpr int kIndexInFileMessages = - 29; + 30; friend void swap(WifiLanUsableChannels& a, WifiLanUsableChannels& b) { a.Swap(&b); @@ -6995,7 +7231,7 @@ class WifiAwareUsableChannels final : &_WifiAwareUsableChannels_default_instance_); } static constexpr int kIndexInFileMessages = - 30; + 31; friend void swap(WifiAwareUsableChannels& a, WifiAwareUsableChannels& b) { a.Swap(&b); @@ -7146,7 +7382,7 @@ class WifiHotspotStaUsableChannels final : &_WifiHotspotStaUsableChannels_default_instance_); } static constexpr int kIndexInFileMessages = - 31; + 32; friend void swap(WifiHotspotStaUsableChannels& a, WifiHotspotStaUsableChannels& b) { a.Swap(&b); @@ -7297,7 +7533,7 @@ class LocationHint final : &_LocationHint_default_instance_); } static constexpr int kIndexInFileMessages = - 32; + 33; friend void swap(LocationHint& a, LocationHint& b) { a.Swap(&b); @@ -7459,7 +7695,7 @@ class LocationStandard final : &_LocationStandard_default_instance_); } static constexpr int kIndexInFileMessages = - 33; + 34; friend void swap(LocationStandard& a, LocationStandard& b) { a.Swap(&b); @@ -7611,7 +7847,7 @@ class OsInfo final : &_OsInfo_default_instance_); } static constexpr int kIndexInFileMessages = - 34; + 35; friend void swap(OsInfo& a, OsInfo& b) { a.Swap(&b); @@ -7787,7 +8023,7 @@ class ConnectionsDevice final : &_ConnectionsDevice_default_instance_); } static constexpr int kIndexInFileMessages = - 35; + 36; friend void swap(ConnectionsDevice& a, ConnectionsDevice& b) { a.Swap(&b); @@ -7989,7 +8225,7 @@ class PresenceDevice final : &_PresenceDevice_default_instance_); } static constexpr int kIndexInFileMessages = - 36; + 37; friend void swap(PresenceDevice& a, PresenceDevice& b) { a.Swap(&b); @@ -10286,6 +10522,35 @@ inline ::location::nearby::connections::PresenceDevice* ConnectionRequestFrame:: return _msg; } +// optional .location.nearby.connections.ConnectionRequestFrame.ConnectionMode connection_mode = 14; +inline bool ConnectionRequestFrame::_internal_has_connection_mode() const { + bool value = (_has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool ConnectionRequestFrame::has_connection_mode() const { + return _internal_has_connection_mode(); +} +inline void ConnectionRequestFrame::clear_connection_mode() { + connection_mode_ = 0; + _has_bits_[0] &= ~0x00000400u; +} +inline ::location::nearby::connections::ConnectionRequestFrame_ConnectionMode ConnectionRequestFrame::_internal_connection_mode() const { + return static_cast< ::location::nearby::connections::ConnectionRequestFrame_ConnectionMode >(connection_mode_); +} +inline ::location::nearby::connections::ConnectionRequestFrame_ConnectionMode ConnectionRequestFrame::connection_mode() const { + // @@protoc_insertion_point(field_get:location.nearby.connections.ConnectionRequestFrame.connection_mode) + return _internal_connection_mode(); +} +inline void ConnectionRequestFrame::_internal_set_connection_mode(::location::nearby::connections::ConnectionRequestFrame_ConnectionMode value) { + assert(::location::nearby::connections::ConnectionRequestFrame_ConnectionMode_IsValid(value)); + _has_bits_[0] |= 0x00000400u; + connection_mode_ = value; +} +inline void ConnectionRequestFrame::set_connection_mode(::location::nearby::connections::ConnectionRequestFrame_ConnectionMode value) { + _internal_set_connection_mode(value); + // @@protoc_insertion_point(field_set:location.nearby.connections.ConnectionRequestFrame.connection_mode) +} + inline bool ConnectionRequestFrame::has_Device() const { return Device_case() != DEVICE_NOT_SET; } @@ -13208,6 +13473,38 @@ inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo::set_supports_clien // ------------------------------------------------------------------- +// BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel + +// optional int32 sta_frequency = 1; +inline bool BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel::_internal_has_sta_frequency() const { + bool value = (_has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel::has_sta_frequency() const { + return _internal_has_sta_frequency(); +} +inline void BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel::clear_sta_frequency() { + sta_frequency_ = 0; + _has_bits_[0] &= ~0x00000001u; +} +inline int32_t BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel::_internal_sta_frequency() const { + return sta_frequency_; +} +inline int32_t BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel::sta_frequency() const { + // @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.SafeToClosePriorChannel.sta_frequency) + return _internal_sta_frequency(); +} +inline void BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel::_internal_set_sta_frequency(int32_t value) { + _has_bits_[0] |= 0x00000001u; + sta_frequency_ = value; +} +inline void BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel::set_sta_frequency(int32_t value) { + _internal_set_sta_frequency(value); + // @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.SafeToClosePriorChannel.sta_frequency) +} + +// ------------------------------------------------------------------- + // BandwidthUpgradeNegotiationFrame_ClientIntroduction // optional string endpoint_id = 1; @@ -13317,7 +13614,7 @@ inline void BandwidthUpgradeNegotiationFrame_ClientIntroduction::set_supports_di // optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.EventType event_type = 1; inline bool BandwidthUpgradeNegotiationFrame::_internal_has_event_type() const { - bool value = (_has_bits_[0] & 0x00000008u) != 0; + bool value = (_has_bits_[0] & 0x00000010u) != 0; return value; } inline bool BandwidthUpgradeNegotiationFrame::has_event_type() const { @@ -13325,7 +13622,7 @@ inline bool BandwidthUpgradeNegotiationFrame::has_event_type() const { } inline void BandwidthUpgradeNegotiationFrame::clear_event_type() { event_type_ = 0; - _has_bits_[0] &= ~0x00000008u; + _has_bits_[0] &= ~0x00000010u; } inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_EventType BandwidthUpgradeNegotiationFrame::_internal_event_type() const { return static_cast< ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_EventType >(event_type_); @@ -13336,7 +13633,7 @@ inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_EventTy } inline void BandwidthUpgradeNegotiationFrame::_internal_set_event_type(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_EventType value) { assert(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_EventType_IsValid(value)); - _has_bits_[0] |= 0x00000008u; + _has_bits_[0] |= 0x00000010u; event_type_ = value; } inline void BandwidthUpgradeNegotiationFrame::set_event_type(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_EventType value) { @@ -13614,6 +13911,96 @@ inline void BandwidthUpgradeNegotiationFrame::set_allocated_client_introduction_ // @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.client_introduction_ack) } +// optional .location.nearby.connections.BandwidthUpgradeNegotiationFrame.SafeToClosePriorChannel safe_to_close_prior_channel = 5; +inline bool BandwidthUpgradeNegotiationFrame::_internal_has_safe_to_close_prior_channel() const { + bool value = (_has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || safe_to_close_prior_channel_ != nullptr); + return value; +} +inline bool BandwidthUpgradeNegotiationFrame::has_safe_to_close_prior_channel() const { + return _internal_has_safe_to_close_prior_channel(); +} +inline void BandwidthUpgradeNegotiationFrame::clear_safe_to_close_prior_channel() { + if (safe_to_close_prior_channel_ != nullptr) safe_to_close_prior_channel_->Clear(); + _has_bits_[0] &= ~0x00000008u; +} +inline const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& BandwidthUpgradeNegotiationFrame::_internal_safe_to_close_prior_channel() const { + const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* p = safe_to_close_prior_channel_; + return p != nullptr ? *p : reinterpret_cast( + ::location::nearby::connections::_BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel_default_instance_); +} +inline const ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel& BandwidthUpgradeNegotiationFrame::safe_to_close_prior_channel() const { + // @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.safe_to_close_prior_channel) + return _internal_safe_to_close_prior_channel(); +} +inline void BandwidthUpgradeNegotiationFrame::unsafe_arena_set_allocated_safe_to_close_prior_channel( + ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* safe_to_close_prior_channel) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(safe_to_close_prior_channel_); + } + safe_to_close_prior_channel_ = safe_to_close_prior_channel; + if (safe_to_close_prior_channel) { + _has_bits_[0] |= 0x00000008u; + } else { + _has_bits_[0] &= ~0x00000008u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.safe_to_close_prior_channel) +} +inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* BandwidthUpgradeNegotiationFrame::release_safe_to_close_prior_channel() { + _has_bits_[0] &= ~0x00000008u; + ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* temp = safe_to_close_prior_channel_; + safe_to_close_prior_channel_ = 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_SafeToClosePriorChannel* BandwidthUpgradeNegotiationFrame::unsafe_arena_release_safe_to_close_prior_channel() { + // @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.safe_to_close_prior_channel) + _has_bits_[0] &= ~0x00000008u; + ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* temp = safe_to_close_prior_channel_; + safe_to_close_prior_channel_ = nullptr; + return temp; +} +inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* BandwidthUpgradeNegotiationFrame::_internal_mutable_safe_to_close_prior_channel() { + _has_bits_[0] |= 0x00000008u; + if (safe_to_close_prior_channel_ == nullptr) { + auto* p = CreateMaybeMessage<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel>(GetArenaForAllocation()); + safe_to_close_prior_channel_ = p; + } + return safe_to_close_prior_channel_; +} +inline ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* BandwidthUpgradeNegotiationFrame::mutable_safe_to_close_prior_channel() { + ::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* _msg = _internal_mutable_safe_to_close_prior_channel(); + // @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.safe_to_close_prior_channel) + return _msg; +} +inline void BandwidthUpgradeNegotiationFrame::set_allocated_safe_to_close_prior_channel(::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel* safe_to_close_prior_channel) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete safe_to_close_prior_channel_; + } + if (safe_to_close_prior_channel) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_SafeToClosePriorChannel>::GetOwningArena(safe_to_close_prior_channel); + if (message_arena != submessage_arena) { + safe_to_close_prior_channel = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, safe_to_close_prior_channel, submessage_arena); + } + _has_bits_[0] |= 0x00000008u; + } else { + _has_bits_[0] &= ~0x00000008u; + } + safe_to_close_prior_channel_ = safe_to_close_prior_channel; + // @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.safe_to_close_prior_channel) +} + // ------------------------------------------------------------------- // BandwidthUpgradeRetryFrame @@ -16098,6 +16485,8 @@ PresenceDevice::mutable_identity_type() { // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) @@ -16110,6 +16499,7 @@ PROTOBUF_NAMESPACE_OPEN template <> struct is_proto_enum< ::location::nearby::connections::OfflineFrame_Version> : ::std::true_type {}; template <> struct is_proto_enum< ::location::nearby::connections::V1Frame_FrameType> : ::std::true_type {}; template <> struct is_proto_enum< ::location::nearby::connections::ConnectionRequestFrame_Medium> : ::std::true_type {}; +template <> struct is_proto_enum< ::location::nearby::connections::ConnectionRequestFrame_ConnectionMode> : ::std::true_type {}; template <> struct is_proto_enum< ::location::nearby::connections::ConnectionResponseFrame_ResponseStatus> : ::std::true_type {}; template <> struct is_proto_enum< ::location::nearby::connections::PayloadTransferFrame_PayloadHeader_PayloadType> : ::std::true_type {}; template <> struct is_proto_enum< ::location::nearby::connections::PayloadTransferFrame_PayloadChunk_Flags> : ::std::true_type {}; diff --git a/compiled_proto/internal/proto/analytics/connections_log.pb.cc b/compiled_proto/internal/proto/analytics/connections_log.pb.cc index e907b024..db4cdfe8 100644 --- a/compiled_proto/internal/proto/analytics/connections_log.pb.cc +++ b/compiled_proto/internal/proto/analytics/connections_log.pb.cc @@ -47,6 +47,26 @@ struct ConnectionsLog_OperationResultDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ConnectionsLog_OperationResultDefaultTypeInternal _ConnectionsLog_OperationResult_default_instance_; +constexpr ConnectionsLog_OperationResultWithMedium::ConnectionsLog_OperationResultWithMedium( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : medium_(0) + + , update_index_(0) + , result_category_(0) + + , result_code_(0) + + , connection_mode_(0) +{} +struct ConnectionsLog_OperationResultWithMediumDefaultTypeInternal { + constexpr ConnectionsLog_OperationResultWithMediumDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~ConnectionsLog_OperationResultWithMediumDefaultTypeInternal() {} + union { + ConnectionsLog_OperationResultWithMedium _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ConnectionsLog_OperationResultWithMediumDefaultTypeInternal _ConnectionsLog_OperationResultWithMedium_default_instance_; constexpr ConnectionsLog_StrategySession::ConnectionsLog_StrategySession( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : role_() @@ -74,9 +94,12 @@ constexpr ConnectionsLog_DiscoveryPhase::ConnectionsLog_DiscoveryPhase( , discovered_endpoint_() , sent_connection_request_() , uwb_ranging_() + , adv_dis_result_() , discovery_metadata_(nullptr) , duration_millis_(int64_t{0}) - , client_flow_id_(int64_t{0}){} + , client_flow_id_(int64_t{0}) + , stop_reason_(0) +{} struct ConnectionsLog_DiscoveryPhaseDefaultTypeInternal { constexpr ConnectionsLog_DiscoveryPhaseDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -140,9 +163,12 @@ constexpr ConnectionsLog_AdvertisingPhase::ConnectionsLog_AdvertisingPhase( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : medium_() , received_connection_request_() + , adv_dis_result_() , advertising_metadata_(nullptr) , duration_millis_(int64_t{0}) - , client_flow_id_(int64_t{0}){} + , client_flow_id_(int64_t{0}) + , stop_reason_(0) +{} struct ConnectionsLog_AdvertisingPhaseDefaultTypeInternal { constexpr ConnectionsLog_AdvertisingPhaseDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -184,7 +210,9 @@ constexpr ConnectionsLog_ConnectionAttempt::ConnectionsLog_ConnectionAttempt( , attempt_result_(0) - , client_flow_id_(int64_t{0}){} + , client_flow_id_(int64_t{0}) + , connection_mode_(0) +{} struct ConnectionsLog_ConnectionAttemptDefaultTypeInternal { constexpr ConnectionsLog_ConnectionAttemptDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -230,7 +258,8 @@ constexpr ConnectionsLog_Payload::ConnectionsLog_Payload( , num_bytes_transferred_(int64_t{0}) , status_(0) - , num_successful_auto_resume_(0){} + , num_successful_auto_resume_(0) + , num_failed_auto_resume_(0){} struct ConnectionsLog_PayloadDefaultTypeInternal { constexpr ConnectionsLog_PayloadDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -295,6 +324,8 @@ constexpr ConnectionsLog_AdvertisingMetadata::ConnectionsLog_AdvertisingMetadata , supports_nfc_technology_(false) , multiple_advertisement_supported_(false) , supports_dual_band_(false) + , supports_wifi_aware_(false) + , endpoint_info_size_(0) , power_level_(-1) {} struct ConnectionsLog_AdvertisingMetadataDefaultTypeInternal { @@ -1005,6 +1036,342 @@ std::string ConnectionsLog_OperationResult::GetTypeName() const { } +// =================================================================== + +class ConnectionsLog_OperationResultWithMedium::_Internal { + public: + using HasBits = decltype(std::declval()._has_bits_); + static void set_has_medium(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_update_index(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_result_category(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static void set_has_result_code(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static void set_has_connection_mode(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } +}; + +ConnectionsLog_OperationResultWithMedium::ConnectionsLog_OperationResultWithMedium(::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.analytics.proto.ConnectionsLog.OperationResultWithMedium) +} +ConnectionsLog_OperationResultWithMedium::ConnectionsLog_OperationResultWithMedium(const ConnectionsLog_OperationResultWithMedium& from) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(), + _has_bits_(from._has_bits_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&medium_, &from.medium_, + static_cast(reinterpret_cast(&connection_mode_) - + reinterpret_cast(&medium_)) + sizeof(connection_mode_)); + // @@protoc_insertion_point(copy_constructor:location.nearby.analytics.proto.ConnectionsLog.OperationResultWithMedium) +} + +inline void ConnectionsLog_OperationResultWithMedium::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&medium_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&connection_mode_) - + reinterpret_cast(&medium_)) + sizeof(connection_mode_)); +} + +ConnectionsLog_OperationResultWithMedium::~ConnectionsLog_OperationResultWithMedium() { + // @@protoc_insertion_point(destructor:location.nearby.analytics.proto.ConnectionsLog.OperationResultWithMedium) + if (GetArenaForAllocation() != nullptr) return; + SharedDtor(); + _internal_metadata_.Delete(); +} + +inline void ConnectionsLog_OperationResultWithMedium::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void ConnectionsLog_OperationResultWithMedium::ArenaDtor(void* object) { + ConnectionsLog_OperationResultWithMedium* _this = reinterpret_cast< ConnectionsLog_OperationResultWithMedium* >(object); + (void)_this; +} +void ConnectionsLog_OperationResultWithMedium::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} +void ConnectionsLog_OperationResultWithMedium::SetCachedSize(int size) const { + _cached_size_.Set(size); +} + +void ConnectionsLog_OperationResultWithMedium::Clear() { +// @@protoc_insertion_point(message_clear_start:location.nearby.analytics.proto.ConnectionsLog.OperationResultWithMedium) + 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 & 0x0000001fu) { + ::memset(&medium_, 0, static_cast( + reinterpret_cast(&connection_mode_) - + reinterpret_cast(&medium_)) + sizeof(connection_mode_)); + } + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +const char* ConnectionsLog_OperationResultWithMedium::_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 .location.nearby.proto.connections.Medium medium = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::location::nearby::proto::connections::Medium_IsValid(val))) { + _internal_set_medium(static_cast<::location::nearby::proto::connections::Medium>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); + } + } else + goto handle_unusual; + continue; + // optional int32 update_index = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_update_index(&has_bits); + update_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .location.nearby.proto.connections.OperationResultCategory result_category = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::location::nearby::proto::connections::OperationResultCategory_IsValid(val))) { + _internal_set_result_category(static_cast<::location::nearby::proto::connections::OperationResultCategory>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(3, val, mutable_unknown_fields()); + } + } else + goto handle_unusual; + continue; + // optional .location.nearby.proto.connections.OperationResultCode result_code = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::location::nearby::proto::connections::OperationResultCode_IsValid(val))) { + _internal_set_result_code(static_cast<::location::nearby::proto::connections::OperationResultCode>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(4, val, mutable_unknown_fields()); + } + } else + goto handle_unusual; + continue; + // optional .location.nearby.proto.connections.ConnectionMode connection_mode = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::location::nearby::proto::connections::ConnectionMode_IsValid(val))) { + _internal_set_connection_mode(static_cast<::location::nearby::proto::connections::ConnectionMode>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(5, val, mutable_unknown_fields()); + } + } 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(), + 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* ConnectionsLog_OperationResultWithMedium::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:location.nearby.analytics.proto.ConnectionsLog.OperationResultWithMedium) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional .location.nearby.proto.connections.Medium medium = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( + 1, this->_internal_medium(), target); + } + + // optional int32 update_index = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(2, this->_internal_update_index(), target); + } + + // optional .location.nearby.proto.connections.OperationResultCategory result_category = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( + 3, this->_internal_result_category(), target); + } + + // optional .location.nearby.proto.connections.OperationResultCode result_code = 4; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( + 4, this->_internal_result_code(), target); + } + + // optional .location.nearby.proto.connections.ConnectionMode connection_mode = 5; + if (cached_has_bits & 0x00000010u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( + 5, this->_internal_connection_mode(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw(_internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(), + static_cast(_internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:location.nearby.analytics.proto.ConnectionsLog.OperationResultWithMedium) + return target; +} + +size_t ConnectionsLog_OperationResultWithMedium::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:location.nearby.analytics.proto.ConnectionsLog.OperationResultWithMedium) + 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 & 0x0000001fu) { + // optional .location.nearby.proto.connections.Medium medium = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_medium()); + } + + // optional int32 update_index = 2; + if (cached_has_bits & 0x00000002u) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->_internal_update_index()); + } + + // optional .location.nearby.proto.connections.OperationResultCategory result_category = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_result_category()); + } + + // optional .location.nearby.proto.connections.OperationResultCode result_code = 4; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_result_code()); + } + + // optional .location.nearby.proto.connections.ConnectionMode connection_mode = 5; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_connection_mode()); + } + + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + total_size += _internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size(); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void ConnectionsLog_OperationResultWithMedium::CheckTypeAndMergeFrom( + const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) { + MergeFrom(*::PROTOBUF_NAMESPACE_ID::internal::DownCast( + &from)); +} + +void ConnectionsLog_OperationResultWithMedium::MergeFrom(const ConnectionsLog_OperationResultWithMedium& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:location.nearby.analytics.proto.ConnectionsLog.OperationResultWithMedium) + 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 & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + medium_ = from.medium_; + } + if (cached_has_bits & 0x00000002u) { + update_index_ = from.update_index_; + } + if (cached_has_bits & 0x00000004u) { + result_category_ = from.result_category_; + } + if (cached_has_bits & 0x00000008u) { + result_code_ = from.result_code_; + } + if (cached_has_bits & 0x00000010u) { + connection_mode_ = from.connection_mode_; + } + _has_bits_[0] |= cached_has_bits; + } + _internal_metadata_.MergeFrom(from._internal_metadata_); +} + +void ConnectionsLog_OperationResultWithMedium::CopyFrom(const ConnectionsLog_OperationResultWithMedium& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:location.nearby.analytics.proto.ConnectionsLog.OperationResultWithMedium) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ConnectionsLog_OperationResultWithMedium::IsInitialized() const { + return true; +} + +void ConnectionsLog_OperationResultWithMedium::InternalSwap(ConnectionsLog_OperationResultWithMedium* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_has_bits_[0], other->_has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(ConnectionsLog_OperationResultWithMedium, connection_mode_) + + sizeof(ConnectionsLog_OperationResultWithMedium::connection_mode_) + - PROTOBUF_FIELD_OFFSET(ConnectionsLog_OperationResultWithMedium, medium_)>( + reinterpret_cast(&medium_), + reinterpret_cast(&other->medium_)); +} + +std::string ConnectionsLog_OperationResultWithMedium::GetTypeName() const { + return "location.nearby.analytics.proto.ConnectionsLog.OperationResultWithMedium"; +} + + // =================================================================== class ConnectionsLog_StrategySession::_Internal { @@ -1519,6 +1886,9 @@ class ConnectionsLog_DiscoveryPhase::_Internal { static void set_has_discovery_metadata(HasBits* has_bits) { (*has_bits)[0] |= 1u; } + static void set_has_stop_reason(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } }; const ::location::nearby::analytics::proto::ConnectionsLog_DiscoveryMetadata& @@ -1531,7 +1901,8 @@ ConnectionsLog_DiscoveryPhase::ConnectionsLog_DiscoveryPhase(::PROTOBUF_NAMESPAC medium_(arena), discovered_endpoint_(arena), sent_connection_request_(arena), - uwb_ranging_(arena) { + uwb_ranging_(arena), + adv_dis_result_(arena) { SharedCtor(); if (!is_message_owned) { RegisterArenaDtor(arena); @@ -1544,7 +1915,8 @@ ConnectionsLog_DiscoveryPhase::ConnectionsLog_DiscoveryPhase(const ConnectionsLo medium_(from.medium_), discovered_endpoint_(from.discovered_endpoint_), sent_connection_request_(from.sent_connection_request_), - uwb_ranging_(from.uwb_ranging_) { + uwb_ranging_(from.uwb_ranging_), + adv_dis_result_(from.adv_dis_result_) { _internal_metadata_.MergeFrom(from._internal_metadata_); if (from._internal_has_discovery_metadata()) { discovery_metadata_ = new ::location::nearby::analytics::proto::ConnectionsLog_DiscoveryMetadata(*from.discovery_metadata_); @@ -1552,16 +1924,16 @@ ConnectionsLog_DiscoveryPhase::ConnectionsLog_DiscoveryPhase(const ConnectionsLo discovery_metadata_ = nullptr; } ::memcpy(&duration_millis_, &from.duration_millis_, - static_cast(reinterpret_cast(&client_flow_id_) - - reinterpret_cast(&duration_millis_)) + sizeof(client_flow_id_)); + static_cast(reinterpret_cast(&stop_reason_) - + reinterpret_cast(&duration_millis_)) + sizeof(stop_reason_)); // @@protoc_insertion_point(copy_constructor:location.nearby.analytics.proto.ConnectionsLog.DiscoveryPhase) } inline void ConnectionsLog_DiscoveryPhase::SharedCtor() { ::memset(reinterpret_cast(this) + static_cast( reinterpret_cast(&discovery_metadata_) - reinterpret_cast(this)), - 0, static_cast(reinterpret_cast(&client_flow_id_) - - reinterpret_cast(&discovery_metadata_)) + sizeof(client_flow_id_)); + 0, static_cast(reinterpret_cast(&stop_reason_) - + reinterpret_cast(&discovery_metadata_)) + sizeof(stop_reason_)); } ConnectionsLog_DiscoveryPhase::~ConnectionsLog_DiscoveryPhase() { @@ -1596,15 +1968,16 @@ void ConnectionsLog_DiscoveryPhase::Clear() { discovered_endpoint_.Clear(); sent_connection_request_.Clear(); uwb_ranging_.Clear(); + adv_dis_result_.Clear(); cached_has_bits = _has_bits_[0]; if (cached_has_bits & 0x00000001u) { GOOGLE_DCHECK(discovery_metadata_ != nullptr); discovery_metadata_->Clear(); } - if (cached_has_bits & 0x00000006u) { + if (cached_has_bits & 0x0000000eu) { ::memset(&duration_millis_, 0, static_cast( - reinterpret_cast(&client_flow_id_) - - reinterpret_cast(&duration_millis_)) + sizeof(client_flow_id_)); + reinterpret_cast(&stop_reason_) - + reinterpret_cast(&duration_millis_)) + sizeof(stop_reason_)); } _has_bits_.Clear(); _internal_metadata_.Clear(); @@ -1703,6 +2076,32 @@ const char* ConnectionsLog_DiscoveryPhase::_InternalParse(const char* ptr, ::PRO } else goto handle_unusual; continue; + // repeated .location.nearby.analytics.proto.ConnectionsLog.OperationResultWithMedium adv_dis_result = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_adv_dis_result(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<66>(ptr)); + } else + goto handle_unusual; + continue; + // optional .location.nearby.proto.connections.StopDiscoveringReason stop_reason = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::location::nearby::proto::connections::StopDiscoveringReason_IsValid(val))) { + _internal_set_stop_reason(static_cast<::location::nearby::proto::connections::StopDiscoveringReason>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(9, val, mutable_unknown_fields()); + } + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -1785,6 +2184,21 @@ uint8_t* ConnectionsLog_DiscoveryPhase::_InternalSerialize( 7, _Internal::discovery_metadata(this), target, stream); } + // repeated .location.nearby.analytics.proto.ConnectionsLog.OperationResultWithMedium adv_dis_result = 8; + for (unsigned int i = 0, + n = static_cast(this->_internal_adv_dis_result_size()); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(8, this->_internal_adv_dis_result(i), target, stream); + } + + // optional .location.nearby.proto.connections.StopDiscoveringReason stop_reason = 9; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( + 9, this->_internal_stop_reason(), target); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = stream->WriteRaw(_internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(), static_cast(_internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target); @@ -1832,8 +2246,15 @@ size_t ConnectionsLog_DiscoveryPhase::ByteSizeLong() const { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } + // repeated .location.nearby.analytics.proto.ConnectionsLog.OperationResultWithMedium adv_dis_result = 8; + total_size += 1UL * this->_internal_adv_dis_result_size(); + for (const auto& msg : this->adv_dis_result_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + cached_has_bits = _has_bits_[0]; - if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x0000000fu) { // optional .location.nearby.analytics.proto.ConnectionsLog.DiscoveryMetadata discovery_metadata = 7; if (cached_has_bits & 0x00000001u) { total_size += 1 + @@ -1851,6 +2272,12 @@ size_t ConnectionsLog_DiscoveryPhase::ByteSizeLong() const { total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_client_flow_id()); } + // optional .location.nearby.proto.connections.StopDiscoveringReason stop_reason = 9; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_stop_reason()); + } + } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { total_size += _internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size(); @@ -1876,8 +2303,9 @@ void ConnectionsLog_DiscoveryPhase::MergeFrom(const ConnectionsLog_DiscoveryPhas discovered_endpoint_.MergeFrom(from.discovered_endpoint_); sent_connection_request_.MergeFrom(from.sent_connection_request_); uwb_ranging_.MergeFrom(from.uwb_ranging_); + adv_dis_result_.MergeFrom(from.adv_dis_result_); cached_has_bits = from._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x0000000fu) { if (cached_has_bits & 0x00000001u) { _internal_mutable_discovery_metadata()->::location::nearby::analytics::proto::ConnectionsLog_DiscoveryMetadata::MergeFrom(from._internal_discovery_metadata()); } @@ -1887,6 +2315,9 @@ void ConnectionsLog_DiscoveryPhase::MergeFrom(const ConnectionsLog_DiscoveryPhas if (cached_has_bits & 0x00000004u) { client_flow_id_ = from.client_flow_id_; } + if (cached_has_bits & 0x00000008u) { + stop_reason_ = from.stop_reason_; + } _has_bits_[0] |= cached_has_bits; } _internal_metadata_.MergeFrom(from._internal_metadata_); @@ -1911,9 +2342,10 @@ void ConnectionsLog_DiscoveryPhase::InternalSwap(ConnectionsLog_DiscoveryPhase* discovered_endpoint_.InternalSwap(&other->discovered_endpoint_); sent_connection_request_.InternalSwap(&other->sent_connection_request_); uwb_ranging_.InternalSwap(&other->uwb_ranging_); + adv_dis_result_.InternalSwap(&other->adv_dis_result_); ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(ConnectionsLog_DiscoveryPhase, client_flow_id_) - + sizeof(ConnectionsLog_DiscoveryPhase::client_flow_id_) + PROTOBUF_FIELD_OFFSET(ConnectionsLog_DiscoveryPhase, stop_reason_) + + sizeof(ConnectionsLog_DiscoveryPhase::stop_reason_) - PROTOBUF_FIELD_OFFSET(ConnectionsLog_DiscoveryPhase, discovery_metadata_)>( reinterpret_cast(&discovery_metadata_), reinterpret_cast(&other->discovery_metadata_)); @@ -2924,6 +3356,9 @@ class ConnectionsLog_AdvertisingPhase::_Internal { static void set_has_advertising_metadata(HasBits* has_bits) { (*has_bits)[0] |= 1u; } + static void set_has_stop_reason(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } }; const ::location::nearby::analytics::proto::ConnectionsLog_AdvertisingMetadata& @@ -2934,7 +3369,8 @@ ConnectionsLog_AdvertisingPhase::ConnectionsLog_AdvertisingPhase(::PROTOBUF_NAME bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned), medium_(arena), - received_connection_request_(arena) { + received_connection_request_(arena), + adv_dis_result_(arena) { SharedCtor(); if (!is_message_owned) { RegisterArenaDtor(arena); @@ -2945,7 +3381,8 @@ ConnectionsLog_AdvertisingPhase::ConnectionsLog_AdvertisingPhase(const Connectio : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _has_bits_(from._has_bits_), medium_(from.medium_), - received_connection_request_(from.received_connection_request_) { + received_connection_request_(from.received_connection_request_), + adv_dis_result_(from.adv_dis_result_) { _internal_metadata_.MergeFrom(from._internal_metadata_); if (from._internal_has_advertising_metadata()) { advertising_metadata_ = new ::location::nearby::analytics::proto::ConnectionsLog_AdvertisingMetadata(*from.advertising_metadata_); @@ -2953,16 +3390,16 @@ ConnectionsLog_AdvertisingPhase::ConnectionsLog_AdvertisingPhase(const Connectio advertising_metadata_ = nullptr; } ::memcpy(&duration_millis_, &from.duration_millis_, - static_cast(reinterpret_cast(&client_flow_id_) - - reinterpret_cast(&duration_millis_)) + sizeof(client_flow_id_)); + static_cast(reinterpret_cast(&stop_reason_) - + reinterpret_cast(&duration_millis_)) + sizeof(stop_reason_)); // @@protoc_insertion_point(copy_constructor:location.nearby.analytics.proto.ConnectionsLog.AdvertisingPhase) } inline void ConnectionsLog_AdvertisingPhase::SharedCtor() { ::memset(reinterpret_cast(this) + static_cast( reinterpret_cast(&advertising_metadata_) - reinterpret_cast(this)), - 0, static_cast(reinterpret_cast(&client_flow_id_) - - reinterpret_cast(&advertising_metadata_)) + sizeof(client_flow_id_)); + 0, static_cast(reinterpret_cast(&stop_reason_) - + reinterpret_cast(&advertising_metadata_)) + sizeof(stop_reason_)); } ConnectionsLog_AdvertisingPhase::~ConnectionsLog_AdvertisingPhase() { @@ -2995,15 +3432,16 @@ void ConnectionsLog_AdvertisingPhase::Clear() { medium_.Clear(); received_connection_request_.Clear(); + adv_dis_result_.Clear(); cached_has_bits = _has_bits_[0]; if (cached_has_bits & 0x00000001u) { GOOGLE_DCHECK(advertising_metadata_ != nullptr); advertising_metadata_->Clear(); } - if (cached_has_bits & 0x00000006u) { + if (cached_has_bits & 0x0000000eu) { ::memset(&duration_millis_, 0, static_cast( - reinterpret_cast(&client_flow_id_) - - reinterpret_cast(&duration_millis_)) + sizeof(client_flow_id_)); + reinterpret_cast(&stop_reason_) - + reinterpret_cast(&duration_millis_)) + sizeof(stop_reason_)); } _has_bits_.Clear(); _internal_metadata_.Clear(); @@ -3076,6 +3514,32 @@ const char* ConnectionsLog_AdvertisingPhase::_InternalParse(const char* ptr, ::P } else goto handle_unusual; continue; + // repeated .location.nearby.analytics.proto.ConnectionsLog.OperationResultWithMedium adv_dis_result = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_adv_dis_result(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr)); + } else + goto handle_unusual; + continue; + // optional .location.nearby.proto.connections.StopAdvertisingReason stop_reason = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::location::nearby::proto::connections::StopAdvertisingReason_IsValid(val))) { + _internal_set_stop_reason(static_cast<::location::nearby::proto::connections::StopAdvertisingReason>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(7, val, mutable_unknown_fields()); + } + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -3142,6 +3606,21 @@ uint8_t* ConnectionsLog_AdvertisingPhase::_InternalSerialize( 5, _Internal::advertising_metadata(this), target, stream); } + // repeated .location.nearby.analytics.proto.ConnectionsLog.OperationResultWithMedium adv_dis_result = 6; + for (unsigned int i = 0, + n = static_cast(this->_internal_adv_dis_result_size()); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, this->_internal_adv_dis_result(i), target, stream); + } + + // optional .location.nearby.proto.connections.StopAdvertisingReason stop_reason = 7; + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( + 7, this->_internal_stop_reason(), target); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = stream->WriteRaw(_internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(), static_cast(_internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target); @@ -3175,8 +3654,15 @@ size_t ConnectionsLog_AdvertisingPhase::ByteSizeLong() const { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } + // repeated .location.nearby.analytics.proto.ConnectionsLog.OperationResultWithMedium adv_dis_result = 6; + total_size += 1UL * this->_internal_adv_dis_result_size(); + for (const auto& msg : this->adv_dis_result_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + cached_has_bits = _has_bits_[0]; - if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x0000000fu) { // optional .location.nearby.analytics.proto.ConnectionsLog.AdvertisingMetadata advertising_metadata = 5; if (cached_has_bits & 0x00000001u) { total_size += 1 + @@ -3194,6 +3680,12 @@ size_t ConnectionsLog_AdvertisingPhase::ByteSizeLong() const { total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_client_flow_id()); } + // optional .location.nearby.proto.connections.StopAdvertisingReason stop_reason = 7; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_stop_reason()); + } + } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { total_size += _internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size(); @@ -3217,8 +3709,9 @@ void ConnectionsLog_AdvertisingPhase::MergeFrom(const ConnectionsLog_Advertising medium_.MergeFrom(from.medium_); received_connection_request_.MergeFrom(from.received_connection_request_); + adv_dis_result_.MergeFrom(from.adv_dis_result_); cached_has_bits = from._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x0000000fu) { if (cached_has_bits & 0x00000001u) { _internal_mutable_advertising_metadata()->::location::nearby::analytics::proto::ConnectionsLog_AdvertisingMetadata::MergeFrom(from._internal_advertising_metadata()); } @@ -3228,6 +3721,9 @@ void ConnectionsLog_AdvertisingPhase::MergeFrom(const ConnectionsLog_Advertising if (cached_has_bits & 0x00000004u) { client_flow_id_ = from.client_flow_id_; } + if (cached_has_bits & 0x00000008u) { + stop_reason_ = from.stop_reason_; + } _has_bits_[0] |= cached_has_bits; } _internal_metadata_.MergeFrom(from._internal_metadata_); @@ -3250,9 +3746,10 @@ void ConnectionsLog_AdvertisingPhase::InternalSwap(ConnectionsLog_AdvertisingPha swap(_has_bits_[0], other->_has_bits_[0]); medium_.InternalSwap(&other->medium_); received_connection_request_.InternalSwap(&other->received_connection_request_); + adv_dis_result_.InternalSwap(&other->adv_dis_result_); ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(ConnectionsLog_AdvertisingPhase, client_flow_id_) - + sizeof(ConnectionsLog_AdvertisingPhase::client_flow_id_) + PROTOBUF_FIELD_OFFSET(ConnectionsLog_AdvertisingPhase, stop_reason_) + + sizeof(ConnectionsLog_AdvertisingPhase::stop_reason_) - PROTOBUF_FIELD_OFFSET(ConnectionsLog_AdvertisingPhase, advertising_metadata_)>( reinterpret_cast(&advertising_metadata_), reinterpret_cast(&other->advertising_metadata_)); @@ -3621,6 +4118,9 @@ class ConnectionsLog_ConnectionAttempt::_Internal { static void set_has_operation_result(HasBits* has_bits) { (*has_bits)[0] |= 4u; } + static void set_has_connection_mode(HasBits* has_bits) { + (*has_bits)[0] |= 512u; + } }; const ::location::nearby::analytics::proto::ConnectionsLog_ConnectionAttemptMetadata& @@ -3663,8 +4163,8 @@ ConnectionsLog_ConnectionAttempt::ConnectionsLog_ConnectionAttempt(const Connect operation_result_ = nullptr; } ::memcpy(&duration_millis_, &from.duration_millis_, - static_cast(reinterpret_cast(&client_flow_id_) - - reinterpret_cast(&duration_millis_)) + sizeof(client_flow_id_)); + static_cast(reinterpret_cast(&connection_mode_) - + reinterpret_cast(&duration_millis_)) + sizeof(connection_mode_)); // @@protoc_insertion_point(copy_constructor:location.nearby.analytics.proto.ConnectionsLog.ConnectionAttempt) } @@ -3675,8 +4175,8 @@ connection_token_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyS #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING ::memset(reinterpret_cast(this) + static_cast( reinterpret_cast(&connection_attempt_metadata_) - reinterpret_cast(this)), - 0, static_cast(reinterpret_cast(&client_flow_id_) - - reinterpret_cast(&connection_attempt_metadata_)) + sizeof(client_flow_id_)); + 0, static_cast(reinterpret_cast(&connection_mode_) - + reinterpret_cast(&connection_attempt_metadata_)) + sizeof(connection_mode_)); } ConnectionsLog_ConnectionAttempt::~ConnectionsLog_ConnectionAttempt() { @@ -3728,7 +4228,11 @@ void ConnectionsLog_ConnectionAttempt::Clear() { reinterpret_cast(&attempt_result_) - reinterpret_cast(&duration_millis_)) + sizeof(attempt_result_)); } - client_flow_id_ = int64_t{0}; + if (cached_has_bits & 0x00000300u) { + ::memset(&client_flow_id_, 0, static_cast( + reinterpret_cast(&connection_mode_) - + reinterpret_cast(&client_flow_id_)) + sizeof(connection_mode_)); + } _has_bits_.Clear(); _internal_metadata_.Clear(); } @@ -3835,6 +4339,19 @@ const char* ConnectionsLog_ConnectionAttempt::_InternalParse(const char* ptr, :: } else goto handle_unusual; continue; + // optional .location.nearby.proto.connections.ConnectionMode connection_mode = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + if (PROTOBUF_PREDICT_TRUE(::location::nearby::proto::connections::ConnectionMode_IsValid(val))) { + _internal_set_connection_mode(static_cast<::location::nearby::proto::connections::ConnectionMode>(val)); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(10, val, mutable_unknown_fields()); + } + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -3928,6 +4445,13 @@ uint8_t* ConnectionsLog_ConnectionAttempt::_InternalSerialize( 9, _Internal::operation_result(this), target, stream); } + // optional .location.nearby.proto.connections.ConnectionMode connection_mode = 10; + if (cached_has_bits & 0x00000200u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( + 10, this->_internal_connection_mode(), target); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = stream->WriteRaw(_internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(), static_cast(_internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target); @@ -3997,11 +4521,19 @@ size_t ConnectionsLog_ConnectionAttempt::ByteSizeLong() const { } } - // optional int64 client_flow_id = 6; - if (cached_has_bits & 0x00000100u) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_client_flow_id()); - } + if (cached_has_bits & 0x00000300u) { + // optional int64 client_flow_id = 6; + if (cached_has_bits & 0x00000100u) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_client_flow_id()); + } + // optional .location.nearby.proto.connections.ConnectionMode connection_mode = 10; + if (cached_has_bits & 0x00000200u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_connection_mode()); + } + + } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { total_size += _internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size(); } @@ -4050,8 +4582,14 @@ void ConnectionsLog_ConnectionAttempt::MergeFrom(const ConnectionsLog_Connection } _has_bits_[0] |= cached_has_bits; } - if (cached_has_bits & 0x00000100u) { - _internal_set_client_flow_id(from._internal_client_flow_id()); + if (cached_has_bits & 0x00000300u) { + if (cached_has_bits & 0x00000100u) { + client_flow_id_ = from.client_flow_id_; + } + if (cached_has_bits & 0x00000200u) { + connection_mode_ = from.connection_mode_; + } + _has_bits_[0] |= cached_has_bits; } _internal_metadata_.MergeFrom(from._internal_metadata_); } @@ -4079,8 +4617,8 @@ void ConnectionsLog_ConnectionAttempt::InternalSwap(ConnectionsLog_ConnectionAtt &other->connection_token_, rhs_arena ); ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(ConnectionsLog_ConnectionAttempt, client_flow_id_) - + sizeof(ConnectionsLog_ConnectionAttempt::client_flow_id_) + PROTOBUF_FIELD_OFFSET(ConnectionsLog_ConnectionAttempt, connection_mode_) + + sizeof(ConnectionsLog_ConnectionAttempt::connection_mode_) - PROTOBUF_FIELD_OFFSET(ConnectionsLog_ConnectionAttempt, connection_attempt_metadata_)>( reinterpret_cast(&connection_attempt_metadata_), reinterpret_cast(&other->connection_attempt_metadata_)); @@ -4646,6 +5184,9 @@ class ConnectionsLog_Payload::_Internal { static void set_has_operation_result(HasBits* has_bits) { (*has_bits)[0] |= 1u; } + static void set_has_num_failed_auto_resume(HasBits* has_bits) { + (*has_bits)[0] |= 256u; + } }; const ::location::nearby::analytics::proto::ConnectionsLog_OperationResult& @@ -4671,16 +5212,16 @@ ConnectionsLog_Payload::ConnectionsLog_Payload(const ConnectionsLog_Payload& fro operation_result_ = nullptr; } ::memcpy(&duration_millis_, &from.duration_millis_, - static_cast(reinterpret_cast(&num_successful_auto_resume_) - - reinterpret_cast(&duration_millis_)) + sizeof(num_successful_auto_resume_)); + static_cast(reinterpret_cast(&num_failed_auto_resume_) - + reinterpret_cast(&duration_millis_)) + sizeof(num_failed_auto_resume_)); // @@protoc_insertion_point(copy_constructor:location.nearby.analytics.proto.ConnectionsLog.Payload) } inline void ConnectionsLog_Payload::SharedCtor() { ::memset(reinterpret_cast(this) + static_cast( reinterpret_cast(&operation_result_) - reinterpret_cast(this)), - 0, static_cast(reinterpret_cast(&num_successful_auto_resume_) - - reinterpret_cast(&operation_result_)) + sizeof(num_successful_auto_resume_)); + 0, static_cast(reinterpret_cast(&num_failed_auto_resume_) - + reinterpret_cast(&operation_result_)) + sizeof(num_failed_auto_resume_)); } ConnectionsLog_Payload::~ConnectionsLog_Payload() { @@ -4721,6 +5262,7 @@ void ConnectionsLog_Payload::Clear() { reinterpret_cast(&num_successful_auto_resume_) - reinterpret_cast(&duration_millis_)) + sizeof(num_successful_auto_resume_)); } + num_failed_auto_resume_ = 0; _has_bits_.Clear(); _internal_metadata_.Clear(); } @@ -4811,6 +5353,15 @@ const char* ConnectionsLog_Payload::_InternalParse(const char* ptr, ::PROTOBUF_N } else goto handle_unusual; continue; + // optional int32 num_failed_auto_resume = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + _Internal::set_has_num_failed_auto_resume(&has_bits); + num_failed_auto_resume_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -4894,6 +5445,12 @@ uint8_t* ConnectionsLog_Payload::_InternalSerialize( 8, _Internal::operation_result(this), target, stream); } + // optional int32 num_failed_auto_resume = 9; + if (cached_has_bits & 0x00000100u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(9, this->_internal_num_failed_auto_resume(), target); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = stream->WriteRaw(_internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(), static_cast(_internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target); @@ -4957,6 +5514,11 @@ size_t ConnectionsLog_Payload::ByteSizeLong() const { } } + // optional int32 num_failed_auto_resume = 9; + if (cached_has_bits & 0x00000100u) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->_internal_num_failed_auto_resume()); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { total_size += _internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size(); } @@ -5005,6 +5567,9 @@ void ConnectionsLog_Payload::MergeFrom(const ConnectionsLog_Payload& from) { } _has_bits_[0] |= cached_has_bits; } + if (cached_has_bits & 0x00000100u) { + _internal_set_num_failed_auto_resume(from._internal_num_failed_auto_resume()); + } _internal_metadata_.MergeFrom(from._internal_metadata_); } @@ -5024,8 +5589,8 @@ void ConnectionsLog_Payload::InternalSwap(ConnectionsLog_Payload* other) { _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(ConnectionsLog_Payload, num_successful_auto_resume_) - + sizeof(ConnectionsLog_Payload::num_successful_auto_resume_) + PROTOBUF_FIELD_OFFSET(ConnectionsLog_Payload, num_failed_auto_resume_) + + sizeof(ConnectionsLog_Payload::num_failed_auto_resume_) - PROTOBUF_FIELD_OFFSET(ConnectionsLog_Payload, operation_result_)>( reinterpret_cast(&operation_result_), reinterpret_cast(&other->operation_result_)); @@ -6542,11 +7107,17 @@ class ConnectionsLog_AdvertisingMetadata::_Internal { (*has_bits)[0] |= 8u; } static void set_has_power_level(HasBits* has_bits) { - (*has_bits)[0] |= 32u; + (*has_bits)[0] |= 128u; } static void set_has_supports_dual_band(HasBits* has_bits) { (*has_bits)[0] |= 16u; } + static void set_has_supports_wifi_aware(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_endpoint_info_size(HasBits* has_bits) { + (*has_bits)[0] |= 64u; + } }; ConnectionsLog_AdvertisingMetadata::ConnectionsLog_AdvertisingMetadata(::PROTOBUF_NAMESPACE_ID::Arena* arena, @@ -6571,8 +7142,8 @@ ConnectionsLog_AdvertisingMetadata::ConnectionsLog_AdvertisingMetadata(const Con inline void ConnectionsLog_AdvertisingMetadata::SharedCtor() { ::memset(reinterpret_cast(this) + static_cast( reinterpret_cast(&connected_ap_frequency_) - reinterpret_cast(this)), - 0, static_cast(reinterpret_cast(&supports_dual_band_) - - reinterpret_cast(&connected_ap_frequency_)) + sizeof(supports_dual_band_)); + 0, static_cast(reinterpret_cast(&endpoint_info_size_) - + reinterpret_cast(&connected_ap_frequency_)) + sizeof(endpoint_info_size_)); power_level_ = -1; } @@ -6604,10 +7175,10 @@ void ConnectionsLog_AdvertisingMetadata::Clear() { (void) cached_has_bits; cached_has_bits = _has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x000000ffu) { ::memset(&connected_ap_frequency_, 0, static_cast( - reinterpret_cast(&supports_dual_band_) - - reinterpret_cast(&connected_ap_frequency_)) + sizeof(supports_dual_band_)); + reinterpret_cast(&endpoint_info_size_) - + reinterpret_cast(&connected_ap_frequency_)) + sizeof(endpoint_info_size_)); power_level_ = -1; } _has_bits_.Clear(); @@ -6679,6 +7250,24 @@ const char* ConnectionsLog_AdvertisingMetadata::_InternalParse(const char* ptr, } else goto handle_unusual; continue; + // optional bool supports_wifi_aware = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _Internal::set_has_supports_wifi_aware(&has_bits); + supports_wifi_aware_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int32 endpoint_info_size = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_endpoint_info_size(&has_bits); + endpoint_info_size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -6735,7 +7324,7 @@ uint8_t* ConnectionsLog_AdvertisingMetadata::_InternalSerialize( } // optional .location.nearby.proto.connections.PowerLevel power_level = 5; - if (cached_has_bits & 0x00000020u) { + if (cached_has_bits & 0x00000080u) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( 5, this->_internal_power_level(), target); @@ -6747,6 +7336,18 @@ uint8_t* ConnectionsLog_AdvertisingMetadata::_InternalSerialize( target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(6, this->_internal_supports_dual_band(), target); } + // optional bool supports_wifi_aware = 7; + if (cached_has_bits & 0x00000020u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(7, this->_internal_supports_wifi_aware(), target); + } + + // optional int32 endpoint_info_size = 8; + if (cached_has_bits & 0x00000040u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(8, this->_internal_endpoint_info_size(), target); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = stream->WriteRaw(_internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(), static_cast(_internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target); @@ -6764,7 +7365,7 @@ size_t ConnectionsLog_AdvertisingMetadata::ByteSizeLong() const { (void) cached_has_bits; cached_has_bits = _has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x000000ffu) { // optional int32 connected_ap_frequency = 2; if (cached_has_bits & 0x00000001u) { total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->_internal_connected_ap_frequency()); @@ -6790,8 +7391,18 @@ size_t ConnectionsLog_AdvertisingMetadata::ByteSizeLong() const { total_size += 1 + 1; } - // optional .location.nearby.proto.connections.PowerLevel power_level = 5; + // optional bool supports_wifi_aware = 7; if (cached_has_bits & 0x00000020u) { + total_size += 1 + 1; + } + + // optional int32 endpoint_info_size = 8; + if (cached_has_bits & 0x00000040u) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->_internal_endpoint_info_size()); + } + + // optional .location.nearby.proto.connections.PowerLevel power_level = 5; + if (cached_has_bits & 0x00000080u) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_power_level()); } @@ -6818,7 +7429,7 @@ void ConnectionsLog_AdvertisingMetadata::MergeFrom(const ConnectionsLog_Advertis (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x000000ffu) { if (cached_has_bits & 0x00000001u) { connected_ap_frequency_ = from.connected_ap_frequency_; } @@ -6835,6 +7446,12 @@ void ConnectionsLog_AdvertisingMetadata::MergeFrom(const ConnectionsLog_Advertis supports_dual_band_ = from.supports_dual_band_; } if (cached_has_bits & 0x00000020u) { + supports_wifi_aware_ = from.supports_wifi_aware_; + } + if (cached_has_bits & 0x00000040u) { + endpoint_info_size_ = from.endpoint_info_size_; + } + if (cached_has_bits & 0x00000080u) { power_level_ = from.power_level_; } _has_bits_[0] |= cached_has_bits; @@ -6858,8 +7475,8 @@ void ConnectionsLog_AdvertisingMetadata::InternalSwap(ConnectionsLog_Advertising _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(ConnectionsLog_AdvertisingMetadata, supports_dual_band_) - + sizeof(ConnectionsLog_AdvertisingMetadata::supports_dual_band_) + PROTOBUF_FIELD_OFFSET(ConnectionsLog_AdvertisingMetadata, endpoint_info_size_) + + sizeof(ConnectionsLog_AdvertisingMetadata::endpoint_info_size_) - PROTOBUF_FIELD_OFFSET(ConnectionsLog_AdvertisingMetadata, connected_ap_frequency_)>( reinterpret_cast(&connected_ap_frequency_), reinterpret_cast(&other->connected_ap_frequency_)); @@ -8258,6 +8875,9 @@ template<> PROTOBUF_NOINLINE ::location::nearby::analytics::proto::ConnectionsLo template<> PROTOBUF_NOINLINE ::location::nearby::analytics::proto::ConnectionsLog_OperationResult* Arena::CreateMaybeMessage< ::location::nearby::analytics::proto::ConnectionsLog_OperationResult >(Arena* arena) { return Arena::CreateMessageInternal< ::location::nearby::analytics::proto::ConnectionsLog_OperationResult >(arena); } +template<> PROTOBUF_NOINLINE ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium* Arena::CreateMaybeMessage< ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium >(Arena* arena) { + return Arena::CreateMessageInternal< ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium >(arena); +} template<> PROTOBUF_NOINLINE ::location::nearby::analytics::proto::ConnectionsLog_StrategySession* Arena::CreateMaybeMessage< ::location::nearby::analytics::proto::ConnectionsLog_StrategySession >(Arena* arena) { return Arena::CreateMessageInternal< ::location::nearby::analytics::proto::ConnectionsLog_StrategySession >(arena); } diff --git a/compiled_proto/internal/proto/analytics/connections_log.pb.h b/compiled_proto/internal/proto/analytics/connections_log.pb.h index 97d41143..1370b031 100644 --- a/compiled_proto/internal/proto/analytics/connections_log.pb.h +++ b/compiled_proto/internal/proto/analytics/connections_log.pb.h @@ -47,7 +47,7 @@ struct TableStruct_internal_2fproto_2fanalytics_2fconnections_5flog_2eproto { 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[18] + static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[19] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; @@ -99,6 +99,9 @@ extern ConnectionsLog_EstablishedConnectionDefaultTypeInternal _ConnectionsLog_E class ConnectionsLog_OperationResult; struct ConnectionsLog_OperationResultDefaultTypeInternal; extern ConnectionsLog_OperationResultDefaultTypeInternal _ConnectionsLog_OperationResult_default_instance_; +class ConnectionsLog_OperationResultWithMedium; +struct ConnectionsLog_OperationResultWithMediumDefaultTypeInternal; +extern ConnectionsLog_OperationResultWithMediumDefaultTypeInternal _ConnectionsLog_OperationResultWithMedium_default_instance_; class ConnectionsLog_Payload; struct ConnectionsLog_PayloadDefaultTypeInternal; extern ConnectionsLog_PayloadDefaultTypeInternal _ConnectionsLog_Payload_default_instance_; @@ -130,6 +133,7 @@ template<> ::location::nearby::analytics::proto::ConnectionsLog_DiscoveryPhase* template<> ::location::nearby::analytics::proto::ConnectionsLog_ErrorCode* Arena::CreateMaybeMessage<::location::nearby::analytics::proto::ConnectionsLog_ErrorCode>(Arena*); template<> ::location::nearby::analytics::proto::ConnectionsLog_EstablishedConnection* Arena::CreateMaybeMessage<::location::nearby::analytics::proto::ConnectionsLog_EstablishedConnection>(Arena*); template<> ::location::nearby::analytics::proto::ConnectionsLog_OperationResult* Arena::CreateMaybeMessage<::location::nearby::analytics::proto::ConnectionsLog_OperationResult>(Arena*); +template<> ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium* Arena::CreateMaybeMessage<::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium>(Arena*); template<> ::location::nearby::analytics::proto::ConnectionsLog_Payload* Arena::CreateMaybeMessage<::location::nearby::analytics::proto::ConnectionsLog_Payload>(Arena*); template<> ::location::nearby::analytics::proto::ConnectionsLog_RawUwbRangingEvent* Arena::CreateMaybeMessage<::location::nearby::analytics::proto::ConnectionsLog_RawUwbRangingEvent>(Arena*); template<> ::location::nearby::analytics::proto::ConnectionsLog_StrategySession* Arena::CreateMaybeMessage<::location::nearby::analytics::proto::ConnectionsLog_StrategySession>(Arena*); @@ -516,6 +520,208 @@ class ConnectionsLog_OperationResult final : }; // ------------------------------------------------------------------- +class ConnectionsLog_OperationResultWithMedium final : + public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:location.nearby.analytics.proto.ConnectionsLog.OperationResultWithMedium) */ { + public: + inline ConnectionsLog_OperationResultWithMedium() : ConnectionsLog_OperationResultWithMedium(nullptr) {} + ~ConnectionsLog_OperationResultWithMedium() override; + explicit constexpr ConnectionsLog_OperationResultWithMedium(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + ConnectionsLog_OperationResultWithMedium(const ConnectionsLog_OperationResultWithMedium& from); + ConnectionsLog_OperationResultWithMedium(ConnectionsLog_OperationResultWithMedium&& from) noexcept + : ConnectionsLog_OperationResultWithMedium() { + *this = ::std::move(from); + } + + inline ConnectionsLog_OperationResultWithMedium& operator=(const ConnectionsLog_OperationResultWithMedium& from) { + CopyFrom(from); + return *this; + } + inline ConnectionsLog_OperationResultWithMedium& operator=(ConnectionsLog_OperationResultWithMedium&& 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(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString); + } + inline std::string* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const ConnectionsLog_OperationResultWithMedium& default_instance() { + return *internal_default_instance(); + } + static inline const ConnectionsLog_OperationResultWithMedium* internal_default_instance() { + return reinterpret_cast( + &_ConnectionsLog_OperationResultWithMedium_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(ConnectionsLog_OperationResultWithMedium& a, ConnectionsLog_OperationResultWithMedium& b) { + a.Swap(&b); + } + inline void Swap(ConnectionsLog_OperationResultWithMedium* 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(ConnectionsLog_OperationResultWithMedium* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ConnectionsLog_OperationResultWithMedium* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; + void CopyFrom(const ConnectionsLog_OperationResultWithMedium& from); + void MergeFrom(const ConnectionsLog_OperationResultWithMedium& 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(ConnectionsLog_OperationResultWithMedium* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "location.nearby.analytics.proto.ConnectionsLog.OperationResultWithMedium"; + } + protected: + explicit ConnectionsLog_OperationResultWithMedium(::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 { + kMediumFieldNumber = 1, + kUpdateIndexFieldNumber = 2, + kResultCategoryFieldNumber = 3, + kResultCodeFieldNumber = 4, + kConnectionModeFieldNumber = 5, + }; + // optional .location.nearby.proto.connections.Medium medium = 1; + bool has_medium() const; + private: + bool _internal_has_medium() const; + public: + void clear_medium(); + ::location::nearby::proto::connections::Medium medium() const; + void set_medium(::location::nearby::proto::connections::Medium value); + private: + ::location::nearby::proto::connections::Medium _internal_medium() const; + void _internal_set_medium(::location::nearby::proto::connections::Medium value); + public: + + // optional int32 update_index = 2; + bool has_update_index() const; + private: + bool _internal_has_update_index() const; + public: + void clear_update_index(); + int32_t update_index() const; + void set_update_index(int32_t value); + private: + int32_t _internal_update_index() const; + void _internal_set_update_index(int32_t value); + public: + + // optional .location.nearby.proto.connections.OperationResultCategory result_category = 3; + bool has_result_category() const; + private: + bool _internal_has_result_category() const; + public: + void clear_result_category(); + ::location::nearby::proto::connections::OperationResultCategory result_category() const; + void set_result_category(::location::nearby::proto::connections::OperationResultCategory value); + private: + ::location::nearby::proto::connections::OperationResultCategory _internal_result_category() const; + void _internal_set_result_category(::location::nearby::proto::connections::OperationResultCategory value); + public: + + // optional .location.nearby.proto.connections.OperationResultCode result_code = 4; + bool has_result_code() const; + private: + bool _internal_has_result_code() const; + public: + void clear_result_code(); + ::location::nearby::proto::connections::OperationResultCode result_code() const; + void set_result_code(::location::nearby::proto::connections::OperationResultCode value); + private: + ::location::nearby::proto::connections::OperationResultCode _internal_result_code() const; + void _internal_set_result_code(::location::nearby::proto::connections::OperationResultCode value); + public: + + // optional .location.nearby.proto.connections.ConnectionMode connection_mode = 5; + bool has_connection_mode() const; + private: + bool _internal_has_connection_mode() const; + public: + void clear_connection_mode(); + ::location::nearby::proto::connections::ConnectionMode connection_mode() const; + void set_connection_mode(::location::nearby::proto::connections::ConnectionMode value); + private: + ::location::nearby::proto::connections::ConnectionMode _internal_connection_mode() const; + void _internal_set_connection_mode(::location::nearby::proto::connections::ConnectionMode value); + public: + + // @@protoc_insertion_point(class_scope:location.nearby.analytics.proto.ConnectionsLog.OperationResultWithMedium) + private: + class _Internal; + + template 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_; + int medium_; + int32_t update_index_; + int result_category_; + int result_code_; + int connection_mode_; + friend struct ::TableStruct_internal_2fproto_2fanalytics_2fconnections_5flog_2eproto; +}; +// ------------------------------------------------------------------- + class ConnectionsLog_StrategySession final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:location.nearby.analytics.proto.ConnectionsLog.StrategySession) */ { public: @@ -562,7 +768,7 @@ class ConnectionsLog_StrategySession final : &_ConnectionsLog_StrategySession_default_instance_); } static constexpr int kIndexInFileMessages = - 2; + 3; friend void swap(ConnectionsLog_StrategySession& a, ConnectionsLog_StrategySession& b) { a.Swap(&b); @@ -858,7 +1064,7 @@ class ConnectionsLog_DiscoveryPhase final : &_ConnectionsLog_DiscoveryPhase_default_instance_); } static constexpr int kIndexInFileMessages = - 3; + 4; friend void swap(ConnectionsLog_DiscoveryPhase& a, ConnectionsLog_DiscoveryPhase& b) { a.Swap(&b); @@ -929,9 +1135,11 @@ class ConnectionsLog_DiscoveryPhase final : kDiscoveredEndpointFieldNumber = 3, kSentConnectionRequestFieldNumber = 4, kUwbRangingFieldNumber = 5, + kAdvDisResultFieldNumber = 8, kDiscoveryMetadataFieldNumber = 7, kDurationMillisFieldNumber = 1, kClientFlowIdFieldNumber = 6, + kStopReasonFieldNumber = 9, }; // repeated .location.nearby.proto.connections.Medium medium = 2; int medium_size() const; @@ -1004,6 +1212,24 @@ class ConnectionsLog_DiscoveryPhase final : const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::location::nearby::analytics::proto::ConnectionsLog_UwbRangingProcess >& uwb_ranging() const; + // repeated .location.nearby.analytics.proto.ConnectionsLog.OperationResultWithMedium adv_dis_result = 8; + int adv_dis_result_size() const; + private: + int _internal_adv_dis_result_size() const; + public: + void clear_adv_dis_result(); + ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium* mutable_adv_dis_result(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium >* + mutable_adv_dis_result(); + private: + const ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium& _internal_adv_dis_result(int index) const; + ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium* _internal_add_adv_dis_result(); + public: + const ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium& adv_dis_result(int index) const; + ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium* add_adv_dis_result(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium >& + adv_dis_result() const; + // optional .location.nearby.analytics.proto.ConnectionsLog.DiscoveryMetadata discovery_metadata = 7; bool has_discovery_metadata() const; private: @@ -1048,6 +1274,19 @@ class ConnectionsLog_DiscoveryPhase final : void _internal_set_client_flow_id(int64_t value); public: + // optional .location.nearby.proto.connections.StopDiscoveringReason stop_reason = 9; + bool has_stop_reason() const; + private: + bool _internal_has_stop_reason() const; + public: + void clear_stop_reason(); + ::location::nearby::proto::connections::StopDiscoveringReason stop_reason() const; + void set_stop_reason(::location::nearby::proto::connections::StopDiscoveringReason value); + private: + ::location::nearby::proto::connections::StopDiscoveringReason _internal_stop_reason() const; + void _internal_set_stop_reason(::location::nearby::proto::connections::StopDiscoveringReason value); + public: + // @@protoc_insertion_point(class_scope:location.nearby.analytics.proto.ConnectionsLog.DiscoveryPhase) private: class _Internal; @@ -1061,9 +1300,11 @@ class ConnectionsLog_DiscoveryPhase final : ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::location::nearby::analytics::proto::ConnectionsLog_DiscoveredEndpoint > discovered_endpoint_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::location::nearby::analytics::proto::ConnectionsLog_ConnectionRequest > sent_connection_request_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::location::nearby::analytics::proto::ConnectionsLog_UwbRangingProcess > uwb_ranging_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium > adv_dis_result_; ::location::nearby::analytics::proto::ConnectionsLog_DiscoveryMetadata* discovery_metadata_; int64_t duration_millis_; int64_t client_flow_id_; + int stop_reason_; friend struct ::TableStruct_internal_2fproto_2fanalytics_2fconnections_5flog_2eproto; }; // ------------------------------------------------------------------- @@ -1114,7 +1355,7 @@ class ConnectionsLog_DiscoveredEndpoint final : &_ConnectionsLog_DiscoveredEndpoint_default_instance_); } static constexpr int kIndexInFileMessages = - 4; + 5; friend void swap(ConnectionsLog_DiscoveredEndpoint& a, ConnectionsLog_DiscoveredEndpoint& b) { a.Swap(&b); @@ -1271,7 +1512,7 @@ class ConnectionsLog_UwbRangingProcess final : &_ConnectionsLog_UwbRangingProcess_default_instance_); } static constexpr int kIndexInFileMessages = - 5; + 6; friend void swap(ConnectionsLog_UwbRangingProcess& a, ConnectionsLog_UwbRangingProcess& b) { a.Swap(&b); @@ -1568,7 +1809,7 @@ class ConnectionsLog_RawUwbRangingEvent final : &_ConnectionsLog_RawUwbRangingEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 6; + 7; friend void swap(ConnectionsLog_RawUwbRangingEvent& a, ConnectionsLog_RawUwbRangingEvent& b) { a.Swap(&b); @@ -1740,7 +1981,7 @@ class ConnectionsLog_AdvertisingPhase final : &_ConnectionsLog_AdvertisingPhase_default_instance_); } static constexpr int kIndexInFileMessages = - 7; + 8; friend void swap(ConnectionsLog_AdvertisingPhase& a, ConnectionsLog_AdvertisingPhase& b) { a.Swap(&b); @@ -1809,9 +2050,11 @@ class ConnectionsLog_AdvertisingPhase final : enum : int { kMediumFieldNumber = 2, kReceivedConnectionRequestFieldNumber = 3, + kAdvDisResultFieldNumber = 6, kAdvertisingMetadataFieldNumber = 5, kDurationMillisFieldNumber = 1, kClientFlowIdFieldNumber = 4, + kStopReasonFieldNumber = 7, }; // repeated .location.nearby.proto.connections.Medium medium = 2; int medium_size() const; @@ -1848,6 +2091,24 @@ class ConnectionsLog_AdvertisingPhase final : const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::location::nearby::analytics::proto::ConnectionsLog_ConnectionRequest >& received_connection_request() const; + // repeated .location.nearby.analytics.proto.ConnectionsLog.OperationResultWithMedium adv_dis_result = 6; + int adv_dis_result_size() const; + private: + int _internal_adv_dis_result_size() const; + public: + void clear_adv_dis_result(); + ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium* mutable_adv_dis_result(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium >* + mutable_adv_dis_result(); + private: + const ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium& _internal_adv_dis_result(int index) const; + ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium* _internal_add_adv_dis_result(); + public: + const ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium& adv_dis_result(int index) const; + ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium* add_adv_dis_result(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium >& + adv_dis_result() const; + // optional .location.nearby.analytics.proto.ConnectionsLog.AdvertisingMetadata advertising_metadata = 5; bool has_advertising_metadata() const; private: @@ -1892,6 +2153,19 @@ class ConnectionsLog_AdvertisingPhase final : void _internal_set_client_flow_id(int64_t value); public: + // optional .location.nearby.proto.connections.StopAdvertisingReason stop_reason = 7; + bool has_stop_reason() const; + private: + bool _internal_has_stop_reason() const; + public: + void clear_stop_reason(); + ::location::nearby::proto::connections::StopAdvertisingReason stop_reason() const; + void set_stop_reason(::location::nearby::proto::connections::StopAdvertisingReason value); + private: + ::location::nearby::proto::connections::StopAdvertisingReason _internal_stop_reason() const; + void _internal_set_stop_reason(::location::nearby::proto::connections::StopAdvertisingReason value); + public: + // @@protoc_insertion_point(class_scope:location.nearby.analytics.proto.ConnectionsLog.AdvertisingPhase) private: class _Internal; @@ -1903,9 +2177,11 @@ class ConnectionsLog_AdvertisingPhase final : mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedField medium_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::location::nearby::analytics::proto::ConnectionsLog_ConnectionRequest > received_connection_request_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium > adv_dis_result_; ::location::nearby::analytics::proto::ConnectionsLog_AdvertisingMetadata* advertising_metadata_; int64_t duration_millis_; int64_t client_flow_id_; + int stop_reason_; friend struct ::TableStruct_internal_2fproto_2fanalytics_2fconnections_5flog_2eproto; }; // ------------------------------------------------------------------- @@ -1956,7 +2232,7 @@ class ConnectionsLog_ConnectionRequest final : &_ConnectionsLog_ConnectionRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 8; + 9; friend void swap(ConnectionsLog_ConnectionRequest& a, ConnectionsLog_ConnectionRequest& b) { a.Swap(&b); @@ -2158,7 +2434,7 @@ class ConnectionsLog_ConnectionAttempt final : &_ConnectionsLog_ConnectionAttempt_default_instance_); } static constexpr int kIndexInFileMessages = - 9; + 10; friend void swap(ConnectionsLog_ConnectionAttempt& a, ConnectionsLog_ConnectionAttempt& b) { a.Swap(&b); @@ -2234,6 +2510,7 @@ class ConnectionsLog_ConnectionAttempt final : kMediumFieldNumber = 4, kAttemptResultFieldNumber = 5, kClientFlowIdFieldNumber = 6, + kConnectionModeFieldNumber = 10, }; // optional string connection_token = 7; bool has_connection_token() const; @@ -2367,6 +2644,19 @@ class ConnectionsLog_ConnectionAttempt final : void _internal_set_client_flow_id(int64_t value); public: + // optional .location.nearby.proto.connections.ConnectionMode connection_mode = 10; + bool has_connection_mode() const; + private: + bool _internal_has_connection_mode() const; + public: + void clear_connection_mode(); + ::location::nearby::proto::connections::ConnectionMode connection_mode() const; + void set_connection_mode(::location::nearby::proto::connections::ConnectionMode value); + private: + ::location::nearby::proto::connections::ConnectionMode _internal_connection_mode() const; + void _internal_set_connection_mode(::location::nearby::proto::connections::ConnectionMode value); + public: + // @@protoc_insertion_point(class_scope:location.nearby.analytics.proto.ConnectionsLog.ConnectionAttempt) private: class _Internal; @@ -2385,6 +2675,7 @@ class ConnectionsLog_ConnectionAttempt final : int medium_; int attempt_result_; int64_t client_flow_id_; + int connection_mode_; friend struct ::TableStruct_internal_2fproto_2fanalytics_2fconnections_5flog_2eproto; }; // ------------------------------------------------------------------- @@ -2435,7 +2726,7 @@ class ConnectionsLog_EstablishedConnection final : &_ConnectionsLog_EstablishedConnection_default_instance_); } static constexpr int kIndexInFileMessages = - 10; + 11; friend void swap(ConnectionsLog_EstablishedConnection& a, ConnectionsLog_EstablishedConnection& b) { a.Swap(&b); @@ -2760,7 +3051,7 @@ class ConnectionsLog_Payload final : &_ConnectionsLog_Payload_default_instance_); } static constexpr int kIndexInFileMessages = - 11; + 12; friend void swap(ConnectionsLog_Payload& a, ConnectionsLog_Payload& b) { a.Swap(&b); @@ -2835,6 +3126,7 @@ class ConnectionsLog_Payload final : kNumBytesTransferredFieldNumber = 4, kStatusFieldNumber = 6, kNumSuccessfulAutoResumeFieldNumber = 7, + kNumFailedAutoResumeFieldNumber = 9, }; // optional .location.nearby.analytics.proto.ConnectionsLog.OperationResult operation_result = 8; bool has_operation_result() const; @@ -2945,6 +3237,19 @@ class ConnectionsLog_Payload final : void _internal_set_num_successful_auto_resume(int32_t value); public: + // optional int32 num_failed_auto_resume = 9; + bool has_num_failed_auto_resume() const; + private: + bool _internal_has_num_failed_auto_resume() const; + public: + void clear_num_failed_auto_resume(); + int32_t num_failed_auto_resume() const; + void set_num_failed_auto_resume(int32_t value); + private: + int32_t _internal_num_failed_auto_resume() const; + void _internal_set_num_failed_auto_resume(int32_t value); + public: + // @@protoc_insertion_point(class_scope:location.nearby.analytics.proto.ConnectionsLog.Payload) private: class _Internal; @@ -2962,6 +3267,7 @@ class ConnectionsLog_Payload final : int64_t num_bytes_transferred_; int status_; int32_t num_successful_auto_resume_; + int32_t num_failed_auto_resume_; friend struct ::TableStruct_internal_2fproto_2fanalytics_2fconnections_5flog_2eproto; }; // ------------------------------------------------------------------- @@ -3012,7 +3318,7 @@ class ConnectionsLog_BandwidthUpgradeAttempt final : &_ConnectionsLog_BandwidthUpgradeAttempt_default_instance_); } static constexpr int kIndexInFileMessages = - 12; + 13; friend void swap(ConnectionsLog_BandwidthUpgradeAttempt& a, ConnectionsLog_BandwidthUpgradeAttempt& b) { a.Swap(&b); @@ -3302,7 +3608,7 @@ class ConnectionsLog_ErrorCode final : &_ConnectionsLog_ErrorCode_default_instance_); } static constexpr int kIndexInFileMessages = - 13; + 14; friend void swap(ConnectionsLog_ErrorCode& a, ConnectionsLog_ErrorCode& b) { a.Swap(&b); @@ -3779,7 +4085,7 @@ class ConnectionsLog_AdvertisingMetadata final : &_ConnectionsLog_AdvertisingMetadata_default_instance_); } static constexpr int kIndexInFileMessages = - 14; + 15; friend void swap(ConnectionsLog_AdvertisingMetadata& a, ConnectionsLog_AdvertisingMetadata& b) { a.Swap(&b); @@ -3851,6 +4157,8 @@ class ConnectionsLog_AdvertisingMetadata final : kSupportsNfcTechnologyFieldNumber = 3, kMultipleAdvertisementSupportedFieldNumber = 4, kSupportsDualBandFieldNumber = 6, + kSupportsWifiAwareFieldNumber = 7, + kEndpointInfoSizeFieldNumber = 8, kPowerLevelFieldNumber = 5, }; // optional int32 connected_ap_frequency = 2; @@ -3918,6 +4226,32 @@ class ConnectionsLog_AdvertisingMetadata final : void _internal_set_supports_dual_band(bool value); public: + // optional bool supports_wifi_aware = 7; + bool has_supports_wifi_aware() const; + private: + bool _internal_has_supports_wifi_aware() const; + public: + void clear_supports_wifi_aware(); + bool supports_wifi_aware() const; + void set_supports_wifi_aware(bool value); + private: + bool _internal_supports_wifi_aware() const; + void _internal_set_supports_wifi_aware(bool value); + public: + + // optional int32 endpoint_info_size = 8; + bool has_endpoint_info_size() const; + private: + bool _internal_has_endpoint_info_size() const; + public: + void clear_endpoint_info_size(); + int32_t endpoint_info_size() const; + void set_endpoint_info_size(int32_t value); + private: + int32_t _internal_endpoint_info_size() const; + void _internal_set_endpoint_info_size(int32_t value); + public: + // optional .location.nearby.proto.connections.PowerLevel power_level = 5; bool has_power_level() const; private: @@ -3945,6 +4279,8 @@ class ConnectionsLog_AdvertisingMetadata final : bool supports_nfc_technology_; bool multiple_advertisement_supported_; bool supports_dual_band_; + bool supports_wifi_aware_; + int32_t endpoint_info_size_; int power_level_; friend struct ::TableStruct_internal_2fproto_2fanalytics_2fconnections_5flog_2eproto; }; @@ -3996,7 +4332,7 @@ class ConnectionsLog_DiscoveryMetadata final : &_ConnectionsLog_DiscoveryMetadata_default_instance_); } static constexpr int kIndexInFileMessages = - 15; + 16; friend void swap(ConnectionsLog_DiscoveryMetadata& a, ConnectionsLog_DiscoveryMetadata& b) { a.Swap(&b); @@ -4183,7 +4519,7 @@ class ConnectionsLog_ConnectionAttemptMetadata final : &_ConnectionsLog_ConnectionAttemptMetadata_default_instance_); } static constexpr int kIndexInFileMessages = - 16; + 17; friend void swap(ConnectionsLog_ConnectionAttemptMetadata& a, ConnectionsLog_ConnectionAttemptMetadata& b) { a.Swap(&b); @@ -4545,7 +4881,7 @@ class ConnectionsLog final : &_ConnectionsLog_default_instance_); } static constexpr int kIndexInFileMessages = - 17; + 18; friend void swap(ConnectionsLog& a, ConnectionsLog& b) { a.Swap(&b); @@ -4611,6 +4947,7 @@ class ConnectionsLog final : typedef ConnectionsLog_ClientSession ClientSession; typedef ConnectionsLog_OperationResult OperationResult; + typedef ConnectionsLog_OperationResultWithMedium OperationResultWithMedium; typedef ConnectionsLog_StrategySession StrategySession; typedef ConnectionsLog_DiscoveryPhase DiscoveryPhase; typedef ConnectionsLog_DiscoveredEndpoint DiscoveredEndpoint; @@ -4992,6 +5329,154 @@ inline void ConnectionsLog_OperationResult::set_result_code(::location::nearby:: // ------------------------------------------------------------------- +// ConnectionsLog_OperationResultWithMedium + +// optional .location.nearby.proto.connections.Medium medium = 1; +inline bool ConnectionsLog_OperationResultWithMedium::_internal_has_medium() const { + bool value = (_has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool ConnectionsLog_OperationResultWithMedium::has_medium() const { + return _internal_has_medium(); +} +inline void ConnectionsLog_OperationResultWithMedium::clear_medium() { + medium_ = 0; + _has_bits_[0] &= ~0x00000001u; +} +inline ::location::nearby::proto::connections::Medium ConnectionsLog_OperationResultWithMedium::_internal_medium() const { + return static_cast< ::location::nearby::proto::connections::Medium >(medium_); +} +inline ::location::nearby::proto::connections::Medium ConnectionsLog_OperationResultWithMedium::medium() const { + // @@protoc_insertion_point(field_get:location.nearby.analytics.proto.ConnectionsLog.OperationResultWithMedium.medium) + return _internal_medium(); +} +inline void ConnectionsLog_OperationResultWithMedium::_internal_set_medium(::location::nearby::proto::connections::Medium value) { + assert(::location::nearby::proto::connections::Medium_IsValid(value)); + _has_bits_[0] |= 0x00000001u; + medium_ = value; +} +inline void ConnectionsLog_OperationResultWithMedium::set_medium(::location::nearby::proto::connections::Medium value) { + _internal_set_medium(value); + // @@protoc_insertion_point(field_set:location.nearby.analytics.proto.ConnectionsLog.OperationResultWithMedium.medium) +} + +// optional int32 update_index = 2; +inline bool ConnectionsLog_OperationResultWithMedium::_internal_has_update_index() const { + bool value = (_has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool ConnectionsLog_OperationResultWithMedium::has_update_index() const { + return _internal_has_update_index(); +} +inline void ConnectionsLog_OperationResultWithMedium::clear_update_index() { + update_index_ = 0; + _has_bits_[0] &= ~0x00000002u; +} +inline int32_t ConnectionsLog_OperationResultWithMedium::_internal_update_index() const { + return update_index_; +} +inline int32_t ConnectionsLog_OperationResultWithMedium::update_index() const { + // @@protoc_insertion_point(field_get:location.nearby.analytics.proto.ConnectionsLog.OperationResultWithMedium.update_index) + return _internal_update_index(); +} +inline void ConnectionsLog_OperationResultWithMedium::_internal_set_update_index(int32_t value) { + _has_bits_[0] |= 0x00000002u; + update_index_ = value; +} +inline void ConnectionsLog_OperationResultWithMedium::set_update_index(int32_t value) { + _internal_set_update_index(value); + // @@protoc_insertion_point(field_set:location.nearby.analytics.proto.ConnectionsLog.OperationResultWithMedium.update_index) +} + +// optional .location.nearby.proto.connections.OperationResultCategory result_category = 3; +inline bool ConnectionsLog_OperationResultWithMedium::_internal_has_result_category() const { + bool value = (_has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool ConnectionsLog_OperationResultWithMedium::has_result_category() const { + return _internal_has_result_category(); +} +inline void ConnectionsLog_OperationResultWithMedium::clear_result_category() { + result_category_ = 0; + _has_bits_[0] &= ~0x00000004u; +} +inline ::location::nearby::proto::connections::OperationResultCategory ConnectionsLog_OperationResultWithMedium::_internal_result_category() const { + return static_cast< ::location::nearby::proto::connections::OperationResultCategory >(result_category_); +} +inline ::location::nearby::proto::connections::OperationResultCategory ConnectionsLog_OperationResultWithMedium::result_category() const { + // @@protoc_insertion_point(field_get:location.nearby.analytics.proto.ConnectionsLog.OperationResultWithMedium.result_category) + return _internal_result_category(); +} +inline void ConnectionsLog_OperationResultWithMedium::_internal_set_result_category(::location::nearby::proto::connections::OperationResultCategory value) { + assert(::location::nearby::proto::connections::OperationResultCategory_IsValid(value)); + _has_bits_[0] |= 0x00000004u; + result_category_ = value; +} +inline void ConnectionsLog_OperationResultWithMedium::set_result_category(::location::nearby::proto::connections::OperationResultCategory value) { + _internal_set_result_category(value); + // @@protoc_insertion_point(field_set:location.nearby.analytics.proto.ConnectionsLog.OperationResultWithMedium.result_category) +} + +// optional .location.nearby.proto.connections.OperationResultCode result_code = 4; +inline bool ConnectionsLog_OperationResultWithMedium::_internal_has_result_code() const { + bool value = (_has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool ConnectionsLog_OperationResultWithMedium::has_result_code() const { + return _internal_has_result_code(); +} +inline void ConnectionsLog_OperationResultWithMedium::clear_result_code() { + result_code_ = 0; + _has_bits_[0] &= ~0x00000008u; +} +inline ::location::nearby::proto::connections::OperationResultCode ConnectionsLog_OperationResultWithMedium::_internal_result_code() const { + return static_cast< ::location::nearby::proto::connections::OperationResultCode >(result_code_); +} +inline ::location::nearby::proto::connections::OperationResultCode ConnectionsLog_OperationResultWithMedium::result_code() const { + // @@protoc_insertion_point(field_get:location.nearby.analytics.proto.ConnectionsLog.OperationResultWithMedium.result_code) + return _internal_result_code(); +} +inline void ConnectionsLog_OperationResultWithMedium::_internal_set_result_code(::location::nearby::proto::connections::OperationResultCode value) { + assert(::location::nearby::proto::connections::OperationResultCode_IsValid(value)); + _has_bits_[0] |= 0x00000008u; + result_code_ = value; +} +inline void ConnectionsLog_OperationResultWithMedium::set_result_code(::location::nearby::proto::connections::OperationResultCode value) { + _internal_set_result_code(value); + // @@protoc_insertion_point(field_set:location.nearby.analytics.proto.ConnectionsLog.OperationResultWithMedium.result_code) +} + +// optional .location.nearby.proto.connections.ConnectionMode connection_mode = 5; +inline bool ConnectionsLog_OperationResultWithMedium::_internal_has_connection_mode() const { + bool value = (_has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline bool ConnectionsLog_OperationResultWithMedium::has_connection_mode() const { + return _internal_has_connection_mode(); +} +inline void ConnectionsLog_OperationResultWithMedium::clear_connection_mode() { + connection_mode_ = 0; + _has_bits_[0] &= ~0x00000010u; +} +inline ::location::nearby::proto::connections::ConnectionMode ConnectionsLog_OperationResultWithMedium::_internal_connection_mode() const { + return static_cast< ::location::nearby::proto::connections::ConnectionMode >(connection_mode_); +} +inline ::location::nearby::proto::connections::ConnectionMode ConnectionsLog_OperationResultWithMedium::connection_mode() const { + // @@protoc_insertion_point(field_get:location.nearby.analytics.proto.ConnectionsLog.OperationResultWithMedium.connection_mode) + return _internal_connection_mode(); +} +inline void ConnectionsLog_OperationResultWithMedium::_internal_set_connection_mode(::location::nearby::proto::connections::ConnectionMode value) { + assert(::location::nearby::proto::connections::ConnectionMode_IsValid(value)); + _has_bits_[0] |= 0x00000010u; + connection_mode_ = value; +} +inline void ConnectionsLog_OperationResultWithMedium::set_connection_mode(::location::nearby::proto::connections::ConnectionMode value) { + _internal_set_connection_mode(value); + // @@protoc_insertion_point(field_set:location.nearby.analytics.proto.ConnectionsLog.OperationResultWithMedium.connection_mode) +} + +// ------------------------------------------------------------------- + // ConnectionsLog_StrategySession // optional int64 duration_millis = 1; @@ -5680,6 +6165,75 @@ inline void ConnectionsLog_DiscoveryPhase::set_allocated_discovery_metadata(::lo // @@protoc_insertion_point(field_set_allocated:location.nearby.analytics.proto.ConnectionsLog.DiscoveryPhase.discovery_metadata) } +// repeated .location.nearby.analytics.proto.ConnectionsLog.OperationResultWithMedium adv_dis_result = 8; +inline int ConnectionsLog_DiscoveryPhase::_internal_adv_dis_result_size() const { + return adv_dis_result_.size(); +} +inline int ConnectionsLog_DiscoveryPhase::adv_dis_result_size() const { + return _internal_adv_dis_result_size(); +} +inline void ConnectionsLog_DiscoveryPhase::clear_adv_dis_result() { + adv_dis_result_.Clear(); +} +inline ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium* ConnectionsLog_DiscoveryPhase::mutable_adv_dis_result(int index) { + // @@protoc_insertion_point(field_mutable:location.nearby.analytics.proto.ConnectionsLog.DiscoveryPhase.adv_dis_result) + return adv_dis_result_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium >* +ConnectionsLog_DiscoveryPhase::mutable_adv_dis_result() { + // @@protoc_insertion_point(field_mutable_list:location.nearby.analytics.proto.ConnectionsLog.DiscoveryPhase.adv_dis_result) + return &adv_dis_result_; +} +inline const ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium& ConnectionsLog_DiscoveryPhase::_internal_adv_dis_result(int index) const { + return adv_dis_result_.Get(index); +} +inline const ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium& ConnectionsLog_DiscoveryPhase::adv_dis_result(int index) const { + // @@protoc_insertion_point(field_get:location.nearby.analytics.proto.ConnectionsLog.DiscoveryPhase.adv_dis_result) + return _internal_adv_dis_result(index); +} +inline ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium* ConnectionsLog_DiscoveryPhase::_internal_add_adv_dis_result() { + return adv_dis_result_.Add(); +} +inline ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium* ConnectionsLog_DiscoveryPhase::add_adv_dis_result() { + ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium* _add = _internal_add_adv_dis_result(); + // @@protoc_insertion_point(field_add:location.nearby.analytics.proto.ConnectionsLog.DiscoveryPhase.adv_dis_result) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium >& +ConnectionsLog_DiscoveryPhase::adv_dis_result() const { + // @@protoc_insertion_point(field_list:location.nearby.analytics.proto.ConnectionsLog.DiscoveryPhase.adv_dis_result) + return adv_dis_result_; +} + +// optional .location.nearby.proto.connections.StopDiscoveringReason stop_reason = 9; +inline bool ConnectionsLog_DiscoveryPhase::_internal_has_stop_reason() const { + bool value = (_has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool ConnectionsLog_DiscoveryPhase::has_stop_reason() const { + return _internal_has_stop_reason(); +} +inline void ConnectionsLog_DiscoveryPhase::clear_stop_reason() { + stop_reason_ = 0; + _has_bits_[0] &= ~0x00000008u; +} +inline ::location::nearby::proto::connections::StopDiscoveringReason ConnectionsLog_DiscoveryPhase::_internal_stop_reason() const { + return static_cast< ::location::nearby::proto::connections::StopDiscoveringReason >(stop_reason_); +} +inline ::location::nearby::proto::connections::StopDiscoveringReason ConnectionsLog_DiscoveryPhase::stop_reason() const { + // @@protoc_insertion_point(field_get:location.nearby.analytics.proto.ConnectionsLog.DiscoveryPhase.stop_reason) + return _internal_stop_reason(); +} +inline void ConnectionsLog_DiscoveryPhase::_internal_set_stop_reason(::location::nearby::proto::connections::StopDiscoveringReason value) { + assert(::location::nearby::proto::connections::StopDiscoveringReason_IsValid(value)); + _has_bits_[0] |= 0x00000008u; + stop_reason_ = value; +} +inline void ConnectionsLog_DiscoveryPhase::set_stop_reason(::location::nearby::proto::connections::StopDiscoveringReason value) { + _internal_set_stop_reason(value); + // @@protoc_insertion_point(field_set:location.nearby.analytics.proto.ConnectionsLog.DiscoveryPhase.stop_reason) +} + // ------------------------------------------------------------------- // ConnectionsLog_DiscoveredEndpoint @@ -6388,6 +6942,75 @@ inline void ConnectionsLog_AdvertisingPhase::set_allocated_advertising_metadata( // @@protoc_insertion_point(field_set_allocated:location.nearby.analytics.proto.ConnectionsLog.AdvertisingPhase.advertising_metadata) } +// repeated .location.nearby.analytics.proto.ConnectionsLog.OperationResultWithMedium adv_dis_result = 6; +inline int ConnectionsLog_AdvertisingPhase::_internal_adv_dis_result_size() const { + return adv_dis_result_.size(); +} +inline int ConnectionsLog_AdvertisingPhase::adv_dis_result_size() const { + return _internal_adv_dis_result_size(); +} +inline void ConnectionsLog_AdvertisingPhase::clear_adv_dis_result() { + adv_dis_result_.Clear(); +} +inline ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium* ConnectionsLog_AdvertisingPhase::mutable_adv_dis_result(int index) { + // @@protoc_insertion_point(field_mutable:location.nearby.analytics.proto.ConnectionsLog.AdvertisingPhase.adv_dis_result) + return adv_dis_result_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium >* +ConnectionsLog_AdvertisingPhase::mutable_adv_dis_result() { + // @@protoc_insertion_point(field_mutable_list:location.nearby.analytics.proto.ConnectionsLog.AdvertisingPhase.adv_dis_result) + return &adv_dis_result_; +} +inline const ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium& ConnectionsLog_AdvertisingPhase::_internal_adv_dis_result(int index) const { + return adv_dis_result_.Get(index); +} +inline const ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium& ConnectionsLog_AdvertisingPhase::adv_dis_result(int index) const { + // @@protoc_insertion_point(field_get:location.nearby.analytics.proto.ConnectionsLog.AdvertisingPhase.adv_dis_result) + return _internal_adv_dis_result(index); +} +inline ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium* ConnectionsLog_AdvertisingPhase::_internal_add_adv_dis_result() { + return adv_dis_result_.Add(); +} +inline ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium* ConnectionsLog_AdvertisingPhase::add_adv_dis_result() { + ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium* _add = _internal_add_adv_dis_result(); + // @@protoc_insertion_point(field_add:location.nearby.analytics.proto.ConnectionsLog.AdvertisingPhase.adv_dis_result) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::location::nearby::analytics::proto::ConnectionsLog_OperationResultWithMedium >& +ConnectionsLog_AdvertisingPhase::adv_dis_result() const { + // @@protoc_insertion_point(field_list:location.nearby.analytics.proto.ConnectionsLog.AdvertisingPhase.adv_dis_result) + return adv_dis_result_; +} + +// optional .location.nearby.proto.connections.StopAdvertisingReason stop_reason = 7; +inline bool ConnectionsLog_AdvertisingPhase::_internal_has_stop_reason() const { + bool value = (_has_bits_[0] & 0x00000008u) != 0; + return value; +} +inline bool ConnectionsLog_AdvertisingPhase::has_stop_reason() const { + return _internal_has_stop_reason(); +} +inline void ConnectionsLog_AdvertisingPhase::clear_stop_reason() { + stop_reason_ = 0; + _has_bits_[0] &= ~0x00000008u; +} +inline ::location::nearby::proto::connections::StopAdvertisingReason ConnectionsLog_AdvertisingPhase::_internal_stop_reason() const { + return static_cast< ::location::nearby::proto::connections::StopAdvertisingReason >(stop_reason_); +} +inline ::location::nearby::proto::connections::StopAdvertisingReason ConnectionsLog_AdvertisingPhase::stop_reason() const { + // @@protoc_insertion_point(field_get:location.nearby.analytics.proto.ConnectionsLog.AdvertisingPhase.stop_reason) + return _internal_stop_reason(); +} +inline void ConnectionsLog_AdvertisingPhase::_internal_set_stop_reason(::location::nearby::proto::connections::StopAdvertisingReason value) { + assert(::location::nearby::proto::connections::StopAdvertisingReason_IsValid(value)); + _has_bits_[0] |= 0x00000008u; + stop_reason_ = value; +} +inline void ConnectionsLog_AdvertisingPhase::set_stop_reason(::location::nearby::proto::connections::StopAdvertisingReason value) { + _internal_set_stop_reason(value); + // @@protoc_insertion_point(field_set:location.nearby.analytics.proto.ConnectionsLog.AdvertisingPhase.stop_reason) +} + // ------------------------------------------------------------------- // ConnectionsLog_ConnectionRequest @@ -6959,6 +7582,35 @@ inline void ConnectionsLog_ConnectionAttempt::set_allocated_operation_result(::l // @@protoc_insertion_point(field_set_allocated:location.nearby.analytics.proto.ConnectionsLog.ConnectionAttempt.operation_result) } +// optional .location.nearby.proto.connections.ConnectionMode connection_mode = 10; +inline bool ConnectionsLog_ConnectionAttempt::_internal_has_connection_mode() const { + bool value = (_has_bits_[0] & 0x00000200u) != 0; + return value; +} +inline bool ConnectionsLog_ConnectionAttempt::has_connection_mode() const { + return _internal_has_connection_mode(); +} +inline void ConnectionsLog_ConnectionAttempt::clear_connection_mode() { + connection_mode_ = 0; + _has_bits_[0] &= ~0x00000200u; +} +inline ::location::nearby::proto::connections::ConnectionMode ConnectionsLog_ConnectionAttempt::_internal_connection_mode() const { + return static_cast< ::location::nearby::proto::connections::ConnectionMode >(connection_mode_); +} +inline ::location::nearby::proto::connections::ConnectionMode ConnectionsLog_ConnectionAttempt::connection_mode() const { + // @@protoc_insertion_point(field_get:location.nearby.analytics.proto.ConnectionsLog.ConnectionAttempt.connection_mode) + return _internal_connection_mode(); +} +inline void ConnectionsLog_ConnectionAttempt::_internal_set_connection_mode(::location::nearby::proto::connections::ConnectionMode value) { + assert(::location::nearby::proto::connections::ConnectionMode_IsValid(value)); + _has_bits_[0] |= 0x00000200u; + connection_mode_ = value; +} +inline void ConnectionsLog_ConnectionAttempt::set_connection_mode(::location::nearby::proto::connections::ConnectionMode value) { + _internal_set_connection_mode(value); + // @@protoc_insertion_point(field_set:location.nearby.analytics.proto.ConnectionsLog.ConnectionAttempt.connection_mode) +} + // ------------------------------------------------------------------- // ConnectionsLog_EstablishedConnection @@ -7666,6 +8318,34 @@ inline void ConnectionsLog_Payload::set_allocated_operation_result(::location::n // @@protoc_insertion_point(field_set_allocated:location.nearby.analytics.proto.ConnectionsLog.Payload.operation_result) } +// optional int32 num_failed_auto_resume = 9; +inline bool ConnectionsLog_Payload::_internal_has_num_failed_auto_resume() const { + bool value = (_has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline bool ConnectionsLog_Payload::has_num_failed_auto_resume() const { + return _internal_has_num_failed_auto_resume(); +} +inline void ConnectionsLog_Payload::clear_num_failed_auto_resume() { + num_failed_auto_resume_ = 0; + _has_bits_[0] &= ~0x00000100u; +} +inline int32_t ConnectionsLog_Payload::_internal_num_failed_auto_resume() const { + return num_failed_auto_resume_; +} +inline int32_t ConnectionsLog_Payload::num_failed_auto_resume() const { + // @@protoc_insertion_point(field_get:location.nearby.analytics.proto.ConnectionsLog.Payload.num_failed_auto_resume) + return _internal_num_failed_auto_resume(); +} +inline void ConnectionsLog_Payload::_internal_set_num_failed_auto_resume(int32_t value) { + _has_bits_[0] |= 0x00000100u; + num_failed_auto_resume_ = value; +} +inline void ConnectionsLog_Payload::set_num_failed_auto_resume(int32_t value) { + _internal_set_num_failed_auto_resume(value); + // @@protoc_insertion_point(field_set:location.nearby.analytics.proto.ConnectionsLog.Payload.num_failed_auto_resume) +} + // ------------------------------------------------------------------- // ConnectionsLog_BandwidthUpgradeAttempt @@ -8989,7 +9669,7 @@ inline void ConnectionsLog_AdvertisingMetadata::set_multiple_advertisement_suppo // optional .location.nearby.proto.connections.PowerLevel power_level = 5; inline bool ConnectionsLog_AdvertisingMetadata::_internal_has_power_level() const { - bool value = (_has_bits_[0] & 0x00000020u) != 0; + bool value = (_has_bits_[0] & 0x00000080u) != 0; return value; } inline bool ConnectionsLog_AdvertisingMetadata::has_power_level() const { @@ -8997,7 +9677,7 @@ inline bool ConnectionsLog_AdvertisingMetadata::has_power_level() const { } inline void ConnectionsLog_AdvertisingMetadata::clear_power_level() { power_level_ = -1; - _has_bits_[0] &= ~0x00000020u; + _has_bits_[0] &= ~0x00000080u; } inline ::location::nearby::proto::connections::PowerLevel ConnectionsLog_AdvertisingMetadata::_internal_power_level() const { return static_cast< ::location::nearby::proto::connections::PowerLevel >(power_level_); @@ -9008,7 +9688,7 @@ inline ::location::nearby::proto::connections::PowerLevel ConnectionsLog_Adverti } inline void ConnectionsLog_AdvertisingMetadata::_internal_set_power_level(::location::nearby::proto::connections::PowerLevel value) { assert(::location::nearby::proto::connections::PowerLevel_IsValid(value)); - _has_bits_[0] |= 0x00000020u; + _has_bits_[0] |= 0x00000080u; power_level_ = value; } inline void ConnectionsLog_AdvertisingMetadata::set_power_level(::location::nearby::proto::connections::PowerLevel value) { @@ -9044,6 +9724,62 @@ inline void ConnectionsLog_AdvertisingMetadata::set_supports_dual_band(bool valu // @@protoc_insertion_point(field_set:location.nearby.analytics.proto.ConnectionsLog.AdvertisingMetadata.supports_dual_band) } +// optional bool supports_wifi_aware = 7; +inline bool ConnectionsLog_AdvertisingMetadata::_internal_has_supports_wifi_aware() const { + bool value = (_has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline bool ConnectionsLog_AdvertisingMetadata::has_supports_wifi_aware() const { + return _internal_has_supports_wifi_aware(); +} +inline void ConnectionsLog_AdvertisingMetadata::clear_supports_wifi_aware() { + supports_wifi_aware_ = false; + _has_bits_[0] &= ~0x00000020u; +} +inline bool ConnectionsLog_AdvertisingMetadata::_internal_supports_wifi_aware() const { + return supports_wifi_aware_; +} +inline bool ConnectionsLog_AdvertisingMetadata::supports_wifi_aware() const { + // @@protoc_insertion_point(field_get:location.nearby.analytics.proto.ConnectionsLog.AdvertisingMetadata.supports_wifi_aware) + return _internal_supports_wifi_aware(); +} +inline void ConnectionsLog_AdvertisingMetadata::_internal_set_supports_wifi_aware(bool value) { + _has_bits_[0] |= 0x00000020u; + supports_wifi_aware_ = value; +} +inline void ConnectionsLog_AdvertisingMetadata::set_supports_wifi_aware(bool value) { + _internal_set_supports_wifi_aware(value); + // @@protoc_insertion_point(field_set:location.nearby.analytics.proto.ConnectionsLog.AdvertisingMetadata.supports_wifi_aware) +} + +// optional int32 endpoint_info_size = 8; +inline bool ConnectionsLog_AdvertisingMetadata::_internal_has_endpoint_info_size() const { + bool value = (_has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline bool ConnectionsLog_AdvertisingMetadata::has_endpoint_info_size() const { + return _internal_has_endpoint_info_size(); +} +inline void ConnectionsLog_AdvertisingMetadata::clear_endpoint_info_size() { + endpoint_info_size_ = 0; + _has_bits_[0] &= ~0x00000040u; +} +inline int32_t ConnectionsLog_AdvertisingMetadata::_internal_endpoint_info_size() const { + return endpoint_info_size_; +} +inline int32_t ConnectionsLog_AdvertisingMetadata::endpoint_info_size() const { + // @@protoc_insertion_point(field_get:location.nearby.analytics.proto.ConnectionsLog.AdvertisingMetadata.endpoint_info_size) + return _internal_endpoint_info_size(); +} +inline void ConnectionsLog_AdvertisingMetadata::_internal_set_endpoint_info_size(int32_t value) { + _has_bits_[0] |= 0x00000040u; + endpoint_info_size_ = value; +} +inline void ConnectionsLog_AdvertisingMetadata::set_endpoint_info_size(int32_t value) { + _internal_set_endpoint_info_size(value); + // @@protoc_insertion_point(field_set:location.nearby.analytics.proto.ConnectionsLog.AdvertisingMetadata.endpoint_info_size) +} + // ------------------------------------------------------------------- // ConnectionsLog_DiscoveryMetadata @@ -10086,6 +10822,8 @@ inline void ConnectionsLog::set_allocated_files_migration_phase(std::string* fil // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) diff --git a/compiled_proto/proto/connections_enums.pb.cc b/compiled_proto/proto/connections_enums.pb.cc index 18a0a748..3223ef17 100644 --- a/compiled_proto/proto/connections_enums.pb.cc +++ b/compiled_proto/proto/connections_enums.pb.cc @@ -162,140 +162,6 @@ bool ConnectionsStrategy_Parse( } return success; } -bool ConnectionsClient_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - return true; - default: - return false; - } -} - -static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed ConnectionsClient_strings[5] = {}; - -static const char ConnectionsClient_names[] = - "CONNECTIONS_CLIENT_NEARBY_SHARE" - "CONNECTIONS_CLIENT_OTHER_FIRST_PARTY" - "CONNECTIONS_CLIENT_QUICK_START" - "CONNECTIONS_CLIENT_THIRD_PARTY" - "CONNECTIONS_CLIENT_UNKNOWN"; - -static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry ConnectionsClient_entries[] = { - { {ConnectionsClient_names + 0, 31}, 1 }, - { {ConnectionsClient_names + 31, 36}, 3 }, - { {ConnectionsClient_names + 67, 30}, 2 }, - { {ConnectionsClient_names + 97, 30}, 4 }, - { {ConnectionsClient_names + 127, 26}, 0 }, -}; - -static const int ConnectionsClient_entries_by_number[] = { - 4, // 0 -> CONNECTIONS_CLIENT_UNKNOWN - 0, // 1 -> CONNECTIONS_CLIENT_NEARBY_SHARE - 2, // 2 -> CONNECTIONS_CLIENT_QUICK_START - 1, // 3 -> CONNECTIONS_CLIENT_OTHER_FIRST_PARTY - 3, // 4 -> CONNECTIONS_CLIENT_THIRD_PARTY -}; - -const std::string& ConnectionsClient_Name( - ConnectionsClient value) { - static const bool dummy = - ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings( - ConnectionsClient_entries, - ConnectionsClient_entries_by_number, - 5, ConnectionsClient_strings); - (void) dummy; - int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName( - ConnectionsClient_entries, - ConnectionsClient_entries_by_number, - 5, value); - return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() : - ConnectionsClient_strings[idx].get(); -} -bool ConnectionsClient_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConnectionsClient* value) { - int int_value; - bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( - ConnectionsClient_entries, 5, name, &int_value); - if (success) { - *value = static_cast(int_value); - } - return success; -} -bool ReportedEventType_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - return true; - default: - return false; - } -} - -static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed ReportedEventType_strings[7] = {}; - -static const char ReportedEventType_names[] = - "NC_EVENT_TYPE_ENDPOINT_FOUND" - "NC_EVENT_TYPE_ENDPOINT_LOST" - "NC_EVENT_TYPE_START_ADVERTISING" - "NC_EVENT_TYPE_START_DISCOVERY" - "NC_EVENT_TYPE_STOP_ADVERTISING" - "NC_EVENT_TYPE_STOP_DISCOVERY" - "NC_EVENT_TYPE_UNSPECIFIED"; - -static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry ReportedEventType_entries[] = { - { {ReportedEventType_names + 0, 28}, 3 }, - { {ReportedEventType_names + 28, 27}, 4 }, - { {ReportedEventType_names + 55, 31}, 5 }, - { {ReportedEventType_names + 86, 29}, 1 }, - { {ReportedEventType_names + 115, 30}, 6 }, - { {ReportedEventType_names + 145, 28}, 2 }, - { {ReportedEventType_names + 173, 25}, 0 }, -}; - -static const int ReportedEventType_entries_by_number[] = { - 6, // 0 -> NC_EVENT_TYPE_UNSPECIFIED - 3, // 1 -> NC_EVENT_TYPE_START_DISCOVERY - 5, // 2 -> NC_EVENT_TYPE_STOP_DISCOVERY - 0, // 3 -> NC_EVENT_TYPE_ENDPOINT_FOUND - 1, // 4 -> NC_EVENT_TYPE_ENDPOINT_LOST - 2, // 5 -> NC_EVENT_TYPE_START_ADVERTISING - 4, // 6 -> NC_EVENT_TYPE_STOP_ADVERTISING -}; - -const std::string& ReportedEventType_Name( - ReportedEventType value) { - static const bool dummy = - ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings( - ReportedEventType_entries, - ReportedEventType_entries_by_number, - 7, ReportedEventType_strings); - (void) dummy; - int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName( - ReportedEventType_entries, - ReportedEventType_entries_by_number, - 7, value); - return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() : - ReportedEventType_strings[idx].get(); -} -bool ReportedEventType_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ReportedEventType* value) { - int int_value; - bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( - ReportedEventType_entries, 7, name, &int_value); - if (success) { - *value = static_cast(int_value); - } - return success; -} bool SessionRole_IsValid(int value) { switch (value) { case 0: @@ -365,13 +231,14 @@ bool Medium_IsValid(int value) { case 9: case 10: case 11: + case 12: return true; default: return false; } } -static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed Medium_strings[12] = {}; +static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed Medium_strings[13] = {}; static const char Medium_names[] = "BLE" @@ -382,6 +249,7 @@ static const char Medium_names[] = "UNKNOWN_MEDIUM" "USB" "WEB_RTC" + "WEB_RTC_NON_CELLULAR" "WIFI_AWARE" "WIFI_DIRECT" "WIFI_HOTSPOT" @@ -396,25 +264,27 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry Medium_entries[] = { { {Medium_names + 28, 14}, 0 }, { {Medium_names + 42, 3}, 11 }, { {Medium_names + 45, 7}, 9 }, - { {Medium_names + 52, 10}, 6 }, - { {Medium_names + 62, 11}, 8 }, - { {Medium_names + 73, 12}, 3 }, - { {Medium_names + 85, 8}, 5 }, + { {Medium_names + 52, 20}, 12 }, + { {Medium_names + 72, 10}, 6 }, + { {Medium_names + 82, 11}, 8 }, + { {Medium_names + 93, 12}, 3 }, + { {Medium_names + 105, 8}, 5 }, }; static const int Medium_entries_by_number[] = { 5, // 0 -> UNKNOWN_MEDIUM 3, // 1 -> MDNS 2, // 2 -> BLUETOOTH - 10, // 3 -> WIFI_HOTSPOT + 11, // 3 -> WIFI_HOTSPOT 0, // 4 -> BLE - 11, // 5 -> WIFI_LAN - 8, // 6 -> WIFI_AWARE + 12, // 5 -> WIFI_LAN + 9, // 6 -> WIFI_AWARE 4, // 7 -> NFC - 9, // 8 -> WIFI_DIRECT + 10, // 8 -> WIFI_DIRECT 7, // 9 -> WEB_RTC 1, // 10 -> BLE_L2CAP 6, // 11 -> USB + 8, // 12 -> WEB_RTC_NON_CELLULAR }; const std::string& Medium_Name( @@ -423,12 +293,12 @@ const std::string& Medium_Name( ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings( Medium_entries, Medium_entries_by_number, - 12, Medium_strings); + 13, Medium_strings); (void) dummy; int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName( Medium_entries, Medium_entries_by_number, - 12, value); + 13, value); return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() : Medium_strings[idx].get(); } @@ -436,7 +306,7 @@ bool Medium_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Medium* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( - Medium_entries, 12, name, &int_value); + Medium_entries, 13, name, &int_value); if (success) { *value = static_cast(int_value); } @@ -608,6 +478,57 @@ bool ConnectionBand_Parse( } return success; } +bool ConnectionMode_IsValid(int value) { + switch (value) { + case 0: + case 1: + return true; + default: + return false; + } +} + +static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed ConnectionMode_strings[2] = {}; + +static const char ConnectionMode_names[] = + "INSTANT" + "LEGACY"; + +static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry ConnectionMode_entries[] = { + { {ConnectionMode_names + 0, 7}, 1 }, + { {ConnectionMode_names + 7, 6}, 0 }, +}; + +static const int ConnectionMode_entries_by_number[] = { + 1, // 0 -> LEGACY + 0, // 1 -> INSTANT +}; + +const std::string& ConnectionMode_Name( + ConnectionMode value) { + static const bool dummy = + ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings( + ConnectionMode_entries, + ConnectionMode_entries_by_number, + 2, ConnectionMode_strings); + (void) dummy; + int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName( + ConnectionMode_entries, + ConnectionMode_entries_by_number, + 2, value); + return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() : + ConnectionMode_strings[idx].get(); +} +bool ConnectionMode_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConnectionMode* value) { + int int_value; + bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( + ConnectionMode_entries, 2, name, &int_value); + if (success) { + *value = static_cast(int_value); + } + return success; +} bool ConnectionRequestResponse_IsValid(int value) { switch (value) { case 0: @@ -1438,38 +1359,54 @@ bool LogSource_IsValid(int value) { case 3: case 4: case 5: + case 6: + case 7: + case 8: + case 9: return true; default: return false; } } -static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed LogSource_strings[6] = {}; +static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed LogSource_strings[10] = {}; static const char LogSource_names[] = "BETA_TESTER_DEVICES" + "BETO_DOGFOOD_DEVICES" "DEBUG_DEVICES" "INTERNAL_DEVICES" "LAB_DEVICES" + "NEARBY_DOGFOOD_DEVICES" + "NEARBY_MODULE_FOOD_DEVICES" + "NEARBY_TEAMFOOD_DEVICES" "OEM_DEVICES" "UNSPECIFIED_SOURCE"; static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry LogSource_entries[] = { { {LogSource_names + 0, 19}, 3 }, - { {LogSource_names + 19, 13}, 5 }, - { {LogSource_names + 32, 16}, 2 }, - { {LogSource_names + 48, 11}, 1 }, - { {LogSource_names + 59, 11}, 4 }, - { {LogSource_names + 70, 18}, 0 }, + { {LogSource_names + 19, 20}, 7 }, + { {LogSource_names + 39, 13}, 5 }, + { {LogSource_names + 52, 16}, 2 }, + { {LogSource_names + 68, 11}, 1 }, + { {LogSource_names + 79, 22}, 8 }, + { {LogSource_names + 101, 26}, 6 }, + { {LogSource_names + 127, 23}, 9 }, + { {LogSource_names + 150, 11}, 4 }, + { {LogSource_names + 161, 18}, 0 }, }; static const int LogSource_entries_by_number[] = { - 5, // 0 -> UNSPECIFIED_SOURCE - 3, // 1 -> LAB_DEVICES - 2, // 2 -> INTERNAL_DEVICES + 9, // 0 -> UNSPECIFIED_SOURCE + 4, // 1 -> LAB_DEVICES + 3, // 2 -> INTERNAL_DEVICES 0, // 3 -> BETA_TESTER_DEVICES - 4, // 4 -> OEM_DEVICES - 1, // 5 -> DEBUG_DEVICES + 8, // 4 -> OEM_DEVICES + 2, // 5 -> DEBUG_DEVICES + 6, // 6 -> NEARBY_MODULE_FOOD_DEVICES + 1, // 7 -> BETO_DOGFOOD_DEVICES + 5, // 8 -> NEARBY_DOGFOOD_DEVICES + 7, // 9 -> NEARBY_TEAMFOOD_DEVICES }; const std::string& LogSource_Name( @@ -1478,12 +1415,12 @@ const std::string& LogSource_Name( ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings( LogSource_entries, LogSource_entries_by_number, - 6, LogSource_strings); + 10, LogSource_strings); (void) dummy; int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName( LogSource_entries, LogSource_entries_by_number, - 6, value); + 10, value); return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() : LogSource_strings[idx].get(); } @@ -1491,7 +1428,7 @@ bool LogSource_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LogSource* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( - LogSource_entries, 6, name, &int_value); + LogSource_entries, 10, name, &int_value); if (success) { *value = static_cast(int_value); } @@ -1715,6 +1652,14 @@ bool OperationResultCode_IsValid(int value) { case 1536: case 1537: case 1538: + case 1539: + case 1540: + case 1541: + case 1542: + case 1543: + case 1544: + case 1545: + case 1546: case 2000: case 2001: case 2002: @@ -1732,6 +1677,25 @@ bool OperationResultCode_IsValid(int value) { case 2014: case 2015: case 2016: + case 2017: + case 2018: + case 2019: + case 2020: + case 2021: + case 2022: + case 2023: + case 2024: + case 2025: + case 2026: + case 2027: + case 2028: + case 2029: + case 2030: + case 2031: + case 2032: + case 2033: + case 2034: + case 2035: case 2500: case 2501: case 2502: @@ -1746,6 +1710,9 @@ bool OperationResultCode_IsValid(int value) { case 2511: case 2512: case 2513: + case 2514: + case 2515: + case 2516: case 3000: case 3001: case 3002: @@ -1819,6 +1786,50 @@ bool OperationResultCode_IsValid(int value) { case 3555: case 3556: case 3557: + case 3558: + case 3559: + case 3560: + case 3561: + case 3562: + case 3563: + case 3564: + case 3565: + case 3566: + case 3567: + case 3568: + case 3569: + case 3570: + case 3571: + case 3572: + case 3573: + case 3574: + case 3575: + case 3576: + case 3577: + case 3578: + case 3579: + case 3580: + case 3581: + case 3582: + case 3583: + case 3584: + case 3585: + case 3586: + case 3587: + case 3588: + case 3589: + case 3590: + case 3591: + case 3592: + case 3593: + case 3594: + case 3595: + case 3596: + case 3597: + case 3598: + case 3599: + case 3600: + case 3601: case 4500: case 4501: case 4502: @@ -1886,15 +1897,65 @@ bool OperationResultCode_IsValid(int value) { case 4564: case 4565: case 4566: + case 4567: + case 4568: + case 4569: + case 4570: + case 4571: + case 4572: + case 4573: + case 4574: + case 4575: + case 4576: + case 4577: + case 4578: + case 4579: + case 4580: + case 4581: + case 4582: + case 4583: + case 4584: + case 4585: + case 4586: + case 4587: + case 4588: + case 4589: + case 4590: + case 4591: + case 4592: + case 4593: + case 4594: + case 4595: + case 4596: + case 4597: + case 4598: + case 4599: + case 4600: + case 4601: + case 4602: + case 4603: + case 4604: + case 4605: + case 4606: + case 4607: + case 4608: + case 4609: return true; default: return false; } } -static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed OperationResultCode_strings[241] = {}; +static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed OperationResultCode_strings[358] = {}; static const char OperationResultCode_names[] = + "CLIENT_ALREADY_CONNECTED_TO_ENDPOINT" + "CLIENT_ALREADY_CONNECTED_TO_TARGET" + "CLIENT_BLE_DUPLICATE_ADVERTISING" + "CLIENT_BLE_DUPLICATE_DISCOVERING" + "CLIENT_BLE_NO_LISTENING" + "CLIENT_BLUETOOTH_DUPLICATE_ADVERTISING" + "CLIENT_BLUETOOTH_DUPLICATE_DISCOVERING" "CLIENT_CANCELLATION_BT_SERVER_SOCKET_CREATION" "CLIENT_CANCELLATION_CANCEL_BLE_OUTGOING_CONNECTION" "CLIENT_CANCELLATION_CANCEL_BT_OUTGOING_CONNECTION" @@ -1919,6 +1980,7 @@ static const char OperationResultCode_names[] = "CLIENT_CANCELLATION_WIFI_DIRECT_SERVER_SOCKET_CREATION" "CLIENT_CANCELLATION_WIFI_HOTSPOT_SERVER_SOCKET_CREATION" "CLIENT_CANCELLATION_WIFI_LAN_SERVER_SOCKET_CREATION" + "CLIENT_CONNECT_TO_UNKNOWN_ENDPOINT" "CLIENT_DUPLICATE_ACCEPTING_BLE_CONNECTION_REQUEST" "CLIENT_DUPLICATE_ACCEPTING_BT_CONNECTION_REQUEST" "CLIENT_DUPLICATE_ACCEPTING_L2CAP_CONNECTION_REQUEST" @@ -1933,21 +1995,58 @@ static const char OperationResultCode_names[] = "CLIENT_DUPLICATE_WIFI_AWARE_SUBSCRIBING_REQUEST" "CLIENT_DUPLICATE_WIFI_DIRECT_CONNECTION_REQUEST" "CLIENT_DUPLICATE_WIFI_HOTSPOT_CONNECTION_REQUEST" + "CLIENT_FAILED_INCOMING_CONNECTION_DUE_TO_TOPOLOGICAL_LIMIT" + "CLIENT_NFC_DUPLICATE_ADVERTISING" + "CLIENT_NFC_DUPLICATE_DISCOVERING" + "CLIENT_OUT_OF_ORDER_API_CALL" + "CLIENT_PERMISSION_FAILURE" + "CLIENT_PROCESS_TIE_BREAK_LOSS" "CLIENT_UNSUPPORTED_USB_TO_BE_UPGRADE_MEDIUM" + "CLIENT_USB_DUPLICATE_ADVERTISING" + "CLIENT_USB_DUPLICATE_DISCOVERING" "CLIENT_WIFI_DIRECT_ALREADY_HOSTING_DIRECT_GROUP_FOR_THIS_CLIENT" "CLIENT_WIFI_HOTSPOT_ALREADY_HOSTING_HOTSPOT_FOR_THIS_CLIENT" + "CLIENT_WIFI_LAN_DUPLICATE_ADVERTISING" + "CLIENT_WIFI_LAN_DUPLICATE_DISCOVERING" + "CLIENT_WRONG_CONNECTING_PERMISSIONS" + "CONNECTIVITY_AUTO_RESUME_FAILURE" + "CONNECTIVITY_BLE_ADD_GATT_ADVERTISEMENT_FAILURE" "CONNECTIVITY_BLE_CLIENT_SOCKET_CREATION_FAILURE" "CONNECTIVITY_BLE_CREATE_GATT_CONNECTION_FAILURE" + "CONNECTIVITY_BLE_SCAN_FAILURE" "CONNECTIVITY_BLE_SERVER_SOCKET_CREATION_FAILURE" + "CONNECTIVITY_BLE_START_ADVERTISING_FAILURE" + "CONNECTIVITY_BLE_START_GATT_SERVER_FAILURE" + "CONNECTIVITY_BLUETOOTH_CHANGE_SCAN_MODE_FAILURE" "CONNECTIVITY_BLUETOOTH_DEVICE_OBTAIN_FAILURE" "CONNECTIVITY_BLUETOOTH_INVALID_CREDENTIAL" + "CONNECTIVITY_BLUETOOTH_SCAN_FAILURE" + "CONNECTIVITY_BLUETOOTH_START_ADVERTISING_FAILURE" "CONNECTIVITY_BT_CLIENT_SOCKET_CREATION_FAILURE" + "CONNECTIVITY_BT_CONNECTION_EXECUTION_EXCEPTION" + "CONNECTIVITY_BT_CONNECTION_INTERRUPTED_EXCEPTION" + "CONNECTIVITY_BT_CONNECTION_TIMEOUT_EXCEPTION" "CONNECTIVITY_BT_SERVER_SOCKET_CREATION_FAILURE" "CONNECTIVITY_BT_SERVER_SOCKET_CREATION_SECURITY_EXCEPTION_FAILURE" + "CONNECTIVITY_BT_SOCKET_CONNECT_IO_EXCEPTION" + "CONNECTIVITY_BT_SOCKET_CREATION_IO_EXCEPTION" + "CONNECTIVITY_CHANNEL_IO_ERROR_ON_BLE" + "CONNECTIVITY_CHANNEL_IO_ERROR_ON_BLE_L2CAP" + "CONNECTIVITY_CHANNEL_IO_ERROR_ON_BT" + "CONNECTIVITY_CHANNEL_IO_ERROR_ON_LAN" + "CONNECTIVITY_CHANNEL_IO_ERROR_ON_NFC" + "CONNECTIVITY_CHANNEL_IO_ERROR_ON_UNKNOWN_MEDIUM" + "CONNECTIVITY_CHANNEL_IO_ERROR_ON_USB" + "CONNECTIVITY_CHANNEL_IO_ERROR_ON_WEB_RTC" + "CONNECTIVITY_CHANNEL_IO_ERROR_ON_WIFI_AWARE" + "CONNECTIVITY_CHANNEL_IO_ERROR_ON_WIFI_DIRECT" + "CONNECTIVITY_CHANNEL_IO_ERROR_ON_WIFI_HOTSPOT" + "CONNECTIVITY_DIRECT_GROUP_MCC_FAILURE" "CONNECTIVITY_GATT_SERVER_OPEN_FAILURE" "CONNECTIVITY_GENERIC_PAYLOAD_SENT_ERROR" "CONNECTIVITY_GENERIC_WRITE_CLIENT_INTRODUCTION_ACK_IO_ERROR" "CONNECTIVITY_GENERIC_WRITING_CHANNEL_IO_ERROR" + "CONNECTIVITY_INSTANT_CONNECTION_LISTENING_TIMEOUT" "CONNECTIVITY_L2CAP_CLIENT_OBTAIN_FAIURE" "CONNECTIVITY_L2CAP_CLIENT_SOCKET_CREATION_FAILURE" "CONNECTIVITY_L2CAP_CLIENT_SOCKET_CREATION_TIMEOUT_FAILURE" @@ -1956,16 +2055,25 @@ static const char OperationResultCode_names[] = "CONNECTIVITY_L2CAP_SERVER_SOCKET_CREATION_SECURITY_EXCEPTION_FAILURE" "CONNECTIVITY_LAN_CLIENT_SOCKET_CREATION_FAILURE" "CONNECTIVITY_LAN_GET_NETWORK_INTERFACES_FAILURE" + "CONNECTIVITY_LAN_MDNS_REGISTER_FAILURE" "CONNECTIVITY_LAN_SERVER_SOCKET_CREATION_FAILURE" "CONNECTIVITY_LAN_UNREACHABLE" + "CONNECTIVITY_MDNS_SCAN_FAILURE" + "CONNECTIVITY_MEDIUM_INVALID_CREDENTIAL" "CONNECTIVITY_NFC_CLIENT_SOCKET_CREATION_FAILURE" "CONNECTIVITY_NFC_SERVER_SOCKET_CREATION_FAILURE" + "CONNECTIVITY_NFC_START_DISCOVERY_FAILURE" "CONNECTIVITY_USB_CLIENT_SOCKET_CREATION_FAILURE" + "CONNECTIVITY_UWB_START_DISCOVERY_FAILURE" "CONNECTIVITY_WEB_RTC_CLIENT_SOCKET_CREATION_FAILURE" "CONNECTIVITY_WEB_RTC_CONNECT_TO_TACHYON_FAILURE" "CONNECTIVITY_WEB_RTC_INVALID_CREDENTIAL" "CONNECTIVITY_WEB_RTC_SERVER_SOCKET_CREATION_FAILURE" "CONNECTIVITY_WEB_RTC_UNSATISFIED_LINK_ERROR" + "CONNECTIVITY_WFD_CONNECTION_EXECUTION_EXCEPTION" + "CONNECTIVITY_WFD_CONNECTION_HOSTED_ADDRESS_NULL" + "CONNECTIVITY_WFD_CONNECTION_INTERRUPTED_EXCEPTION" + "CONNECTIVITY_WFD_CONNECTION_TIMEOUT_EXCEPTION" "CONNECTIVITY_WIFI_AWARE_ATTACH_FAILURE" "CONNECTIVITY_WIFI_AWARE_CLIENT_SOCKET_CREATION_FAILURE" "CONNECTIVITY_WIFI_AWARE_DISCOVERED_PEER_NULL" @@ -1975,25 +2083,34 @@ static const char OperationResultCode_names[] = "CONNECTIVITY_WIFI_AWARE_L2MESSAGE_NETWORK_AVAILABLE_FRAME_NULL" "CONNECTIVITY_WIFI_AWARE_L2MESSAGE_SEND_HOST_NETWORK_FRAME_FAILURE" "CONNECTIVITY_WIFI_AWARE_SERVER_SOCKET_CREATION_FAILURE" + "CONNECTIVITY_WIFI_AWARE_START_ADVERTISING_FAILURE" + "CONNECTIVITY_WIFI_AWARE_START_DISCOVERY_FAILURE" "CONNECTIVITY_WIFI_AWARE_UPDATE_PUBLISH_FAILURE" "CONNECTIVITY_WIFI_DIRECT_CLIENT_SOCKET_CREATION_FAILURE" "CONNECTIVITY_WIFI_DIRECT_GET_NETWORK_INTERFACES_FAILURE" "CONNECTIVITY_WIFI_DIRECT_INCONSISTENT_HOSTED_WIFI_BAND" "CONNECTIVITY_WIFI_DIRECT_INVALID_CREDENTIAL" "CONNECTIVITY_WIFI_DIRECT_P2P_CHANNEL_INITIALIZE_FAILURE" + "CONNECTIVITY_WIFI_DIRECT_P2P_CONNECTION_FAILURE" "CONNECTIVITY_WIFI_DIRECT_P2P_GROUP_CREATION_FAILURE" "CONNECTIVITY_WIFI_DIRECT_SERVER_SOCKET_CREATION_FAILURE" "CONNECTIVITY_WIFI_HOTSPOT_CLIENT_SOCKET_CREATION_FAILURE" "CONNECTIVITY_WIFI_HOTSPOT_GET_NETWORK_INTERFACES_FAILURE" "CONNECTIVITY_WIFI_HOTSPOT_INCONSISTENT_HOSTED_WIFI_BAND" "CONNECTIVITY_WIFI_HOTSPOT_INVALID_CREDENTIAL" + "CONNECTIVITY_WIFI_HOTSPOT_LEGACY_STA_CONNECTION_FAILURE" "CONNECTIVITY_WIFI_HOTSPOT_LOHS_CREATION_FAILURE" "CONNECTIVITY_WIFI_HOTSPOT_P2P_CHANNEL_INITIALIZE_FAILURE" "CONNECTIVITY_WIFI_HOTSPOT_P2P_GROUP_CREATION_FAILURE" "CONNECTIVITY_WIFI_HOTSPOT_SERVER_SOCKET_CREATION_FAILURE" "CONNECTIVITY_WIFI_HOTSPOT_SOFT_AP_CREATION_FAILURE" + "CONNECTIVITY_WIFI_HOTSPOT_SPECIFIER_FAILURE" "CONNECTIVITY_WIFI_LAN_INVALID_CREDENTIAL" "CONNECTIVITY_WIFI_LAN_IP_ADDRESS_ERROR" + "CONNECTIVITY_WIFI_LAN_SOCKET_CONNECT_IO_EXCEPTION" + "CONNECTIVITY_WIFI_LAN_SOCKET_CONNECT_TIMEOUT" + "CONNECTIVITY_WIFI_LAN_START_ADVERTISING_FAILURE" + "CONNECTIVITY_WIFI_LAN_START_DISCOVERY_FAILURE" "DETAIL_SUCCESS" "DETAIL_UNKNOWN" "DEVICE_STATE_ERROR_UNFINISHED_UPGRADE_ATTEMPTS" @@ -2021,19 +2138,27 @@ static const char OperationResultCode_names[] = "MEDIUM_UNAVAILABLE_BLE_NC_LOGICAL_NOT_AVAILABLE" "MEDIUM_UNAVAILABLE_BLE_NOT_AVAILABLE" "MEDIUM_UNAVAILABLE_BLUETOOTH_NOT_AVAILABLE" + "MEDIUM_UNAVAILABLE_BT_MULTIPLEX_DISABLED" "MEDIUM_UNAVAILABLE_BT_NC_LOGICAL_NOT_AVAILABLE" "MEDIUM_UNAVAILABLE_DIRECT_HOTSPOT_NOT_SUPPORT" + "MEDIUM_UNAVAILABLE_DUPLICATE_FAST_ADVERTISING" "MEDIUM_UNAVAILABLE_L2CAP_NOT_AVAILABLE" + "MEDIUM_UNAVAILABLE_LAN_BLOCKED" "MEDIUM_UNAVAILABLE_LAN_NC_LOGICAL_NOT_AVAILABLE" "MEDIUM_UNAVAILABLE_LAN_NOT_AVAILABLE" "MEDIUM_UNAVAILABLE_LOCAL_ONLY_HOTSPOT_DISRUPTIVE_FALSE" "MEDIUM_UNAVAILABLE_LOCAL_ONLY_HOTSPOT_NOT_SUPPORT" "MEDIUM_UNAVAILABLE_LOCAL_ONLY_HOTSPOT_NOT_SUPPORT_5G" + "MEDIUM_UNAVAILABLE_MDNS_NOT_AVAILABLE" "MEDIUM_UNAVAILABLE_NFC_NC_LOGICAL_NOT_AVAILABLE" "MEDIUM_UNAVAILABLE_NFC_NOT_AVAILABLE" + "MEDIUM_UNAVAILABLE_NSD_NOT_AVAILABLE" + "MEDIUM_UNAVAILABLE_POOR_SIGNAL" "MEDIUM_UNAVAILABLE_REJECT_L2CAP_ON_GATT_MULTIPLEX_CONNECTION" "MEDIUM_UNAVAILABLE_SOFT_AP_DISRUPTIVE_FALSE" "MEDIUM_UNAVAILABLE_SOFT_AP_NOT_SUPPORT" + "MEDIUM_UNAVAILABLE_STA_DISRUPTIVE_FALSE" + "MEDIUM_UNAVAILABLE_STA_USER_NOT_ALLOW" "MEDIUM_UNAVAILABLE_UPGRADE_ON_SAME_MEDIUM" "MEDIUM_UNAVAILABLE_UPGRADE_SKIP_BLE_LOW_QUALITY_MEDIUMS" "MEDIUM_UNAVAILABLE_UPGRADE_SKIP_BT_LOW_QUALITY_MEDIUMS" @@ -2056,6 +2181,7 @@ static const char OperationResultCode_names[] = "MEDIUM_UNAVAILABLE_WIFI_HOTSPOT_NOT_AVAILABLE" "MEDIUM_UNAVAILABLE_WIFI_HOTSPOT_P2P_RESOURCE_NOT_AVAILABLE" "MISCELLEANEOUS_BLE_SYSTEM_SERVICE_NULL" + "MISCELLEANEOUS_BLUETOOTH_CHANGE_DEVICE_NAME_FAILURE" "MISCELLEANEOUS_BLUETOOTH_MAC_ADDRESS_NULL" "MISCELLEANEOUS_BT_NOT_ACCEPTING_CONNECTION_FOR_WORK_PROFILE" "MISCELLEANEOUS_BT_SYSTEM_SERVICE_NULL" @@ -2063,25 +2189,42 @@ static const char OperationResultCode_names[] = "MISCELLEANEOUS_MOVE_TO_NEW_MEDIUM" "MISCELLEANEOUS_WEB_RTC_FAILED_TO_RECEIVE_MESSAGE" "MISCELLEANEOUS_WEB_RTC_GET_DROIDGUARD_RESULT_FAILURE" + "MISCELLEANEOUS_WEB_RTC_ICE_SERVER_NULL" "MISCELLEANEOUS_WEB_RTC_TACHYON_SIGNALING_MESSENGER_NULL" "MISCELLEANEOUS_WIFI_AWARE_SYSTEM_SERVICE_NULL" "MISCELLEANEOUS_WIFI_DIRECT_SYSTEM_SERVICE_NULL" "MISCELLEANEOUS_WIFI_HOTSPOT_SOFT_AP_BLOCKED_BY_PROVISION" "MISCELLEANEOUS_WIFI_HOTSPOT_SYSTEM_SERVICE_NULL" "MISCELLEANEOUS_WIFI_LAN_SYSTEM_SERVICE_NULL" + "MISCELLEANEOUS_WORK_SOURCE_NULL" + "NEARBY_AUTHENTICATION_FAILURE" + "NEARBY_BAD_FILE_DESCRIPTION_WHEN_PROCESSING_RECEIVED_PAYLOAD" "NEARBY_BLE_ADVERTISEMENT_MAPPING_TO_MAC_ERROR" + "NEARBY_BLE_ADVERTISE_TO_BYTES_FAILURE" "NEARBY_BLE_ENDPOINT_CHANNEL_CREATION_FAILURE" + "NEARBY_BLE_FAST_ADVERTISE_TO_BYTES_FAILURE" "NEARBY_BLE_GATT_ADVERTISEMENT_NULL_FOR_CONNECTION" "NEARBY_BLE_GATT_NULL_CALLBACK" + "NEARBY_BLE_INVALID_PCP_OPTIONS" "NEARBY_BLE_OPERATION_REGISTERED_FAILED" + "NEARBY_BLUETOOTH_ADVERTISE_TO_BYTES_FAILURE" + "NEARBY_BLUETOOTH_INVALID_PCP_OPTIONS" "NEARBY_BLUETOOTH_MAC_ADDRESS_INVALID_FOR_CONNECT" + "NEARBY_BLUETOOTH_NO_CLIENT_REGISTER_FOR_SCAN" + "NEARBY_BLUETOOTH_RECONNECT_MAC_NULL" "NEARBY_BT_ENDPOINT_CHANNEL_CREATION_FAILURE" "NEARBY_BT_MULTIPLEX_SOCKET_DISABLED" "NEARBY_BT_NULL_CALLBACK" "NEARBY_BT_OPERATION_REGISTERED_FAILED" "NEARBY_BT_VIRTUAL_SOCKET_CREATION_FAILURE" + "NEARBY_CAN_NOT_OBTAIN_DEVICE_PROVIDER" + "NEARBY_CONNECTIVITY_INFO_NULL_OR_WRONG" + "NEARBY_CONNECT_TO_ALL_MEDIUMS_FAILURE" + "NEARBY_ENCRYPTION_FAILURE" + "NEARBY_ENDPOINT_ID_MISMATCH" "NEARBY_GENERIC_CONNECTION_CLOSED" "NEARBY_GENERIC_ENDPOINT_UNENCRYPTED" + "NEARBY_GENERIC_INCOMING_PAYLOAD_CREATION_FAILURE" "NEARBY_GENERIC_INCOMING_PAYLOAD_NOT_DATA_TYPE" "NEARBY_GENERIC_NEW_ENDPOINT_CHANNEL_NULL" "NEARBY_GENERIC_OLD_ENDPOINT_CHANNEL_NULL" @@ -2096,6 +2239,7 @@ static const char OperationResultCode_names[] = "NEARBY_GENERIC_REMOTE_REPORT_PAYLOADS_ERROR" "NEARBY_GENERIC_REMOTE_UPGRADE_FAILURE" "NEARBY_GENERIC_SEND_PAYLOAD_EXECUTOR_NULL" + "NEARBY_INSTANT_CONNECTION_WRONG_CONNECTIVITY_INFO" "NEARBY_L2CAP_ENDPOINT_CHANNEL_CREATION_FAILURE" "NEARBY_L2CAP_NULL_CALLBACK" "NEARBY_L2CAP_OPERATION_REGISTERED_FAILED" @@ -2104,18 +2248,39 @@ static const char OperationResultCode_names[] = "NEARBY_LAN_MULTIPLEX_SOCKET_DISABLED" "NEARBY_LAN_NULL_CALLBACK" "NEARBY_LAN_OPERATION_REGISTERED_FAILED" + "NEARBY_LAN_RECONNECT_CONNECTION_INFO_NULL" + "NEARBY_LAN_RECONNECT_IP_NULL" "NEARBY_LAN_VIRTUAL_SOCKET_CREATION_FAILURE" + "NEARBY_LAN_VIRTUAL_SOCKET_NULL" + "NEARBY_LOCAL_CLIENT_STATE_WRONG" + "NEARBY_NEED_METHOD_OVERRIDE" + "NEARBY_NFC_ADVERTISE_TO_BYTES_FAILURE" "NEARBY_NFC_ENDPOINT_CHANNEL_CREATION_FAILURE" + "NEARBY_NFC_INVALID_PCP_OPTIONS" "NEARBY_NFC_NULL_CALLBACK" + "NEARBY_NOT_ADVERTISING_OR_LISTENING" + "NEARBY_REMOTE_EXCEPTION_WHEN_PROCESSING_RECEIVED_PAYLOAD" + "NEARBY_SETUP_STRATEGY_FAILURE" + "NEARBY_TX_ADVERTISEMENT_NULL" + "NEARBY_UPGRADE_PATH_ON_WRONG_MEDIUM" + "NEARBY_USB_ADVERTISE_TO_BYTES_FAILURE" "NEARBY_USB_ENDPOINT_CHANNEL_CREATION_FAILURE" + "NEARBY_USB_INVALID_PCP_OPTIONS" "NEARBY_USB_NULL_CALLBACK" + "NEARBY_UWB_INVALID_PCP_OPTIONS" "NEARBY_WEB_RTC_CONNECTION_FLOW_NULL" "NEARBY_WEB_RTC_ENDPOINT_CHANNEL_CREATION_FAILURE" + "NEARBY_WEB_RTC_INVALID_PCP_OPTIONS" + "NEARBY_WEB_RTC_NO_LISTENING_PEER_FOUND" "NEARBY_WEB_RTC_NULL_CALLBACK" "NEARBY_WEB_RTC_OPERATION_REGISTERED_FAILED" + "NEARBY_WEB_RTC_RECONNECT_PEER_ID_NULL" + "NEARBY_WIFI_AWARE_ADVERTISE_TO_BYTES_FAILURE" "NEARBY_WIFI_AWARE_ENDPOINT_CHANNEL_CREATION_FAILURE" + "NEARBY_WIFI_AWARE_INVALID_PCP_OPTIONS" "NEARBY_WIFI_AWARE_NULL_CALLBACK" "NEARBY_WIFI_AWARE_OPERATION_REGISTERED_FAILED" + "NEARBY_WIFI_AWARE_RECONNECT_META_DATA_NULL" "NEARBY_WIFI_DIRECT_ENDPOINT_CHANNEL_CREATION_FAILURE" "NEARBY_WIFI_DIRECT_HOST_ON_SRD_CHANNELS" "NEARBY_WIFI_DIRECT_NO_GROUP_FOR_LISTENING" @@ -2125,6 +2290,8 @@ static const char OperationResultCode_names[] = "NEARBY_WIFI_DIRECT_OPERATION_REGISTERED_FAILED" "NEARBY_WIFI_DIRECT_P2P_NON_DBS_WANT_2G_BUT_AP_5G" "NEARBY_WIFI_DIRECT_P2P_NON_DBS_WANT_5G_BUT_AP_2G" + "NEARBY_WIFI_DIRECT_RECONNECT_CONNECT_META_DATA_NULL" + "NEARBY_WIFI_DIRECT_RECONNECT_META_DATA_NULL" "NEARBY_WIFI_HOTSPOT_CLIENT_OPERATION_REGISTERED_FAILED" "NEARBY_WIFI_HOTSPOT_DIRECT_OPERATION_REGISTERED_FAILED" "NEARBY_WIFI_HOTSPOT_ENDPOINT_CHANNEL_CREATION_FAILURE" @@ -2134,495 +2301,733 @@ static const char OperationResultCode_names[] = "NEARBY_WIFI_HOTSPOT_NULL_CALLBACK" "NEARBY_WIFI_HOTSPOT_P2P_NON_DBS_WANT_2G_BUT_AP_5G" "NEARBY_WIFI_HOTSPOT_P2P_NON_DBS_WANT_5G_BUT_AP_2G" + "NEARBY_WIFI_HOTSPOT_RECONNECT_CONNECT_META_DATA_NULL" + "NEARBY_WIFI_HOTSPOT_RECONNECT_META_DATA_NULL" "NEARBY_WIFI_HOTSPOT_SOFT_AP_OPERATION_REGISTERED_FAILED" + "NEARBY_WIFI_LAN_ADVERTISE_TO_BYTES_FAILURE" + "NEARBY_WIFI_LAN_INVALID_PCP_OPTIONS" "NEARBY_WIFI_LAN_IP_ADDRESS_ERROR"; static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry OperationResultCode_entries[] = { - { {OperationResultCode_names + 0, 45}, 519 }, - { {OperationResultCode_names + 45, 50}, 504 }, - { {OperationResultCode_names + 95, 49}, 505 }, - { {OperationResultCode_names + 144, 46}, 515 }, - { {OperationResultCode_names + 190, 52}, 506 }, - { {OperationResultCode_names + 242, 50}, 507 }, - { {OperationResultCode_names + 292, 50}, 508 }, - { {OperationResultCode_names + 342, 46}, 514 }, - { {OperationResultCode_names + 388, 50}, 509 }, - { {OperationResultCode_names + 438, 54}, 513 }, - { {OperationResultCode_names + 492, 57}, 510 }, - { {OperationResultCode_names + 549, 58}, 511 }, - { {OperationResultCode_names + 607, 59}, 512 }, - { {OperationResultCode_names + 666, 40}, 501 }, - { {OperationResultCode_names + 706, 36}, 522 }, - { {OperationResultCode_names + 742, 41}, 502 }, - { {OperationResultCode_names + 783, 37}, 523 }, - { {OperationResultCode_names + 820, 44}, 500 }, - { {OperationResultCode_names + 864, 46}, 503 }, - { {OperationResultCode_names + 910, 50}, 520 }, - { {OperationResultCode_names + 960, 53}, 516 }, - { {OperationResultCode_names + 1013, 54}, 517 }, - { {OperationResultCode_names + 1067, 55}, 518 }, - { {OperationResultCode_names + 1122, 51}, 521 }, - { {OperationResultCode_names + 1173, 49}, 2002 }, - { {OperationResultCode_names + 1222, 48}, 2004 }, - { {OperationResultCode_names + 1270, 51}, 2003 }, - { {OperationResultCode_names + 1321, 49}, 2005 }, - { {OperationResultCode_names + 1370, 49}, 2006 }, - { {OperationResultCode_names + 1419, 49}, 2011 }, - { {OperationResultCode_names + 1468, 53}, 2007 }, - { {OperationResultCode_names + 1521, 56}, 2008 }, - { {OperationResultCode_names + 1577, 57}, 2010 }, - { {OperationResultCode_names + 1634, 58}, 2009 }, - { {OperationResultCode_names + 1692, 46}, 2012 }, - { {OperationResultCode_names + 1738, 47}, 2015 }, - { {OperationResultCode_names + 1785, 47}, 2013 }, - { {OperationResultCode_names + 1832, 48}, 2014 }, - { {OperationResultCode_names + 1880, 43}, 2016 }, - { {OperationResultCode_names + 1923, 63}, 2000 }, - { {OperationResultCode_names + 1986, 59}, 2001 }, - { {OperationResultCode_names + 2045, 47}, 3502 }, - { {OperationResultCode_names + 2092, 47}, 3513 }, - { {OperationResultCode_names + 2139, 47}, 3539 }, - { {OperationResultCode_names + 2186, 44}, 3501 }, - { {OperationResultCode_names + 2230, 41}, 3518 }, - { {OperationResultCode_names + 2271, 46}, 3504 }, - { {OperationResultCode_names + 2317, 46}, 3541 }, - { {OperationResultCode_names + 2363, 65}, 3555 }, - { {OperationResultCode_names + 2428, 37}, 3538 }, - { {OperationResultCode_names + 2465, 39}, 3553 }, - { {OperationResultCode_names + 2504, 59}, 3551 }, - { {OperationResultCode_names + 2563, 45}, 3550 }, - { {OperationResultCode_names + 2608, 39}, 3525 }, - { {OperationResultCode_names + 2647, 49}, 3503 }, - { {OperationResultCode_names + 2696, 57}, 3556 }, - { {OperationResultCode_names + 2753, 42}, 3526 }, - { {OperationResultCode_names + 2795, 49}, 3540 }, - { {OperationResultCode_names + 2844, 68}, 3554 }, - { {OperationResultCode_names + 2912, 47}, 3505 }, - { {OperationResultCode_names + 2959, 47}, 3531 }, - { {OperationResultCode_names + 3006, 47}, 3542 }, - { {OperationResultCode_names + 3053, 28}, 3529 }, - { {OperationResultCode_names + 3081, 47}, 3506 }, - { {OperationResultCode_names + 3128, 47}, 3547 }, - { {OperationResultCode_names + 3175, 47}, 3511 }, - { {OperationResultCode_names + 3222, 51}, 3507 }, - { {OperationResultCode_names + 3273, 47}, 3512 }, - { {OperationResultCode_names + 3320, 39}, 3523 }, - { {OperationResultCode_names + 3359, 51}, 3543 }, - { {OperationResultCode_names + 3410, 43}, 3557 }, - { {OperationResultCode_names + 3453, 38}, 3500 }, - { {OperationResultCode_names + 3491, 54}, 3508 }, - { {OperationResultCode_names + 3545, 44}, 3552 }, - { {OperationResultCode_names + 3589, 53}, 3515 }, - { {OperationResultCode_names + 3642, 51}, 3514 }, - { {OperationResultCode_names + 3693, 42}, 3522 }, - { {OperationResultCode_names + 3735, 62}, 3527 }, - { {OperationResultCode_names + 3797, 65}, 3528 }, - { {OperationResultCode_names + 3862, 54}, 3544 }, - { {OperationResultCode_names + 3916, 46}, 3549 }, - { {OperationResultCode_names + 3962, 55}, 3510 }, - { {OperationResultCode_names + 4017, 55}, 3532 }, - { {OperationResultCode_names + 4072, 54}, 3516 }, - { {OperationResultCode_names + 4126, 43}, 3520 }, - { {OperationResultCode_names + 4169, 55}, 3535 }, - { {OperationResultCode_names + 4224, 51}, 3537 }, - { {OperationResultCode_names + 4275, 55}, 3546 }, - { {OperationResultCode_names + 4330, 56}, 3509 }, - { {OperationResultCode_names + 4386, 56}, 3533 }, - { {OperationResultCode_names + 4442, 55}, 3517 }, - { {OperationResultCode_names + 4497, 44}, 3521 }, - { {OperationResultCode_names + 4541, 47}, 3530 }, - { {OperationResultCode_names + 4588, 56}, 3534 }, - { {OperationResultCode_names + 4644, 52}, 3536 }, - { {OperationResultCode_names + 4696, 56}, 3545 }, - { {OperationResultCode_names + 4752, 50}, 3548 }, - { {OperationResultCode_names + 4802, 40}, 3519 }, - { {OperationResultCode_names + 4842, 38}, 3524 }, - { {OperationResultCode_names + 4880, 14}, 1 }, - { {OperationResultCode_names + 4894, 14}, 0 }, - { {OperationResultCode_names + 4908, 46}, 1000 }, - { {OperationResultCode_names + 4954, 39}, 1001 }, - { {OperationResultCode_names + 4993, 30}, 1002 }, - { {OperationResultCode_names + 5023, 36}, 1003 }, - { {OperationResultCode_names + 5059, 35}, 1004 }, - { {OperationResultCode_names + 5094, 27}, 3005 }, - { {OperationResultCode_names + 5121, 33}, 3006 }, - { {OperationResultCode_names + 5154, 26}, 3007 }, - { {OperationResultCode_names + 5180, 27}, 3009 }, - { {OperationResultCode_names + 5207, 27}, 3013 }, - { {OperationResultCode_names + 5234, 27}, 3014 }, - { {OperationResultCode_names + 5261, 31}, 3008 }, - { {OperationResultCode_names + 5292, 34}, 3012 }, - { {OperationResultCode_names + 5326, 35}, 3010 }, - { {OperationResultCode_names + 5361, 36}, 3011 }, - { {OperationResultCode_names + 5397, 21}, 3000 }, - { {OperationResultCode_names + 5418, 21}, 3001 }, - { {OperationResultCode_names + 5439, 21}, 3002 }, - { {OperationResultCode_names + 5460, 24}, 3003 }, - { {OperationResultCode_names + 5484, 29}, 3004 }, - { {OperationResultCode_names + 5513, 51}, 1534 }, - { {OperationResultCode_names + 5564, 60}, 1535 }, - { {OperationResultCode_names + 5624, 47}, 1515 }, - { {OperationResultCode_names + 5671, 36}, 1505 }, - { {OperationResultCode_names + 5707, 42}, 1507 }, - { {OperationResultCode_names + 5749, 46}, 1516 }, - { {OperationResultCode_names + 5795, 45}, 1501 }, - { {OperationResultCode_names + 5840, 38}, 1506 }, - { {OperationResultCode_names + 5878, 47}, 1517 }, - { {OperationResultCode_names + 5925, 36}, 1513 }, - { {OperationResultCode_names + 5961, 54}, 1532 }, - { {OperationResultCode_names + 6015, 49}, 1503 }, - { {OperationResultCode_names + 6064, 52}, 1504 }, - { {OperationResultCode_names + 6116, 47}, 1518 }, - { {OperationResultCode_names + 6163, 36}, 1512 }, - { {OperationResultCode_names + 6199, 60}, 1536 }, - { {OperationResultCode_names + 6259, 43}, 1533 }, - { {OperationResultCode_names + 6302, 38}, 1502 }, - { {OperationResultCode_names + 6340, 41}, 1537 }, - { {OperationResultCode_names + 6381, 55}, 1526 }, - { {OperationResultCode_names + 6436, 54}, 1530 }, - { {OperationResultCode_names + 6490, 57}, 1527 }, - { {OperationResultCode_names + 6547, 55}, 1529 }, - { {OperationResultCode_names + 6602, 55}, 1531 }, - { {OperationResultCode_names + 6657, 59}, 1528 }, - { {OperationResultCode_names + 6716, 47}, 1519 }, - { {OperationResultCode_names + 6763, 36}, 1514 }, - { {OperationResultCode_names + 6799, 51}, 1520 }, - { {OperationResultCode_names + 6850, 40}, 1508 }, - { {OperationResultCode_names + 6890, 38}, 1538 }, - { {OperationResultCode_names + 6928, 54}, 1521 }, - { {OperationResultCode_names + 6982, 43}, 1509 }, - { {OperationResultCode_names + 7025, 52}, 1500 }, - { {OperationResultCode_names + 7077, 55}, 1523 }, - { {OperationResultCode_names + 7132, 44}, 1511 }, - { {OperationResultCode_names + 7176, 57}, 1525 }, - { {OperationResultCode_names + 7233, 56}, 1522 }, - { {OperationResultCode_names + 7289, 45}, 1510 }, - { {OperationResultCode_names + 7334, 58}, 1524 }, - { {OperationResultCode_names + 7392, 38}, 2503 }, - { {OperationResultCode_names + 7430, 41}, 2500 }, - { {OperationResultCode_names + 7471, 59}, 2510 }, - { {OperationResultCode_names + 7530, 37}, 2505 }, - { {OperationResultCode_names + 7567, 40}, 2504 }, - { {OperationResultCode_names + 7607, 33}, 2501 }, - { {OperationResultCode_names + 7640, 48}, 2513 }, - { {OperationResultCode_names + 7688, 52}, 2511 }, - { {OperationResultCode_names + 7740, 55}, 2512 }, - { {OperationResultCode_names + 7795, 45}, 2506 }, - { {OperationResultCode_names + 7840, 46}, 2507 }, - { {OperationResultCode_names + 7886, 56}, 2502 }, - { {OperationResultCode_names + 7942, 47}, 2509 }, - { {OperationResultCode_names + 7989, 43}, 2508 }, - { {OperationResultCode_names + 8032, 45}, 4500 }, - { {OperationResultCode_names + 8077, 44}, 4504 }, - { {OperationResultCode_names + 8121, 49}, 4515 }, - { {OperationResultCode_names + 8170, 29}, 4518 }, - { {OperationResultCode_names + 8199, 38}, 4536 }, - { {OperationResultCode_names + 8237, 48}, 4501 }, - { {OperationResultCode_names + 8285, 43}, 4506 }, - { {OperationResultCode_names + 8328, 35}, 4530 }, - { {OperationResultCode_names + 8363, 23}, 4520 }, - { {OperationResultCode_names + 8386, 37}, 4538 }, - { {OperationResultCode_names + 8423, 41}, 4563 }, - { {OperationResultCode_names + 8464, 32}, 4503 }, - { {OperationResultCode_names + 8496, 35}, 4514 }, - { {OperationResultCode_names + 8531, 45}, 4552 }, - { {OperationResultCode_names + 8576, 40}, 4532 }, - { {OperationResultCode_names + 8616, 40}, 4535 }, - { {OperationResultCode_names + 8656, 48}, 4547 }, - { {OperationResultCode_names + 8704, 60}, 4556 }, - { {OperationResultCode_names + 8764, 56}, 4558 }, - { {OperationResultCode_names + 8820, 60}, 4557 }, - { {OperationResultCode_names + 8880, 56}, 4553 }, - { {OperationResultCode_names + 8936, 52}, 4555 }, - { {OperationResultCode_names + 8988, 56}, 4554 }, - { {OperationResultCode_names + 9044, 43}, 4559 }, - { {OperationResultCode_names + 9087, 43}, 4560 }, - { {OperationResultCode_names + 9130, 37}, 4561 }, - { {OperationResultCode_names + 9167, 41}, 4562 }, - { {OperationResultCode_names + 9208, 46}, 4505 }, - { {OperationResultCode_names + 9254, 26}, 4519 }, - { {OperationResultCode_names + 9280, 40}, 4537 }, - { {OperationResultCode_names + 9320, 29}, 4566 }, - { {OperationResultCode_names + 9349, 44}, 4507 }, - { {OperationResultCode_names + 9393, 36}, 4531 }, - { {OperationResultCode_names + 9429, 24}, 4525 }, - { {OperationResultCode_names + 9453, 38}, 4539 }, - { {OperationResultCode_names + 9491, 42}, 4564 }, - { {OperationResultCode_names + 9533, 44}, 4508 }, - { {OperationResultCode_names + 9577, 24}, 4522 }, - { {OperationResultCode_names + 9601, 44}, 4513 }, - { {OperationResultCode_names + 9645, 24}, 4521 }, - { {OperationResultCode_names + 9669, 35}, 4502 }, - { {OperationResultCode_names + 9704, 48}, 4512 }, - { {OperationResultCode_names + 9752, 28}, 4524 }, - { {OperationResultCode_names + 9780, 42}, 4540 }, - { {OperationResultCode_names + 9822, 51}, 4509 }, - { {OperationResultCode_names + 9873, 31}, 4523 }, - { {OperationResultCode_names + 9904, 45}, 4541 }, - { {OperationResultCode_names + 9949, 52}, 4511 }, - { {OperationResultCode_names + 10001, 39}, 4516 }, - { {OperationResultCode_names + 10040, 41}, 4533 }, - { {OperationResultCode_names + 10081, 32}, 4527 }, - { {OperationResultCode_names + 10113, 32}, 4529 }, - { {OperationResultCode_names + 10145, 28}, 4528 }, - { {OperationResultCode_names + 10173, 46}, 4546 }, - { {OperationResultCode_names + 10219, 48}, 4549 }, - { {OperationResultCode_names + 10267, 48}, 4551 }, - { {OperationResultCode_names + 10315, 54}, 4545 }, - { {OperationResultCode_names + 10369, 54}, 4542 }, - { {OperationResultCode_names + 10423, 53}, 4510 }, - { {OperationResultCode_names + 10476, 40}, 4517 }, - { {OperationResultCode_names + 10516, 52}, 4544 }, - { {OperationResultCode_names + 10568, 44}, 4534 }, - { {OperationResultCode_names + 10612, 33}, 4526 }, - { {OperationResultCode_names + 10645, 49}, 4548 }, - { {OperationResultCode_names + 10694, 49}, 4550 }, - { {OperationResultCode_names + 10743, 55}, 4543 }, - { {OperationResultCode_names + 10798, 32}, 4565 }, + { {OperationResultCode_names + 0, 36}, 2034 }, + { {OperationResultCode_names + 36, 34}, 2030 }, + { {OperationResultCode_names + 70, 32}, 2018 }, + { {OperationResultCode_names + 102, 32}, 2023 }, + { {OperationResultCode_names + 134, 23}, 2029 }, + { {OperationResultCode_names + 157, 38}, 2019 }, + { {OperationResultCode_names + 195, 38}, 2024 }, + { {OperationResultCode_names + 233, 45}, 519 }, + { {OperationResultCode_names + 278, 50}, 504 }, + { {OperationResultCode_names + 328, 49}, 505 }, + { {OperationResultCode_names + 377, 46}, 515 }, + { {OperationResultCode_names + 423, 52}, 506 }, + { {OperationResultCode_names + 475, 50}, 507 }, + { {OperationResultCode_names + 525, 50}, 508 }, + { {OperationResultCode_names + 575, 46}, 514 }, + { {OperationResultCode_names + 621, 50}, 509 }, + { {OperationResultCode_names + 671, 54}, 513 }, + { {OperationResultCode_names + 725, 57}, 510 }, + { {OperationResultCode_names + 782, 58}, 511 }, + { {OperationResultCode_names + 840, 59}, 512 }, + { {OperationResultCode_names + 899, 40}, 501 }, + { {OperationResultCode_names + 939, 36}, 522 }, + { {OperationResultCode_names + 975, 41}, 502 }, + { {OperationResultCode_names + 1016, 37}, 523 }, + { {OperationResultCode_names + 1053, 44}, 500 }, + { {OperationResultCode_names + 1097, 46}, 503 }, + { {OperationResultCode_names + 1143, 50}, 520 }, + { {OperationResultCode_names + 1193, 53}, 516 }, + { {OperationResultCode_names + 1246, 54}, 517 }, + { {OperationResultCode_names + 1300, 55}, 518 }, + { {OperationResultCode_names + 1355, 51}, 521 }, + { {OperationResultCode_names + 1406, 34}, 2035 }, + { {OperationResultCode_names + 1440, 49}, 2002 }, + { {OperationResultCode_names + 1489, 48}, 2004 }, + { {OperationResultCode_names + 1537, 51}, 2003 }, + { {OperationResultCode_names + 1588, 49}, 2005 }, + { {OperationResultCode_names + 1637, 49}, 2006 }, + { {OperationResultCode_names + 1686, 49}, 2011 }, + { {OperationResultCode_names + 1735, 53}, 2007 }, + { {OperationResultCode_names + 1788, 56}, 2008 }, + { {OperationResultCode_names + 1844, 57}, 2010 }, + { {OperationResultCode_names + 1901, 58}, 2009 }, + { {OperationResultCode_names + 1959, 46}, 2012 }, + { {OperationResultCode_names + 2005, 47}, 2015 }, + { {OperationResultCode_names + 2052, 47}, 2013 }, + { {OperationResultCode_names + 2099, 48}, 2014 }, + { {OperationResultCode_names + 2147, 58}, 2031 }, + { {OperationResultCode_names + 2205, 32}, 2020 }, + { {OperationResultCode_names + 2237, 32}, 2025 }, + { {OperationResultCode_names + 2269, 28}, 2032 }, + { {OperationResultCode_names + 2297, 25}, 2028 }, + { {OperationResultCode_names + 2322, 29}, 2017 }, + { {OperationResultCode_names + 2351, 43}, 2016 }, + { {OperationResultCode_names + 2394, 32}, 2022 }, + { {OperationResultCode_names + 2426, 32}, 2027 }, + { {OperationResultCode_names + 2458, 63}, 2000 }, + { {OperationResultCode_names + 2521, 59}, 2001 }, + { {OperationResultCode_names + 2580, 37}, 2021 }, + { {OperationResultCode_names + 2617, 37}, 2026 }, + { {OperationResultCode_names + 2654, 35}, 2033 }, + { {OperationResultCode_names + 2689, 32}, 3599 }, + { {OperationResultCode_names + 2721, 47}, 3585 }, + { {OperationResultCode_names + 2768, 47}, 3502 }, + { {OperationResultCode_names + 2815, 47}, 3513 }, + { {OperationResultCode_names + 2862, 29}, 3591 }, + { {OperationResultCode_names + 2891, 47}, 3539 }, + { {OperationResultCode_names + 2938, 42}, 3586 }, + { {OperationResultCode_names + 2980, 42}, 3584 }, + { {OperationResultCode_names + 3022, 47}, 3598 }, + { {OperationResultCode_names + 3069, 44}, 3501 }, + { {OperationResultCode_names + 3113, 41}, 3518 }, + { {OperationResultCode_names + 3154, 35}, 3590 }, + { {OperationResultCode_names + 3189, 48}, 3587 }, + { {OperationResultCode_names + 3237, 46}, 3504 }, + { {OperationResultCode_names + 3283, 46}, 3573 }, + { {OperationResultCode_names + 3329, 48}, 3572 }, + { {OperationResultCode_names + 3377, 44}, 3574 }, + { {OperationResultCode_names + 3421, 46}, 3541 }, + { {OperationResultCode_names + 3467, 65}, 3555 }, + { {OperationResultCode_names + 3532, 43}, 3571 }, + { {OperationResultCode_names + 3575, 44}, 3570 }, + { {OperationResultCode_names + 3619, 36}, 3559 }, + { {OperationResultCode_names + 3655, 42}, 3560 }, + { {OperationResultCode_names + 3697, 35}, 3561 }, + { {OperationResultCode_names + 3732, 36}, 3563 }, + { {OperationResultCode_names + 3768, 36}, 3567 }, + { {OperationResultCode_names + 3804, 47}, 3569 }, + { {OperationResultCode_names + 3851, 36}, 3568 }, + { {OperationResultCode_names + 3887, 40}, 3562 }, + { {OperationResultCode_names + 3927, 43}, 3566 }, + { {OperationResultCode_names + 3970, 44}, 3564 }, + { {OperationResultCode_names + 4014, 45}, 3565 }, + { {OperationResultCode_names + 4059, 37}, 3558 }, + { {OperationResultCode_names + 4096, 37}, 3538 }, + { {OperationResultCode_names + 4133, 39}, 3553 }, + { {OperationResultCode_names + 4172, 59}, 3551 }, + { {OperationResultCode_names + 4231, 45}, 3550 }, + { {OperationResultCode_names + 4276, 49}, 3600 }, + { {OperationResultCode_names + 4325, 39}, 3525 }, + { {OperationResultCode_names + 4364, 49}, 3503 }, + { {OperationResultCode_names + 4413, 57}, 3556 }, + { {OperationResultCode_names + 4470, 42}, 3526 }, + { {OperationResultCode_names + 4512, 49}, 3540 }, + { {OperationResultCode_names + 4561, 68}, 3554 }, + { {OperationResultCode_names + 4629, 47}, 3505 }, + { {OperationResultCode_names + 4676, 47}, 3531 }, + { {OperationResultCode_names + 4723, 38}, 3597 }, + { {OperationResultCode_names + 4761, 47}, 3542 }, + { {OperationResultCode_names + 4808, 28}, 3529 }, + { {OperationResultCode_names + 4836, 30}, 3592 }, + { {OperationResultCode_names + 4866, 38}, 3601 }, + { {OperationResultCode_names + 4904, 47}, 3506 }, + { {OperationResultCode_names + 4951, 47}, 3547 }, + { {OperationResultCode_names + 4998, 40}, 3593 }, + { {OperationResultCode_names + 5038, 47}, 3511 }, + { {OperationResultCode_names + 5085, 40}, 3596 }, + { {OperationResultCode_names + 5125, 51}, 3507 }, + { {OperationResultCode_names + 5176, 47}, 3512 }, + { {OperationResultCode_names + 5223, 39}, 3523 }, + { {OperationResultCode_names + 5262, 51}, 3543 }, + { {OperationResultCode_names + 5313, 43}, 3557 }, + { {OperationResultCode_names + 5356, 47}, 3577 }, + { {OperationResultCode_names + 5403, 47}, 3579 }, + { {OperationResultCode_names + 5450, 49}, 3576 }, + { {OperationResultCode_names + 5499, 45}, 3578 }, + { {OperationResultCode_names + 5544, 38}, 3500 }, + { {OperationResultCode_names + 5582, 54}, 3508 }, + { {OperationResultCode_names + 5636, 44}, 3552 }, + { {OperationResultCode_names + 5680, 53}, 3515 }, + { {OperationResultCode_names + 5733, 51}, 3514 }, + { {OperationResultCode_names + 5784, 42}, 3522 }, + { {OperationResultCode_names + 5826, 62}, 3527 }, + { {OperationResultCode_names + 5888, 65}, 3528 }, + { {OperationResultCode_names + 5953, 54}, 3544 }, + { {OperationResultCode_names + 6007, 49}, 3589 }, + { {OperationResultCode_names + 6056, 47}, 3595 }, + { {OperationResultCode_names + 6103, 46}, 3549 }, + { {OperationResultCode_names + 6149, 55}, 3510 }, + { {OperationResultCode_names + 6204, 55}, 3532 }, + { {OperationResultCode_names + 6259, 54}, 3516 }, + { {OperationResultCode_names + 6313, 43}, 3520 }, + { {OperationResultCode_names + 6356, 55}, 3535 }, + { {OperationResultCode_names + 6411, 47}, 3575 }, + { {OperationResultCode_names + 6458, 51}, 3537 }, + { {OperationResultCode_names + 6509, 55}, 3546 }, + { {OperationResultCode_names + 6564, 56}, 3509 }, + { {OperationResultCode_names + 6620, 56}, 3533 }, + { {OperationResultCode_names + 6676, 55}, 3517 }, + { {OperationResultCode_names + 6731, 44}, 3521 }, + { {OperationResultCode_names + 6775, 55}, 3581 }, + { {OperationResultCode_names + 6830, 47}, 3530 }, + { {OperationResultCode_names + 6877, 56}, 3534 }, + { {OperationResultCode_names + 6933, 52}, 3536 }, + { {OperationResultCode_names + 6985, 56}, 3545 }, + { {OperationResultCode_names + 7041, 50}, 3548 }, + { {OperationResultCode_names + 7091, 43}, 3580 }, + { {OperationResultCode_names + 7134, 40}, 3519 }, + { {OperationResultCode_names + 7174, 38}, 3524 }, + { {OperationResultCode_names + 7212, 49}, 3583 }, + { {OperationResultCode_names + 7261, 44}, 3582 }, + { {OperationResultCode_names + 7305, 47}, 3588 }, + { {OperationResultCode_names + 7352, 45}, 3594 }, + { {OperationResultCode_names + 7397, 14}, 1 }, + { {OperationResultCode_names + 7411, 14}, 0 }, + { {OperationResultCode_names + 7425, 46}, 1000 }, + { {OperationResultCode_names + 7471, 39}, 1001 }, + { {OperationResultCode_names + 7510, 30}, 1002 }, + { {OperationResultCode_names + 7540, 36}, 1003 }, + { {OperationResultCode_names + 7576, 35}, 1004 }, + { {OperationResultCode_names + 7611, 27}, 3005 }, + { {OperationResultCode_names + 7638, 33}, 3006 }, + { {OperationResultCode_names + 7671, 26}, 3007 }, + { {OperationResultCode_names + 7697, 27}, 3009 }, + { {OperationResultCode_names + 7724, 27}, 3013 }, + { {OperationResultCode_names + 7751, 27}, 3014 }, + { {OperationResultCode_names + 7778, 31}, 3008 }, + { {OperationResultCode_names + 7809, 34}, 3012 }, + { {OperationResultCode_names + 7843, 35}, 3010 }, + { {OperationResultCode_names + 7878, 36}, 3011 }, + { {OperationResultCode_names + 7914, 21}, 3000 }, + { {OperationResultCode_names + 7935, 21}, 3001 }, + { {OperationResultCode_names + 7956, 21}, 3002 }, + { {OperationResultCode_names + 7977, 24}, 3003 }, + { {OperationResultCode_names + 8001, 29}, 3004 }, + { {OperationResultCode_names + 8030, 51}, 1534 }, + { {OperationResultCode_names + 8081, 60}, 1535 }, + { {OperationResultCode_names + 8141, 47}, 1515 }, + { {OperationResultCode_names + 8188, 36}, 1505 }, + { {OperationResultCode_names + 8224, 42}, 1507 }, + { {OperationResultCode_names + 8266, 40}, 1546 }, + { {OperationResultCode_names + 8306, 46}, 1516 }, + { {OperationResultCode_names + 8352, 45}, 1501 }, + { {OperationResultCode_names + 8397, 45}, 1541 }, + { {OperationResultCode_names + 8442, 38}, 1506 }, + { {OperationResultCode_names + 8480, 30}, 1544 }, + { {OperationResultCode_names + 8510, 47}, 1517 }, + { {OperationResultCode_names + 8557, 36}, 1513 }, + { {OperationResultCode_names + 8593, 54}, 1532 }, + { {OperationResultCode_names + 8647, 49}, 1503 }, + { {OperationResultCode_names + 8696, 52}, 1504 }, + { {OperationResultCode_names + 8748, 37}, 1543 }, + { {OperationResultCode_names + 8785, 47}, 1518 }, + { {OperationResultCode_names + 8832, 36}, 1512 }, + { {OperationResultCode_names + 8868, 36}, 1542 }, + { {OperationResultCode_names + 8904, 30}, 1545 }, + { {OperationResultCode_names + 8934, 60}, 1536 }, + { {OperationResultCode_names + 8994, 43}, 1533 }, + { {OperationResultCode_names + 9037, 38}, 1502 }, + { {OperationResultCode_names + 9075, 39}, 1539 }, + { {OperationResultCode_names + 9114, 37}, 1540 }, + { {OperationResultCode_names + 9151, 41}, 1537 }, + { {OperationResultCode_names + 9192, 55}, 1526 }, + { {OperationResultCode_names + 9247, 54}, 1530 }, + { {OperationResultCode_names + 9301, 57}, 1527 }, + { {OperationResultCode_names + 9358, 55}, 1529 }, + { {OperationResultCode_names + 9413, 55}, 1531 }, + { {OperationResultCode_names + 9468, 59}, 1528 }, + { {OperationResultCode_names + 9527, 47}, 1519 }, + { {OperationResultCode_names + 9574, 36}, 1514 }, + { {OperationResultCode_names + 9610, 51}, 1520 }, + { {OperationResultCode_names + 9661, 40}, 1508 }, + { {OperationResultCode_names + 9701, 38}, 1538 }, + { {OperationResultCode_names + 9739, 54}, 1521 }, + { {OperationResultCode_names + 9793, 43}, 1509 }, + { {OperationResultCode_names + 9836, 52}, 1500 }, + { {OperationResultCode_names + 9888, 55}, 1523 }, + { {OperationResultCode_names + 9943, 44}, 1511 }, + { {OperationResultCode_names + 9987, 57}, 1525 }, + { {OperationResultCode_names + 10044, 56}, 1522 }, + { {OperationResultCode_names + 10100, 45}, 1510 }, + { {OperationResultCode_names + 10145, 58}, 1524 }, + { {OperationResultCode_names + 10203, 38}, 2503 }, + { {OperationResultCode_names + 10241, 51}, 2514 }, + { {OperationResultCode_names + 10292, 41}, 2500 }, + { {OperationResultCode_names + 10333, 59}, 2510 }, + { {OperationResultCode_names + 10392, 37}, 2505 }, + { {OperationResultCode_names + 10429, 40}, 2504 }, + { {OperationResultCode_names + 10469, 33}, 2501 }, + { {OperationResultCode_names + 10502, 48}, 2513 }, + { {OperationResultCode_names + 10550, 52}, 2511 }, + { {OperationResultCode_names + 10602, 38}, 2515 }, + { {OperationResultCode_names + 10640, 55}, 2512 }, + { {OperationResultCode_names + 10695, 45}, 2506 }, + { {OperationResultCode_names + 10740, 46}, 2507 }, + { {OperationResultCode_names + 10786, 56}, 2502 }, + { {OperationResultCode_names + 10842, 47}, 2509 }, + { {OperationResultCode_names + 10889, 43}, 2508 }, + { {OperationResultCode_names + 10932, 31}, 2516 }, + { {OperationResultCode_names + 10963, 29}, 4568 }, + { {OperationResultCode_names + 10992, 60}, 4609 }, + { {OperationResultCode_names + 11052, 45}, 4500 }, + { {OperationResultCode_names + 11097, 37}, 4571 }, + { {OperationResultCode_names + 11134, 44}, 4504 }, + { {OperationResultCode_names + 11178, 42}, 4572 }, + { {OperationResultCode_names + 11220, 49}, 4515 }, + { {OperationResultCode_names + 11269, 29}, 4518 }, + { {OperationResultCode_names + 11298, 30}, 4579 }, + { {OperationResultCode_names + 11328, 38}, 4536 }, + { {OperationResultCode_names + 11366, 43}, 4570 }, + { {OperationResultCode_names + 11409, 36}, 4578 }, + { {OperationResultCode_names + 11445, 48}, 4501 }, + { {OperationResultCode_names + 11493, 44}, 4585 }, + { {OperationResultCode_names + 11537, 35}, 4592 }, + { {OperationResultCode_names + 11572, 43}, 4506 }, + { {OperationResultCode_names + 11615, 35}, 4530 }, + { {OperationResultCode_names + 11650, 23}, 4520 }, + { {OperationResultCode_names + 11673, 37}, 4538 }, + { {OperationResultCode_names + 11710, 41}, 4563 }, + { {OperationResultCode_names + 11751, 37}, 4602 }, + { {OperationResultCode_names + 11788, 38}, 4606 }, + { {OperationResultCode_names + 11826, 37}, 4591 }, + { {OperationResultCode_names + 11863, 25}, 4567 }, + { {OperationResultCode_names + 11888, 27}, 4605 }, + { {OperationResultCode_names + 11915, 32}, 4503 }, + { {OperationResultCode_names + 11947, 35}, 4514 }, + { {OperationResultCode_names + 11982, 48}, 4588 }, + { {OperationResultCode_names + 12030, 45}, 4552 }, + { {OperationResultCode_names + 12075, 40}, 4532 }, + { {OperationResultCode_names + 12115, 40}, 4535 }, + { {OperationResultCode_names + 12155, 48}, 4547 }, + { {OperationResultCode_names + 12203, 60}, 4556 }, + { {OperationResultCode_names + 12263, 56}, 4558 }, + { {OperationResultCode_names + 12319, 60}, 4557 }, + { {OperationResultCode_names + 12379, 56}, 4553 }, + { {OperationResultCode_names + 12435, 52}, 4555 }, + { {OperationResultCode_names + 12487, 56}, 4554 }, + { {OperationResultCode_names + 12543, 43}, 4559 }, + { {OperationResultCode_names + 12586, 43}, 4560 }, + { {OperationResultCode_names + 12629, 37}, 4561 }, + { {OperationResultCode_names + 12666, 41}, 4562 }, + { {OperationResultCode_names + 12707, 49}, 4586 }, + { {OperationResultCode_names + 12756, 46}, 4505 }, + { {OperationResultCode_names + 12802, 26}, 4519 }, + { {OperationResultCode_names + 12828, 40}, 4537 }, + { {OperationResultCode_names + 12868, 29}, 4566 }, + { {OperationResultCode_names + 12897, 44}, 4507 }, + { {OperationResultCode_names + 12941, 36}, 4531 }, + { {OperationResultCode_names + 12977, 24}, 4525 }, + { {OperationResultCode_names + 13001, 38}, 4539 }, + { {OperationResultCode_names + 13039, 41}, 4593 }, + { {OperationResultCode_names + 13080, 28}, 4594 }, + { {OperationResultCode_names + 13108, 42}, 4564 }, + { {OperationResultCode_names + 13150, 30}, 4569 }, + { {OperationResultCode_names + 13180, 31}, 4607 }, + { {OperationResultCode_names + 13211, 27}, 4587 }, + { {OperationResultCode_names + 13238, 37}, 4573 }, + { {OperationResultCode_names + 13275, 44}, 4508 }, + { {OperationResultCode_names + 13319, 30}, 4577 }, + { {OperationResultCode_names + 13349, 24}, 4522 }, + { {OperationResultCode_names + 13373, 35}, 4601 }, + { {OperationResultCode_names + 13408, 56}, 4608 }, + { {OperationResultCode_names + 13464, 29}, 4603 }, + { {OperationResultCode_names + 13493, 28}, 4604 }, + { {OperationResultCode_names + 13521, 35}, 4590 }, + { {OperationResultCode_names + 13556, 37}, 4576 }, + { {OperationResultCode_names + 13593, 44}, 4513 }, + { {OperationResultCode_names + 13637, 30}, 4582 }, + { {OperationResultCode_names + 13667, 24}, 4521 }, + { {OperationResultCode_names + 13691, 30}, 4583 }, + { {OperationResultCode_names + 13721, 35}, 4502 }, + { {OperationResultCode_names + 13756, 48}, 4512 }, + { {OperationResultCode_names + 13804, 34}, 4584 }, + { {OperationResultCode_names + 13838, 38}, 4589 }, + { {OperationResultCode_names + 13876, 28}, 4524 }, + { {OperationResultCode_names + 13904, 42}, 4540 }, + { {OperationResultCode_names + 13946, 37}, 4599 }, + { {OperationResultCode_names + 13983, 44}, 4575 }, + { {OperationResultCode_names + 14027, 51}, 4509 }, + { {OperationResultCode_names + 14078, 37}, 4581 }, + { {OperationResultCode_names + 14115, 31}, 4523 }, + { {OperationResultCode_names + 14146, 45}, 4541 }, + { {OperationResultCode_names + 14191, 42}, 4600 }, + { {OperationResultCode_names + 14233, 52}, 4511 }, + { {OperationResultCode_names + 14285, 39}, 4516 }, + { {OperationResultCode_names + 14324, 41}, 4533 }, + { {OperationResultCode_names + 14365, 32}, 4527 }, + { {OperationResultCode_names + 14397, 32}, 4529 }, + { {OperationResultCode_names + 14429, 28}, 4528 }, + { {OperationResultCode_names + 14457, 46}, 4546 }, + { {OperationResultCode_names + 14503, 48}, 4549 }, + { {OperationResultCode_names + 14551, 48}, 4551 }, + { {OperationResultCode_names + 14599, 51}, 4596 }, + { {OperationResultCode_names + 14650, 43}, 4595 }, + { {OperationResultCode_names + 14693, 54}, 4545 }, + { {OperationResultCode_names + 14747, 54}, 4542 }, + { {OperationResultCode_names + 14801, 53}, 4510 }, + { {OperationResultCode_names + 14854, 40}, 4517 }, + { {OperationResultCode_names + 14894, 52}, 4544 }, + { {OperationResultCode_names + 14946, 44}, 4534 }, + { {OperationResultCode_names + 14990, 33}, 4526 }, + { {OperationResultCode_names + 15023, 49}, 4548 }, + { {OperationResultCode_names + 15072, 49}, 4550 }, + { {OperationResultCode_names + 15121, 52}, 4598 }, + { {OperationResultCode_names + 15173, 44}, 4597 }, + { {OperationResultCode_names + 15217, 55}, 4543 }, + { {OperationResultCode_names + 15272, 42}, 4574 }, + { {OperationResultCode_names + 15314, 35}, 4580 }, + { {OperationResultCode_names + 15349, 32}, 4565 }, }; static const int OperationResultCode_entries_by_number[] = { - 100, // 0 -> DETAIL_UNKNOWN - 99, // 1 -> DETAIL_SUCCESS - 17, // 500 -> CLIENT_CANCELLATION_REMOTE_IN_CANCELED_STATE - 13, // 501 -> CLIENT_CANCELLATION_LOCAL_CANCEL_PAYLOAD - 15, // 502 -> CLIENT_CANCELLATION_REMOTE_CANCEL_PAYLOAD - 18, // 503 -> CLIENT_CANCELLATION_UPGRADE_CANCELED_BY_REMOTE - 1, // 504 -> CLIENT_CANCELLATION_CANCEL_BLE_OUTGOING_CONNECTION - 2, // 505 -> CLIENT_CANCELLATION_CANCEL_BT_OUTGOING_CONNECTION - 4, // 506 -> CLIENT_CANCELLATION_CANCEL_L2CAP_OUTGOING_CONNECTION - 5, // 507 -> CLIENT_CANCELLATION_CANCEL_LAN_OUTGOING_CONNECTION - 6, // 508 -> CLIENT_CANCELLATION_CANCEL_NFC_OUTGOING_CONNECTION - 8, // 509 -> CLIENT_CANCELLATION_CANCEL_USB_OUTGOING_CONNECTION - 10, // 510 -> CLIENT_CANCELLATION_CANCEL_WIFI_AWARE_OUTGOING_CONNECTION - 11, // 511 -> CLIENT_CANCELLATION_CANCEL_WIFI_DIRECT_OUTGOING_CONNECTION - 12, // 512 -> CLIENT_CANCELLATION_CANCEL_WIFI_HOTSPOT_OUTGOING_CONNECTION - 9, // 513 -> CLIENT_CANCELLATION_CANCEL_WEB_RTC_OUTGOING_CONNECTION - 7, // 514 -> CLIENT_CANCELLATION_CANCEL_OUTGOING_CONNECTION - 3, // 515 -> CLIENT_CANCELLATION_CANCEL_INCOMING_CONNECTION - 20, // 516 -> CLIENT_CANCELLATION_WIFI_AWARE_SERVER_SOCKET_CREATION - 21, // 517 -> CLIENT_CANCELLATION_WIFI_DIRECT_SERVER_SOCKET_CREATION - 22, // 518 -> CLIENT_CANCELLATION_WIFI_HOTSPOT_SERVER_SOCKET_CREATION - 0, // 519 -> CLIENT_CANCELLATION_BT_SERVER_SOCKET_CREATION - 19, // 520 -> CLIENT_CANCELLATION_WEB_RTC_SERVER_SOCKET_CREATION - 23, // 521 -> CLIENT_CANCELLATION_WIFI_LAN_SERVER_SOCKET_CREATION - 14, // 522 -> CLIENT_CANCELLATION_LOCAL_DISCONNECT - 16, // 523 -> CLIENT_CANCELLATION_REMOTE_DISCONNECT - 101, // 1000 -> DEVICE_STATE_ERROR_UNFINISHED_UPGRADE_ATTEMPTS - 102, // 1001 -> DEVICE_STATE_ERROR_USER_HOTSPOT_ENABLED - 103, // 1002 -> DEVICE_STATE_LOCATION_DISABLED - 104, // 1003 -> DEVICE_STATE_RADIO_DISABLING_FAILURE - 105, // 1004 -> DEVICE_STATE_RADIO_ENABLING_FAILURE - 153, // 1500 -> MEDIUM_UNAVAILABLE_WIFI_AWARE_RESOURCE_NOT_AVAILABLE - 127, // 1501 -> MEDIUM_UNAVAILABLE_DIRECT_HOTSPOT_NOT_SUPPORT - 138, // 1502 -> MEDIUM_UNAVAILABLE_SOFT_AP_NOT_SUPPORT - 132, // 1503 -> MEDIUM_UNAVAILABLE_LOCAL_ONLY_HOTSPOT_NOT_SUPPORT - 133, // 1504 -> MEDIUM_UNAVAILABLE_LOCAL_ONLY_HOTSPOT_NOT_SUPPORT_5G - 124, // 1505 -> MEDIUM_UNAVAILABLE_BLE_NOT_AVAILABLE - 128, // 1506 -> MEDIUM_UNAVAILABLE_L2CAP_NOT_AVAILABLE - 125, // 1507 -> MEDIUM_UNAVAILABLE_BLUETOOTH_NOT_AVAILABLE - 149, // 1508 -> MEDIUM_UNAVAILABLE_WEB_RTC_NOT_AVAILABLE - 152, // 1509 -> MEDIUM_UNAVAILABLE_WIFI_AWARE_NOT_AVAILABLE - 158, // 1510 -> MEDIUM_UNAVAILABLE_WIFI_HOTSPOT_NOT_AVAILABLE - 155, // 1511 -> MEDIUM_UNAVAILABLE_WIFI_DIRECT_NOT_AVAILABLE - 135, // 1512 -> MEDIUM_UNAVAILABLE_NFC_NOT_AVAILABLE - 130, // 1513 -> MEDIUM_UNAVAILABLE_LAN_NOT_AVAILABLE - 147, // 1514 -> MEDIUM_UNAVAILABLE_USB_NOT_AVAILABLE - 123, // 1515 -> MEDIUM_UNAVAILABLE_BLE_NC_LOGICAL_NOT_AVAILABLE - 126, // 1516 -> MEDIUM_UNAVAILABLE_BT_NC_LOGICAL_NOT_AVAILABLE - 129, // 1517 -> MEDIUM_UNAVAILABLE_LAN_NC_LOGICAL_NOT_AVAILABLE - 134, // 1518 -> MEDIUM_UNAVAILABLE_NFC_NC_LOGICAL_NOT_AVAILABLE - 146, // 1519 -> MEDIUM_UNAVAILABLE_USB_NC_LOGICAL_NOT_AVAILABLE - 148, // 1520 -> MEDIUM_UNAVAILABLE_WEB_RTC_NC_LOGICAL_NOT_AVAILABLE - 151, // 1521 -> MEDIUM_UNAVAILABLE_WIFI_AWARE_NC_LOGICAL_NOT_AVAILABLE - 157, // 1522 -> MEDIUM_UNAVAILABLE_WIFI_HOTSPOT_NC_LOGICAL_NOT_AVAILABLE - 154, // 1523 -> MEDIUM_UNAVAILABLE_WIFI_DIRECT_NC_LOGICAL_NOT_AVAILABLE - 159, // 1524 -> MEDIUM_UNAVAILABLE_WIFI_HOTSPOT_P2P_RESOURCE_NOT_AVAILABLE - 156, // 1525 -> MEDIUM_UNAVAILABLE_WIFI_DIRECT_P2P_RESOURCE_NOT_AVAILABLE - 140, // 1526 -> MEDIUM_UNAVAILABLE_UPGRADE_SKIP_BLE_LOW_QUALITY_MEDIUMS - 142, // 1527 -> MEDIUM_UNAVAILABLE_UPGRADE_SKIP_L2CAP_LOW_QUALITY_MEDIUMS - 145, // 1528 -> MEDIUM_UNAVAILABLE_UPGRADE_SKIP_WEB_RTC_LOW_QUALITY_MEDIUMS - 143, // 1529 -> MEDIUM_UNAVAILABLE_UPGRADE_SKIP_LAN_LOW_QUALITY_MEDIUMS - 141, // 1530 -> MEDIUM_UNAVAILABLE_UPGRADE_SKIP_BT_LOW_QUALITY_MEDIUMS - 144, // 1531 -> MEDIUM_UNAVAILABLE_UPGRADE_SKIP_USB_LOW_QUALITY_MEDIUMS - 131, // 1532 -> MEDIUM_UNAVAILABLE_LOCAL_ONLY_HOTSPOT_DISRUPTIVE_FALSE - 137, // 1533 -> MEDIUM_UNAVAILABLE_SOFT_AP_DISRUPTIVE_FALSE - 121, // 1534 -> MEDIUM_UNAVAILABLE_ALREADY_HAVE_A_WIFI_DIRECT_GROUP - 122, // 1535 -> MEDIUM_UNAVAILABLE_ALREADY_HOSTING_HOTSPOT_FOR_OTHER_CLIENTS - 136, // 1536 -> MEDIUM_UNAVAILABLE_REJECT_L2CAP_ON_GATT_MULTIPLEX_CONNECTION - 139, // 1537 -> MEDIUM_UNAVAILABLE_UPGRADE_ON_SAME_MEDIUM - 150, // 1538 -> MEDIUM_UNAVAILABLE_WEB_RTC_NO_INTERNET - 39, // 2000 -> CLIENT_WIFI_DIRECT_ALREADY_HOSTING_DIRECT_GROUP_FOR_THIS_CLIENT - 40, // 2001 -> CLIENT_WIFI_HOTSPOT_ALREADY_HOSTING_HOTSPOT_FOR_THIS_CLIENT - 24, // 2002 -> CLIENT_DUPLICATE_ACCEPTING_BLE_CONNECTION_REQUEST - 26, // 2003 -> CLIENT_DUPLICATE_ACCEPTING_L2CAP_CONNECTION_REQUEST - 25, // 2004 -> CLIENT_DUPLICATE_ACCEPTING_BT_CONNECTION_REQUEST - 27, // 2005 -> CLIENT_DUPLICATE_ACCEPTING_LAN_CONNECTION_REQUEST - 28, // 2006 -> CLIENT_DUPLICATE_ACCEPTING_NFC_CONNECTION_REQUEST - 30, // 2007 -> CLIENT_DUPLICATE_ACCEPTING_WEB_RTC_CONNECTION_REQUEST - 31, // 2008 -> CLIENT_DUPLICATE_ACCEPTING_WIFI_AWARE_CONNECTION_REQUEST - 33, // 2009 -> CLIENT_DUPLICATE_ACCEPTING_WIFI_HOTSPOT_CONNECTION_REQUEST - 32, // 2010 -> CLIENT_DUPLICATE_ACCEPTING_WIFI_DIRECT_CONNECTION_REQUEST - 29, // 2011 -> CLIENT_DUPLICATE_ACCEPTING_USB_CONNECTION_REQUEST - 34, // 2012 -> CLIENT_DUPLICATE_WIFI_AWARE_CONNECTION_REQUEST - 36, // 2013 -> CLIENT_DUPLICATE_WIFI_DIRECT_CONNECTION_REQUEST - 37, // 2014 -> CLIENT_DUPLICATE_WIFI_HOTSPOT_CONNECTION_REQUEST - 35, // 2015 -> CLIENT_DUPLICATE_WIFI_AWARE_SUBSCRIBING_REQUEST - 38, // 2016 -> CLIENT_UNSUPPORTED_USB_TO_BE_UPGRADE_MEDIUM - 161, // 2500 -> MISCELLEANEOUS_BLUETOOTH_MAC_ADDRESS_NULL - 165, // 2501 -> MISCELLEANEOUS_MOVE_TO_NEW_MEDIUM - 171, // 2502 -> MISCELLEANEOUS_WIFI_HOTSPOT_SOFT_AP_BLOCKED_BY_PROVISION - 160, // 2503 -> MISCELLEANEOUS_BLE_SYSTEM_SERVICE_NULL - 164, // 2504 -> MISCELLEANEOUS_L2CAP_SYSTEM_SERVICE_NULL - 163, // 2505 -> MISCELLEANEOUS_BT_SYSTEM_SERVICE_NULL - 169, // 2506 -> MISCELLEANEOUS_WIFI_AWARE_SYSTEM_SERVICE_NULL - 170, // 2507 -> MISCELLEANEOUS_WIFI_DIRECT_SYSTEM_SERVICE_NULL - 173, // 2508 -> MISCELLEANEOUS_WIFI_LAN_SYSTEM_SERVICE_NULL - 172, // 2509 -> MISCELLEANEOUS_WIFI_HOTSPOT_SYSTEM_SERVICE_NULL - 162, // 2510 -> MISCELLEANEOUS_BT_NOT_ACCEPTING_CONNECTION_FOR_WORK_PROFILE - 167, // 2511 -> MISCELLEANEOUS_WEB_RTC_GET_DROIDGUARD_RESULT_FAILURE - 168, // 2512 -> MISCELLEANEOUS_WEB_RTC_TACHYON_SIGNALING_MESSENGER_NULL - 166, // 2513 -> MISCELLEANEOUS_WEB_RTC_FAILED_TO_RECEIVE_MESSAGE - 116, // 3000 -> IO_FILE_OPENING_ERROR - 117, // 3001 -> IO_FILE_READING_ERROR - 118, // 3002 -> IO_FILE_WRITING_ERROR - 119, // 3003 -> IO_FOLDER_CREATION_ERROR - 120, // 3004 -> IO_STREAM_CREATE_PIPE_FAILURE - 106, // 3005 -> IO_ENDPOINT_IO_ERROR_ON_BLE - 107, // 3006 -> IO_ENDPOINT_IO_ERROR_ON_BLE_L2CAP - 108, // 3007 -> IO_ENDPOINT_IO_ERROR_ON_BT - 112, // 3008 -> IO_ENDPOINT_IO_ERROR_ON_WEB_RTC - 109, // 3009 -> IO_ENDPOINT_IO_ERROR_ON_LAN - 114, // 3010 -> IO_ENDPOINT_IO_ERROR_ON_WIFI_DIRECT - 115, // 3011 -> IO_ENDPOINT_IO_ERROR_ON_WIFI_HOTSPOT - 113, // 3012 -> IO_ENDPOINT_IO_ERROR_ON_WIFI_AWARE - 110, // 3013 -> IO_ENDPOINT_IO_ERROR_ON_NFC - 111, // 3014 -> IO_ENDPOINT_IO_ERROR_ON_USB - 71, // 3500 -> CONNECTIVITY_WIFI_AWARE_ATTACH_FAILURE - 44, // 3501 -> CONNECTIVITY_BLUETOOTH_DEVICE_OBTAIN_FAILURE - 41, // 3502 -> CONNECTIVITY_BLE_CLIENT_SOCKET_CREATION_FAILURE - 54, // 3503 -> CONNECTIVITY_L2CAP_CLIENT_SOCKET_CREATION_FAILURE - 46, // 3504 -> CONNECTIVITY_BT_CLIENT_SOCKET_CREATION_FAILURE - 59, // 3505 -> CONNECTIVITY_LAN_CLIENT_SOCKET_CREATION_FAILURE - 63, // 3506 -> CONNECTIVITY_NFC_CLIENT_SOCKET_CREATION_FAILURE - 66, // 3507 -> CONNECTIVITY_WEB_RTC_CLIENT_SOCKET_CREATION_FAILURE - 72, // 3508 -> CONNECTIVITY_WIFI_AWARE_CLIENT_SOCKET_CREATION_FAILURE - 88, // 3509 -> CONNECTIVITY_WIFI_HOTSPOT_CLIENT_SOCKET_CREATION_FAILURE - 81, // 3510 -> CONNECTIVITY_WIFI_DIRECT_CLIENT_SOCKET_CREATION_FAILURE - 65, // 3511 -> CONNECTIVITY_USB_CLIENT_SOCKET_CREATION_FAILURE - 67, // 3512 -> CONNECTIVITY_WEB_RTC_CONNECT_TO_TACHYON_FAILURE - 42, // 3513 -> CONNECTIVITY_BLE_CREATE_GATT_CONNECTION_FAILURE - 75, // 3514 -> CONNECTIVITY_WIFI_AWARE_GET_REMOTE_IP_FRAME_FAILURE - 74, // 3515 -> CONNECTIVITY_WIFI_AWARE_GET_REMOTE_IP_ADDRESS_FAILURE - 83, // 3516 -> CONNECTIVITY_WIFI_DIRECT_INCONSISTENT_HOSTED_WIFI_BAND - 90, // 3517 -> CONNECTIVITY_WIFI_HOTSPOT_INCONSISTENT_HOSTED_WIFI_BAND - 45, // 3518 -> CONNECTIVITY_BLUETOOTH_INVALID_CREDENTIAL - 97, // 3519 -> CONNECTIVITY_WIFI_LAN_INVALID_CREDENTIAL - 84, // 3520 -> CONNECTIVITY_WIFI_DIRECT_INVALID_CREDENTIAL - 91, // 3521 -> CONNECTIVITY_WIFI_HOTSPOT_INVALID_CREDENTIAL - 76, // 3522 -> CONNECTIVITY_WIFI_AWARE_INVALID_CREDENTIAL - 68, // 3523 -> CONNECTIVITY_WEB_RTC_INVALID_CREDENTIAL - 98, // 3524 -> CONNECTIVITY_WIFI_LAN_IP_ADDRESS_ERROR - 53, // 3525 -> CONNECTIVITY_L2CAP_CLIENT_OBTAIN_FAIURE - 56, // 3526 -> CONNECTIVITY_L2CAP_DATA_CONNECTION_FAILURE - 77, // 3527 -> CONNECTIVITY_WIFI_AWARE_L2MESSAGE_NETWORK_AVAILABLE_FRAME_NULL - 78, // 3528 -> CONNECTIVITY_WIFI_AWARE_L2MESSAGE_SEND_HOST_NETWORK_FRAME_FAILURE - 62, // 3529 -> CONNECTIVITY_LAN_UNREACHABLE - 92, // 3530 -> CONNECTIVITY_WIFI_HOTSPOT_LOHS_CREATION_FAILURE - 60, // 3531 -> CONNECTIVITY_LAN_GET_NETWORK_INTERFACES_FAILURE - 82, // 3532 -> CONNECTIVITY_WIFI_DIRECT_GET_NETWORK_INTERFACES_FAILURE - 89, // 3533 -> CONNECTIVITY_WIFI_HOTSPOT_GET_NETWORK_INTERFACES_FAILURE - 93, // 3534 -> CONNECTIVITY_WIFI_HOTSPOT_P2P_CHANNEL_INITIALIZE_FAILURE - 85, // 3535 -> CONNECTIVITY_WIFI_DIRECT_P2P_CHANNEL_INITIALIZE_FAILURE - 94, // 3536 -> CONNECTIVITY_WIFI_HOTSPOT_P2P_GROUP_CREATION_FAILURE - 86, // 3537 -> CONNECTIVITY_WIFI_DIRECT_P2P_GROUP_CREATION_FAILURE - 49, // 3538 -> CONNECTIVITY_GATT_SERVER_OPEN_FAILURE - 43, // 3539 -> CONNECTIVITY_BLE_SERVER_SOCKET_CREATION_FAILURE - 57, // 3540 -> CONNECTIVITY_L2CAP_SERVER_SOCKET_CREATION_FAILURE - 47, // 3541 -> CONNECTIVITY_BT_SERVER_SOCKET_CREATION_FAILURE - 61, // 3542 -> CONNECTIVITY_LAN_SERVER_SOCKET_CREATION_FAILURE - 69, // 3543 -> CONNECTIVITY_WEB_RTC_SERVER_SOCKET_CREATION_FAILURE - 79, // 3544 -> CONNECTIVITY_WIFI_AWARE_SERVER_SOCKET_CREATION_FAILURE - 95, // 3545 -> CONNECTIVITY_WIFI_HOTSPOT_SERVER_SOCKET_CREATION_FAILURE - 87, // 3546 -> CONNECTIVITY_WIFI_DIRECT_SERVER_SOCKET_CREATION_FAILURE - 64, // 3547 -> CONNECTIVITY_NFC_SERVER_SOCKET_CREATION_FAILURE - 96, // 3548 -> CONNECTIVITY_WIFI_HOTSPOT_SOFT_AP_CREATION_FAILURE - 80, // 3549 -> CONNECTIVITY_WIFI_AWARE_UPDATE_PUBLISH_FAILURE - 52, // 3550 -> CONNECTIVITY_GENERIC_WRITING_CHANNEL_IO_ERROR - 51, // 3551 -> CONNECTIVITY_GENERIC_WRITE_CLIENT_INTRODUCTION_ACK_IO_ERROR - 73, // 3552 -> CONNECTIVITY_WIFI_AWARE_DISCOVERED_PEER_NULL - 50, // 3553 -> CONNECTIVITY_GENERIC_PAYLOAD_SENT_ERROR - 58, // 3554 -> CONNECTIVITY_L2CAP_SERVER_SOCKET_CREATION_SECURITY_EXCEPTION_FAILURE - 48, // 3555 -> CONNECTIVITY_BT_SERVER_SOCKET_CREATION_SECURITY_EXCEPTION_FAILURE - 55, // 3556 -> CONNECTIVITY_L2CAP_CLIENT_SOCKET_CREATION_TIMEOUT_FAILURE - 70, // 3557 -> CONNECTIVITY_WEB_RTC_UNSATISFIED_LINK_ERROR - 174, // 4500 -> NEARBY_BLE_ADVERTISEMENT_MAPPING_TO_MAC_ERROR - 179, // 4501 -> NEARBY_BLUETOOTH_MAC_ADDRESS_INVALID_FOR_CONNECT - 214, // 4502 -> NEARBY_WEB_RTC_CONNECTION_FLOW_NULL - 185, // 4503 -> NEARBY_GENERIC_CONNECTION_CLOSED - 175, // 4504 -> NEARBY_BLE_ENDPOINT_CHANNEL_CREATION_FAILURE - 201, // 4505 -> NEARBY_L2CAP_ENDPOINT_CHANNEL_CREATION_FAILURE - 180, // 4506 -> NEARBY_BT_ENDPOINT_CHANNEL_CREATION_FAILURE - 205, // 4507 -> NEARBY_LAN_ENDPOINT_CHANNEL_CREATION_FAILURE - 210, // 4508 -> NEARBY_NFC_ENDPOINT_CHANNEL_CREATION_FAILURE - 218, // 4509 -> NEARBY_WIFI_AWARE_ENDPOINT_CHANNEL_CREATION_FAILURE - 232, // 4510 -> NEARBY_WIFI_HOTSPOT_ENDPOINT_CHANNEL_CREATION_FAILURE - 221, // 4511 -> NEARBY_WIFI_DIRECT_ENDPOINT_CHANNEL_CREATION_FAILURE - 215, // 4512 -> NEARBY_WEB_RTC_ENDPOINT_CHANNEL_CREATION_FAILURE - 212, // 4513 -> NEARBY_USB_ENDPOINT_CHANNEL_CREATION_FAILURE - 186, // 4514 -> NEARBY_GENERIC_ENDPOINT_UNENCRYPTED - 176, // 4515 -> NEARBY_BLE_GATT_ADVERTISEMENT_NULL_FOR_CONNECTION - 222, // 4516 -> NEARBY_WIFI_DIRECT_HOST_ON_SRD_CHANNELS - 233, // 4517 -> NEARBY_WIFI_HOTSPOT_HOST_ON_SRD_CHANNELS - 177, // 4518 -> NEARBY_BLE_GATT_NULL_CALLBACK - 202, // 4519 -> NEARBY_L2CAP_NULL_CALLBACK - 182, // 4520 -> NEARBY_BT_NULL_CALLBACK - 213, // 4521 -> NEARBY_USB_NULL_CALLBACK - 211, // 4522 -> NEARBY_NFC_NULL_CALLBACK - 219, // 4523 -> NEARBY_WIFI_AWARE_NULL_CALLBACK - 216, // 4524 -> NEARBY_WEB_RTC_NULL_CALLBACK - 207, // 4525 -> NEARBY_LAN_NULL_CALLBACK - 236, // 4526 -> NEARBY_WIFI_HOTSPOT_NULL_CALLBACK - 224, // 4527 -> NEARBY_WIFI_DIRECT_NULL_CALLBACK - 226, // 4528 -> NEARBY_WIFI_DIRECT_NULL_SSID - 225, // 4529 -> NEARBY_WIFI_DIRECT_NULL_PASSWORD - 181, // 4530 -> NEARBY_BT_MULTIPLEX_SOCKET_DISABLED - 206, // 4531 -> NEARBY_LAN_MULTIPLEX_SOCKET_DISABLED - 188, // 4532 -> NEARBY_GENERIC_NEW_ENDPOINT_CHANNEL_NULL - 223, // 4533 -> NEARBY_WIFI_DIRECT_NO_GROUP_FOR_LISTENING - 235, // 4534 -> NEARBY_WIFI_HOTSPOT_NO_HOTSPOT_FOR_LISTENING - 189, // 4535 -> NEARBY_GENERIC_OLD_ENDPOINT_CHANNEL_NULL - 178, // 4536 -> NEARBY_BLE_OPERATION_REGISTERED_FAILED - 203, // 4537 -> NEARBY_L2CAP_OPERATION_REGISTERED_FAILED - 183, // 4538 -> NEARBY_BT_OPERATION_REGISTERED_FAILED - 208, // 4539 -> NEARBY_LAN_OPERATION_REGISTERED_FAILED - 217, // 4540 -> NEARBY_WEB_RTC_OPERATION_REGISTERED_FAILED - 220, // 4541 -> NEARBY_WIFI_AWARE_OPERATION_REGISTERED_FAILED - 231, // 4542 -> NEARBY_WIFI_HOTSPOT_DIRECT_OPERATION_REGISTERED_FAILED - 239, // 4543 -> NEARBY_WIFI_HOTSPOT_SOFT_AP_OPERATION_REGISTERED_FAILED - 234, // 4544 -> NEARBY_WIFI_HOTSPOT_LOHS_OPERATION_REGISTERED_FAILED - 230, // 4545 -> NEARBY_WIFI_HOTSPOT_CLIENT_OPERATION_REGISTERED_FAILED - 227, // 4546 -> NEARBY_WIFI_DIRECT_OPERATION_REGISTERED_FAILED - 190, // 4547 -> NEARBY_GENERIC_OUTGOING_PAYLOAD_CREATION_FAILURE - 237, // 4548 -> NEARBY_WIFI_HOTSPOT_P2P_NON_DBS_WANT_2G_BUT_AP_5G - 228, // 4549 -> NEARBY_WIFI_DIRECT_P2P_NON_DBS_WANT_2G_BUT_AP_5G - 238, // 4550 -> NEARBY_WIFI_HOTSPOT_P2P_NON_DBS_WANT_5G_BUT_AP_2G - 229, // 4551 -> NEARBY_WIFI_DIRECT_P2P_NON_DBS_WANT_5G_BUT_AP_2G - 187, // 4552 -> NEARBY_GENERIC_INCOMING_PAYLOAD_NOT_DATA_TYPE - 194, // 4553 -> NEARBY_GENERIC_READ_CLIENT_INTRODUCTION_EVENT_TYPE_ERROR - 196, // 4554 -> NEARBY_GENERIC_READ_CLIENT_INTRODUCTION_FRAME_TYPE_ERROR - 195, // 4555 -> NEARBY_GENERIC_READ_CLIENT_INTRODUCTION_FORMAT_ERROR - 191, // 4556 -> NEARBY_GENERIC_READ_CLIENT_INTRODUCTION_ACK_EVENT_TYPE_ERROR - 193, // 4557 -> NEARBY_GENERIC_READ_CLIENT_INTRODUCTION_ACK_FRAME_TYPE_ERROR - 192, // 4558 -> NEARBY_GENERIC_READ_CLIENT_INTRODUCTION_ACK_FORMAT_ERROR - 197, // 4559 -> NEARBY_GENERIC_REMOTE_ENDPOINT_STATUS_ERROR - 198, // 4560 -> NEARBY_GENERIC_REMOTE_REPORT_PAYLOADS_ERROR - 199, // 4561 -> NEARBY_GENERIC_REMOTE_UPGRADE_FAILURE - 200, // 4562 -> NEARBY_GENERIC_SEND_PAYLOAD_EXECUTOR_NULL - 184, // 4563 -> NEARBY_BT_VIRTUAL_SOCKET_CREATION_FAILURE - 209, // 4564 -> NEARBY_LAN_VIRTUAL_SOCKET_CREATION_FAILURE - 240, // 4565 -> NEARBY_WIFI_LAN_IP_ADDRESS_ERROR - 204, // 4566 -> NEARBY_L2CAP_PSM_NOT_POSITIVE + 163, // 0 -> DETAIL_UNKNOWN + 162, // 1 -> DETAIL_SUCCESS + 24, // 500 -> CLIENT_CANCELLATION_REMOTE_IN_CANCELED_STATE + 20, // 501 -> CLIENT_CANCELLATION_LOCAL_CANCEL_PAYLOAD + 22, // 502 -> CLIENT_CANCELLATION_REMOTE_CANCEL_PAYLOAD + 25, // 503 -> CLIENT_CANCELLATION_UPGRADE_CANCELED_BY_REMOTE + 8, // 504 -> CLIENT_CANCELLATION_CANCEL_BLE_OUTGOING_CONNECTION + 9, // 505 -> CLIENT_CANCELLATION_CANCEL_BT_OUTGOING_CONNECTION + 11, // 506 -> CLIENT_CANCELLATION_CANCEL_L2CAP_OUTGOING_CONNECTION + 12, // 507 -> CLIENT_CANCELLATION_CANCEL_LAN_OUTGOING_CONNECTION + 13, // 508 -> CLIENT_CANCELLATION_CANCEL_NFC_OUTGOING_CONNECTION + 15, // 509 -> CLIENT_CANCELLATION_CANCEL_USB_OUTGOING_CONNECTION + 17, // 510 -> CLIENT_CANCELLATION_CANCEL_WIFI_AWARE_OUTGOING_CONNECTION + 18, // 511 -> CLIENT_CANCELLATION_CANCEL_WIFI_DIRECT_OUTGOING_CONNECTION + 19, // 512 -> CLIENT_CANCELLATION_CANCEL_WIFI_HOTSPOT_OUTGOING_CONNECTION + 16, // 513 -> CLIENT_CANCELLATION_CANCEL_WEB_RTC_OUTGOING_CONNECTION + 14, // 514 -> CLIENT_CANCELLATION_CANCEL_OUTGOING_CONNECTION + 10, // 515 -> CLIENT_CANCELLATION_CANCEL_INCOMING_CONNECTION + 27, // 516 -> CLIENT_CANCELLATION_WIFI_AWARE_SERVER_SOCKET_CREATION + 28, // 517 -> CLIENT_CANCELLATION_WIFI_DIRECT_SERVER_SOCKET_CREATION + 29, // 518 -> CLIENT_CANCELLATION_WIFI_HOTSPOT_SERVER_SOCKET_CREATION + 7, // 519 -> CLIENT_CANCELLATION_BT_SERVER_SOCKET_CREATION + 26, // 520 -> CLIENT_CANCELLATION_WEB_RTC_SERVER_SOCKET_CREATION + 30, // 521 -> CLIENT_CANCELLATION_WIFI_LAN_SERVER_SOCKET_CREATION + 21, // 522 -> CLIENT_CANCELLATION_LOCAL_DISCONNECT + 23, // 523 -> CLIENT_CANCELLATION_REMOTE_DISCONNECT + 164, // 1000 -> DEVICE_STATE_ERROR_UNFINISHED_UPGRADE_ATTEMPTS + 165, // 1001 -> DEVICE_STATE_ERROR_USER_HOTSPOT_ENABLED + 166, // 1002 -> DEVICE_STATE_LOCATION_DISABLED + 167, // 1003 -> DEVICE_STATE_RADIO_DISABLING_FAILURE + 168, // 1004 -> DEVICE_STATE_RADIO_ENABLING_FAILURE + 224, // 1500 -> MEDIUM_UNAVAILABLE_WIFI_AWARE_RESOURCE_NOT_AVAILABLE + 191, // 1501 -> MEDIUM_UNAVAILABLE_DIRECT_HOTSPOT_NOT_SUPPORT + 207, // 1502 -> MEDIUM_UNAVAILABLE_SOFT_AP_NOT_SUPPORT + 198, // 1503 -> MEDIUM_UNAVAILABLE_LOCAL_ONLY_HOTSPOT_NOT_SUPPORT + 199, // 1504 -> MEDIUM_UNAVAILABLE_LOCAL_ONLY_HOTSPOT_NOT_SUPPORT_5G + 187, // 1505 -> MEDIUM_UNAVAILABLE_BLE_NOT_AVAILABLE + 193, // 1506 -> MEDIUM_UNAVAILABLE_L2CAP_NOT_AVAILABLE + 188, // 1507 -> MEDIUM_UNAVAILABLE_BLUETOOTH_NOT_AVAILABLE + 220, // 1508 -> MEDIUM_UNAVAILABLE_WEB_RTC_NOT_AVAILABLE + 223, // 1509 -> MEDIUM_UNAVAILABLE_WIFI_AWARE_NOT_AVAILABLE + 229, // 1510 -> MEDIUM_UNAVAILABLE_WIFI_HOTSPOT_NOT_AVAILABLE + 226, // 1511 -> MEDIUM_UNAVAILABLE_WIFI_DIRECT_NOT_AVAILABLE + 202, // 1512 -> MEDIUM_UNAVAILABLE_NFC_NOT_AVAILABLE + 196, // 1513 -> MEDIUM_UNAVAILABLE_LAN_NOT_AVAILABLE + 218, // 1514 -> MEDIUM_UNAVAILABLE_USB_NOT_AVAILABLE + 186, // 1515 -> MEDIUM_UNAVAILABLE_BLE_NC_LOGICAL_NOT_AVAILABLE + 190, // 1516 -> MEDIUM_UNAVAILABLE_BT_NC_LOGICAL_NOT_AVAILABLE + 195, // 1517 -> MEDIUM_UNAVAILABLE_LAN_NC_LOGICAL_NOT_AVAILABLE + 201, // 1518 -> MEDIUM_UNAVAILABLE_NFC_NC_LOGICAL_NOT_AVAILABLE + 217, // 1519 -> MEDIUM_UNAVAILABLE_USB_NC_LOGICAL_NOT_AVAILABLE + 219, // 1520 -> MEDIUM_UNAVAILABLE_WEB_RTC_NC_LOGICAL_NOT_AVAILABLE + 222, // 1521 -> MEDIUM_UNAVAILABLE_WIFI_AWARE_NC_LOGICAL_NOT_AVAILABLE + 228, // 1522 -> MEDIUM_UNAVAILABLE_WIFI_HOTSPOT_NC_LOGICAL_NOT_AVAILABLE + 225, // 1523 -> MEDIUM_UNAVAILABLE_WIFI_DIRECT_NC_LOGICAL_NOT_AVAILABLE + 230, // 1524 -> MEDIUM_UNAVAILABLE_WIFI_HOTSPOT_P2P_RESOURCE_NOT_AVAILABLE + 227, // 1525 -> MEDIUM_UNAVAILABLE_WIFI_DIRECT_P2P_RESOURCE_NOT_AVAILABLE + 211, // 1526 -> MEDIUM_UNAVAILABLE_UPGRADE_SKIP_BLE_LOW_QUALITY_MEDIUMS + 213, // 1527 -> MEDIUM_UNAVAILABLE_UPGRADE_SKIP_L2CAP_LOW_QUALITY_MEDIUMS + 216, // 1528 -> MEDIUM_UNAVAILABLE_UPGRADE_SKIP_WEB_RTC_LOW_QUALITY_MEDIUMS + 214, // 1529 -> MEDIUM_UNAVAILABLE_UPGRADE_SKIP_LAN_LOW_QUALITY_MEDIUMS + 212, // 1530 -> MEDIUM_UNAVAILABLE_UPGRADE_SKIP_BT_LOW_QUALITY_MEDIUMS + 215, // 1531 -> MEDIUM_UNAVAILABLE_UPGRADE_SKIP_USB_LOW_QUALITY_MEDIUMS + 197, // 1532 -> MEDIUM_UNAVAILABLE_LOCAL_ONLY_HOTSPOT_DISRUPTIVE_FALSE + 206, // 1533 -> MEDIUM_UNAVAILABLE_SOFT_AP_DISRUPTIVE_FALSE + 184, // 1534 -> MEDIUM_UNAVAILABLE_ALREADY_HAVE_A_WIFI_DIRECT_GROUP + 185, // 1535 -> MEDIUM_UNAVAILABLE_ALREADY_HOSTING_HOTSPOT_FOR_OTHER_CLIENTS + 205, // 1536 -> MEDIUM_UNAVAILABLE_REJECT_L2CAP_ON_GATT_MULTIPLEX_CONNECTION + 210, // 1537 -> MEDIUM_UNAVAILABLE_UPGRADE_ON_SAME_MEDIUM + 221, // 1538 -> MEDIUM_UNAVAILABLE_WEB_RTC_NO_INTERNET + 208, // 1539 -> MEDIUM_UNAVAILABLE_STA_DISRUPTIVE_FALSE + 209, // 1540 -> MEDIUM_UNAVAILABLE_STA_USER_NOT_ALLOW + 192, // 1541 -> MEDIUM_UNAVAILABLE_DUPLICATE_FAST_ADVERTISING + 203, // 1542 -> MEDIUM_UNAVAILABLE_NSD_NOT_AVAILABLE + 200, // 1543 -> MEDIUM_UNAVAILABLE_MDNS_NOT_AVAILABLE + 194, // 1544 -> MEDIUM_UNAVAILABLE_LAN_BLOCKED + 204, // 1545 -> MEDIUM_UNAVAILABLE_POOR_SIGNAL + 189, // 1546 -> MEDIUM_UNAVAILABLE_BT_MULTIPLEX_DISABLED + 55, // 2000 -> CLIENT_WIFI_DIRECT_ALREADY_HOSTING_DIRECT_GROUP_FOR_THIS_CLIENT + 56, // 2001 -> CLIENT_WIFI_HOTSPOT_ALREADY_HOSTING_HOTSPOT_FOR_THIS_CLIENT + 32, // 2002 -> CLIENT_DUPLICATE_ACCEPTING_BLE_CONNECTION_REQUEST + 34, // 2003 -> CLIENT_DUPLICATE_ACCEPTING_L2CAP_CONNECTION_REQUEST + 33, // 2004 -> CLIENT_DUPLICATE_ACCEPTING_BT_CONNECTION_REQUEST + 35, // 2005 -> CLIENT_DUPLICATE_ACCEPTING_LAN_CONNECTION_REQUEST + 36, // 2006 -> CLIENT_DUPLICATE_ACCEPTING_NFC_CONNECTION_REQUEST + 38, // 2007 -> CLIENT_DUPLICATE_ACCEPTING_WEB_RTC_CONNECTION_REQUEST + 39, // 2008 -> CLIENT_DUPLICATE_ACCEPTING_WIFI_AWARE_CONNECTION_REQUEST + 41, // 2009 -> CLIENT_DUPLICATE_ACCEPTING_WIFI_HOTSPOT_CONNECTION_REQUEST + 40, // 2010 -> CLIENT_DUPLICATE_ACCEPTING_WIFI_DIRECT_CONNECTION_REQUEST + 37, // 2011 -> CLIENT_DUPLICATE_ACCEPTING_USB_CONNECTION_REQUEST + 42, // 2012 -> CLIENT_DUPLICATE_WIFI_AWARE_CONNECTION_REQUEST + 44, // 2013 -> CLIENT_DUPLICATE_WIFI_DIRECT_CONNECTION_REQUEST + 45, // 2014 -> CLIENT_DUPLICATE_WIFI_HOTSPOT_CONNECTION_REQUEST + 43, // 2015 -> CLIENT_DUPLICATE_WIFI_AWARE_SUBSCRIBING_REQUEST + 52, // 2016 -> CLIENT_UNSUPPORTED_USB_TO_BE_UPGRADE_MEDIUM + 51, // 2017 -> CLIENT_PROCESS_TIE_BREAK_LOSS + 2, // 2018 -> CLIENT_BLE_DUPLICATE_ADVERTISING + 5, // 2019 -> CLIENT_BLUETOOTH_DUPLICATE_ADVERTISING + 47, // 2020 -> CLIENT_NFC_DUPLICATE_ADVERTISING + 57, // 2021 -> CLIENT_WIFI_LAN_DUPLICATE_ADVERTISING + 53, // 2022 -> CLIENT_USB_DUPLICATE_ADVERTISING + 3, // 2023 -> CLIENT_BLE_DUPLICATE_DISCOVERING + 6, // 2024 -> CLIENT_BLUETOOTH_DUPLICATE_DISCOVERING + 48, // 2025 -> CLIENT_NFC_DUPLICATE_DISCOVERING + 58, // 2026 -> CLIENT_WIFI_LAN_DUPLICATE_DISCOVERING + 54, // 2027 -> CLIENT_USB_DUPLICATE_DISCOVERING + 50, // 2028 -> CLIENT_PERMISSION_FAILURE + 4, // 2029 -> CLIENT_BLE_NO_LISTENING + 1, // 2030 -> CLIENT_ALREADY_CONNECTED_TO_TARGET + 46, // 2031 -> CLIENT_FAILED_INCOMING_CONNECTION_DUE_TO_TOPOLOGICAL_LIMIT + 49, // 2032 -> CLIENT_OUT_OF_ORDER_API_CALL + 59, // 2033 -> CLIENT_WRONG_CONNECTING_PERMISSIONS + 0, // 2034 -> CLIENT_ALREADY_CONNECTED_TO_ENDPOINT + 31, // 2035 -> CLIENT_CONNECT_TO_UNKNOWN_ENDPOINT + 233, // 2500 -> MISCELLEANEOUS_BLUETOOTH_MAC_ADDRESS_NULL + 237, // 2501 -> MISCELLEANEOUS_MOVE_TO_NEW_MEDIUM + 244, // 2502 -> MISCELLEANEOUS_WIFI_HOTSPOT_SOFT_AP_BLOCKED_BY_PROVISION + 231, // 2503 -> MISCELLEANEOUS_BLE_SYSTEM_SERVICE_NULL + 236, // 2504 -> MISCELLEANEOUS_L2CAP_SYSTEM_SERVICE_NULL + 235, // 2505 -> MISCELLEANEOUS_BT_SYSTEM_SERVICE_NULL + 242, // 2506 -> MISCELLEANEOUS_WIFI_AWARE_SYSTEM_SERVICE_NULL + 243, // 2507 -> MISCELLEANEOUS_WIFI_DIRECT_SYSTEM_SERVICE_NULL + 246, // 2508 -> MISCELLEANEOUS_WIFI_LAN_SYSTEM_SERVICE_NULL + 245, // 2509 -> MISCELLEANEOUS_WIFI_HOTSPOT_SYSTEM_SERVICE_NULL + 234, // 2510 -> MISCELLEANEOUS_BT_NOT_ACCEPTING_CONNECTION_FOR_WORK_PROFILE + 239, // 2511 -> MISCELLEANEOUS_WEB_RTC_GET_DROIDGUARD_RESULT_FAILURE + 241, // 2512 -> MISCELLEANEOUS_WEB_RTC_TACHYON_SIGNALING_MESSENGER_NULL + 238, // 2513 -> MISCELLEANEOUS_WEB_RTC_FAILED_TO_RECEIVE_MESSAGE + 232, // 2514 -> MISCELLEANEOUS_BLUETOOTH_CHANGE_DEVICE_NAME_FAILURE + 240, // 2515 -> MISCELLEANEOUS_WEB_RTC_ICE_SERVER_NULL + 247, // 2516 -> MISCELLEANEOUS_WORK_SOURCE_NULL + 179, // 3000 -> IO_FILE_OPENING_ERROR + 180, // 3001 -> IO_FILE_READING_ERROR + 181, // 3002 -> IO_FILE_WRITING_ERROR + 182, // 3003 -> IO_FOLDER_CREATION_ERROR + 183, // 3004 -> IO_STREAM_CREATE_PIPE_FAILURE + 169, // 3005 -> IO_ENDPOINT_IO_ERROR_ON_BLE + 170, // 3006 -> IO_ENDPOINT_IO_ERROR_ON_BLE_L2CAP + 171, // 3007 -> IO_ENDPOINT_IO_ERROR_ON_BT + 175, // 3008 -> IO_ENDPOINT_IO_ERROR_ON_WEB_RTC + 172, // 3009 -> IO_ENDPOINT_IO_ERROR_ON_LAN + 177, // 3010 -> IO_ENDPOINT_IO_ERROR_ON_WIFI_DIRECT + 178, // 3011 -> IO_ENDPOINT_IO_ERROR_ON_WIFI_HOTSPOT + 176, // 3012 -> IO_ENDPOINT_IO_ERROR_ON_WIFI_AWARE + 173, // 3013 -> IO_ENDPOINT_IO_ERROR_ON_NFC + 174, // 3014 -> IO_ENDPOINT_IO_ERROR_ON_USB + 125, // 3500 -> CONNECTIVITY_WIFI_AWARE_ATTACH_FAILURE + 69, // 3501 -> CONNECTIVITY_BLUETOOTH_DEVICE_OBTAIN_FAILURE + 62, // 3502 -> CONNECTIVITY_BLE_CLIENT_SOCKET_CREATION_FAILURE + 99, // 3503 -> CONNECTIVITY_L2CAP_CLIENT_SOCKET_CREATION_FAILURE + 73, // 3504 -> CONNECTIVITY_BT_CLIENT_SOCKET_CREATION_FAILURE + 104, // 3505 -> CONNECTIVITY_LAN_CLIENT_SOCKET_CREATION_FAILURE + 111, // 3506 -> CONNECTIVITY_NFC_CLIENT_SOCKET_CREATION_FAILURE + 116, // 3507 -> CONNECTIVITY_WEB_RTC_CLIENT_SOCKET_CREATION_FAILURE + 126, // 3508 -> CONNECTIVITY_WIFI_AWARE_CLIENT_SOCKET_CREATION_FAILURE + 145, // 3509 -> CONNECTIVITY_WIFI_HOTSPOT_CLIENT_SOCKET_CREATION_FAILURE + 137, // 3510 -> CONNECTIVITY_WIFI_DIRECT_CLIENT_SOCKET_CREATION_FAILURE + 114, // 3511 -> CONNECTIVITY_USB_CLIENT_SOCKET_CREATION_FAILURE + 117, // 3512 -> CONNECTIVITY_WEB_RTC_CONNECT_TO_TACHYON_FAILURE + 63, // 3513 -> CONNECTIVITY_BLE_CREATE_GATT_CONNECTION_FAILURE + 129, // 3514 -> CONNECTIVITY_WIFI_AWARE_GET_REMOTE_IP_FRAME_FAILURE + 128, // 3515 -> CONNECTIVITY_WIFI_AWARE_GET_REMOTE_IP_ADDRESS_FAILURE + 139, // 3516 -> CONNECTIVITY_WIFI_DIRECT_INCONSISTENT_HOSTED_WIFI_BAND + 147, // 3517 -> CONNECTIVITY_WIFI_HOTSPOT_INCONSISTENT_HOSTED_WIFI_BAND + 70, // 3518 -> CONNECTIVITY_BLUETOOTH_INVALID_CREDENTIAL + 156, // 3519 -> CONNECTIVITY_WIFI_LAN_INVALID_CREDENTIAL + 140, // 3520 -> CONNECTIVITY_WIFI_DIRECT_INVALID_CREDENTIAL + 148, // 3521 -> CONNECTIVITY_WIFI_HOTSPOT_INVALID_CREDENTIAL + 130, // 3522 -> CONNECTIVITY_WIFI_AWARE_INVALID_CREDENTIAL + 118, // 3523 -> CONNECTIVITY_WEB_RTC_INVALID_CREDENTIAL + 157, // 3524 -> CONNECTIVITY_WIFI_LAN_IP_ADDRESS_ERROR + 98, // 3525 -> CONNECTIVITY_L2CAP_CLIENT_OBTAIN_FAIURE + 101, // 3526 -> CONNECTIVITY_L2CAP_DATA_CONNECTION_FAILURE + 131, // 3527 -> CONNECTIVITY_WIFI_AWARE_L2MESSAGE_NETWORK_AVAILABLE_FRAME_NULL + 132, // 3528 -> CONNECTIVITY_WIFI_AWARE_L2MESSAGE_SEND_HOST_NETWORK_FRAME_FAILURE + 108, // 3529 -> CONNECTIVITY_LAN_UNREACHABLE + 150, // 3530 -> CONNECTIVITY_WIFI_HOTSPOT_LOHS_CREATION_FAILURE + 105, // 3531 -> CONNECTIVITY_LAN_GET_NETWORK_INTERFACES_FAILURE + 138, // 3532 -> CONNECTIVITY_WIFI_DIRECT_GET_NETWORK_INTERFACES_FAILURE + 146, // 3533 -> CONNECTIVITY_WIFI_HOTSPOT_GET_NETWORK_INTERFACES_FAILURE + 151, // 3534 -> CONNECTIVITY_WIFI_HOTSPOT_P2P_CHANNEL_INITIALIZE_FAILURE + 141, // 3535 -> CONNECTIVITY_WIFI_DIRECT_P2P_CHANNEL_INITIALIZE_FAILURE + 152, // 3536 -> CONNECTIVITY_WIFI_HOTSPOT_P2P_GROUP_CREATION_FAILURE + 143, // 3537 -> CONNECTIVITY_WIFI_DIRECT_P2P_GROUP_CREATION_FAILURE + 93, // 3538 -> CONNECTIVITY_GATT_SERVER_OPEN_FAILURE + 65, // 3539 -> CONNECTIVITY_BLE_SERVER_SOCKET_CREATION_FAILURE + 102, // 3540 -> CONNECTIVITY_L2CAP_SERVER_SOCKET_CREATION_FAILURE + 77, // 3541 -> CONNECTIVITY_BT_SERVER_SOCKET_CREATION_FAILURE + 107, // 3542 -> CONNECTIVITY_LAN_SERVER_SOCKET_CREATION_FAILURE + 119, // 3543 -> CONNECTIVITY_WEB_RTC_SERVER_SOCKET_CREATION_FAILURE + 133, // 3544 -> CONNECTIVITY_WIFI_AWARE_SERVER_SOCKET_CREATION_FAILURE + 153, // 3545 -> CONNECTIVITY_WIFI_HOTSPOT_SERVER_SOCKET_CREATION_FAILURE + 144, // 3546 -> CONNECTIVITY_WIFI_DIRECT_SERVER_SOCKET_CREATION_FAILURE + 112, // 3547 -> CONNECTIVITY_NFC_SERVER_SOCKET_CREATION_FAILURE + 154, // 3548 -> CONNECTIVITY_WIFI_HOTSPOT_SOFT_AP_CREATION_FAILURE + 136, // 3549 -> CONNECTIVITY_WIFI_AWARE_UPDATE_PUBLISH_FAILURE + 96, // 3550 -> CONNECTIVITY_GENERIC_WRITING_CHANNEL_IO_ERROR + 95, // 3551 -> CONNECTIVITY_GENERIC_WRITE_CLIENT_INTRODUCTION_ACK_IO_ERROR + 127, // 3552 -> CONNECTIVITY_WIFI_AWARE_DISCOVERED_PEER_NULL + 94, // 3553 -> CONNECTIVITY_GENERIC_PAYLOAD_SENT_ERROR + 103, // 3554 -> CONNECTIVITY_L2CAP_SERVER_SOCKET_CREATION_SECURITY_EXCEPTION_FAILURE + 78, // 3555 -> CONNECTIVITY_BT_SERVER_SOCKET_CREATION_SECURITY_EXCEPTION_FAILURE + 100, // 3556 -> CONNECTIVITY_L2CAP_CLIENT_SOCKET_CREATION_TIMEOUT_FAILURE + 120, // 3557 -> CONNECTIVITY_WEB_RTC_UNSATISFIED_LINK_ERROR + 92, // 3558 -> CONNECTIVITY_DIRECT_GROUP_MCC_FAILURE + 81, // 3559 -> CONNECTIVITY_CHANNEL_IO_ERROR_ON_BLE + 82, // 3560 -> CONNECTIVITY_CHANNEL_IO_ERROR_ON_BLE_L2CAP + 83, // 3561 -> CONNECTIVITY_CHANNEL_IO_ERROR_ON_BT + 88, // 3562 -> CONNECTIVITY_CHANNEL_IO_ERROR_ON_WEB_RTC + 84, // 3563 -> CONNECTIVITY_CHANNEL_IO_ERROR_ON_LAN + 90, // 3564 -> CONNECTIVITY_CHANNEL_IO_ERROR_ON_WIFI_DIRECT + 91, // 3565 -> CONNECTIVITY_CHANNEL_IO_ERROR_ON_WIFI_HOTSPOT + 89, // 3566 -> CONNECTIVITY_CHANNEL_IO_ERROR_ON_WIFI_AWARE + 85, // 3567 -> CONNECTIVITY_CHANNEL_IO_ERROR_ON_NFC + 87, // 3568 -> CONNECTIVITY_CHANNEL_IO_ERROR_ON_USB + 86, // 3569 -> CONNECTIVITY_CHANNEL_IO_ERROR_ON_UNKNOWN_MEDIUM + 80, // 3570 -> CONNECTIVITY_BT_SOCKET_CREATION_IO_EXCEPTION + 79, // 3571 -> CONNECTIVITY_BT_SOCKET_CONNECT_IO_EXCEPTION + 75, // 3572 -> CONNECTIVITY_BT_CONNECTION_INTERRUPTED_EXCEPTION + 74, // 3573 -> CONNECTIVITY_BT_CONNECTION_EXECUTION_EXCEPTION + 76, // 3574 -> CONNECTIVITY_BT_CONNECTION_TIMEOUT_EXCEPTION + 142, // 3575 -> CONNECTIVITY_WIFI_DIRECT_P2P_CONNECTION_FAILURE + 123, // 3576 -> CONNECTIVITY_WFD_CONNECTION_INTERRUPTED_EXCEPTION + 121, // 3577 -> CONNECTIVITY_WFD_CONNECTION_EXECUTION_EXCEPTION + 124, // 3578 -> CONNECTIVITY_WFD_CONNECTION_TIMEOUT_EXCEPTION + 122, // 3579 -> CONNECTIVITY_WFD_CONNECTION_HOSTED_ADDRESS_NULL + 155, // 3580 -> CONNECTIVITY_WIFI_HOTSPOT_SPECIFIER_FAILURE + 149, // 3581 -> CONNECTIVITY_WIFI_HOTSPOT_LEGACY_STA_CONNECTION_FAILURE + 159, // 3582 -> CONNECTIVITY_WIFI_LAN_SOCKET_CONNECT_TIMEOUT + 158, // 3583 -> CONNECTIVITY_WIFI_LAN_SOCKET_CONNECT_IO_EXCEPTION + 67, // 3584 -> CONNECTIVITY_BLE_START_GATT_SERVER_FAILURE + 61, // 3585 -> CONNECTIVITY_BLE_ADD_GATT_ADVERTISEMENT_FAILURE + 66, // 3586 -> CONNECTIVITY_BLE_START_ADVERTISING_FAILURE + 72, // 3587 -> CONNECTIVITY_BLUETOOTH_START_ADVERTISING_FAILURE + 160, // 3588 -> CONNECTIVITY_WIFI_LAN_START_ADVERTISING_FAILURE + 134, // 3589 -> CONNECTIVITY_WIFI_AWARE_START_ADVERTISING_FAILURE + 71, // 3590 -> CONNECTIVITY_BLUETOOTH_SCAN_FAILURE + 64, // 3591 -> CONNECTIVITY_BLE_SCAN_FAILURE + 109, // 3592 -> CONNECTIVITY_MDNS_SCAN_FAILURE + 113, // 3593 -> CONNECTIVITY_NFC_START_DISCOVERY_FAILURE + 161, // 3594 -> CONNECTIVITY_WIFI_LAN_START_DISCOVERY_FAILURE + 135, // 3595 -> CONNECTIVITY_WIFI_AWARE_START_DISCOVERY_FAILURE + 115, // 3596 -> CONNECTIVITY_UWB_START_DISCOVERY_FAILURE + 106, // 3597 -> CONNECTIVITY_LAN_MDNS_REGISTER_FAILURE + 68, // 3598 -> CONNECTIVITY_BLUETOOTH_CHANGE_SCAN_MODE_FAILURE + 60, // 3599 -> CONNECTIVITY_AUTO_RESUME_FAILURE + 97, // 3600 -> CONNECTIVITY_INSTANT_CONNECTION_LISTENING_TIMEOUT + 110, // 3601 -> CONNECTIVITY_MEDIUM_INVALID_CREDENTIAL + 250, // 4500 -> NEARBY_BLE_ADVERTISEMENT_MAPPING_TO_MAC_ERROR + 260, // 4501 -> NEARBY_BLUETOOTH_MAC_ADDRESS_INVALID_FOR_CONNECT + 319, // 4502 -> NEARBY_WEB_RTC_CONNECTION_FLOW_NULL + 273, // 4503 -> NEARBY_GENERIC_CONNECTION_CLOSED + 252, // 4504 -> NEARBY_BLE_ENDPOINT_CHANNEL_CREATION_FAILURE + 291, // 4505 -> NEARBY_L2CAP_ENDPOINT_CHANNEL_CREATION_FAILURE + 263, // 4506 -> NEARBY_BT_ENDPOINT_CHANNEL_CREATION_FAILURE + 295, // 4507 -> NEARBY_LAN_ENDPOINT_CHANNEL_CREATION_FAILURE + 306, // 4508 -> NEARBY_NFC_ENDPOINT_CHANNEL_CREATION_FAILURE + 327, // 4509 -> NEARBY_WIFI_AWARE_ENDPOINT_CHANNEL_CREATION_FAILURE + 345, // 4510 -> NEARBY_WIFI_HOTSPOT_ENDPOINT_CHANNEL_CREATION_FAILURE + 332, // 4511 -> NEARBY_WIFI_DIRECT_ENDPOINT_CHANNEL_CREATION_FAILURE + 320, // 4512 -> NEARBY_WEB_RTC_ENDPOINT_CHANNEL_CREATION_FAILURE + 315, // 4513 -> NEARBY_USB_ENDPOINT_CHANNEL_CREATION_FAILURE + 274, // 4514 -> NEARBY_GENERIC_ENDPOINT_UNENCRYPTED + 254, // 4515 -> NEARBY_BLE_GATT_ADVERTISEMENT_NULL_FOR_CONNECTION + 333, // 4516 -> NEARBY_WIFI_DIRECT_HOST_ON_SRD_CHANNELS + 346, // 4517 -> NEARBY_WIFI_HOTSPOT_HOST_ON_SRD_CHANNELS + 255, // 4518 -> NEARBY_BLE_GATT_NULL_CALLBACK + 292, // 4519 -> NEARBY_L2CAP_NULL_CALLBACK + 265, // 4520 -> NEARBY_BT_NULL_CALLBACK + 317, // 4521 -> NEARBY_USB_NULL_CALLBACK + 308, // 4522 -> NEARBY_NFC_NULL_CALLBACK + 329, // 4523 -> NEARBY_WIFI_AWARE_NULL_CALLBACK + 323, // 4524 -> NEARBY_WEB_RTC_NULL_CALLBACK + 297, // 4525 -> NEARBY_LAN_NULL_CALLBACK + 349, // 4526 -> NEARBY_WIFI_HOTSPOT_NULL_CALLBACK + 335, // 4527 -> NEARBY_WIFI_DIRECT_NULL_CALLBACK + 337, // 4528 -> NEARBY_WIFI_DIRECT_NULL_SSID + 336, // 4529 -> NEARBY_WIFI_DIRECT_NULL_PASSWORD + 264, // 4530 -> NEARBY_BT_MULTIPLEX_SOCKET_DISABLED + 296, // 4531 -> NEARBY_LAN_MULTIPLEX_SOCKET_DISABLED + 277, // 4532 -> NEARBY_GENERIC_NEW_ENDPOINT_CHANNEL_NULL + 334, // 4533 -> NEARBY_WIFI_DIRECT_NO_GROUP_FOR_LISTENING + 348, // 4534 -> NEARBY_WIFI_HOTSPOT_NO_HOTSPOT_FOR_LISTENING + 278, // 4535 -> NEARBY_GENERIC_OLD_ENDPOINT_CHANNEL_NULL + 257, // 4536 -> NEARBY_BLE_OPERATION_REGISTERED_FAILED + 293, // 4537 -> NEARBY_L2CAP_OPERATION_REGISTERED_FAILED + 266, // 4538 -> NEARBY_BT_OPERATION_REGISTERED_FAILED + 298, // 4539 -> NEARBY_LAN_OPERATION_REGISTERED_FAILED + 324, // 4540 -> NEARBY_WEB_RTC_OPERATION_REGISTERED_FAILED + 330, // 4541 -> NEARBY_WIFI_AWARE_OPERATION_REGISTERED_FAILED + 344, // 4542 -> NEARBY_WIFI_HOTSPOT_DIRECT_OPERATION_REGISTERED_FAILED + 354, // 4543 -> NEARBY_WIFI_HOTSPOT_SOFT_AP_OPERATION_REGISTERED_FAILED + 347, // 4544 -> NEARBY_WIFI_HOTSPOT_LOHS_OPERATION_REGISTERED_FAILED + 343, // 4545 -> NEARBY_WIFI_HOTSPOT_CLIENT_OPERATION_REGISTERED_FAILED + 338, // 4546 -> NEARBY_WIFI_DIRECT_OPERATION_REGISTERED_FAILED + 279, // 4547 -> NEARBY_GENERIC_OUTGOING_PAYLOAD_CREATION_FAILURE + 350, // 4548 -> NEARBY_WIFI_HOTSPOT_P2P_NON_DBS_WANT_2G_BUT_AP_5G + 339, // 4549 -> NEARBY_WIFI_DIRECT_P2P_NON_DBS_WANT_2G_BUT_AP_5G + 351, // 4550 -> NEARBY_WIFI_HOTSPOT_P2P_NON_DBS_WANT_5G_BUT_AP_2G + 340, // 4551 -> NEARBY_WIFI_DIRECT_P2P_NON_DBS_WANT_5G_BUT_AP_2G + 276, // 4552 -> NEARBY_GENERIC_INCOMING_PAYLOAD_NOT_DATA_TYPE + 283, // 4553 -> NEARBY_GENERIC_READ_CLIENT_INTRODUCTION_EVENT_TYPE_ERROR + 285, // 4554 -> NEARBY_GENERIC_READ_CLIENT_INTRODUCTION_FRAME_TYPE_ERROR + 284, // 4555 -> NEARBY_GENERIC_READ_CLIENT_INTRODUCTION_FORMAT_ERROR + 280, // 4556 -> NEARBY_GENERIC_READ_CLIENT_INTRODUCTION_ACK_EVENT_TYPE_ERROR + 282, // 4557 -> NEARBY_GENERIC_READ_CLIENT_INTRODUCTION_ACK_FRAME_TYPE_ERROR + 281, // 4558 -> NEARBY_GENERIC_READ_CLIENT_INTRODUCTION_ACK_FORMAT_ERROR + 286, // 4559 -> NEARBY_GENERIC_REMOTE_ENDPOINT_STATUS_ERROR + 287, // 4560 -> NEARBY_GENERIC_REMOTE_REPORT_PAYLOADS_ERROR + 288, // 4561 -> NEARBY_GENERIC_REMOTE_UPGRADE_FAILURE + 289, // 4562 -> NEARBY_GENERIC_SEND_PAYLOAD_EXECUTOR_NULL + 267, // 4563 -> NEARBY_BT_VIRTUAL_SOCKET_CREATION_FAILURE + 301, // 4564 -> NEARBY_LAN_VIRTUAL_SOCKET_CREATION_FAILURE + 357, // 4565 -> NEARBY_WIFI_LAN_IP_ADDRESS_ERROR + 294, // 4566 -> NEARBY_L2CAP_PSM_NOT_POSITIVE + 271, // 4567 -> NEARBY_ENCRYPTION_FAILURE + 248, // 4568 -> NEARBY_AUTHENTICATION_FAILURE + 302, // 4569 -> NEARBY_LAN_VIRTUAL_SOCKET_NULL + 258, // 4570 -> NEARBY_BLUETOOTH_ADVERTISE_TO_BYTES_FAILURE + 251, // 4571 -> NEARBY_BLE_ADVERTISE_TO_BYTES_FAILURE + 253, // 4572 -> NEARBY_BLE_FAST_ADVERTISE_TO_BYTES_FAILURE + 305, // 4573 -> NEARBY_NFC_ADVERTISE_TO_BYTES_FAILURE + 355, // 4574 -> NEARBY_WIFI_LAN_ADVERTISE_TO_BYTES_FAILURE + 326, // 4575 -> NEARBY_WIFI_AWARE_ADVERTISE_TO_BYTES_FAILURE + 314, // 4576 -> NEARBY_USB_ADVERTISE_TO_BYTES_FAILURE + 307, // 4577 -> NEARBY_NFC_INVALID_PCP_OPTIONS + 259, // 4578 -> NEARBY_BLUETOOTH_INVALID_PCP_OPTIONS + 256, // 4579 -> NEARBY_BLE_INVALID_PCP_OPTIONS + 356, // 4580 -> NEARBY_WIFI_LAN_INVALID_PCP_OPTIONS + 328, // 4581 -> NEARBY_WIFI_AWARE_INVALID_PCP_OPTIONS + 316, // 4582 -> NEARBY_USB_INVALID_PCP_OPTIONS + 318, // 4583 -> NEARBY_UWB_INVALID_PCP_OPTIONS + 321, // 4584 -> NEARBY_WEB_RTC_INVALID_PCP_OPTIONS + 261, // 4585 -> NEARBY_BLUETOOTH_NO_CLIENT_REGISTER_FOR_SCAN + 290, // 4586 -> NEARBY_INSTANT_CONNECTION_WRONG_CONNECTIVITY_INFO + 304, // 4587 -> NEARBY_NEED_METHOD_OVERRIDE + 275, // 4588 -> NEARBY_GENERIC_INCOMING_PAYLOAD_CREATION_FAILURE + 322, // 4589 -> NEARBY_WEB_RTC_NO_LISTENING_PEER_FOUND + 313, // 4590 -> NEARBY_UPGRADE_PATH_ON_WRONG_MEDIUM + 270, // 4591 -> NEARBY_CONNECT_TO_ALL_MEDIUMS_FAILURE + 262, // 4592 -> NEARBY_BLUETOOTH_RECONNECT_MAC_NULL + 299, // 4593 -> NEARBY_LAN_RECONNECT_CONNECTION_INFO_NULL + 300, // 4594 -> NEARBY_LAN_RECONNECT_IP_NULL + 342, // 4595 -> NEARBY_WIFI_DIRECT_RECONNECT_META_DATA_NULL + 341, // 4596 -> NEARBY_WIFI_DIRECT_RECONNECT_CONNECT_META_DATA_NULL + 353, // 4597 -> NEARBY_WIFI_HOTSPOT_RECONNECT_META_DATA_NULL + 352, // 4598 -> NEARBY_WIFI_HOTSPOT_RECONNECT_CONNECT_META_DATA_NULL + 325, // 4599 -> NEARBY_WEB_RTC_RECONNECT_PEER_ID_NULL + 331, // 4600 -> NEARBY_WIFI_AWARE_RECONNECT_META_DATA_NULL + 309, // 4601 -> NEARBY_NOT_ADVERTISING_OR_LISTENING + 268, // 4602 -> NEARBY_CAN_NOT_OBTAIN_DEVICE_PROVIDER + 311, // 4603 -> NEARBY_SETUP_STRATEGY_FAILURE + 312, // 4604 -> NEARBY_TX_ADVERTISEMENT_NULL + 272, // 4605 -> NEARBY_ENDPOINT_ID_MISMATCH + 269, // 4606 -> NEARBY_CONNECTIVITY_INFO_NULL_OR_WRONG + 303, // 4607 -> NEARBY_LOCAL_CLIENT_STATE_WRONG + 310, // 4608 -> NEARBY_REMOTE_EXCEPTION_WHEN_PROCESSING_RECEIVED_PAYLOAD + 249, // 4609 -> NEARBY_BAD_FILE_DESCRIPTION_WHEN_PROCESSING_RECEIVED_PAYLOAD }; const std::string& OperationResultCode_Name( @@ -2631,12 +3036,12 @@ const std::string& OperationResultCode_Name( ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings( OperationResultCode_entries, OperationResultCode_entries_by_number, - 241, OperationResultCode_strings); + 358, OperationResultCode_strings); (void) dummy; int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName( OperationResultCode_entries, OperationResultCode_entries_by_number, - 241, value); + 358, value); return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() : OperationResultCode_strings[idx].get(); } @@ -2644,12 +3049,122 @@ bool OperationResultCode_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, OperationResultCode* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( - OperationResultCode_entries, 241, name, &int_value); + OperationResultCode_entries, 358, name, &int_value); if (success) { *value = static_cast(int_value); } return success; } +bool StopAdvertisingReason_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} + +static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed StopAdvertisingReason_strings[3] = {}; + +static const char StopAdvertisingReason_names[] = + "CLIENT_STOP_ADVERTISING" + "FINISH_SESSION_STOP_ADVERTISING" + "STOP_ADVERTISING_REASON_UNKNOWN"; + +static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry StopAdvertisingReason_entries[] = { + { {StopAdvertisingReason_names + 0, 23}, 1 }, + { {StopAdvertisingReason_names + 23, 31}, 2 }, + { {StopAdvertisingReason_names + 54, 31}, 0 }, +}; + +static const int StopAdvertisingReason_entries_by_number[] = { + 2, // 0 -> STOP_ADVERTISING_REASON_UNKNOWN + 0, // 1 -> CLIENT_STOP_ADVERTISING + 1, // 2 -> FINISH_SESSION_STOP_ADVERTISING +}; + +const std::string& StopAdvertisingReason_Name( + StopAdvertisingReason value) { + static const bool dummy = + ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings( + StopAdvertisingReason_entries, + StopAdvertisingReason_entries_by_number, + 3, StopAdvertisingReason_strings); + (void) dummy; + int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName( + StopAdvertisingReason_entries, + StopAdvertisingReason_entries_by_number, + 3, value); + return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() : + StopAdvertisingReason_strings[idx].get(); +} +bool StopAdvertisingReason_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, StopAdvertisingReason* value) { + int int_value; + bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( + StopAdvertisingReason_entries, 3, name, &int_value); + if (success) { + *value = static_cast(int_value); + } + return success; +} +bool StopDiscoveringReason_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} + +static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed StopDiscoveringReason_strings[3] = {}; + +static const char StopDiscoveringReason_names[] = + "CLIENT_STOP_DISCOVERING" + "FINISH_SESSION_STOP_DISCOVERING" + "STOP_DISCOVERING_REASON_UNKNOWN"; + +static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry StopDiscoveringReason_entries[] = { + { {StopDiscoveringReason_names + 0, 23}, 1 }, + { {StopDiscoveringReason_names + 23, 31}, 2 }, + { {StopDiscoveringReason_names + 54, 31}, 0 }, +}; + +static const int StopDiscoveringReason_entries_by_number[] = { + 2, // 0 -> STOP_DISCOVERING_REASON_UNKNOWN + 0, // 1 -> CLIENT_STOP_DISCOVERING + 1, // 2 -> FINISH_SESSION_STOP_DISCOVERING +}; + +const std::string& StopDiscoveringReason_Name( + StopDiscoveringReason value) { + static const bool dummy = + ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings( + StopDiscoveringReason_entries, + StopDiscoveringReason_entries_by_number, + 3, StopDiscoveringReason_strings); + (void) dummy; + int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName( + StopDiscoveringReason_entries, + StopDiscoveringReason_entries_by_number, + 3, value); + return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() : + StopDiscoveringReason_strings[idx].get(); +} +bool StopDiscoveringReason_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, StopDiscoveringReason* value) { + int int_value; + bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( + StopDiscoveringReason_entries, 3, name, &int_value); + if (success) { + *value = static_cast(int_value); + } + return success; +} // @@protoc_insertion_point(namespace_scope) } // namespace connections diff --git a/compiled_proto/proto/connections_enums.pb.h b/compiled_proto/proto/connections_enums.pb.h index 3fa2fb17..daaf209c 100644 --- a/compiled_proto/proto/connections_enums.pb.h +++ b/compiled_proto/proto/connections_enums.pb.h @@ -104,52 +104,6 @@ inline const std::string& ConnectionsStrategy_Name(T enum_t_value) { } bool ConnectionsStrategy_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConnectionsStrategy* value); -enum ConnectionsClient : int { - CONNECTIONS_CLIENT_UNKNOWN = 0, - CONNECTIONS_CLIENT_NEARBY_SHARE = 1, - CONNECTIONS_CLIENT_QUICK_START = 2, - CONNECTIONS_CLIENT_OTHER_FIRST_PARTY = 3, - CONNECTIONS_CLIENT_THIRD_PARTY = 4 -}; -bool ConnectionsClient_IsValid(int value); -constexpr ConnectionsClient ConnectionsClient_MIN = CONNECTIONS_CLIENT_UNKNOWN; -constexpr ConnectionsClient ConnectionsClient_MAX = CONNECTIONS_CLIENT_THIRD_PARTY; -constexpr int ConnectionsClient_ARRAYSIZE = ConnectionsClient_MAX + 1; - -const std::string& ConnectionsClient_Name(ConnectionsClient value); -template -inline const std::string& ConnectionsClient_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function ConnectionsClient_Name."); - return ConnectionsClient_Name(static_cast(enum_t_value)); -} -bool ConnectionsClient_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConnectionsClient* value); -enum ReportedEventType : int { - NC_EVENT_TYPE_UNSPECIFIED = 0, - NC_EVENT_TYPE_START_DISCOVERY = 1, - NC_EVENT_TYPE_STOP_DISCOVERY = 2, - NC_EVENT_TYPE_ENDPOINT_FOUND = 3, - NC_EVENT_TYPE_ENDPOINT_LOST = 4, - NC_EVENT_TYPE_START_ADVERTISING = 5, - NC_EVENT_TYPE_STOP_ADVERTISING = 6 -}; -bool ReportedEventType_IsValid(int value); -constexpr ReportedEventType ReportedEventType_MIN = NC_EVENT_TYPE_UNSPECIFIED; -constexpr ReportedEventType ReportedEventType_MAX = NC_EVENT_TYPE_STOP_ADVERTISING; -constexpr int ReportedEventType_ARRAYSIZE = ReportedEventType_MAX + 1; - -const std::string& ReportedEventType_Name(ReportedEventType value); -template -inline const std::string& ReportedEventType_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function ReportedEventType_Name."); - return ReportedEventType_Name(static_cast(enum_t_value)); -} -bool ReportedEventType_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ReportedEventType* value); enum SessionRole : int { UNKNOWN_SESSION_ROLE = 0, ADVERTISER = 1, @@ -182,11 +136,12 @@ enum Medium : int { WIFI_DIRECT = 8, WEB_RTC = 9, BLE_L2CAP = 10, - USB = 11 + USB = 11, + WEB_RTC_NON_CELLULAR = 12 }; bool Medium_IsValid(int value); constexpr Medium Medium_MIN = UNKNOWN_MEDIUM; -constexpr Medium Medium_MAX = USB; +constexpr Medium Medium_MAX = WEB_RTC_NON_CELLULAR; constexpr int Medium_ARRAYSIZE = Medium_MAX + 1; const std::string& Medium_Name(Medium value); @@ -253,6 +208,25 @@ inline const std::string& ConnectionBand_Name(T enum_t_value) { } bool ConnectionBand_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConnectionBand* value); +enum ConnectionMode : int { + LEGACY = 0, + INSTANT = 1 +}; +bool ConnectionMode_IsValid(int value); +constexpr ConnectionMode ConnectionMode_MIN = LEGACY; +constexpr ConnectionMode ConnectionMode_MAX = INSTANT; +constexpr int ConnectionMode_ARRAYSIZE = ConnectionMode_MAX + 1; + +const std::string& ConnectionMode_Name(ConnectionMode value); +template +inline const std::string& ConnectionMode_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function ConnectionMode_Name."); + return ConnectionMode_Name(static_cast(enum_t_value)); +} +bool ConnectionMode_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConnectionMode* value); enum ConnectionRequestResponse : int { UNKNOWN_CONNECTION_REQUEST_RESPONSE = 0, ACCEPTED = 1, @@ -527,11 +501,15 @@ enum LogSource : int { INTERNAL_DEVICES = 2, BETA_TESTER_DEVICES = 3, OEM_DEVICES = 4, - DEBUG_DEVICES = 5 + DEBUG_DEVICES = 5, + NEARBY_MODULE_FOOD_DEVICES = 6, + BETO_DOGFOOD_DEVICES = 7, + NEARBY_DOGFOOD_DEVICES = 8, + NEARBY_TEAMFOOD_DEVICES = 9 }; bool LogSource_IsValid(int value); constexpr LogSource LogSource_MIN = UNSPECIFIED_SOURCE; -constexpr LogSource LogSource_MAX = DEBUG_DEVICES; +constexpr LogSource LogSource_MAX = NEARBY_TEAMFOOD_DEVICES; constexpr int LogSource_ARRAYSIZE = LogSource_MAX + 1; const std::string& LogSource_Name(LogSource value); @@ -664,6 +642,14 @@ enum OperationResultCode : int { MEDIUM_UNAVAILABLE_REJECT_L2CAP_ON_GATT_MULTIPLEX_CONNECTION = 1536, MEDIUM_UNAVAILABLE_UPGRADE_ON_SAME_MEDIUM = 1537, MEDIUM_UNAVAILABLE_WEB_RTC_NO_INTERNET = 1538, + MEDIUM_UNAVAILABLE_STA_DISRUPTIVE_FALSE = 1539, + MEDIUM_UNAVAILABLE_STA_USER_NOT_ALLOW = 1540, + MEDIUM_UNAVAILABLE_DUPLICATE_FAST_ADVERTISING = 1541, + MEDIUM_UNAVAILABLE_NSD_NOT_AVAILABLE = 1542, + MEDIUM_UNAVAILABLE_MDNS_NOT_AVAILABLE = 1543, + MEDIUM_UNAVAILABLE_LAN_BLOCKED = 1544, + MEDIUM_UNAVAILABLE_POOR_SIGNAL = 1545, + MEDIUM_UNAVAILABLE_BT_MULTIPLEX_DISABLED = 1546, CLIENT_WIFI_DIRECT_ALREADY_HOSTING_DIRECT_GROUP_FOR_THIS_CLIENT = 2000, CLIENT_WIFI_HOTSPOT_ALREADY_HOSTING_HOTSPOT_FOR_THIS_CLIENT = 2001, CLIENT_DUPLICATE_ACCEPTING_BLE_CONNECTION_REQUEST = 2002, @@ -681,6 +667,25 @@ enum OperationResultCode : int { CLIENT_DUPLICATE_WIFI_HOTSPOT_CONNECTION_REQUEST = 2014, CLIENT_DUPLICATE_WIFI_AWARE_SUBSCRIBING_REQUEST = 2015, CLIENT_UNSUPPORTED_USB_TO_BE_UPGRADE_MEDIUM = 2016, + CLIENT_PROCESS_TIE_BREAK_LOSS = 2017, + CLIENT_BLE_DUPLICATE_ADVERTISING = 2018, + CLIENT_BLUETOOTH_DUPLICATE_ADVERTISING = 2019, + CLIENT_NFC_DUPLICATE_ADVERTISING = 2020, + CLIENT_WIFI_LAN_DUPLICATE_ADVERTISING = 2021, + CLIENT_USB_DUPLICATE_ADVERTISING = 2022, + CLIENT_BLE_DUPLICATE_DISCOVERING = 2023, + CLIENT_BLUETOOTH_DUPLICATE_DISCOVERING = 2024, + CLIENT_NFC_DUPLICATE_DISCOVERING = 2025, + CLIENT_WIFI_LAN_DUPLICATE_DISCOVERING = 2026, + CLIENT_USB_DUPLICATE_DISCOVERING = 2027, + CLIENT_PERMISSION_FAILURE = 2028, + CLIENT_BLE_NO_LISTENING = 2029, + CLIENT_ALREADY_CONNECTED_TO_TARGET = 2030, + CLIENT_FAILED_INCOMING_CONNECTION_DUE_TO_TOPOLOGICAL_LIMIT = 2031, + CLIENT_OUT_OF_ORDER_API_CALL = 2032, + CLIENT_WRONG_CONNECTING_PERMISSIONS = 2033, + CLIENT_ALREADY_CONNECTED_TO_ENDPOINT = 2034, + CLIENT_CONNECT_TO_UNKNOWN_ENDPOINT = 2035, MISCELLEANEOUS_BLUETOOTH_MAC_ADDRESS_NULL = 2500, MISCELLEANEOUS_MOVE_TO_NEW_MEDIUM = 2501, MISCELLEANEOUS_WIFI_HOTSPOT_SOFT_AP_BLOCKED_BY_PROVISION = 2502, @@ -695,21 +700,24 @@ enum OperationResultCode : int { MISCELLEANEOUS_WEB_RTC_GET_DROIDGUARD_RESULT_FAILURE = 2511, MISCELLEANEOUS_WEB_RTC_TACHYON_SIGNALING_MESSENGER_NULL = 2512, MISCELLEANEOUS_WEB_RTC_FAILED_TO_RECEIVE_MESSAGE = 2513, + MISCELLEANEOUS_BLUETOOTH_CHANGE_DEVICE_NAME_FAILURE = 2514, + MISCELLEANEOUS_WEB_RTC_ICE_SERVER_NULL = 2515, + MISCELLEANEOUS_WORK_SOURCE_NULL = 2516, IO_FILE_OPENING_ERROR = 3000, IO_FILE_READING_ERROR = 3001, IO_FILE_WRITING_ERROR = 3002, IO_FOLDER_CREATION_ERROR = 3003, IO_STREAM_CREATE_PIPE_FAILURE = 3004, - IO_ENDPOINT_IO_ERROR_ON_BLE = 3005, - IO_ENDPOINT_IO_ERROR_ON_BLE_L2CAP = 3006, - IO_ENDPOINT_IO_ERROR_ON_BT = 3007, - IO_ENDPOINT_IO_ERROR_ON_WEB_RTC = 3008, - IO_ENDPOINT_IO_ERROR_ON_LAN = 3009, - IO_ENDPOINT_IO_ERROR_ON_WIFI_DIRECT = 3010, - IO_ENDPOINT_IO_ERROR_ON_WIFI_HOTSPOT = 3011, - IO_ENDPOINT_IO_ERROR_ON_WIFI_AWARE = 3012, - IO_ENDPOINT_IO_ERROR_ON_NFC = 3013, - IO_ENDPOINT_IO_ERROR_ON_USB = 3014, + IO_ENDPOINT_IO_ERROR_ON_BLE PROTOBUF_DEPRECATED_ENUM = 3005, + IO_ENDPOINT_IO_ERROR_ON_BLE_L2CAP PROTOBUF_DEPRECATED_ENUM = 3006, + IO_ENDPOINT_IO_ERROR_ON_BT PROTOBUF_DEPRECATED_ENUM = 3007, + IO_ENDPOINT_IO_ERROR_ON_WEB_RTC PROTOBUF_DEPRECATED_ENUM = 3008, + IO_ENDPOINT_IO_ERROR_ON_LAN PROTOBUF_DEPRECATED_ENUM = 3009, + IO_ENDPOINT_IO_ERROR_ON_WIFI_DIRECT PROTOBUF_DEPRECATED_ENUM = 3010, + IO_ENDPOINT_IO_ERROR_ON_WIFI_HOTSPOT PROTOBUF_DEPRECATED_ENUM = 3011, + IO_ENDPOINT_IO_ERROR_ON_WIFI_AWARE PROTOBUF_DEPRECATED_ENUM = 3012, + IO_ENDPOINT_IO_ERROR_ON_NFC PROTOBUF_DEPRECATED_ENUM = 3013, + IO_ENDPOINT_IO_ERROR_ON_USB PROTOBUF_DEPRECATED_ENUM = 3014, CONNECTIVITY_WIFI_AWARE_ATTACH_FAILURE = 3500, CONNECTIVITY_BLUETOOTH_DEVICE_OBTAIN_FAILURE = 3501, CONNECTIVITY_BLE_CLIENT_SOCKET_CREATION_FAILURE = 3502, @@ -768,6 +776,50 @@ enum OperationResultCode : int { CONNECTIVITY_BT_SERVER_SOCKET_CREATION_SECURITY_EXCEPTION_FAILURE = 3555, CONNECTIVITY_L2CAP_CLIENT_SOCKET_CREATION_TIMEOUT_FAILURE = 3556, CONNECTIVITY_WEB_RTC_UNSATISFIED_LINK_ERROR = 3557, + CONNECTIVITY_DIRECT_GROUP_MCC_FAILURE = 3558, + CONNECTIVITY_CHANNEL_IO_ERROR_ON_BLE = 3559, + CONNECTIVITY_CHANNEL_IO_ERROR_ON_BLE_L2CAP = 3560, + CONNECTIVITY_CHANNEL_IO_ERROR_ON_BT = 3561, + CONNECTIVITY_CHANNEL_IO_ERROR_ON_WEB_RTC = 3562, + CONNECTIVITY_CHANNEL_IO_ERROR_ON_LAN = 3563, + CONNECTIVITY_CHANNEL_IO_ERROR_ON_WIFI_DIRECT = 3564, + CONNECTIVITY_CHANNEL_IO_ERROR_ON_WIFI_HOTSPOT = 3565, + CONNECTIVITY_CHANNEL_IO_ERROR_ON_WIFI_AWARE = 3566, + CONNECTIVITY_CHANNEL_IO_ERROR_ON_NFC = 3567, + CONNECTIVITY_CHANNEL_IO_ERROR_ON_USB = 3568, + CONNECTIVITY_CHANNEL_IO_ERROR_ON_UNKNOWN_MEDIUM = 3569, + CONNECTIVITY_BT_SOCKET_CREATION_IO_EXCEPTION = 3570, + CONNECTIVITY_BT_SOCKET_CONNECT_IO_EXCEPTION = 3571, + CONNECTIVITY_BT_CONNECTION_INTERRUPTED_EXCEPTION = 3572, + CONNECTIVITY_BT_CONNECTION_EXECUTION_EXCEPTION = 3573, + CONNECTIVITY_BT_CONNECTION_TIMEOUT_EXCEPTION = 3574, + CONNECTIVITY_WIFI_DIRECT_P2P_CONNECTION_FAILURE = 3575, + CONNECTIVITY_WFD_CONNECTION_INTERRUPTED_EXCEPTION = 3576, + CONNECTIVITY_WFD_CONNECTION_EXECUTION_EXCEPTION = 3577, + CONNECTIVITY_WFD_CONNECTION_TIMEOUT_EXCEPTION = 3578, + CONNECTIVITY_WFD_CONNECTION_HOSTED_ADDRESS_NULL = 3579, + CONNECTIVITY_WIFI_HOTSPOT_SPECIFIER_FAILURE = 3580, + CONNECTIVITY_WIFI_HOTSPOT_LEGACY_STA_CONNECTION_FAILURE = 3581, + CONNECTIVITY_WIFI_LAN_SOCKET_CONNECT_TIMEOUT = 3582, + CONNECTIVITY_WIFI_LAN_SOCKET_CONNECT_IO_EXCEPTION = 3583, + CONNECTIVITY_BLE_START_GATT_SERVER_FAILURE = 3584, + CONNECTIVITY_BLE_ADD_GATT_ADVERTISEMENT_FAILURE = 3585, + CONNECTIVITY_BLE_START_ADVERTISING_FAILURE = 3586, + CONNECTIVITY_BLUETOOTH_START_ADVERTISING_FAILURE = 3587, + CONNECTIVITY_WIFI_LAN_START_ADVERTISING_FAILURE = 3588, + CONNECTIVITY_WIFI_AWARE_START_ADVERTISING_FAILURE = 3589, + CONNECTIVITY_BLUETOOTH_SCAN_FAILURE = 3590, + CONNECTIVITY_BLE_SCAN_FAILURE = 3591, + CONNECTIVITY_MDNS_SCAN_FAILURE = 3592, + CONNECTIVITY_NFC_START_DISCOVERY_FAILURE = 3593, + CONNECTIVITY_WIFI_LAN_START_DISCOVERY_FAILURE = 3594, + CONNECTIVITY_WIFI_AWARE_START_DISCOVERY_FAILURE = 3595, + CONNECTIVITY_UWB_START_DISCOVERY_FAILURE = 3596, + CONNECTIVITY_LAN_MDNS_REGISTER_FAILURE = 3597, + CONNECTIVITY_BLUETOOTH_CHANGE_SCAN_MODE_FAILURE = 3598, + CONNECTIVITY_AUTO_RESUME_FAILURE = 3599, + CONNECTIVITY_INSTANT_CONNECTION_LISTENING_TIMEOUT = 3600, + CONNECTIVITY_MEDIUM_INVALID_CREDENTIAL = 3601, NEARBY_BLE_ADVERTISEMENT_MAPPING_TO_MAC_ERROR = 4500, NEARBY_BLUETOOTH_MAC_ADDRESS_INVALID_FOR_CONNECT = 4501, NEARBY_WEB_RTC_CONNECTION_FLOW_NULL = 4502, @@ -798,7 +850,7 @@ enum OperationResultCode : int { NEARBY_WIFI_DIRECT_NULL_CALLBACK = 4527, NEARBY_WIFI_DIRECT_NULL_SSID = 4528, NEARBY_WIFI_DIRECT_NULL_PASSWORD = 4529, - NEARBY_BT_MULTIPLEX_SOCKET_DISABLED = 4530, + NEARBY_BT_MULTIPLEX_SOCKET_DISABLED PROTOBUF_DEPRECATED_ENUM = 4530, NEARBY_LAN_MULTIPLEX_SOCKET_DISABLED = 4531, NEARBY_GENERIC_NEW_ENDPOINT_CHANNEL_NULL = 4532, NEARBY_WIFI_DIRECT_NO_GROUP_FOR_LISTENING = 4533, @@ -834,11 +886,54 @@ enum OperationResultCode : int { NEARBY_BT_VIRTUAL_SOCKET_CREATION_FAILURE = 4563, NEARBY_LAN_VIRTUAL_SOCKET_CREATION_FAILURE = 4564, NEARBY_WIFI_LAN_IP_ADDRESS_ERROR = 4565, - NEARBY_L2CAP_PSM_NOT_POSITIVE = 4566 + NEARBY_L2CAP_PSM_NOT_POSITIVE = 4566, + NEARBY_ENCRYPTION_FAILURE = 4567, + NEARBY_AUTHENTICATION_FAILURE = 4568, + NEARBY_LAN_VIRTUAL_SOCKET_NULL = 4569, + NEARBY_BLUETOOTH_ADVERTISE_TO_BYTES_FAILURE = 4570, + NEARBY_BLE_ADVERTISE_TO_BYTES_FAILURE = 4571, + NEARBY_BLE_FAST_ADVERTISE_TO_BYTES_FAILURE = 4572, + NEARBY_NFC_ADVERTISE_TO_BYTES_FAILURE = 4573, + NEARBY_WIFI_LAN_ADVERTISE_TO_BYTES_FAILURE = 4574, + NEARBY_WIFI_AWARE_ADVERTISE_TO_BYTES_FAILURE = 4575, + NEARBY_USB_ADVERTISE_TO_BYTES_FAILURE = 4576, + NEARBY_NFC_INVALID_PCP_OPTIONS = 4577, + NEARBY_BLUETOOTH_INVALID_PCP_OPTIONS = 4578, + NEARBY_BLE_INVALID_PCP_OPTIONS = 4579, + NEARBY_WIFI_LAN_INVALID_PCP_OPTIONS = 4580, + NEARBY_WIFI_AWARE_INVALID_PCP_OPTIONS = 4581, + NEARBY_USB_INVALID_PCP_OPTIONS = 4582, + NEARBY_UWB_INVALID_PCP_OPTIONS = 4583, + NEARBY_WEB_RTC_INVALID_PCP_OPTIONS = 4584, + NEARBY_BLUETOOTH_NO_CLIENT_REGISTER_FOR_SCAN = 4585, + NEARBY_INSTANT_CONNECTION_WRONG_CONNECTIVITY_INFO = 4586, + NEARBY_NEED_METHOD_OVERRIDE = 4587, + NEARBY_GENERIC_INCOMING_PAYLOAD_CREATION_FAILURE = 4588, + NEARBY_WEB_RTC_NO_LISTENING_PEER_FOUND = 4589, + NEARBY_UPGRADE_PATH_ON_WRONG_MEDIUM = 4590, + NEARBY_CONNECT_TO_ALL_MEDIUMS_FAILURE = 4591, + NEARBY_BLUETOOTH_RECONNECT_MAC_NULL = 4592, + NEARBY_LAN_RECONNECT_CONNECTION_INFO_NULL = 4593, + NEARBY_LAN_RECONNECT_IP_NULL = 4594, + NEARBY_WIFI_DIRECT_RECONNECT_META_DATA_NULL = 4595, + NEARBY_WIFI_DIRECT_RECONNECT_CONNECT_META_DATA_NULL = 4596, + NEARBY_WIFI_HOTSPOT_RECONNECT_META_DATA_NULL = 4597, + NEARBY_WIFI_HOTSPOT_RECONNECT_CONNECT_META_DATA_NULL = 4598, + NEARBY_WEB_RTC_RECONNECT_PEER_ID_NULL = 4599, + NEARBY_WIFI_AWARE_RECONNECT_META_DATA_NULL = 4600, + NEARBY_NOT_ADVERTISING_OR_LISTENING = 4601, + NEARBY_CAN_NOT_OBTAIN_DEVICE_PROVIDER = 4602, + NEARBY_SETUP_STRATEGY_FAILURE = 4603, + NEARBY_TX_ADVERTISEMENT_NULL = 4604, + NEARBY_ENDPOINT_ID_MISMATCH = 4605, + 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 }; bool OperationResultCode_IsValid(int value); constexpr OperationResultCode OperationResultCode_MIN = DETAIL_UNKNOWN; -constexpr OperationResultCode OperationResultCode_MAX = NEARBY_L2CAP_PSM_NOT_POSITIVE; +constexpr OperationResultCode OperationResultCode_MAX = NEARBY_BAD_FILE_DESCRIPTION_WHEN_PROCESSING_RECEIVED_PAYLOAD; constexpr int OperationResultCode_ARRAYSIZE = OperationResultCode_MAX + 1; const std::string& OperationResultCode_Name(OperationResultCode value); @@ -851,6 +946,46 @@ inline const std::string& OperationResultCode_Name(T enum_t_value) { } bool OperationResultCode_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, OperationResultCode* value); +enum StopAdvertisingReason : int { + STOP_ADVERTISING_REASON_UNKNOWN = 0, + CLIENT_STOP_ADVERTISING = 1, + FINISH_SESSION_STOP_ADVERTISING = 2 +}; +bool StopAdvertisingReason_IsValid(int value); +constexpr StopAdvertisingReason StopAdvertisingReason_MIN = STOP_ADVERTISING_REASON_UNKNOWN; +constexpr StopAdvertisingReason StopAdvertisingReason_MAX = FINISH_SESSION_STOP_ADVERTISING; +constexpr int StopAdvertisingReason_ARRAYSIZE = StopAdvertisingReason_MAX + 1; + +const std::string& StopAdvertisingReason_Name(StopAdvertisingReason value); +template +inline const std::string& StopAdvertisingReason_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function StopAdvertisingReason_Name."); + return StopAdvertisingReason_Name(static_cast(enum_t_value)); +} +bool StopAdvertisingReason_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, StopAdvertisingReason* value); +enum StopDiscoveringReason : int { + STOP_DISCOVERING_REASON_UNKNOWN = 0, + CLIENT_STOP_DISCOVERING = 1, + FINISH_SESSION_STOP_DISCOVERING = 2 +}; +bool StopDiscoveringReason_IsValid(int value); +constexpr StopDiscoveringReason StopDiscoveringReason_MIN = STOP_DISCOVERING_REASON_UNKNOWN; +constexpr StopDiscoveringReason StopDiscoveringReason_MAX = FINISH_SESSION_STOP_DISCOVERING; +constexpr int StopDiscoveringReason_ARRAYSIZE = StopDiscoveringReason_MAX + 1; + +const std::string& StopDiscoveringReason_Name(StopDiscoveringReason value); +template +inline const std::string& StopDiscoveringReason_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function StopDiscoveringReason_Name."); + return StopDiscoveringReason_Name(static_cast(enum_t_value)); +} +bool StopDiscoveringReason_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, StopDiscoveringReason* value); // =================================================================== @@ -878,12 +1013,11 @@ PROTOBUF_NAMESPACE_OPEN template <> struct is_proto_enum< ::location::nearby::proto::connections::EventType> : ::std::true_type {}; template <> struct is_proto_enum< ::location::nearby::proto::connections::ConnectionsStrategy> : ::std::true_type {}; -template <> struct is_proto_enum< ::location::nearby::proto::connections::ConnectionsClient> : ::std::true_type {}; -template <> struct is_proto_enum< ::location::nearby::proto::connections::ReportedEventType> : ::std::true_type {}; template <> struct is_proto_enum< ::location::nearby::proto::connections::SessionRole> : ::std::true_type {}; template <> struct is_proto_enum< ::location::nearby::proto::connections::Medium> : ::std::true_type {}; template <> struct is_proto_enum< ::location::nearby::proto::connections::ConnectionTechnology> : ::std::true_type {}; template <> struct is_proto_enum< ::location::nearby::proto::connections::ConnectionBand> : ::std::true_type {}; +template <> struct is_proto_enum< ::location::nearby::proto::connections::ConnectionMode> : ::std::true_type {}; template <> struct is_proto_enum< ::location::nearby::proto::connections::ConnectionRequestResponse> : ::std::true_type {}; template <> struct is_proto_enum< ::location::nearby::proto::connections::ConnectionAttemptResult> : ::std::true_type {}; template <> struct is_proto_enum< ::location::nearby::proto::connections::ConnectionAttemptDirection> : ::std::true_type {}; @@ -898,6 +1032,8 @@ template <> struct is_proto_enum< ::location::nearby::proto::connections::LogSou template <> struct is_proto_enum< ::location::nearby::proto::connections::PowerLevel> : ::std::true_type {}; template <> struct is_proto_enum< ::location::nearby::proto::connections::OperationResultCategory> : ::std::true_type {}; 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 {}; PROTOBUF_NAMESPACE_CLOSE diff --git a/compiled_proto/proto/mediums/nfc_frames.pb.cc b/compiled_proto/proto/mediums/nfc_frames.pb.cc index 4bf6bbbf..1f7a6795 100644 --- a/compiled_proto/proto/mediums/nfc_frames.pb.cc +++ b/compiled_proto/proto/mediums/nfc_frames.pb.cc @@ -19,7 +19,8 @@ namespace mediums { constexpr AdvertisementData::AdvertisementData( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : tag_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) - , public_key_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){} + , public_key_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , rx_advertisement_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){} struct AdvertisementDataDefaultTypeInternal { constexpr AdvertisementDataDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -61,6 +62,9 @@ class AdvertisementData::_Internal { static void set_has_public_key(HasBits* has_bits) { (*has_bits)[0] |= 2u; } + static void set_has_rx_advertisement(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } }; AdvertisementData::AdvertisementData(::PROTOBUF_NAMESPACE_ID::Arena* arena, @@ -92,6 +96,14 @@ AdvertisementData::AdvertisementData(const AdvertisementData& from) public_key_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_public_key(), GetArenaForAllocation()); } + rx_advertisement_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + rx_advertisement_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_rx_advertisement()) { + rx_advertisement_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_rx_advertisement(), + GetArenaForAllocation()); + } // @@protoc_insertion_point(copy_constructor:location.nearby.mediums.AdvertisementData) } @@ -104,6 +116,10 @@ public_key_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringA #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING public_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +rx_advertisement_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + rx_advertisement_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } AdvertisementData::~AdvertisementData() { @@ -117,6 +133,7 @@ inline void AdvertisementData::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); tag_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); public_key_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + rx_advertisement_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } void AdvertisementData::ArenaDtor(void* object) { @@ -136,13 +153,16 @@ void AdvertisementData::Clear() { (void) cached_has_bits; cached_has_bits = _has_bits_[0]; - if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000007u) { if (cached_has_bits & 0x00000001u) { tag_.ClearNonDefaultToEmpty(); } if (cached_has_bits & 0x00000002u) { public_key_.ClearNonDefaultToEmpty(); } + if (cached_has_bits & 0x00000004u) { + rx_advertisement_.ClearNonDefaultToEmpty(); + } } _has_bits_.Clear(); _internal_metadata_.Clear(); @@ -173,6 +193,15 @@ const char* AdvertisementData::_InternalParse(const char* ptr, ::PROTOBUF_NAMESP } else goto handle_unusual; continue; + // optional bytes rx_advertisement = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_rx_advertisement(); + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -216,6 +245,12 @@ uint8_t* AdvertisementData::_InternalSerialize( 2, this->_internal_public_key(), target); } + // optional bytes rx_advertisement = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->WriteBytesMaybeAliased( + 3, this->_internal_rx_advertisement(), target); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = stream->WriteRaw(_internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(), static_cast(_internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target); @@ -233,7 +268,7 @@ size_t AdvertisementData::ByteSizeLong() const { (void) cached_has_bits; cached_has_bits = _has_bits_[0]; - if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000007u) { // optional bytes tag = 1; if (cached_has_bits & 0x00000001u) { total_size += 1 + @@ -248,6 +283,13 @@ size_t AdvertisementData::ByteSizeLong() const { this->_internal_public_key()); } + // optional bytes rx_advertisement = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_rx_advertisement()); + } + } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { total_size += _internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size(); @@ -270,13 +312,16 @@ void AdvertisementData::MergeFrom(const AdvertisementData& from) { (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000007u) { if (cached_has_bits & 0x00000001u) { _internal_set_tag(from._internal_tag()); } if (cached_has_bits & 0x00000002u) { _internal_set_public_key(from._internal_public_key()); } + if (cached_has_bits & 0x00000004u) { + _internal_set_rx_advertisement(from._internal_rx_advertisement()); + } } _internal_metadata_.MergeFrom(from._internal_metadata_); } @@ -308,6 +353,11 @@ void AdvertisementData::InternalSwap(AdvertisementData* other) { &public_key_, lhs_arena, &other->public_key_, rhs_arena ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &rx_advertisement_, lhs_arena, + &other->rx_advertisement_, rhs_arena + ); } std::string AdvertisementData::GetTypeName() const { diff --git a/compiled_proto/proto/mediums/nfc_frames.pb.h b/compiled_proto/proto/mediums/nfc_frames.pb.h index 761291bd..94f60fbc 100644 --- a/compiled_proto/proto/mediums/nfc_frames.pb.h +++ b/compiled_proto/proto/mediums/nfc_frames.pb.h @@ -187,6 +187,7 @@ class AdvertisementData final : enum : int { kTagFieldNumber = 1, kPublicKeyFieldNumber = 2, + kRxAdvertisementFieldNumber = 3, }; // optional bytes tag = 1; bool has_tag() const; @@ -224,6 +225,24 @@ class AdvertisementData final : std::string* _internal_mutable_public_key(); public: + // optional bytes rx_advertisement = 3; + bool has_rx_advertisement() const; + private: + bool _internal_has_rx_advertisement() const; + public: + void clear_rx_advertisement(); + const std::string& rx_advertisement() const; + template + void set_rx_advertisement(ArgT0&& arg0, ArgT... args); + std::string* mutable_rx_advertisement(); + PROTOBUF_NODISCARD std::string* release_rx_advertisement(); + void set_allocated_rx_advertisement(std::string* rx_advertisement); + private: + const std::string& _internal_rx_advertisement() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_rx_advertisement(const std::string& value); + std::string* _internal_mutable_rx_advertisement(); + public: + // @@protoc_insertion_point(class_scope:location.nearby.mediums.AdvertisementData) private: class _Internal; @@ -235,6 +254,7 @@ class AdvertisementData final : mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tag_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr public_key_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr rx_advertisement_; friend struct ::TableStruct_proto_2fmediums_2fnfc_5fframes_2eproto; }; // ------------------------------------------------------------------- @@ -573,6 +593,75 @@ inline void AdvertisementData::set_allocated_public_key(std::string* public_key) // @@protoc_insertion_point(field_set_allocated:location.nearby.mediums.AdvertisementData.public_key) } +// optional bytes rx_advertisement = 3; +inline bool AdvertisementData::_internal_has_rx_advertisement() const { + bool value = (_has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline bool AdvertisementData::has_rx_advertisement() const { + return _internal_has_rx_advertisement(); +} +inline void AdvertisementData::clear_rx_advertisement() { + rx_advertisement_.ClearToEmpty(); + _has_bits_[0] &= ~0x00000004u; +} +inline const std::string& AdvertisementData::rx_advertisement() const { + // @@protoc_insertion_point(field_get:location.nearby.mediums.AdvertisementData.rx_advertisement) + return _internal_rx_advertisement(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void AdvertisementData::set_rx_advertisement(ArgT0&& arg0, ArgT... args) { + _has_bits_[0] |= 0x00000004u; + rx_advertisement_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:location.nearby.mediums.AdvertisementData.rx_advertisement) +} +inline std::string* AdvertisementData::mutable_rx_advertisement() { + std::string* _s = _internal_mutable_rx_advertisement(); + // @@protoc_insertion_point(field_mutable:location.nearby.mediums.AdvertisementData.rx_advertisement) + return _s; +} +inline const std::string& AdvertisementData::_internal_rx_advertisement() const { + return rx_advertisement_.Get(); +} +inline void AdvertisementData::_internal_set_rx_advertisement(const std::string& value) { + _has_bits_[0] |= 0x00000004u; + rx_advertisement_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); +} +inline std::string* AdvertisementData::_internal_mutable_rx_advertisement() { + _has_bits_[0] |= 0x00000004u; + return rx_advertisement_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); +} +inline std::string* AdvertisementData::release_rx_advertisement() { + // @@protoc_insertion_point(field_release:location.nearby.mediums.AdvertisementData.rx_advertisement) + if (!_internal_has_rx_advertisement()) { + return nullptr; + } + _has_bits_[0] &= ~0x00000004u; + auto* p = rx_advertisement_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (rx_advertisement_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + rx_advertisement_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void AdvertisementData::set_allocated_rx_advertisement(std::string* rx_advertisement) { + if (rx_advertisement != nullptr) { + _has_bits_[0] |= 0x00000004u; + } else { + _has_bits_[0] &= ~0x00000004u; + } + rx_advertisement_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), rx_advertisement, + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (rx_advertisement_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + rx_advertisement_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:location.nearby.mediums.AdvertisementData.rx_advertisement) +} + // ------------------------------------------------------------------- // AdvertisementRequest diff --git a/compiled_proto/proto/sharing_enums.pb.cc b/compiled_proto/proto/sharing_enums.pb.cc index 36516fc1..ff52c476 100644 --- a/compiled_proto/proto/sharing_enums.pb.cc +++ b/compiled_proto/proto/sharing_enums.pb.cc @@ -93,13 +93,14 @@ bool EventType_IsValid(int value) { case 64: case 65: case 66: + case 67: return true; default: return false; } } -static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed EventType_strings[67] = {}; +static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed EventType_strings[68] = {}; static const char EventType_names[] = "ACCEPT_AGREEMENTS" @@ -168,7 +169,8 @@ static const char EventType_names[] = "TAP_QUICK_SETTINGS_TILE" "TOGGLE_SHOW_NOTIFICATION" "UNKNOWN_EVENT_TYPE" - "VERIFY_APK"; + "VERIFY_APK" + "WAITING_FOR_ACCEPT"; static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry EventType_entries[] = { { {EventType_names + 0, 17}, 1 }, @@ -238,6 +240,7 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry EventType_entries[] = { {EventType_names + 1349, 24}, 44 }, { {EventType_names + 1373, 18}, 0 }, { {EventType_names + 1391, 10}, 41 }, + { {EventType_names + 1401, 18}, 67 }, }; static const int EventType_entries_by_number[] = { @@ -308,6 +311,7 @@ static const int EventType_entries_by_number[] = { 12, // 64 -> DECRYPT_CERTIFICATE_FAILURE 57, // 65 -> SHOW_ALLOW_PERMISSION_AUTO_ACCESS 48, // 66 -> SEND_DESKTOP_TRANSFER_EVENT + 67, // 67 -> WAITING_FOR_ACCEPT }; const std::string& EventType_Name( @@ -316,12 +320,12 @@ const std::string& EventType_Name( ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings( EventType_entries, EventType_entries_by_number, - 67, EventType_strings); + 68, EventType_strings); (void) dummy; int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName( EventType_entries, EventType_entries_by_number, - 67, value); + 68, value); return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() : EventType_strings[idx].get(); } @@ -329,7 +333,7 @@ bool EventType_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EventType* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( - EventType_entries, 67, name, &int_value); + EventType_entries, 68, name, &int_value); if (success) { *value = static_cast(int_value); } @@ -1131,32 +1135,36 @@ bool DeviceType_IsValid(int value) { case 1: case 2: case 3: + case 4: return true; default: return false; } } -static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed DeviceType_strings[4] = {}; +static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed DeviceType_strings[5] = {}; static const char DeviceType_names[] = + "CAR" "LAPTOP" "PHONE" "TABLET" "UNKNOWN_DEVICE_TYPE"; static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry DeviceType_entries[] = { - { {DeviceType_names + 0, 6}, 3 }, - { {DeviceType_names + 6, 5}, 1 }, - { {DeviceType_names + 11, 6}, 2 }, - { {DeviceType_names + 17, 19}, 0 }, + { {DeviceType_names + 0, 3}, 4 }, + { {DeviceType_names + 3, 6}, 3 }, + { {DeviceType_names + 9, 5}, 1 }, + { {DeviceType_names + 14, 6}, 2 }, + { {DeviceType_names + 20, 19}, 0 }, }; static const int DeviceType_entries_by_number[] = { - 3, // 0 -> UNKNOWN_DEVICE_TYPE - 1, // 1 -> PHONE - 2, // 2 -> TABLET - 0, // 3 -> LAPTOP + 4, // 0 -> UNKNOWN_DEVICE_TYPE + 2, // 1 -> PHONE + 3, // 2 -> TABLET + 1, // 3 -> LAPTOP + 0, // 4 -> CAR }; const std::string& DeviceType_Name( @@ -1165,12 +1173,12 @@ const std::string& DeviceType_Name( ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings( DeviceType_entries, DeviceType_entries_by_number, - 4, DeviceType_strings); + 5, DeviceType_strings); (void) dummy; int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName( DeviceType_entries, DeviceType_entries_by_number, - 4, value); + 5, value); return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() : DeviceType_strings[idx].get(); } @@ -1178,7 +1186,7 @@ bool DeviceType_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DeviceType* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( - DeviceType_entries, 4, name, &int_value); + DeviceType_entries, 5, name, &int_value); if (success) { *value = static_cast(int_value); } @@ -1319,41 +1327,53 @@ bool LogSource_IsValid(int value) { case 4: case 5: case 6: + case 7: + case 8: + case 9: return true; default: return false; } } -static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed LogSource_strings[7] = {}; +static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed LogSource_strings[10] = {}; static const char LogSource_names[] = "BETA_TESTER_DEVICES" + "BETO_DOGFOOD_DEVICES" "DEBUG_DEVICES" "INTERNAL_DEVICES" "LAB_DEVICES" + "NEARBY_DOGFOOD_DEVICES" "NEARBY_MODULE_FOOD_DEVICES" + "NEARBY_TEAMFOOD_DEVICES" "OEM_DEVICES" "UNSPECIFIED_SOURCE"; static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry LogSource_entries[] = { { {LogSource_names + 0, 19}, 3 }, - { {LogSource_names + 19, 13}, 5 }, - { {LogSource_names + 32, 16}, 2 }, - { {LogSource_names + 48, 11}, 1 }, - { {LogSource_names + 59, 26}, 6 }, - { {LogSource_names + 85, 11}, 4 }, - { {LogSource_names + 96, 18}, 0 }, + { {LogSource_names + 19, 20}, 7 }, + { {LogSource_names + 39, 13}, 5 }, + { {LogSource_names + 52, 16}, 2 }, + { {LogSource_names + 68, 11}, 1 }, + { {LogSource_names + 79, 22}, 8 }, + { {LogSource_names + 101, 26}, 6 }, + { {LogSource_names + 127, 23}, 9 }, + { {LogSource_names + 150, 11}, 4 }, + { {LogSource_names + 161, 18}, 0 }, }; static const int LogSource_entries_by_number[] = { - 6, // 0 -> UNSPECIFIED_SOURCE - 3, // 1 -> LAB_DEVICES - 2, // 2 -> INTERNAL_DEVICES + 9, // 0 -> UNSPECIFIED_SOURCE + 4, // 1 -> LAB_DEVICES + 3, // 2 -> INTERNAL_DEVICES 0, // 3 -> BETA_TESTER_DEVICES - 5, // 4 -> OEM_DEVICES - 1, // 5 -> DEBUG_DEVICES - 4, // 6 -> NEARBY_MODULE_FOOD_DEVICES + 8, // 4 -> OEM_DEVICES + 2, // 5 -> DEBUG_DEVICES + 6, // 6 -> NEARBY_MODULE_FOOD_DEVICES + 1, // 7 -> BETO_DOGFOOD_DEVICES + 5, // 8 -> NEARBY_DOGFOOD_DEVICES + 7, // 9 -> NEARBY_TEAMFOOD_DEVICES }; const std::string& LogSource_Name( @@ -1362,12 +1382,12 @@ const std::string& LogSource_Name( ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings( LogSource_entries, LogSource_entries_by_number, - 7, LogSource_strings); + 10, LogSource_strings); (void) dummy; int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName( LogSource_entries, LogSource_entries_by_number, - 7, value); + 10, value); return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() : LogSource_strings[idx].get(); } @@ -1375,7 +1395,7 @@ bool LogSource_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LogSource* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( - LogSource_entries, 7, name, &int_value); + LogSource_entries, 10, name, &int_value); if (success) { *value = static_cast(int_value); } @@ -3206,6 +3226,187 @@ bool DecryptCertificateFailureStatus_Parse( } return success; } +bool ContactAccess_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + case 3: + case 4: + return true; + default: + return false; + } +} + +static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed ContactAccess_strings[5] = {}; + +static const char ContactAccess_names[] = + "CONTACT_ACCESS_NO_CONTACT_UPLOADED" + "CONTACT_ACCESS_ONLY_UPLOAD_GOOGLE_CONTACT" + "CONTACT_ACCESS_UNKNOWN" + "CONTACT_ACCESS_UPLOAD_CONTACT_FOR_DEVICE_CONTACT_CONSENT" + "CONTACT_ACCESS_UPLOAD_CONTACT_FOR_QUICK_SHARE_CONSENT"; + +static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry ContactAccess_entries[] = { + { {ContactAccess_names + 0, 34}, 1 }, + { {ContactAccess_names + 34, 41}, 2 }, + { {ContactAccess_names + 75, 22}, 0 }, + { {ContactAccess_names + 97, 56}, 3 }, + { {ContactAccess_names + 153, 53}, 4 }, +}; + +static const int ContactAccess_entries_by_number[] = { + 2, // 0 -> CONTACT_ACCESS_UNKNOWN + 0, // 1 -> CONTACT_ACCESS_NO_CONTACT_UPLOADED + 1, // 2 -> CONTACT_ACCESS_ONLY_UPLOAD_GOOGLE_CONTACT + 3, // 3 -> CONTACT_ACCESS_UPLOAD_CONTACT_FOR_DEVICE_CONTACT_CONSENT + 4, // 4 -> CONTACT_ACCESS_UPLOAD_CONTACT_FOR_QUICK_SHARE_CONSENT +}; + +const std::string& ContactAccess_Name( + ContactAccess value) { + static const bool dummy = + ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings( + ContactAccess_entries, + ContactAccess_entries_by_number, + 5, ContactAccess_strings); + (void) dummy; + int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName( + ContactAccess_entries, + ContactAccess_entries_by_number, + 5, value); + return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() : + ContactAccess_strings[idx].get(); +} +bool ContactAccess_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ContactAccess* value) { + int int_value; + bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( + ContactAccess_entries, 5, name, &int_value); + if (success) { + *value = static_cast(int_value); + } + return success; +} +bool IdentityVerification_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + case 3: + return true; + default: + return false; + } +} + +static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed IdentityVerification_strings[4] = {}; + +static const char IdentityVerification_names[] = + "IDENTITY_VERIFICATION_NO_PHONE_NUMBER_VERIFIED" + "IDENTITY_VERIFICATION_PHONE_NUMBER_VERIFIED_LINKED_TO_QS_GAIA" + "IDENTITY_VERIFICATION_PHONE_NUMBER_VERIFIED_NOT_LINKED_TO_GAIA" + "IDENTITY_VERIFICATION_UNKNOWN"; + +static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry IdentityVerification_entries[] = { + { {IdentityVerification_names + 0, 46}, 1 }, + { {IdentityVerification_names + 46, 61}, 3 }, + { {IdentityVerification_names + 107, 62}, 2 }, + { {IdentityVerification_names + 169, 29}, 0 }, +}; + +static const int IdentityVerification_entries_by_number[] = { + 3, // 0 -> IDENTITY_VERIFICATION_UNKNOWN + 0, // 1 -> IDENTITY_VERIFICATION_NO_PHONE_NUMBER_VERIFIED + 2, // 2 -> IDENTITY_VERIFICATION_PHONE_NUMBER_VERIFIED_NOT_LINKED_TO_GAIA + 1, // 3 -> IDENTITY_VERIFICATION_PHONE_NUMBER_VERIFIED_LINKED_TO_QS_GAIA +}; + +const std::string& IdentityVerification_Name( + IdentityVerification value) { + static const bool dummy = + ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings( + IdentityVerification_entries, + IdentityVerification_entries_by_number, + 4, IdentityVerification_strings); + (void) dummy; + int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName( + IdentityVerification_entries, + IdentityVerification_entries_by_number, + 4, value); + return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() : + IdentityVerification_strings[idx].get(); +} +bool IdentityVerification_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, IdentityVerification* value) { + int int_value; + bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( + IdentityVerification_entries, 4, name, &int_value); + if (success) { + *value = static_cast(int_value); + } + return success; +} +bool ButtonStatus_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + case 3: + return true; + default: + return false; + } +} + +static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed ButtonStatus_strings[4] = {}; + +static const char ButtonStatus_names[] = + "BUTTON_STATUS_CLICK_ACCEPT" + "BUTTON_STATUS_CLICK_REJECT" + "BUTTON_STATUS_IGNORE" + "BUTTON_STATUS_UNKNOWN"; + +static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry ButtonStatus_entries[] = { + { {ButtonStatus_names + 0, 26}, 1 }, + { {ButtonStatus_names + 26, 26}, 2 }, + { {ButtonStatus_names + 52, 20}, 3 }, + { {ButtonStatus_names + 72, 21}, 0 }, +}; + +static const int ButtonStatus_entries_by_number[] = { + 3, // 0 -> BUTTON_STATUS_UNKNOWN + 0, // 1 -> BUTTON_STATUS_CLICK_ACCEPT + 1, // 2 -> BUTTON_STATUS_CLICK_REJECT + 2, // 3 -> BUTTON_STATUS_IGNORE +}; + +const std::string& ButtonStatus_Name( + ButtonStatus value) { + static const bool dummy = + ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings( + ButtonStatus_entries, + ButtonStatus_entries_by_number, + 4, ButtonStatus_strings); + (void) dummy; + int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName( + ButtonStatus_entries, + ButtonStatus_entries_by_number, + 4, value); + return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() : + ButtonStatus_strings[idx].get(); +} +bool ButtonStatus_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ButtonStatus* value) { + int int_value; + bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( + ButtonStatus_entries, 4, name, &int_value); + if (success) { + *value = static_cast(int_value); + } + return success; +} // @@protoc_insertion_point(namespace_scope) } // namespace sharing diff --git a/compiled_proto/proto/sharing_enums.pb.h b/compiled_proto/proto/sharing_enums.pb.h index 97946122..04c3f64d 100644 --- a/compiled_proto/proto/sharing_enums.pb.h +++ b/compiled_proto/proto/sharing_enums.pb.h @@ -124,11 +124,12 @@ enum EventType : int { SET_ACCOUNT = 63, DECRYPT_CERTIFICATE_FAILURE = 64, SHOW_ALLOW_PERMISSION_AUTO_ACCESS = 65, - SEND_DESKTOP_TRANSFER_EVENT = 66 + SEND_DESKTOP_TRANSFER_EVENT = 66, + WAITING_FOR_ACCEPT = 67 }; bool EventType_IsValid(int value); constexpr EventType EventType_MIN = UNKNOWN_EVENT_TYPE; -constexpr EventType EventType_MAX = SEND_DESKTOP_TRANSFER_EVENT; +constexpr EventType EventType_MAX = WAITING_FOR_ACCEPT; constexpr int EventType_ARRAYSIZE = EventType_MAX + 1; const std::string& EventType_Name(EventType value); @@ -405,11 +406,12 @@ enum DeviceType : int { UNKNOWN_DEVICE_TYPE = 0, PHONE = 1, TABLET = 2, - LAPTOP = 3 + LAPTOP = 3, + CAR = 4 }; bool DeviceType_IsValid(int value); constexpr DeviceType DeviceType_MIN = UNKNOWN_DEVICE_TYPE; -constexpr DeviceType DeviceType_MAX = LAPTOP; +constexpr DeviceType DeviceType_MAX = CAR; constexpr int DeviceType_ARRAYSIZE = DeviceType_MAX + 1; const std::string& DeviceType_Name(DeviceType value); @@ -473,11 +475,14 @@ enum LogSource : int { BETA_TESTER_DEVICES = 3, OEM_DEVICES = 4, DEBUG_DEVICES = 5, - NEARBY_MODULE_FOOD_DEVICES = 6 + NEARBY_MODULE_FOOD_DEVICES = 6, + BETO_DOGFOOD_DEVICES = 7, + NEARBY_DOGFOOD_DEVICES = 8, + NEARBY_TEAMFOOD_DEVICES = 9 }; bool LogSource_IsValid(int value); constexpr LogSource LogSource_MIN = UNSPECIFIED_SOURCE; -constexpr LogSource LogSource_MAX = NEARBY_MODULE_FOOD_DEVICES; +constexpr LogSource LogSource_MAX = NEARBY_TEAMFOOD_DEVICES; constexpr int LogSource_ARRAYSIZE = LogSource_MAX + 1; const std::string& LogSource_Name(LogSource value); @@ -1115,6 +1120,70 @@ inline const std::string& DecryptCertificateFailureStatus_Name(T enum_t_value) { } bool DecryptCertificateFailureStatus_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DecryptCertificateFailureStatus* value); +enum ContactAccess : int { + CONTACT_ACCESS_UNKNOWN = 0, + CONTACT_ACCESS_NO_CONTACT_UPLOADED = 1, + CONTACT_ACCESS_ONLY_UPLOAD_GOOGLE_CONTACT = 2, + CONTACT_ACCESS_UPLOAD_CONTACT_FOR_DEVICE_CONTACT_CONSENT = 3, + CONTACT_ACCESS_UPLOAD_CONTACT_FOR_QUICK_SHARE_CONSENT = 4 +}; +bool ContactAccess_IsValid(int value); +constexpr ContactAccess ContactAccess_MIN = CONTACT_ACCESS_UNKNOWN; +constexpr ContactAccess ContactAccess_MAX = CONTACT_ACCESS_UPLOAD_CONTACT_FOR_QUICK_SHARE_CONSENT; +constexpr int ContactAccess_ARRAYSIZE = ContactAccess_MAX + 1; + +const std::string& ContactAccess_Name(ContactAccess value); +template +inline const std::string& ContactAccess_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function ContactAccess_Name."); + return ContactAccess_Name(static_cast(enum_t_value)); +} +bool ContactAccess_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ContactAccess* value); +enum IdentityVerification : int { + IDENTITY_VERIFICATION_UNKNOWN = 0, + IDENTITY_VERIFICATION_NO_PHONE_NUMBER_VERIFIED = 1, + IDENTITY_VERIFICATION_PHONE_NUMBER_VERIFIED_NOT_LINKED_TO_GAIA = 2, + IDENTITY_VERIFICATION_PHONE_NUMBER_VERIFIED_LINKED_TO_QS_GAIA = 3 +}; +bool IdentityVerification_IsValid(int value); +constexpr IdentityVerification IdentityVerification_MIN = IDENTITY_VERIFICATION_UNKNOWN; +constexpr IdentityVerification IdentityVerification_MAX = IDENTITY_VERIFICATION_PHONE_NUMBER_VERIFIED_LINKED_TO_QS_GAIA; +constexpr int IdentityVerification_ARRAYSIZE = IdentityVerification_MAX + 1; + +const std::string& IdentityVerification_Name(IdentityVerification value); +template +inline const std::string& IdentityVerification_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function IdentityVerification_Name."); + return IdentityVerification_Name(static_cast(enum_t_value)); +} +bool IdentityVerification_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, IdentityVerification* value); +enum ButtonStatus : int { + BUTTON_STATUS_UNKNOWN = 0, + BUTTON_STATUS_CLICK_ACCEPT = 1, + BUTTON_STATUS_CLICK_REJECT = 2, + BUTTON_STATUS_IGNORE = 3 +}; +bool ButtonStatus_IsValid(int value); +constexpr ButtonStatus ButtonStatus_MIN = BUTTON_STATUS_UNKNOWN; +constexpr ButtonStatus ButtonStatus_MAX = BUTTON_STATUS_IGNORE; +constexpr int ButtonStatus_ARRAYSIZE = ButtonStatus_MAX + 1; + +const std::string& ButtonStatus_Name(ButtonStatus value); +template +inline const std::string& ButtonStatus_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function ButtonStatus_Name."); + return ButtonStatus_Name(static_cast(enum_t_value)); +} +bool ButtonStatus_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ButtonStatus* value); // =================================================================== @@ -1182,6 +1251,9 @@ template <> struct is_proto_enum< ::location::nearby::proto::sharing::FastInitTy template <> struct is_proto_enum< ::location::nearby::proto::sharing::DesktopNotification> : ::std::true_type {}; template <> struct is_proto_enum< ::location::nearby::proto::sharing::DesktopTransferEventType> : ::std::true_type {}; template <> struct is_proto_enum< ::location::nearby::proto::sharing::DecryptCertificateFailureStatus> : ::std::true_type {}; +template <> struct is_proto_enum< ::location::nearby::proto::sharing::ContactAccess> : ::std::true_type {}; +template <> struct is_proto_enum< ::location::nearby::proto::sharing::IdentityVerification> : ::std::true_type {}; +template <> struct is_proto_enum< ::location::nearby::proto::sharing::ButtonStatus> : ::std::true_type {}; PROTOBUF_NAMESPACE_CLOSE