mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
PR #4395: Update proto definitions - offline_wire_formats.proto and connections…
Imported from GitHub PR https://github.com/google/nearby/pull/4395 …_enums.proto for WiFi Direct <!-- Thanks for submitting a pull request! We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. --> ## Summary Update proto definitions - offline_wire_formats.proto and connections_enums.proto for WiFi Direct ## How did you test this change? on test only update the proto definitions. Copybara import of the project: -- 71aa603d4557652d87667455dc3233b8f7fd262a by Edwin Wu <edwinwu@google.com>: Update proto definitions - offline_wire_formats.proto and connections_enums.proto for WiFi Direct Merging this change closes #4395 PiperOrigin-RevId: 929606397
This commit is contained in:
committed by
Copybara-Service
parent
7d647f8a85
commit
e205d8a08f
@@ -562,6 +562,9 @@ inline constexpr BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCred
|
|||||||
pin_(
|
pin_(
|
||||||
&::google::protobuf::internal::fixed_address_empty_string,
|
&::google::protobuf::internal::fixed_address_empty_string,
|
||||||
::_pbi::ConstantInitialized()),
|
::_pbi::ConstantInitialized()),
|
||||||
|
device_name_(
|
||||||
|
&::google::protobuf::internal::fixed_address_empty_string,
|
||||||
|
::_pbi::ConstantInitialized()),
|
||||||
port_{0},
|
port_{0},
|
||||||
frequency_{0} {}
|
frequency_{0} {}
|
||||||
|
|
||||||
@@ -2056,44 +2059,47 @@ bool AutoReconnectFrame_EventType_Parse(::absl::string_view name, AutoReconnectF
|
|||||||
return success;
|
return success;
|
||||||
}
|
}
|
||||||
PROTOBUF_CONSTINIT const uint32_t MediumMetadata_WifiDirectAuthType_internal_data_[] = {
|
PROTOBUF_CONSTINIT const uint32_t MediumMetadata_WifiDirectAuthType_internal_data_[] = {
|
||||||
196608u, 0u, };
|
262144u, 0u, };
|
||||||
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
|
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
|
||||||
MediumMetadata_WifiDirectAuthType_strings[3] = {};
|
MediumMetadata_WifiDirectAuthType_strings[4] = {};
|
||||||
|
|
||||||
static const char MediumMetadata_WifiDirectAuthType_names[] = {
|
static const char MediumMetadata_WifiDirectAuthType_names[] = {
|
||||||
"WIFI_DIRECT_TYPE_UNKNOWN"
|
"WIFI_DIRECT_TYPE_UNKNOWN"
|
||||||
|
"WIFI_DIRECT_WITH_DEVICE_NAME"
|
||||||
"WIFI_DIRECT_WITH_PASSWORD"
|
"WIFI_DIRECT_WITH_PASSWORD"
|
||||||
"WIFI_DIRECT_WITH_PIN"
|
"WIFI_DIRECT_WITH_PIN"
|
||||||
};
|
};
|
||||||
|
|
||||||
static const ::google::protobuf::internal::EnumEntry MediumMetadata_WifiDirectAuthType_entries[] = {
|
static const ::google::protobuf::internal::EnumEntry MediumMetadata_WifiDirectAuthType_entries[] = {
|
||||||
{{&MediumMetadata_WifiDirectAuthType_names[0], 24}, 0},
|
{{&MediumMetadata_WifiDirectAuthType_names[0], 24}, 0},
|
||||||
{{&MediumMetadata_WifiDirectAuthType_names[24], 25}, 1},
|
{{&MediumMetadata_WifiDirectAuthType_names[24], 28}, 3},
|
||||||
{{&MediumMetadata_WifiDirectAuthType_names[49], 20}, 2},
|
{{&MediumMetadata_WifiDirectAuthType_names[52], 25}, 1},
|
||||||
|
{{&MediumMetadata_WifiDirectAuthType_names[77], 20}, 2},
|
||||||
};
|
};
|
||||||
|
|
||||||
static const int MediumMetadata_WifiDirectAuthType_entries_by_number[] = {
|
static const int MediumMetadata_WifiDirectAuthType_entries_by_number[] = {
|
||||||
0, // 0 -> WIFI_DIRECT_TYPE_UNKNOWN
|
0, // 0 -> WIFI_DIRECT_TYPE_UNKNOWN
|
||||||
1, // 1 -> WIFI_DIRECT_WITH_PASSWORD
|
2, // 1 -> WIFI_DIRECT_WITH_PASSWORD
|
||||||
2, // 2 -> WIFI_DIRECT_WITH_PIN
|
3, // 2 -> WIFI_DIRECT_WITH_PIN
|
||||||
|
1, // 3 -> WIFI_DIRECT_WITH_DEVICE_NAME
|
||||||
};
|
};
|
||||||
|
|
||||||
const ::std::string& MediumMetadata_WifiDirectAuthType_Name(MediumMetadata_WifiDirectAuthType value) {
|
const ::std::string& MediumMetadata_WifiDirectAuthType_Name(MediumMetadata_WifiDirectAuthType value) {
|
||||||
static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
|
static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
|
||||||
MediumMetadata_WifiDirectAuthType_entries, MediumMetadata_WifiDirectAuthType_entries_by_number, 3,
|
MediumMetadata_WifiDirectAuthType_entries, MediumMetadata_WifiDirectAuthType_entries_by_number, 4,
|
||||||
MediumMetadata_WifiDirectAuthType_strings);
|
MediumMetadata_WifiDirectAuthType_strings);
|
||||||
(void)kDummy;
|
(void)kDummy;
|
||||||
|
|
||||||
int idx = ::google::protobuf::internal::LookUpEnumName(MediumMetadata_WifiDirectAuthType_entries,
|
int idx = ::google::protobuf::internal::LookUpEnumName(MediumMetadata_WifiDirectAuthType_entries,
|
||||||
MediumMetadata_WifiDirectAuthType_entries_by_number,
|
MediumMetadata_WifiDirectAuthType_entries_by_number,
|
||||||
3, value);
|
4, value);
|
||||||
return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : MediumMetadata_WifiDirectAuthType_strings[idx].get();
|
return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : MediumMetadata_WifiDirectAuthType_strings[idx].get();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool MediumMetadata_WifiDirectAuthType_Parse(::absl::string_view name, MediumMetadata_WifiDirectAuthType* PROTOBUF_NONNULL value) {
|
bool MediumMetadata_WifiDirectAuthType_Parse(::absl::string_view name, MediumMetadata_WifiDirectAuthType* PROTOBUF_NONNULL value) {
|
||||||
int int_value;
|
int int_value;
|
||||||
bool success = ::google::protobuf::internal::LookUpEnumValue(
|
bool success = ::google::protobuf::internal::LookUpEnumValue(
|
||||||
MediumMetadata_WifiDirectAuthType_entries, 3, name, &int_value);
|
MediumMetadata_WifiDirectAuthType_entries, 4, name, &int_value);
|
||||||
if (success) {
|
if (success) {
|
||||||
*value = static_cast<MediumMetadata_WifiDirectAuthType>(int_value);
|
*value = static_cast<MediumMetadata_WifiDirectAuthType>(int_value);
|
||||||
}
|
}
|
||||||
@@ -7696,7 +7702,8 @@ PROTOBUF_NDEBUG_INLINE BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDire
|
|||||||
gateway_(arena, from.gateway_, _i_give_permission_to_break_this_code_default_gateway_),
|
gateway_(arena, from.gateway_, _i_give_permission_to_break_this_code_default_gateway_),
|
||||||
ip_v6_address_(arena, from.ip_v6_address_),
|
ip_v6_address_(arena, from.ip_v6_address_),
|
||||||
service_name_(arena, from.service_name_),
|
service_name_(arena, from.service_name_),
|
||||||
pin_(arena, from.pin_) {}
|
pin_(arena, from.pin_),
|
||||||
|
device_name_(arena, from.device_name_) {}
|
||||||
|
|
||||||
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials(
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials(
|
||||||
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
||||||
@@ -7730,7 +7737,8 @@ PROTOBUF_NDEBUG_INLINE BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDire
|
|||||||
gateway_(arena, Impl_::_i_give_permission_to_break_this_code_default_gateway_),
|
gateway_(arena, Impl_::_i_give_permission_to_break_this_code_default_gateway_),
|
||||||
ip_v6_address_(arena),
|
ip_v6_address_(arena),
|
||||||
service_name_(arena),
|
service_name_(arena),
|
||||||
pin_(arena) {}
|
pin_(arena),
|
||||||
|
device_name_(arena) {}
|
||||||
|
|
||||||
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
||||||
new (&_impl_) Impl_(internal_visibility(), arena);
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
||||||
@@ -7758,6 +7766,7 @@ inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentia
|
|||||||
this_._impl_.ip_v6_address_.Destroy();
|
this_._impl_.ip_v6_address_.Destroy();
|
||||||
this_._impl_.service_name_.Destroy();
|
this_._impl_.service_name_.Destroy();
|
||||||
this_._impl_.pin_.Destroy();
|
this_._impl_.pin_.Destroy();
|
||||||
|
this_._impl_.device_name_.Destroy();
|
||||||
this_._impl_.~Impl_();
|
this_._impl_.~Impl_();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -7801,16 +7810,16 @@ BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::GetClass
|
|||||||
return BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials_class_data_.base();
|
return BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials_class_data_.base();
|
||||||
}
|
}
|
||||||
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
||||||
const ::_pbi::TcParseTable<3, 8, 0, 0, 2>
|
const ::_pbi::TcParseTable<4, 9, 0, 0, 2>
|
||||||
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_table_ = {
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_table_ = {
|
||||||
{
|
{
|
||||||
PROTOBUF_FIELD_OFFSET(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials, _impl_._has_bits_),
|
PROTOBUF_FIELD_OFFSET(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials, _impl_._has_bits_),
|
||||||
0, // no _extensions_
|
0, // no _extensions_
|
||||||
8, 56, // max_field_number, fast_idx_mask
|
9, 120, // max_field_number, fast_idx_mask
|
||||||
offsetof(decltype(_table_), field_lookup_table),
|
offsetof(decltype(_table_), field_lookup_table),
|
||||||
4294967040, // skipmap
|
4294966784, // skipmap
|
||||||
offsetof(decltype(_table_), field_entries),
|
offsetof(decltype(_table_), field_entries),
|
||||||
8, // num_field_entries
|
9, // num_field_entries
|
||||||
0, // num_aux_entries
|
0, // num_aux_entries
|
||||||
offsetof(decltype(_table_), field_names), // no aux_entries
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
||||||
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials_class_data_.base(),
|
BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials_class_data_.base(),
|
||||||
@@ -7820,10 +7829,7 @@ BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_table_
|
|||||||
::_pbi::TcParser::GetTable<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials>(), // to_prefetch
|
::_pbi::TcParser::GetTable<::location::nearby::connections::BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials>(), // to_prefetch
|
||||||
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
||||||
}, {{
|
}, {{
|
||||||
// optional string pin = 8;
|
{::_pbi::TcParser::MiniParse, {}},
|
||||||
{::_pbi::TcParser::FastBS1,
|
|
||||||
{66, 5, 0,
|
|
||||||
PROTOBUF_FIELD_OFFSET(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials, _impl_.pin_)}},
|
|
||||||
// optional string ssid = 1;
|
// optional string ssid = 1;
|
||||||
{::_pbi::TcParser::FastBS1,
|
{::_pbi::TcParser::FastBS1,
|
||||||
{10, 0, 0,
|
{10, 0, 0,
|
||||||
@@ -7834,11 +7840,11 @@ BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_table_
|
|||||||
PROTOBUF_FIELD_OFFSET(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials, _impl_.password_)}},
|
PROTOBUF_FIELD_OFFSET(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials, _impl_.password_)}},
|
||||||
// optional int32 port = 3;
|
// optional int32 port = 3;
|
||||||
{::_pbi::TcParser::FastV32S1,
|
{::_pbi::TcParser::FastV32S1,
|
||||||
{24, 6, 0,
|
{24, 7, 0,
|
||||||
PROTOBUF_FIELD_OFFSET(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials, _impl_.port_)}},
|
PROTOBUF_FIELD_OFFSET(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials, _impl_.port_)}},
|
||||||
// optional int32 frequency = 4;
|
// optional int32 frequency = 4;
|
||||||
{::_pbi::TcParser::FastV32S1,
|
{::_pbi::TcParser::FastV32S1,
|
||||||
{32, 7, 0,
|
{32, 8, 0,
|
||||||
PROTOBUF_FIELD_OFFSET(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials, _impl_.frequency_)}},
|
PROTOBUF_FIELD_OFFSET(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials, _impl_.frequency_)}},
|
||||||
// optional string gateway = 5 [default = "0.0.0.0"];
|
// optional string gateway = 5 [default = "0.0.0.0"];
|
||||||
{::_pbi::TcParser::FastBS1,
|
{::_pbi::TcParser::FastBS1,
|
||||||
@@ -7848,10 +7854,24 @@ BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_table_
|
|||||||
{::_pbi::TcParser::FastBS1,
|
{::_pbi::TcParser::FastBS1,
|
||||||
{50, 3, 0,
|
{50, 3, 0,
|
||||||
PROTOBUF_FIELD_OFFSET(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials, _impl_.ip_v6_address_)}},
|
PROTOBUF_FIELD_OFFSET(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials, _impl_.ip_v6_address_)}},
|
||||||
// optional string service_name = 7;
|
// optional string service_name = 7 [deprecated = true];
|
||||||
{::_pbi::TcParser::FastBS1,
|
{::_pbi::TcParser::FastBS1,
|
||||||
{58, 4, 0,
|
{58, 4, 0,
|
||||||
PROTOBUF_FIELD_OFFSET(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials, _impl_.service_name_)}},
|
PROTOBUF_FIELD_OFFSET(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials, _impl_.service_name_)}},
|
||||||
|
// optional string pin = 8;
|
||||||
|
{::_pbi::TcParser::FastBS1,
|
||||||
|
{66, 5, 0,
|
||||||
|
PROTOBUF_FIELD_OFFSET(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials, _impl_.pin_)}},
|
||||||
|
// optional string device_name = 9;
|
||||||
|
{::_pbi::TcParser::FastBS1,
|
||||||
|
{74, 6, 0,
|
||||||
|
PROTOBUF_FIELD_OFFSET(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials, _impl_.device_name_)}},
|
||||||
|
{::_pbi::TcParser::MiniParse, {}},
|
||||||
|
{::_pbi::TcParser::MiniParse, {}},
|
||||||
|
{::_pbi::TcParser::MiniParse, {}},
|
||||||
|
{::_pbi::TcParser::MiniParse, {}},
|
||||||
|
{::_pbi::TcParser::MiniParse, {}},
|
||||||
|
{::_pbi::TcParser::MiniParse, {}},
|
||||||
}}, {{
|
}}, {{
|
||||||
65535, 65535
|
65535, 65535
|
||||||
}}, {{
|
}}, {{
|
||||||
@@ -7860,17 +7880,19 @@ BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_table_
|
|||||||
// optional string password = 2;
|
// optional string password = 2;
|
||||||
{PROTOBUF_FIELD_OFFSET(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials, _impl_.password_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
{PROTOBUF_FIELD_OFFSET(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials, _impl_.password_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
||||||
// optional int32 port = 3;
|
// optional int32 port = 3;
|
||||||
{PROTOBUF_FIELD_OFFSET(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials, _impl_.port_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
|
{PROTOBUF_FIELD_OFFSET(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials, _impl_.port_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
|
||||||
// optional int32 frequency = 4;
|
// optional int32 frequency = 4;
|
||||||
{PROTOBUF_FIELD_OFFSET(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials, _impl_.frequency_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
|
{PROTOBUF_FIELD_OFFSET(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials, _impl_.frequency_), _Internal::kHasBitsOffset + 8, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
|
||||||
// optional string gateway = 5 [default = "0.0.0.0"];
|
// optional string gateway = 5 [default = "0.0.0.0"];
|
||||||
{PROTOBUF_FIELD_OFFSET(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials, _impl_.gateway_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
{PROTOBUF_FIELD_OFFSET(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials, _impl_.gateway_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
||||||
// optional bytes ip_v6_address = 6;
|
// optional bytes ip_v6_address = 6;
|
||||||
{PROTOBUF_FIELD_OFFSET(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials, _impl_.ip_v6_address_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
{PROTOBUF_FIELD_OFFSET(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials, _impl_.ip_v6_address_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
||||||
// optional string service_name = 7;
|
// optional string service_name = 7 [deprecated = true];
|
||||||
{PROTOBUF_FIELD_OFFSET(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials, _impl_.service_name_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
{PROTOBUF_FIELD_OFFSET(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials, _impl_.service_name_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
||||||
// optional string pin = 8;
|
// optional string pin = 8;
|
||||||
{PROTOBUF_FIELD_OFFSET(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials, _impl_.pin_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
{PROTOBUF_FIELD_OFFSET(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials, _impl_.pin_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
||||||
|
// optional string device_name = 9;
|
||||||
|
{PROTOBUF_FIELD_OFFSET(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials, _impl_.device_name_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
||||||
}},
|
}},
|
||||||
// no aux_entries
|
// no aux_entries
|
||||||
{{
|
{{
|
||||||
@@ -7884,7 +7906,7 @@ PROTOBUF_NOINLINE void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDire
|
|||||||
(void) cached_has_bits;
|
(void) cached_has_bits;
|
||||||
|
|
||||||
cached_has_bits = _impl_._has_bits_[0];
|
cached_has_bits = _impl_._has_bits_[0];
|
||||||
if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
|
if (BatchCheckHasBit(cached_has_bits, 0x0000007fU)) {
|
||||||
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
||||||
_impl_.ssid_.ClearNonDefaultToEmpty();
|
_impl_.ssid_.ClearNonDefaultToEmpty();
|
||||||
}
|
}
|
||||||
@@ -7903,12 +7925,12 @@ PROTOBUF_NOINLINE void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDire
|
|||||||
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
||||||
_impl_.pin_.ClearNonDefaultToEmpty();
|
_impl_.pin_.ClearNonDefaultToEmpty();
|
||||||
}
|
}
|
||||||
|
if (CheckHasBit(cached_has_bits, 0x00000040U)) {
|
||||||
|
_impl_.device_name_.ClearNonDefaultToEmpty();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (BatchCheckHasBit(cached_has_bits, 0x000000c0U)) {
|
_impl_.port_ = 0;
|
||||||
::memset(&_impl_.port_, 0, static_cast<::size_t>(
|
_impl_.frequency_ = 0;
|
||||||
reinterpret_cast<char*>(&_impl_.frequency_) -
|
|
||||||
reinterpret_cast<char*>(&_impl_.port_)) + sizeof(_impl_.frequency_));
|
|
||||||
}
|
|
||||||
_impl_._has_bits_.Clear();
|
_impl_._has_bits_.Clear();
|
||||||
_internal_metadata_.Clear<::std::string>();
|
_internal_metadata_.Clear<::std::string>();
|
||||||
}
|
}
|
||||||
@@ -7945,14 +7967,14 @@ PROTOBUF_NOINLINE void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDire
|
|||||||
}
|
}
|
||||||
|
|
||||||
// optional int32 port = 3;
|
// optional int32 port = 3;
|
||||||
if (CheckHasBit(cached_has_bits, 0x00000040U)) {
|
if (CheckHasBit(cached_has_bits, 0x00000080U)) {
|
||||||
target =
|
target =
|
||||||
::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<3>(
|
::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<3>(
|
||||||
stream, this_._internal_port(), target);
|
stream, this_._internal_port(), target);
|
||||||
}
|
}
|
||||||
|
|
||||||
// optional int32 frequency = 4;
|
// optional int32 frequency = 4;
|
||||||
if (CheckHasBit(cached_has_bits, 0x00000080U)) {
|
if (CheckHasBit(cached_has_bits, 0x00000100U)) {
|
||||||
target =
|
target =
|
||||||
::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<4>(
|
::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<4>(
|
||||||
stream, this_._internal_frequency(), target);
|
stream, this_._internal_frequency(), target);
|
||||||
@@ -7970,7 +7992,7 @@ PROTOBUF_NOINLINE void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDire
|
|||||||
target = stream->WriteBytesMaybeAliased(6, _s, target);
|
target = stream->WriteBytesMaybeAliased(6, _s, target);
|
||||||
}
|
}
|
||||||
|
|
||||||
// optional string service_name = 7;
|
// optional string service_name = 7 [deprecated = true];
|
||||||
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
||||||
const ::std::string& _s = this_._internal_service_name();
|
const ::std::string& _s = this_._internal_service_name();
|
||||||
target = stream->WriteStringMaybeAliased(7, _s, target);
|
target = stream->WriteStringMaybeAliased(7, _s, target);
|
||||||
@@ -7982,6 +8004,12 @@ PROTOBUF_NOINLINE void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDire
|
|||||||
target = stream->WriteStringMaybeAliased(8, _s, target);
|
target = stream->WriteStringMaybeAliased(8, _s, target);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// optional string device_name = 9;
|
||||||
|
if (CheckHasBit(cached_has_bits, 0x00000040U)) {
|
||||||
|
const ::std::string& _s = this_._internal_device_name();
|
||||||
|
target = stream->WriteStringMaybeAliased(9, _s, target);
|
||||||
|
}
|
||||||
|
|
||||||
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
||||||
target = stream->WriteRaw(
|
target = stream->WriteRaw(
|
||||||
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
||||||
@@ -8028,7 +8056,7 @@ PROTOBUF_NOINLINE void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDire
|
|||||||
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
|
||||||
this_._internal_ip_v6_address());
|
this_._internal_ip_v6_address());
|
||||||
}
|
}
|
||||||
// optional string service_name = 7;
|
// optional string service_name = 7 [deprecated = true];
|
||||||
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
||||||
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
|
||||||
this_._internal_service_name());
|
this_._internal_service_name());
|
||||||
@@ -8038,13 +8066,20 @@ PROTOBUF_NOINLINE void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDire
|
|||||||
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
|
||||||
this_._internal_pin());
|
this_._internal_pin());
|
||||||
}
|
}
|
||||||
// optional int32 port = 3;
|
// optional string device_name = 9;
|
||||||
if (CheckHasBit(cached_has_bits, 0x00000040U)) {
|
if (CheckHasBit(cached_has_bits, 0x00000040U)) {
|
||||||
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
|
||||||
|
this_._internal_device_name());
|
||||||
|
}
|
||||||
|
// optional int32 port = 3;
|
||||||
|
if (CheckHasBit(cached_has_bits, 0x00000080U)) {
|
||||||
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
|
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
|
||||||
this_._internal_port());
|
this_._internal_port());
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
// optional int32 frequency = 4;
|
// optional int32 frequency = 4;
|
||||||
if (CheckHasBit(cached_has_bits, 0x00000080U)) {
|
if (CheckHasBit(cached_has_bits, 0x00000100U)) {
|
||||||
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
|
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
|
||||||
this_._internal_frequency());
|
this_._internal_frequency());
|
||||||
}
|
}
|
||||||
@@ -8090,12 +8125,15 @@ void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::Mer
|
|||||||
_this->_internal_set_pin(from._internal_pin());
|
_this->_internal_set_pin(from._internal_pin());
|
||||||
}
|
}
|
||||||
if (CheckHasBit(cached_has_bits, 0x00000040U)) {
|
if (CheckHasBit(cached_has_bits, 0x00000040U)) {
|
||||||
_this->_impl_.port_ = from._impl_.port_;
|
_this->_internal_set_device_name(from._internal_device_name());
|
||||||
}
|
}
|
||||||
if (CheckHasBit(cached_has_bits, 0x00000080U)) {
|
if (CheckHasBit(cached_has_bits, 0x00000080U)) {
|
||||||
_this->_impl_.frequency_ = from._impl_.frequency_;
|
_this->_impl_.port_ = from._impl_.port_;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (CheckHasBit(cached_has_bits, 0x00000100U)) {
|
||||||
|
_this->_impl_.frequency_ = from._impl_.frequency_;
|
||||||
|
}
|
||||||
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
||||||
_this->_internal_metadata_.MergeFrom<::std::string>(
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
||||||
from._internal_metadata_);
|
from._internal_metadata_);
|
||||||
@@ -8121,6 +8159,7 @@ void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::Int
|
|||||||
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.ip_v6_address_, &other->_impl_.ip_v6_address_, arena);
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.ip_v6_address_, &other->_impl_.ip_v6_address_, arena);
|
||||||
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.service_name_, &other->_impl_.service_name_, arena);
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.service_name_, &other->_impl_.service_name_, arena);
|
||||||
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.pin_, &other->_impl_.pin_, arena);
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.pin_, &other->_impl_.pin_, arena);
|
||||||
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.device_name_, &other->_impl_.device_name_, arena);
|
||||||
::google::protobuf::internal::memswap<
|
::google::protobuf::internal::memswap<
|
||||||
PROTOBUF_FIELD_OFFSET(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials, _impl_.frequency_)
|
PROTOBUF_FIELD_OFFSET(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials, _impl_.frequency_)
|
||||||
+ sizeof(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_impl_.frequency_)
|
+ sizeof(BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_impl_.frequency_)
|
||||||
@@ -13302,7 +13341,7 @@ MediumMetadata::_table_ = {
|
|||||||
PROTOBUF_FIELD_OFFSET(MediumMetadata, _impl_.medium_role_)}},
|
PROTOBUF_FIELD_OFFSET(MediumMetadata, _impl_.medium_role_)}},
|
||||||
// repeated .location.nearby.connections.MediumMetadata.WifiDirectAuthType supported_wifi_direct_auth_types = 13 [packed = true];
|
// repeated .location.nearby.connections.MediumMetadata.WifiDirectAuthType supported_wifi_direct_auth_types = 13 [packed = true];
|
||||||
{::_pbi::TcParser::FastEr0P1,
|
{::_pbi::TcParser::FastEr0P1,
|
||||||
{106, 0, 2,
|
{106, 0, 3,
|
||||||
PROTOBUF_FIELD_OFFSET(MediumMetadata, _impl_.supported_wifi_direct_auth_types_)}},
|
PROTOBUF_FIELD_OFFSET(MediumMetadata, _impl_.supported_wifi_direct_auth_types_)}},
|
||||||
{::_pbi::TcParser::MiniParse, {}},
|
{::_pbi::TcParser::MiniParse, {}},
|
||||||
{::_pbi::TcParser::MiniParse, {}},
|
{::_pbi::TcParser::MiniParse, {}},
|
||||||
@@ -13343,7 +13382,7 @@ MediumMetadata::_table_ = {
|
|||||||
{::_pbi::TcParser::GetTable<::location::nearby::connections::WifiAwareUsableChannels>()},
|
{::_pbi::TcParser::GetTable<::location::nearby::connections::WifiAwareUsableChannels>()},
|
||||||
{::_pbi::TcParser::GetTable<::location::nearby::connections::WifiHotspotStaUsableChannels>()},
|
{::_pbi::TcParser::GetTable<::location::nearby::connections::WifiHotspotStaUsableChannels>()},
|
||||||
{::_pbi::TcParser::GetTable<::location::nearby::connections::MediumRole>()},
|
{::_pbi::TcParser::GetTable<::location::nearby::connections::MediumRole>()},
|
||||||
{0, 2},
|
{0, 3},
|
||||||
}},
|
}},
|
||||||
{{
|
{{
|
||||||
}},
|
}},
|
||||||
|
|||||||
@@ -722,18 +722,19 @@ bool AutoReconnectFrame_EventType_Parse(
|
|||||||
enum MediumMetadata_WifiDirectAuthType : int {
|
enum MediumMetadata_WifiDirectAuthType : int {
|
||||||
MediumMetadata_WifiDirectAuthType_WIFI_DIRECT_TYPE_UNKNOWN = 0,
|
MediumMetadata_WifiDirectAuthType_WIFI_DIRECT_TYPE_UNKNOWN = 0,
|
||||||
MediumMetadata_WifiDirectAuthType_WIFI_DIRECT_WITH_PASSWORD = 1,
|
MediumMetadata_WifiDirectAuthType_WIFI_DIRECT_WITH_PASSWORD = 1,
|
||||||
MediumMetadata_WifiDirectAuthType_WIFI_DIRECT_WITH_PIN = 2,
|
MediumMetadata_WifiDirectAuthType_WIFI_DIRECT_WITH_PIN [[deprecated]] = 2,
|
||||||
|
MediumMetadata_WifiDirectAuthType_WIFI_DIRECT_WITH_DEVICE_NAME = 3,
|
||||||
};
|
};
|
||||||
|
|
||||||
extern const uint32_t MediumMetadata_WifiDirectAuthType_internal_data_[];
|
extern const uint32_t MediumMetadata_WifiDirectAuthType_internal_data_[];
|
||||||
inline constexpr MediumMetadata_WifiDirectAuthType MediumMetadata_WifiDirectAuthType_WifiDirectAuthType_MIN =
|
inline constexpr MediumMetadata_WifiDirectAuthType MediumMetadata_WifiDirectAuthType_WifiDirectAuthType_MIN =
|
||||||
static_cast<MediumMetadata_WifiDirectAuthType>(0);
|
static_cast<MediumMetadata_WifiDirectAuthType>(0);
|
||||||
inline constexpr MediumMetadata_WifiDirectAuthType MediumMetadata_WifiDirectAuthType_WifiDirectAuthType_MAX =
|
inline constexpr MediumMetadata_WifiDirectAuthType MediumMetadata_WifiDirectAuthType_WifiDirectAuthType_MAX =
|
||||||
static_cast<MediumMetadata_WifiDirectAuthType>(2);
|
static_cast<MediumMetadata_WifiDirectAuthType>(3);
|
||||||
inline bool MediumMetadata_WifiDirectAuthType_IsValid(int value) {
|
inline bool MediumMetadata_WifiDirectAuthType_IsValid(int value) {
|
||||||
return 0 <= value && value <= 2;
|
return 0 <= value && value <= 3;
|
||||||
}
|
}
|
||||||
inline constexpr int MediumMetadata_WifiDirectAuthType_WifiDirectAuthType_ARRAYSIZE = 2 + 1;
|
inline constexpr int MediumMetadata_WifiDirectAuthType_WifiDirectAuthType_ARRAYSIZE = 3 + 1;
|
||||||
const ::std::string& MediumMetadata_WifiDirectAuthType_Name(MediumMetadata_WifiDirectAuthType value);
|
const ::std::string& MediumMetadata_WifiDirectAuthType_Name(MediumMetadata_WifiDirectAuthType value);
|
||||||
template <typename T>
|
template <typename T>
|
||||||
const ::std::string& MediumMetadata_WifiDirectAuthType_Name(T value) {
|
const ::std::string& MediumMetadata_WifiDirectAuthType_Name(T value) {
|
||||||
@@ -4914,6 +4915,7 @@ class BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials fin
|
|||||||
kIpV6AddressFieldNumber = 6,
|
kIpV6AddressFieldNumber = 6,
|
||||||
kServiceNameFieldNumber = 7,
|
kServiceNameFieldNumber = 7,
|
||||||
kPinFieldNumber = 8,
|
kPinFieldNumber = 8,
|
||||||
|
kDeviceNameFieldNumber = 9,
|
||||||
kPortFieldNumber = 3,
|
kPortFieldNumber = 3,
|
||||||
kFrequencyFieldNumber = 4,
|
kFrequencyFieldNumber = 4,
|
||||||
};
|
};
|
||||||
@@ -4981,15 +4983,15 @@ class BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials fin
|
|||||||
::std::string* PROTOBUF_NONNULL _internal_mutable_ip_v6_address();
|
::std::string* PROTOBUF_NONNULL _internal_mutable_ip_v6_address();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// optional string service_name = 7;
|
// optional string service_name = 7 [deprecated = true];
|
||||||
bool has_service_name() const;
|
[[deprecated]] bool has_service_name() const;
|
||||||
void clear_service_name() ;
|
[[deprecated]] void clear_service_name() ;
|
||||||
const ::std::string& service_name() const;
|
[[deprecated]] const ::std::string& service_name() const;
|
||||||
template <typename Arg_ = const ::std::string&, typename... Args_>
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
||||||
void set_service_name(Arg_&& arg, Args_... args);
|
[[deprecated]] void set_service_name(Arg_&& arg, Args_... args);
|
||||||
::std::string* PROTOBUF_NONNULL mutable_service_name();
|
[[deprecated]] ::std::string* PROTOBUF_NONNULL mutable_service_name();
|
||||||
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_service_name();
|
[[deprecated]] [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_service_name();
|
||||||
void set_allocated_service_name(::std::string* PROTOBUF_NULLABLE value);
|
[[deprecated]] void set_allocated_service_name(::std::string* PROTOBUF_NULLABLE value);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
const ::std::string& _internal_service_name() const;
|
const ::std::string& _internal_service_name() const;
|
||||||
@@ -5012,6 +5014,22 @@ class BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials fin
|
|||||||
PROTOBUF_ALWAYS_INLINE void _internal_set_pin(const ::std::string& value);
|
PROTOBUF_ALWAYS_INLINE void _internal_set_pin(const ::std::string& value);
|
||||||
::std::string* PROTOBUF_NONNULL _internal_mutable_pin();
|
::std::string* PROTOBUF_NONNULL _internal_mutable_pin();
|
||||||
|
|
||||||
|
public:
|
||||||
|
// optional string device_name = 9;
|
||||||
|
bool has_device_name() const;
|
||||||
|
void clear_device_name() ;
|
||||||
|
const ::std::string& device_name() const;
|
||||||
|
template <typename Arg_ = const ::std::string&, typename... Args_>
|
||||||
|
void set_device_name(Arg_&& arg, Args_... args);
|
||||||
|
::std::string* PROTOBUF_NONNULL mutable_device_name();
|
||||||
|
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_device_name();
|
||||||
|
void set_allocated_device_name(::std::string* PROTOBUF_NULLABLE value);
|
||||||
|
|
||||||
|
private:
|
||||||
|
const ::std::string& _internal_device_name() const;
|
||||||
|
PROTOBUF_ALWAYS_INLINE void _internal_set_device_name(const ::std::string& value);
|
||||||
|
::std::string* PROTOBUF_NONNULL _internal_mutable_device_name();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// optional int32 port = 3;
|
// optional int32 port = 3;
|
||||||
bool has_port() const;
|
bool has_port() const;
|
||||||
@@ -5039,7 +5057,7 @@ class BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials fin
|
|||||||
private:
|
private:
|
||||||
class _Internal;
|
class _Internal;
|
||||||
friend class ::google::protobuf::internal::TcParser;
|
friend class ::google::protobuf::internal::TcParser;
|
||||||
static const ::google::protobuf::internal::TcParseTable<3, 8,
|
static const ::google::protobuf::internal::TcParseTable<4, 9,
|
||||||
0, 0,
|
0, 0,
|
||||||
2>
|
2>
|
||||||
_table_;
|
_table_;
|
||||||
@@ -5068,6 +5086,7 @@ class BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials fin
|
|||||||
::google::protobuf::internal::ArenaStringPtr ip_v6_address_;
|
::google::protobuf::internal::ArenaStringPtr ip_v6_address_;
|
||||||
::google::protobuf::internal::ArenaStringPtr service_name_;
|
::google::protobuf::internal::ArenaStringPtr service_name_;
|
||||||
::google::protobuf::internal::ArenaStringPtr pin_;
|
::google::protobuf::internal::ArenaStringPtr pin_;
|
||||||
|
::google::protobuf::internal::ArenaStringPtr device_name_;
|
||||||
::int32_t port_;
|
::int32_t port_;
|
||||||
::int32_t frequency_;
|
::int32_t frequency_;
|
||||||
PROTOBUF_TSAN_DECLARE_MEMBER
|
PROTOBUF_TSAN_DECLARE_MEMBER
|
||||||
@@ -7679,7 +7698,8 @@ class MediumMetadata final : public ::google::protobuf::MessageLite
|
|||||||
using WifiDirectAuthType = MediumMetadata_WifiDirectAuthType;
|
using WifiDirectAuthType = MediumMetadata_WifiDirectAuthType;
|
||||||
static constexpr WifiDirectAuthType WIFI_DIRECT_TYPE_UNKNOWN = MediumMetadata_WifiDirectAuthType_WIFI_DIRECT_TYPE_UNKNOWN;
|
static constexpr WifiDirectAuthType WIFI_DIRECT_TYPE_UNKNOWN = MediumMetadata_WifiDirectAuthType_WIFI_DIRECT_TYPE_UNKNOWN;
|
||||||
static constexpr WifiDirectAuthType WIFI_DIRECT_WITH_PASSWORD = MediumMetadata_WifiDirectAuthType_WIFI_DIRECT_WITH_PASSWORD;
|
static constexpr WifiDirectAuthType WIFI_DIRECT_WITH_PASSWORD = MediumMetadata_WifiDirectAuthType_WIFI_DIRECT_WITH_PASSWORD;
|
||||||
static constexpr WifiDirectAuthType WIFI_DIRECT_WITH_PIN = MediumMetadata_WifiDirectAuthType_WIFI_DIRECT_WITH_PIN;
|
[[deprecated]] static constexpr WifiDirectAuthType WIFI_DIRECT_WITH_PIN = MediumMetadata_WifiDirectAuthType_WIFI_DIRECT_WITH_PIN;
|
||||||
|
static constexpr WifiDirectAuthType WIFI_DIRECT_WITH_DEVICE_NAME = MediumMetadata_WifiDirectAuthType_WIFI_DIRECT_WITH_DEVICE_NAME;
|
||||||
static inline bool WifiDirectAuthType_IsValid(int value) {
|
static inline bool WifiDirectAuthType_IsValid(int value) {
|
||||||
return MediumMetadata_WifiDirectAuthType_IsValid(value);
|
return MediumMetadata_WifiDirectAuthType_IsValid(value);
|
||||||
}
|
}
|
||||||
@@ -15574,14 +15594,14 @@ inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentia
|
|||||||
|
|
||||||
// optional int32 port = 3;
|
// optional int32 port = 3;
|
||||||
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::has_port() const {
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::has_port() const {
|
||||||
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::clear_port() {
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::clear_port() {
|
||||||
::google::protobuf::internal::TSanWrite(&_impl_);
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
||||||
_impl_.port_ = 0;
|
_impl_.port_ = 0;
|
||||||
ClearHasBit(_impl_._has_bits_[0],
|
ClearHasBit(_impl_._has_bits_[0],
|
||||||
0x00000040U);
|
0x00000080U);
|
||||||
}
|
}
|
||||||
inline ::int32_t BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::port() const {
|
inline ::int32_t BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::port() const {
|
||||||
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.port)
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.port)
|
||||||
@@ -15589,7 +15609,7 @@ inline ::int32_t BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCred
|
|||||||
}
|
}
|
||||||
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::set_port(::int32_t value) {
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::set_port(::int32_t value) {
|
||||||
_internal_set_port(value);
|
_internal_set_port(value);
|
||||||
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
|
SetHasBit(_impl_._has_bits_[0], 0x00000080U);
|
||||||
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.port)
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.port)
|
||||||
}
|
}
|
||||||
inline ::int32_t BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_internal_port() const {
|
inline ::int32_t BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_internal_port() const {
|
||||||
@@ -15603,14 +15623,14 @@ inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentia
|
|||||||
|
|
||||||
// optional int32 frequency = 4;
|
// optional int32 frequency = 4;
|
||||||
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::has_frequency() const {
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::has_frequency() const {
|
||||||
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000100U);
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::clear_frequency() {
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::clear_frequency() {
|
||||||
::google::protobuf::internal::TSanWrite(&_impl_);
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
||||||
_impl_.frequency_ = 0;
|
_impl_.frequency_ = 0;
|
||||||
ClearHasBit(_impl_._has_bits_[0],
|
ClearHasBit(_impl_._has_bits_[0],
|
||||||
0x00000080U);
|
0x00000100U);
|
||||||
}
|
}
|
||||||
inline ::int32_t BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::frequency() const {
|
inline ::int32_t BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::frequency() const {
|
||||||
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.frequency)
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.frequency)
|
||||||
@@ -15618,7 +15638,7 @@ inline ::int32_t BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCred
|
|||||||
}
|
}
|
||||||
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::set_frequency(::int32_t value) {
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::set_frequency(::int32_t value) {
|
||||||
_internal_set_frequency(value);
|
_internal_set_frequency(value);
|
||||||
SetHasBit(_impl_._has_bits_[0], 0x00000080U);
|
SetHasBit(_impl_._has_bits_[0], 0x00000100U);
|
||||||
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.frequency)
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.frequency)
|
||||||
}
|
}
|
||||||
inline ::int32_t BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_internal_frequency() const {
|
inline ::int32_t BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_internal_frequency() const {
|
||||||
@@ -15764,7 +15784,7 @@ inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentia
|
|||||||
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.ip_v6_address)
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.ip_v6_address)
|
||||||
}
|
}
|
||||||
|
|
||||||
// optional string service_name = 7;
|
// optional string service_name = 7 [deprecated = true];
|
||||||
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::has_service_name() const {
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::has_service_name() const {
|
||||||
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
|
||||||
return value;
|
return value;
|
||||||
@@ -15833,6 +15853,75 @@ inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentia
|
|||||||
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.service_name)
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.service_name)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// optional string device_name = 9;
|
||||||
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::has_device_name() const {
|
||||||
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::clear_device_name() {
|
||||||
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
||||||
|
_impl_.device_name_.ClearToEmpty();
|
||||||
|
ClearHasBit(_impl_._has_bits_[0],
|
||||||
|
0x00000040U);
|
||||||
|
}
|
||||||
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::device_name() const
|
||||||
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
||||||
|
// @@protoc_insertion_point(field_get:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.device_name)
|
||||||
|
return _internal_device_name();
|
||||||
|
}
|
||||||
|
template <typename Arg_, typename... Args_>
|
||||||
|
PROTOBUF_ALWAYS_INLINE void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::set_device_name(Arg_&& arg, Args_... args) {
|
||||||
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
||||||
|
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
|
||||||
|
_impl_.device_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
|
||||||
|
// @@protoc_insertion_point(field_set:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.device_name)
|
||||||
|
}
|
||||||
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::mutable_device_name()
|
||||||
|
ABSL_ATTRIBUTE_LIFETIME_BOUND {
|
||||||
|
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
|
||||||
|
::std::string* _s = _internal_mutable_device_name();
|
||||||
|
// @@protoc_insertion_point(field_mutable:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.device_name)
|
||||||
|
return _s;
|
||||||
|
}
|
||||||
|
inline const ::std::string& BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_internal_device_name() const {
|
||||||
|
::google::protobuf::internal::TSanRead(&_impl_);
|
||||||
|
return _impl_.device_name_.Get();
|
||||||
|
}
|
||||||
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_internal_set_device_name(const ::std::string& value) {
|
||||||
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
||||||
|
_impl_.device_name_.Set(value, GetArena());
|
||||||
|
}
|
||||||
|
inline ::std::string* PROTOBUF_NONNULL BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::_internal_mutable_device_name() {
|
||||||
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
||||||
|
return _impl_.device_name_.Mutable( GetArena());
|
||||||
|
}
|
||||||
|
inline ::std::string* PROTOBUF_NULLABLE BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::release_device_name() {
|
||||||
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
||||||
|
// @@protoc_insertion_point(field_release:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.device_name)
|
||||||
|
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000040U)) {
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
|
ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
|
||||||
|
auto* released = _impl_.device_name_.Release();
|
||||||
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
|
||||||
|
_impl_.device_name_.Set("", GetArena());
|
||||||
|
}
|
||||||
|
return released;
|
||||||
|
}
|
||||||
|
inline void BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::set_allocated_device_name(::std::string* PROTOBUF_NULLABLE value) {
|
||||||
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
||||||
|
if (value != nullptr) {
|
||||||
|
SetHasBit(_impl_._has_bits_[0], 0x00000040U);
|
||||||
|
} else {
|
||||||
|
ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
|
||||||
|
}
|
||||||
|
_impl_.device_name_.SetAllocated(value, GetArena());
|
||||||
|
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.device_name_.IsDefault()) {
|
||||||
|
_impl_.device_name_.Set("", GetArena());
|
||||||
|
}
|
||||||
|
// @@protoc_insertion_point(field_set_allocated:location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiDirectCredentials.device_name)
|
||||||
|
}
|
||||||
|
|
||||||
// optional string pin = 8;
|
// optional string pin = 8;
|
||||||
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::has_pin() const {
|
inline bool BandwidthUpgradeNegotiationFrame_UpgradePathInfo_WifiDirectCredentials::has_pin() const {
|
||||||
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
|
bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -324,18 +324,19 @@ bool Medium_Parse(
|
|||||||
enum WifiDirectAuthType : int {
|
enum WifiDirectAuthType : int {
|
||||||
WIFI_DIRECT_TYPE_UNKNOWN = 0,
|
WIFI_DIRECT_TYPE_UNKNOWN = 0,
|
||||||
WIFI_DIRECT_WITH_PASSWORD = 1,
|
WIFI_DIRECT_WITH_PASSWORD = 1,
|
||||||
WIFI_DIRECT_WITH_PIN = 2,
|
WIFI_DIRECT_WITH_PIN [[deprecated]] = 2,
|
||||||
|
WIFI_DIRECT_WITH_DEVICE_NAME = 3,
|
||||||
};
|
};
|
||||||
|
|
||||||
extern const uint32_t WifiDirectAuthType_internal_data_[];
|
extern const uint32_t WifiDirectAuthType_internal_data_[];
|
||||||
inline constexpr WifiDirectAuthType WifiDirectAuthType_MIN =
|
inline constexpr WifiDirectAuthType WifiDirectAuthType_MIN =
|
||||||
static_cast<WifiDirectAuthType>(0);
|
static_cast<WifiDirectAuthType>(0);
|
||||||
inline constexpr WifiDirectAuthType WifiDirectAuthType_MAX =
|
inline constexpr WifiDirectAuthType WifiDirectAuthType_MAX =
|
||||||
static_cast<WifiDirectAuthType>(2);
|
static_cast<WifiDirectAuthType>(3);
|
||||||
inline bool WifiDirectAuthType_IsValid(int value) {
|
inline bool WifiDirectAuthType_IsValid(int value) {
|
||||||
return 0 <= value && value <= 2;
|
return 0 <= value && value <= 3;
|
||||||
}
|
}
|
||||||
inline constexpr int WifiDirectAuthType_ARRAYSIZE = 2 + 1;
|
inline constexpr int WifiDirectAuthType_ARRAYSIZE = 3 + 1;
|
||||||
const ::std::string& WifiDirectAuthType_Name(WifiDirectAuthType value);
|
const ::std::string& WifiDirectAuthType_Name(WifiDirectAuthType value);
|
||||||
template <typename T>
|
template <typename T>
|
||||||
const ::std::string& WifiDirectAuthType_Name(T value) {
|
const ::std::string& WifiDirectAuthType_Name(T value) {
|
||||||
@@ -1272,17 +1273,54 @@ enum OperationResultCode : int {
|
|||||||
DCT_ERROR_SERVICE_CANCELLED = 5022,
|
DCT_ERROR_SERVICE_CANCELLED = 5022,
|
||||||
DCT_ERROR_UNVERIFIED_INTEGRITY = 5023,
|
DCT_ERROR_UNVERIFIED_INTEGRITY = 5023,
|
||||||
DCT_ERROR_HTTP_SERVER_CLOSED = 5024,
|
DCT_ERROR_HTTP_SERVER_CLOSED = 5024,
|
||||||
|
DCT_ERROR_CHECKIN_FAILURE = 5025,
|
||||||
|
DCT_ERROR_REMOTE_ATTESTATION_TIMEOUT = 5026,
|
||||||
|
DCT_ERROR_REMOTE_ATTESTATION_NULL_PACKET = 5027,
|
||||||
|
DCT_ERROR_REMOTE_ATTESTATION_STATUS_NOT_AVAILABLE = 5028,
|
||||||
|
DCT_ERROR_REMOTE_ATTESTATION_HASH_TOO_SHORT = 5029,
|
||||||
|
DCT_ERROR_REMOTE_ATTESTATION_APPLE_INTEGRITY_UNAVAILABLE = 5030,
|
||||||
|
DCT_ERROR_LOCAL_ATTESTATION_PLAY_INTEGRITY_UNAVAILABLE = 5031,
|
||||||
|
DCT_ERROR_LOCAL_ATTESTATION_TIMEOUT = 5032,
|
||||||
|
DCT_ERROR_PARALLEL_ATTESTATION_TIMEOUT = 5033,
|
||||||
|
DCT_ERROR_REMOTE_MDNS_DISCOVERY_TIMEOUT = 5034,
|
||||||
|
DCT_ERROR_REMOTE_MDNS_REGISTER_SERVICE = 5035,
|
||||||
|
DCT_ERROR_REMOTE_REQUEST_FAILED = 5036,
|
||||||
|
DCT_ERROR_REMOTE_RESPONSE_FAILED = 5037,
|
||||||
|
DCT_ERROR_REMOTE_CONTROL_MESSAGE_EXCHANGE = 5038,
|
||||||
|
DCT_ERROR_REMOTE_CAPABILITY_MISMATCH = 5039,
|
||||||
|
DCT_ERROR_REMOTE_HIGH_SPEED_MEDIUM_UNAVAILABLE = 5040,
|
||||||
|
DCT_ERROR_REMOTE_WIFI_DISABLED = 5041,
|
||||||
|
DCT_ERROR_REMOTE_WIFI_DISCONNECTED = 5042,
|
||||||
|
DCT_ERROR_REMOTE_WIFI_CREDENTIAL_TRANSFER = 5043,
|
||||||
|
DCT_ERROR_REMOTE_WIFI_INTERNET_CONNECTION = 5044,
|
||||||
|
DCT_ERROR_REMOTE_UPGRADE_HIGH_SPEED_MEDIUM_FAILED = 5045,
|
||||||
|
DCT_ERROR_REMOTE_USER_CANCELLED = 5046,
|
||||||
|
DCT_ERROR_REMOTE_SERVICE_CANCELLED = 5047,
|
||||||
|
DCT_ERROR_REMOTE_UNVERIFIED_INTEGRITY = 5048,
|
||||||
|
DCT_ERROR_UPGRADE_HIGH_SPEED_MEDIUM_FAILED_LOW_SPEED = 5049,
|
||||||
|
DCT_ERROR_UPGRADE_HIGH_SPEED_MEDIUM_FAILED_CONNECTION = 5050,
|
||||||
|
DCT_ERROR_UPGRADE_HIGH_SPEED_MEDIUM_FAILED_USB_NOT_PLUGGED = 5051,
|
||||||
|
DCT_ERROR_UPGRADE_HIGH_SPEED_MEDIUM_FAILED_USB_NOT_HOST = 5052,
|
||||||
|
DCT_ERROR_UPGRADE_HIGH_SPEED_MEDIUM_FAILED_MDNS_DISCOVERY_NOT_STARTED = 5053,
|
||||||
|
DCT_ERROR_UPGRADE_HIGH_SPEED_MEDIUM_FAILED_NO_MEDIUM = 5054,
|
||||||
|
DCT_ERROR_UPGRADE_HIGH_SPEED_MEDIUM_FAILED_USB_NETWORK_NOT_STARTED = 5055,
|
||||||
|
DCT_ERROR_UPGRADE_HIGH_SPEED_MEDIUM_FAILED_MEDIUM_NEGOTIATION = 5056,
|
||||||
|
DCT_ERROR_UPGRADE_HIGH_SPEED_MEDIUM_FAILED_HOST_NOT_STARTED = 5057,
|
||||||
|
DCT_ERROR_UPGRADE_HIGH_SPEED_MEDIUM_FAILED_HOST_NETWORK_NOT_AVAILABLE = 5058,
|
||||||
|
DCT_ERROR_UPGRADE_HIGH_SPEED_MEDIUM_FAILED_NO_INCOMING_HTTP_CONNECTION = 5059,
|
||||||
|
DCT_ERROR_UPGRADE_HIGH_SPEED_MEDIUM_FAILED_USB_NO_CONNECTED_DEVICE = 5060,
|
||||||
|
DCT_ERROR_UPGRADE_HIGH_SPEED_MEDIUM_FAILED_INTERRUPTED = 5061,
|
||||||
};
|
};
|
||||||
|
|
||||||
extern const uint32_t OperationResultCode_internal_data_[];
|
extern const uint32_t OperationResultCode_internal_data_[];
|
||||||
inline constexpr OperationResultCode OperationResultCode_MIN =
|
inline constexpr OperationResultCode OperationResultCode_MIN =
|
||||||
static_cast<OperationResultCode>(0);
|
static_cast<OperationResultCode>(0);
|
||||||
inline constexpr OperationResultCode OperationResultCode_MAX =
|
inline constexpr OperationResultCode OperationResultCode_MAX =
|
||||||
static_cast<OperationResultCode>(5024);
|
static_cast<OperationResultCode>(5061);
|
||||||
inline bool OperationResultCode_IsValid(int value) {
|
inline bool OperationResultCode_IsValid(int value) {
|
||||||
return ::google::protobuf::internal::ValidateEnum(value, OperationResultCode_internal_data_);
|
return ::google::protobuf::internal::ValidateEnum(value, OperationResultCode_internal_data_);
|
||||||
}
|
}
|
||||||
inline constexpr int OperationResultCode_ARRAYSIZE = 5024 + 1;
|
inline constexpr int OperationResultCode_ARRAYSIZE = 5061 + 1;
|
||||||
const ::std::string& OperationResultCode_Name(OperationResultCode value);
|
const ::std::string& OperationResultCode_Name(OperationResultCode value);
|
||||||
template <typename T>
|
template <typename T>
|
||||||
const ::std::string& OperationResultCode_Name(T value) {
|
const ::std::string& OperationResultCode_Name(T value) {
|
||||||
|
|||||||
@@ -326,9 +326,10 @@ message BandwidthUpgradeNegotiationFrame {
|
|||||||
// The GO should listen on both IPv4 and IPv6 addresses.
|
// The GO should listen on both IPv4 and IPv6 addresses.
|
||||||
// https://en.wikipedia.org/wiki/Link-local_address#IPv6
|
// https://en.wikipedia.org/wiki/Link-local_address#IPv6
|
||||||
optional bytes ip_v6_address = 6;
|
optional bytes ip_v6_address = 6;
|
||||||
// Windows only supports WifiDirect with Service Discovey. Its
|
// Windows and Android will use Wi-Fi P2P device discovery for WifiDirect.
|
||||||
// credentials is the service_name/pin.
|
// Its credentials is the device_name.
|
||||||
optional string service_name = 7;
|
optional string service_name = 7 [deprecated = true];
|
||||||
|
optional string device_name = 9;
|
||||||
// WifiDirect spec requires that pin is exactly 8 digits. The first 7
|
// WifiDirect spec requires that pin is exactly 8 digits. The first 7
|
||||||
// digits are the PIN. The last 1 digit is a checksum calculated using a
|
// digits are the PIN. The last 1 digit is a checksum calculated using a
|
||||||
// specific algorithm (CRC-8). However, the Windows WinRT
|
// specific algorithm (CRC-8). However, the Windows WinRT
|
||||||
@@ -340,6 +341,8 @@ message BandwidthUpgradeNegotiationFrame {
|
|||||||
// pin is exchanged in the connection handshake stage, but we create and
|
// pin is exchanged in the connection handshake stage, but we create and
|
||||||
// save it before starting GO, so we can send it to GC side for
|
// save it before starting GO, so we can send it to GC side for
|
||||||
// authentication.
|
// authentication.
|
||||||
|
// Note: pin is not used for WIFI_DIRECT_WITH_DEVICE_NAME, reserve for
|
||||||
|
// future expansion.
|
||||||
optional string pin = 8;
|
optional string pin = 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -512,9 +515,10 @@ message MediumMetadata {
|
|||||||
// WifiDirect type that uses ssid/password for authentication. Android
|
// WifiDirect type that uses ssid/password for authentication. Android
|
||||||
// supports this type, but Windows does not.
|
// supports this type, but Windows does not.
|
||||||
WIFI_DIRECT_WITH_PASSWORD = 1;
|
WIFI_DIRECT_WITH_PASSWORD = 1;
|
||||||
// WifiDirect type that uses service_name/pin for authentication. Android
|
// WifiDirect type that uses device_name for discovery and connect.
|
||||||
// and Windows both support this type.
|
// Android and Windows both support this type.
|
||||||
WIFI_DIRECT_WITH_PIN = 2;
|
WIFI_DIRECT_WITH_PIN = 2 [deprecated = true];
|
||||||
|
WIFI_DIRECT_WITH_DEVICE_NAME = 3;
|
||||||
}
|
}
|
||||||
// LINT.ThenChange(//depot/google3/third_party/nearby/proto/connections_enums.proto)
|
// LINT.ThenChange(//depot/google3/third_party/nearby/proto/connections_enums.proto)
|
||||||
|
|
||||||
|
|||||||
@@ -110,9 +110,10 @@ enum WifiDirectAuthType {
|
|||||||
// WifiDirect type that uses ssid/password for authentication. Android
|
// WifiDirect type that uses ssid/password for authentication. Android
|
||||||
// supports this type, but Windows does not.
|
// supports this type, but Windows does not.
|
||||||
WIFI_DIRECT_WITH_PASSWORD = 1;
|
WIFI_DIRECT_WITH_PASSWORD = 1;
|
||||||
// WifiDirect type that uses service_name/pin for authentication. Android
|
// WifiDirect type that uses device_name for discovery and connect.
|
||||||
// and Windows both support this type.
|
// Android and Windows both support this type.
|
||||||
WIFI_DIRECT_WITH_PIN = 2;
|
WIFI_DIRECT_WITH_PIN = 2 [deprecated = true];
|
||||||
|
WIFI_DIRECT_WITH_DEVICE_NAME = 3;
|
||||||
}
|
}
|
||||||
// LINT.ThenChange(//depot/google3/third_party/nearby/connections/implementation/proto/offline_wire_formats.proto)
|
// LINT.ThenChange(//depot/google3/third_party/nearby/connections/implementation/proto/offline_wire_formats.proto)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user