Merge pull request #2064 from anayw2001/main

Update compiled_proto
This commit is contained in:
Anay Wadhera
2023-08-13 10:37:49 -04:00
committed by GitHub
8 changed files with 4550 additions and 226 deletions
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+284
View File
@@ -517,6 +517,288 @@ inline const std::string& PowerLevel_Name(T enum_t_value) {
}
bool PowerLevel_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PowerLevel* value);
enum OperationResultCategory : int {
CATEGORY_UNKNOWN = 0,
CATEGORY_SUCCESS = 1,
CATEGORY_CLIENT_CANCELLATION = 2,
CATEGORY_MEDIUM_UNAVAILABLE = 3,
CATEGORY_DEVICE_STATE_ERROR = 4,
CATEGORY_CLIENT_ERROR = 5,
CATEGORY_NEARBY_ERROR = 6,
CATEGORY_CONNECTIVITY_ERROR = 7,
CATEGORY_MISCELLANEOUS = 8,
CATEGORY_IO_ERROR = 9
};
bool OperationResultCategory_IsValid(int value);
constexpr OperationResultCategory OperationResultCategory_MIN = CATEGORY_UNKNOWN;
constexpr OperationResultCategory OperationResultCategory_MAX = CATEGORY_IO_ERROR;
constexpr int OperationResultCategory_ARRAYSIZE = OperationResultCategory_MAX + 1;
const std::string& OperationResultCategory_Name(OperationResultCategory value);
template<typename T>
inline const std::string& OperationResultCategory_Name(T enum_t_value) {
static_assert(::std::is_same<T, OperationResultCategory>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function OperationResultCategory_Name.");
return OperationResultCategory_Name(static_cast<OperationResultCategory>(enum_t_value));
}
bool OperationResultCategory_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, OperationResultCategory* value);
enum OperationResultDetail : int {
DETAIL_UNKNOWN = 0,
DETAIL_SUCCESS = 1,
CLIENT_CANCELLATION_REMOTE_IN_CANCELED_STATE = 500,
CLIENT_CANCELLATION_LOCAL_CANCEL_PAYLOAD = 501,
CLIENT_CANCELLATION_REMOTE_CANCEL_PAYLOAD = 502,
CLIENT_CANCELLATION_UPGRADE_CANCELED_BY_REMOTE = 503,
CLIENT_CANCELLATION_CANCEL_BLE_OUTGOING_CONNECTION = 504,
CLIENT_CANCELLATION_CANCEL_BT_OUTGOING_CONNECTION = 505,
CLIENT_CANCELLATION_CANCEL_L2CAP_OUTGOING_CONNECTION = 506,
CLIENT_CANCELLATION_CANCEL_LAN_OUTGOING_CONNECTION = 507,
CLIENT_CANCELLATION_CANCEL_NFC_OUTGOING_CONNECTION = 508,
CLIENT_CANCELLATION_CANCEL_USB_OUTGOING_CONNECTION = 509,
CLIENT_CANCELLATION_CANCEL_WIFI_AWARE_OUTGOING_CONNECTION = 510,
CLIENT_CANCELLATION_CANCEL_WIFI_DIRECT_OUTGOING_CONNECTION = 511,
CLIENT_CANCELLATION_CANCEL_WIFI_HOTSPOT_OUTGOING_CONNECTION = 512,
CLIENT_CANCELLATION_CANCEL_WEB_RTC_OUTGOING_CONNECTION = 513,
CLIENT_CANCELLATION_CANCEL_OUTGOING_CONNECTION = 514,
CLIENT_CANCELLATION_CANCEL_INCOMING_CONNECTION = 515,
CLIENT_CANCELLATION_WIFI_AWARE_SERVER_SOCKET_CREATION = 516,
CLIENT_CANCELLATION_WIFI_DIRECT_SERVER_SOCKET_CREATION = 517,
CLIENT_CANCELLATION_WIFI_HOTSPOT_SERVER_SOCKET_CREATION = 518,
CLIENT_CANCELLATION_BT_SERVER_SOCKET_CREATION = 519,
CLIENT_CANCELLATION_WEB_RTC_SERVER_SOCKET_CREATION = 520,
CLIENT_CANCELLATION_WIFI_LAN_SERVER_SOCKET_CREATION = 521,
CLIENT_CANCELLATION_LOCAL_DISCONNECT = 522,
CLIENT_CANCELLATION_REMOTE_DISCONNECT = 523,
DEVICE_STATE_ERROR_UNFINISHED_UPGRADE_ATTEMPTS = 1000,
DEVICE_STATE_ERROR_USER_HOTSPOT_ENABLED = 1001,
DEVICE_STATE_LOCATION_DISABLED = 1002,
DEVICE_STATE_RADIO_DISABLING_FAILURE = 1003,
DEVICE_STATE_RADIO_ENABLING_FAILURE = 1004,
MEDIUM_UNAVAILABLE_WIFI_AWARE_RESOURCE_NOT_AVAILABLE = 1500,
MEDIUM_UNAVAILABLE_DIRECT_HOTSPOT_NOT_SUPPORT = 1501,
MEDIUM_UNAVAILABLE_SOFT_AP_NOT_SUPPORT = 1502,
MEDIUM_UNAVAILABLE_LOCAL_ONLY_HOTSPOT_NOT_SUPPORT = 1503,
MEDIUM_UNAVAILABLE_LOCAL_ONLY_HOTSPOT_NOT_SUPPORT_5G = 1504,
MEDIUM_UNAVAILABLE_BLE_NOT_AVAILABLE = 1505,
MEDIUM_UNAVAILABLE_L2CAP_NOT_AVAILABLE = 1506,
MEDIUM_UNAVAILABLE_BLUETOOTH_NOT_AVAILABLE = 1507,
MEDIUM_UNAVAILABLE_WEB_RTC_NOT_AVAILABLE = 1508,
MEDIUM_UNAVAILABLE_WIFI_AWARE_NOT_AVAILABLE = 1509,
MEDIUM_UNAVAILABLE_WIFI_HOTSPOT_NOT_AVAILABLE = 1510,
MEDIUM_UNAVAILABLE_WIFI_DIRECT_NOT_AVAILABLE = 1511,
MEDIUM_UNAVAILABLE_NFC_NOT_AVAILABLE = 1512,
MEDIUM_UNAVAILABLE_LAN_NOT_AVAILABLE = 1513,
MEDIUM_UNAVAILABLE_USB_NOT_AVAILABLE = 1514,
MEDIUM_UNAVAILABLE_BLE_NC_LOGICAL_NOT_AVAILABLE = 1515,
MEDIUM_UNAVAILABLE_BT_NC_LOGICAL_NOT_AVAILABLE = 1516,
MEDIUM_UNAVAILABLE_LAN_NC_LOGICAL_NOT_AVAILABLE = 1517,
MEDIUM_UNAVAILABLE_NFC_NC_LOGICAL_NOT_AVAILABLE = 1518,
MEDIUM_UNAVAILABLE_USB_NC_LOGICAL_NOT_AVAILABLE = 1519,
MEDIUM_UNAVAILABLE_WEB_RTC_NC_LOGICAL_NOT_AVAILABLE = 1520,
MEDIUM_UNAVAILABLE_WIFI_AWARE_NC_LOGICAL_NOT_AVAILABLE = 1521,
MEDIUM_UNAVAILABLE_WIFI_HOTSPOT_NC_LOGICAL_NOT_AVAILABLE = 1522,
MEDIUM_UNAVAILABLE_WIFI_DIRECT_NC_LOGICAL_NOT_AVAILABLE = 1523,
MEDIUM_UNAVAILABLE_WIFI_HOTSPOT_P2P_RESOURCE_NOT_AVAILABLE = 1524,
MEDIUM_UNAVAILABLE_WIFI_DIRECT_P2P_RESOURCE_NOT_AVAILABLE = 1525,
MEDIUM_UNAVAILABLE_UPGRADE_SKIP_BLE_LOW_QUALITY_MEDIUMS = 1526,
MEDIUM_UNAVAILABLE_UPGRADE_SKIP_L2CAP_LOW_QUALITY_MEDIUMS = 1527,
MEDIUM_UNAVAILABLE_UPGRADE_SKIP_WEB_RTC_LOW_QUALITY_MEDIUMS = 1528,
MEDIUM_UNAVAILABLE_UPGRADE_SKIP_LAN_LOW_QUALITY_MEDIUMS = 1529,
MEDIUM_UNAVAILABLE_UPGRADE_SKIP_BT_LOW_QUALITY_MEDIUMS = 1530,
MEDIUM_UNAVAILABLE_UPGRADE_SKIP_USB_LOW_QUALITY_MEDIUMS = 1531,
MEDIUM_UNAVAILABLE_LOCAL_ONLY_HOTSPOT_DISRUPTIVE_FALSE = 1532,
MEDIUM_UNAVAILABLE_SOFT_AP_DISRUPTIVE_FALSE = 1533,
MEDIUM_UNAVAILABLE_ALREADY_HAVE_A_WIFI_DIRECT_GROUP = 1534,
MEDIUM_UNAVAILABLE_ALREADY_HOSTING_HOTSPOT_FOR_OTHER_CLIENTS = 1535,
MEDIUM_UNAVAILABLE_REJECT_L2CAP_ON_GATT_MULTIPLEX_CONNECTION = 1536,
MEDIUM_UNAVAILABLE_UPGRADE_ON_SAME_MEDIUM = 1537,
MEDIUM_UNAVAILABLE_WEB_RTC_NO_INTERNET = 1538,
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,
CLIENT_DUPLICATE_ACCEPTING_L2CAP_CONNECTION_REQUEST = 2003,
CLIENT_DUPLICATE_ACCEPTING_BT_CONNECTION_REQUEST = 2004,
CLIENT_DUPLICATE_ACCEPTING_LAN_CONNECTION_REQUEST = 2005,
CLIENT_DUPLICATE_ACCEPTING_NFC_CONNECTION_REQUEST = 2006,
CLIENT_DUPLICATE_ACCEPTING_WEB_RTC_CONNECTION_REQUEST = 2007,
CLIENT_DUPLICATE_ACCEPTING_WIFI_AWARE_CONNECTION_REQUEST = 2008,
CLIENT_DUPLICATE_ACCEPTING_WIFI_HOTSPOT_CONNECTION_REQUEST = 2009,
CLIENT_DUPLICATE_ACCEPTING_WIFI_DIRECT_CONNECTION_REQUEST = 2010,
CLIENT_DUPLICATE_ACCEPTING_USB_CONNECTION_REQUEST = 2011,
CLIENT_DUPLICATE_WIFI_AWARE_CONNECTION_REQUEST = 2012,
CLIENT_DUPLICATE_WIFI_DIRECT_CONNECTION_REQUEST = 2013,
CLIENT_DUPLICATE_WIFI_HOTSPOT_CONNECTION_REQUEST = 2014,
CLIENT_DUPLICATE_WIFI_AWARE_SUBSCRIBING_REQUEST = 2015,
CLIENT_UNSUPPORTED_USB_TO_BE_UPGRADE_MEDIUM = 2016,
MISCELLEANEOUS_BLUETOOTH_MAC_ADDRESS_NULL = 2500,
MISCELLEANEOUS_MOVE_TO_NEW_MEDIUM = 2501,
MISCELLEANEOUS_WIFI_HOTSPOT_SOFT_AP_BLOCKED_BY_PROVISION = 2502,
MISCELLEANEOUS_BLE_SYSTEM_SERVICE_NULL = 2503,
MISCELLEANEOUS_L2CAP_SYSTEM_SERVICE_NULL = 2504,
MISCELLEANEOUS_BT_SYSTEM_SERVICE_NULL = 2505,
MISCELLEANEOUS_WIFI_AWARE_SYSTEM_SERVICE_NULL = 2506,
MISCELLEANEOUS_WIFI_DIRECT_SYSTEM_SERVICE_NULL = 2507,
MISCELLEANEOUS_WIFI_LAN_SYSTEM_SERVICE_NULL = 2508,
MISCELLEANEOUS_WIFI_HOTSPOT_SYSTEM_SERVICE_NULL = 2509,
MISCELLEANEOUS_BT_NOT_ACCEPTING_CONNECTION_FOR_WORK_PROFILE = 2510,
MISCELLEANEOUS_WEB_RTC_GET_DROIDGUARD_RESULT_FAILURE = 2511,
MISCELLEANEOUS_WEB_RTC_TACHYON_SIGNALING_MESSENGER_NULL = 2512,
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_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,
CONNECTIVITY_WIFI_AWARE_ATTACH_FAILURE = 3500,
CONNECTIVITY_BLUETOOTH_DEVICE_OBTAIN_FAILURE = 3501,
CONNECTIVITY_BLE_CLIENT_SOCKET_CREATION_FAILURE = 3502,
CONNECTIVITY_L2CAP_CLIENT_SOCKET_CREATION_FAILURE = 3503,
CONNECTIVITY_BT_CLIENT_SOCKET_CREATION_FAILURE = 3504,
CONNECTIVITY_LAN_CLIENT_SOCKET_CREATION_FAILURE = 3505,
CONNECTIVITY_NFC_CLIENT_SOCKET_CREATION_FAILURE = 3506,
CONNECTIVITY_WEB_RTC_CLIENT_SOCKET_CREATION_FAILURE = 3507,
CONNECTIVITY_WIFI_AWARE_CLIENT_SOCKET_CREATION_FAILURE = 3508,
CONNECTIVITY_WIFI_HOTSPOT_CLIENT_SOCKET_CREATION_FAILURE = 3509,
CONNECTIVITY_WIFI_DIRECT_CLIENT_SOCKET_CREATION_FAILURE = 3510,
CONNECTIVITY_USB_CLIENT_SOCKET_CREATION_FAILURE = 3511,
CONNECTIVITY_WEB_RTC_CONNECT_TO_TACHYON_FAILURE = 3512,
CONNECTIVITY_BLE_CREATE_GATT_CONNECTION_FAILURE = 3513,
CONNECTIVITY_WIFI_AWARE_GET_REMOTE_IP_FRAME_FAILURE = 3514,
CONNECTIVITY_WIFI_AWARE_GET_REMOTE_IP_ADDRESS_FAILURE = 3515,
CONNECTIVITY_WIFI_DIRECT_INCONSISTENT_HOSTED_WIFI_BAND = 3516,
CONNECTIVITY_WIFI_HOTSPOT_INCONSISTENT_HOSTED_WIFI_BAND = 3517,
CONNECTIVITY_BLUETOOTH_INVALID_CREDENTIAL = 3518,
CONNECTIVITY_WIFI_LAN_INVALID_CREDENTIAL = 3519,
CONNECTIVITY_WIFI_DIRECT_INVALID_CREDENTIAL = 3520,
CONNECTIVITY_WIFI_HOTSPOT_INVALID_CREDENTIAL = 3521,
CONNECTIVITY_WIFI_AWARE_INVALID_CREDENTIAL = 3522,
CONNECTIVITY_WEB_RTC_INVALID_CREDENTIAL = 3523,
CONNECTIVITY_WIFI_LAN_IP_ADDRESS_ERROR = 3524,
CONNECTIVITY_L2CAP_CLIENT_OBTAIN_FAIURE = 3525,
CONNECTIVITY_L2CAP_DATA_CONNECTION_FAILURE = 3526,
CONNECTIVITY_WIFI_AWARE_L2MESSAGE_NETWORK_AVAILABLE_FRAME_NULL = 3527,
CONNECTIVITY_WIFI_AWARE_L2MESSAGE_SEND_HOST_NETWORK_FRAME_FAILURE = 3528,
CONNECTIVITY_LAN_UNREACHABLE = 3529,
CONNECTIVITY_WIFI_HOTSPOT_LOHS_CREATION_FAILURE = 3530,
CONNECTIVITY_LAN_GET_NETWORK_INTERFACES_FAILURE = 3531,
CONNECTIVITY_WIFI_DIRECT_GET_NETWORK_INTERFACES_FAILURE = 3532,
CONNECTIVITY_WIFI_HOTSPOT_GET_NETWORK_INTERFACES_FAILURE = 3533,
CONNECTIVITY_WIFI_HOTSPOT_P2P_CHANNEL_INITIALIZE_FAILURE = 3534,
CONNECTIVITY_WIFI_DIRECT_P2P_CHANNEL_INITIALIZE_FAILURE = 3535,
CONNECTIVITY_WIFI_HOTSPOT_P2P_GROUP_CREATION_FAILURE = 3536,
CONNECTIVITY_WIFI_DIRECT_P2P_GROUP_CREATION_FAILURE = 3537,
CONNECTIVITY_GATT_SERVER_OPEN_FAILURE = 3538,
CONNECTIVITY_BLE_SERVER_SOCKET_CREATION_FAILURE = 3539,
CONNECTIVITY_L2CAP_SERVER_SOCKET_CREATION_FAILURE = 3540,
CONNECTIVITY_BT_SERVER_SOCKET_CREATION_FAILURE = 3541,
CONNECTIVITY_LAN_SERVER_SOCKET_CREATION_FAILURE = 3542,
CONNECTIVITY_WEB_RTC_SERVER_SOCKET_CREATION_FAILURE = 3543,
CONNECTIVITY_WIFI_AWARE_SERVER_SOCKET_CREATION_FAILURE = 3544,
CONNECTIVITY_WIFI_HOTSPOT_SERVER_SOCKET_CREATION_FAILURE = 3545,
CONNECTIVITY_WIFI_DIRECT_SERVER_SOCKET_CREATION_FAILURE = 3546,
CONNECTIVITY_NFC_SERVER_SOCKET_CREATION_FAILURE = 3547,
CONNECTIVITY_WIFI_HOTSPOT_SOFT_AP_CREATION_FAILURE = 3548,
CONNECTIVITY_WIFI_AWARE_UPDATE_PUBLISH_FAILURE = 3549,
CONNECTIVITY_GENERIC_WRITING_CHANNEL_IO_ERROR = 3550,
CONNECTIVITY_GENERIC_WRITE_CLIENT_INTRODUCTION_ACK_IO_ERROR = 3551,
CONNECTIVITY_WIFI_AWARE_DISCOVERED_PEER_NULL = 3552,
CONNECTIVITY_GENERIC_PAYLOAD_SENT_ERROR = 3553,
CONNECTIVITY_L2CAP_SERVER_SOCKET_CREATION_SECURITY_EXCEPTION_FAILURE = 3554,
CONNECTIVITY_BT_SERVER_SOCKET_CREATION_SECURITY_EXCEPTION_FAILURE = 3555,
NEARBY_BLE_ADVERTISEMENT_MAPPING_TO_MAC_ERROR = 4500,
NEARBY_BLUETOOTH_MAC_ADDRESS_INVALID_FOR_CONNECT = 4501,
NEARBY_WEB_RTC_CONNECTION_FLOW_NULL = 4502,
NEARBY_GENERIC_CONNECTION_CLOSED = 4503,
NEARBY_BLE_ENDPOINT_CHANNEL_CREATION_FAILURE = 4504,
NEARBY_L2CAP_ENDPOINT_CHANNEL_CREATION_FAILURE = 4505,
NEARBY_BT_ENDPOINT_CHANNEL_CREATION_FAILURE = 4506,
NEARBY_LAN_ENDPOINT_CHANNEL_CREATION_FAILURE = 4507,
NEARBY_NFC_ENDPOINT_CHANNEL_CREATION_FAILURE = 4508,
NEARBY_WIFI_AWARE_ENDPOINT_CHANNEL_CREATION_FAILURE = 4509,
NEARBY_WIFI_HOTSPOT_ENDPOINT_CHANNEL_CREATION_FAILURE = 4510,
NEARBY_WIFI_DIRECT_ENDPOINT_CHANNEL_CREATION_FAILURE = 4511,
NEARBY_WEB_RTC_ENDPOINT_CHANNEL_CREATION_FAILURE = 4512,
NEARBY_USB_ENDPOINT_CHANNEL_CREATION_FAILURE = 4513,
NEARBY_GENERIC_ENDPOINT_UNENCRYPTED = 4514,
NEARBY_BLE_GATT_ADVERTISEMENT_NULL_FOR_CONNECTION = 4515,
NEARBY_WIFI_DIRECT_HOST_ON_SRD_CHANNELS = 4516,
NEARBY_WIFI_HOTSPOT_HOST_ON_SRD_CHANNELS = 4517,
NEARBY_BLE_GATT_NULL_CALLBACK = 4518,
NEARBY_L2CAP_NULL_CALLBACK = 4519,
NEARBY_BT_NULL_CALLBACK = 4520,
NEARBY_USB_NULL_CALLBACK = 4521,
NEARBY_NFC_NULL_CALLBACK = 4522,
NEARBY_WIFI_AWARE_NULL_CALLBACK = 4523,
NEARBY_WEB_RTC_NULL_CALLBACK = 4524,
NEARBY_LAN_NULL_CALLBACK = 4525,
NEARBY_WIFI_HOTSPOT_NULL_CALLBACK = 4526,
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_LAN_MULTIPLEX_SOCKET_DISABLED = 4531,
NEARBY_GENERIC_NEW_ENDPOINT_CHANNEL_NULL = 4532,
NEARBY_WIFI_DIRECT_NO_GROUP_FOR_LISTENING = 4533,
NEARBY_WIFI_HOTSPOT_NO_HOTSPOT_FOR_LISTENING = 4534,
NEARBY_GENERIC_OLD_ENDPOINT_CHANNEL_NULL = 4535,
NEARBY_BLE_OPERATION_REGISTERED_FAILED = 4536,
NEARBY_L2CAP_OPERATION_REGISTERED_FAILED = 4537,
NEARBY_BT_OPERATION_REGISTERED_FAILED = 4538,
NEARBY_LAN_OPERATION_REGISTERED_FAILED = 4539,
NEARBY_WEB_RTC_OPERATION_REGISTERED_FAILED = 4540,
NEARBY_WIFI_AWARE_OPERATION_REGISTERED_FAILED = 4541,
NEARBY_WIFI_HOTSPOT_DIRECT_OPERATION_REGISTERED_FAILED = 4542,
NEARBY_WIFI_HOTSPOT_SOFT_AP_OPERATION_REGISTERED_FAILED = 4543,
NEARBY_WIFI_HOTSPOT_LOHS_OPERATION_REGISTERED_FAILED = 4544,
NEARBY_WIFI_HOTSPOT_CLIENT_OPERATION_REGISTERED_FAILED = 4545,
NEARBY_WIFI_DIRECT_OPERATION_REGISTERED_FAILED = 4546,
NEARBY_GENERIC_OUTGOING_PAYLOAD_CREATION_FAILURE = 4547,
NEARBY_WIFI_HOTSPOT_P2P_NON_DBS_WANT_2G_BUT_AP_5G = 4548,
NEARBY_WIFI_DIRECT_P2P_NON_DBS_WANT_2G_BUT_AP_5G = 4549,
NEARBY_WIFI_HOTSPOT_P2P_NON_DBS_WANT_5G_BUT_AP_2G = 4550,
NEARBY_WIFI_DIRECT_P2P_NON_DBS_WANT_5G_BUT_AP_2G = 4551,
NEARBY_GENERIC_INCOMING_PAYLOAD_NOT_DATA_TYPE = 4552,
NEARBY_GENERIC_READ_CLIENT_INTRODUCTION_EVENT_TYPE_ERROR = 4553,
NEARBY_GENERIC_READ_CLIENT_INTRODUCTION_FRAME_TYPE_ERROR = 4554,
NEARBY_GENERIC_READ_CLIENT_INTRODUCTION_FORMAT_ERROR = 4555,
NEARBY_GENERIC_READ_CLIENT_INTRODUCTION_ACK_EVENT_TYPE_ERROR = 4556,
NEARBY_GENERIC_READ_CLIENT_INTRODUCTION_ACK_FRAME_TYPE_ERROR = 4557,
NEARBY_GENERIC_READ_CLIENT_INTRODUCTION_ACK_FORMAT_ERROR = 4558,
NEARBY_GENERIC_REMOTE_ENDPOINT_STATUS_ERROR = 4559,
NEARBY_GENERIC_REMOTE_REPORT_PAYLOADS_ERROR = 4560,
NEARBY_GENERIC_REMOTE_UPGRADE_FAILURE = 4561,
NEARBY_GENERIC_SEND_PAYLOAD_EXECUTOR_NULL = 4562,
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
};
bool OperationResultDetail_IsValid(int value);
constexpr OperationResultDetail OperationResultDetail_MIN = DETAIL_UNKNOWN;
constexpr OperationResultDetail OperationResultDetail_MAX = NEARBY_L2CAP_PSM_NOT_POSITIVE;
constexpr int OperationResultDetail_ARRAYSIZE = OperationResultDetail_MAX + 1;
const std::string& OperationResultDetail_Name(OperationResultDetail value);
template<typename T>
inline const std::string& OperationResultDetail_Name(T enum_t_value) {
static_assert(::std::is_same<T, OperationResultDetail>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function OperationResultDetail_Name.");
return OperationResultDetail_Name(static_cast<OperationResultDetail>(enum_t_value));
}
bool OperationResultDetail_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, OperationResultDetail* value);
// ===================================================================
@@ -560,6 +842,8 @@ template <> struct is_proto_enum< ::location::nearby::proto::connections::Bandwi
template <> struct is_proto_enum< ::location::nearby::proto::connections::BandwidthUpgradeErrorStage> : ::std::true_type {};
template <> struct is_proto_enum< ::location::nearby::proto::connections::LogSource> : ::std::true_type {};
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::OperationResultDetail> : ::std::true_type {};
PROTOBUF_NAMESPACE_CLOSE
+58 -6
View File
@@ -35,6 +35,7 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT SocketControlFrameDefaultTypeIn
constexpr IntroductionFrame::IntroductionFrame(
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
: service_id_hash_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
, service_id_hash_salt_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
, socket_version_(0)
{}
struct IntroductionFrameDefaultTypeInternal {
@@ -552,6 +553,9 @@ class IntroductionFrame::_Internal {
(*has_bits)[0] |= 1u;
}
static void set_has_socket_version(HasBits* has_bits) {
(*has_bits)[0] |= 4u;
}
static void set_has_service_id_hash_salt(HasBits* has_bits) {
(*has_bits)[0] |= 2u;
}
};
@@ -577,6 +581,14 @@ IntroductionFrame::IntroductionFrame(const IntroductionFrame& from)
service_id_hash_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_service_id_hash(),
GetArenaForAllocation());
}
service_id_hash_salt_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
service_id_hash_salt_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_service_id_hash_salt()) {
service_id_hash_salt_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_service_id_hash_salt(),
GetArenaForAllocation());
}
socket_version_ = from.socket_version_;
// @@protoc_insertion_point(copy_constructor:location.nearby.mediums.IntroductionFrame)
}
@@ -586,6 +598,10 @@ service_id_hash_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptySt
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
service_id_hash_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
service_id_hash_salt_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
service_id_hash_salt_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
socket_version_ = 0;
}
@@ -599,6 +615,7 @@ IntroductionFrame::~IntroductionFrame() {
inline void IntroductionFrame::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
service_id_hash_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
service_id_hash_salt_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
void IntroductionFrame::ArenaDtor(void* object) {
@@ -618,8 +635,13 @@ void IntroductionFrame::Clear() {
(void) cached_has_bits;
cached_has_bits = _has_bits_[0];
if (cached_has_bits & 0x00000001u) {
service_id_hash_.ClearNonDefaultToEmpty();
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
service_id_hash_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
service_id_hash_salt_.ClearNonDefaultToEmpty();
}
}
socket_version_ = 0;
_has_bits_.Clear();
@@ -655,6 +677,15 @@ const char* IntroductionFrame::_InternalParse(const char* ptr, ::PROTOBUF_NAMESP
} else
goto handle_unusual;
continue;
// optional string service_id_hash_salt = 3;
case 3:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
auto str = _internal_mutable_service_id_hash_salt();
ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
default:
goto handle_unusual;
} // switch
@@ -693,12 +724,18 @@ uint8_t* IntroductionFrame::_InternalSerialize(
}
// optional .location.nearby.mediums.SocketVersion socket_version = 2;
if (cached_has_bits & 0x00000002u) {
if (cached_has_bits & 0x00000004u) {
target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
2, this->_internal_socket_version(), target);
}
// optional string service_id_hash_salt = 3;
if (cached_has_bits & 0x00000002u) {
target = stream->WriteStringMaybeAliased(
3, this->_internal_service_id_hash_salt(), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
@@ -716,7 +753,7 @@ size_t IntroductionFrame::ByteSizeLong() const {
(void) cached_has_bits;
cached_has_bits = _has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000007u) {
// optional bytes service_id_hash = 1;
if (cached_has_bits & 0x00000001u) {
total_size += 1 +
@@ -724,8 +761,15 @@ size_t IntroductionFrame::ByteSizeLong() const {
this->_internal_service_id_hash());
}
// optional .location.nearby.mediums.SocketVersion socket_version = 2;
// optional string service_id_hash_salt = 3;
if (cached_has_bits & 0x00000002u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_service_id_hash_salt());
}
// optional .location.nearby.mediums.SocketVersion socket_version = 2;
if (cached_has_bits & 0x00000004u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_socket_version());
}
@@ -752,11 +796,14 @@ void IntroductionFrame::MergeFrom(const IntroductionFrame& 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_service_id_hash(from._internal_service_id_hash());
}
if (cached_has_bits & 0x00000002u) {
_internal_set_service_id_hash_salt(from._internal_service_id_hash_salt());
}
if (cached_has_bits & 0x00000004u) {
socket_version_ = from.socket_version_;
}
_has_bits_[0] |= cached_has_bits;
@@ -786,6 +833,11 @@ void IntroductionFrame::InternalSwap(IntroductionFrame* other) {
&service_id_hash_, lhs_arena,
&other->service_id_hash_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
&service_id_hash_salt_, lhs_arena,
&other->service_id_hash_salt_, rhs_arena
);
swap(socket_version_, other->socket_version_);
}
+92 -3
View File
@@ -468,6 +468,7 @@ class IntroductionFrame final :
enum : int {
kServiceIdHashFieldNumber = 1,
kServiceIdHashSaltFieldNumber = 3,
kSocketVersionFieldNumber = 2,
};
// optional bytes service_id_hash = 1;
@@ -488,6 +489,24 @@ class IntroductionFrame final :
std::string* _internal_mutable_service_id_hash();
public:
// optional string service_id_hash_salt = 3;
bool has_service_id_hash_salt() const;
private:
bool _internal_has_service_id_hash_salt() const;
public:
void clear_service_id_hash_salt();
const std::string& service_id_hash_salt() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_service_id_hash_salt(ArgT0&& arg0, ArgT... args);
std::string* mutable_service_id_hash_salt();
PROTOBUF_NODISCARD std::string* release_service_id_hash_salt();
void set_allocated_service_id_hash_salt(std::string* service_id_hash_salt);
private:
const std::string& _internal_service_id_hash_salt() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_service_id_hash_salt(const std::string& value);
std::string* _internal_mutable_service_id_hash_salt();
public:
// optional .location.nearby.mediums.SocketVersion socket_version = 2;
bool has_socket_version() const;
private:
@@ -511,6 +530,7 @@ class IntroductionFrame final :
::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr service_id_hash_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr service_id_hash_salt_;
int socket_version_;
friend struct ::TableStruct_proto_2fmediums_2fble_5fframes_2eproto;
};
@@ -1208,7 +1228,7 @@ inline void IntroductionFrame::set_allocated_service_id_hash(std::string* servic
// optional .location.nearby.mediums.SocketVersion socket_version = 2;
inline bool IntroductionFrame::_internal_has_socket_version() const {
bool value = (_has_bits_[0] & 0x00000002u) != 0;
bool value = (_has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool IntroductionFrame::has_socket_version() const {
@@ -1216,7 +1236,7 @@ inline bool IntroductionFrame::has_socket_version() const {
}
inline void IntroductionFrame::clear_socket_version() {
socket_version_ = 0;
_has_bits_[0] &= ~0x00000002u;
_has_bits_[0] &= ~0x00000004u;
}
inline ::location::nearby::mediums::SocketVersion IntroductionFrame::_internal_socket_version() const {
return static_cast< ::location::nearby::mediums::SocketVersion >(socket_version_);
@@ -1227,7 +1247,7 @@ inline ::location::nearby::mediums::SocketVersion IntroductionFrame::socket_vers
}
inline void IntroductionFrame::_internal_set_socket_version(::location::nearby::mediums::SocketVersion value) {
assert(::location::nearby::mediums::SocketVersion_IsValid(value));
_has_bits_[0] |= 0x00000002u;
_has_bits_[0] |= 0x00000004u;
socket_version_ = value;
}
inline void IntroductionFrame::set_socket_version(::location::nearby::mediums::SocketVersion value) {
@@ -1235,6 +1255,75 @@ inline void IntroductionFrame::set_socket_version(::location::nearby::mediums::S
// @@protoc_insertion_point(field_set:location.nearby.mediums.IntroductionFrame.socket_version)
}
// optional string service_id_hash_salt = 3;
inline bool IntroductionFrame::_internal_has_service_id_hash_salt() const {
bool value = (_has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool IntroductionFrame::has_service_id_hash_salt() const {
return _internal_has_service_id_hash_salt();
}
inline void IntroductionFrame::clear_service_id_hash_salt() {
service_id_hash_salt_.ClearToEmpty();
_has_bits_[0] &= ~0x00000002u;
}
inline const std::string& IntroductionFrame::service_id_hash_salt() const {
// @@protoc_insertion_point(field_get:location.nearby.mediums.IntroductionFrame.service_id_hash_salt)
return _internal_service_id_hash_salt();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void IntroductionFrame::set_service_id_hash_salt(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000002u;
service_id_hash_salt_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:location.nearby.mediums.IntroductionFrame.service_id_hash_salt)
}
inline std::string* IntroductionFrame::mutable_service_id_hash_salt() {
std::string* _s = _internal_mutable_service_id_hash_salt();
// @@protoc_insertion_point(field_mutable:location.nearby.mediums.IntroductionFrame.service_id_hash_salt)
return _s;
}
inline const std::string& IntroductionFrame::_internal_service_id_hash_salt() const {
return service_id_hash_salt_.Get();
}
inline void IntroductionFrame::_internal_set_service_id_hash_salt(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
service_id_hash_salt_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* IntroductionFrame::_internal_mutable_service_id_hash_salt() {
_has_bits_[0] |= 0x00000002u;
return service_id_hash_salt_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* IntroductionFrame::release_service_id_hash_salt() {
// @@protoc_insertion_point(field_release:location.nearby.mediums.IntroductionFrame.service_id_hash_salt)
if (!_internal_has_service_id_hash_salt()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
auto* p = service_id_hash_salt_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (service_id_hash_salt_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
service_id_hash_salt_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
return p;
}
inline void IntroductionFrame::set_allocated_service_id_hash_salt(std::string* service_id_hash_salt) {
if (service_id_hash_salt != nullptr) {
_has_bits_[0] |= 0x00000002u;
} else {
_has_bits_[0] &= ~0x00000002u;
}
service_id_hash_salt_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), service_id_hash_salt,
GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (service_id_hash_salt_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
service_id_hash_salt_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:location.nearby.mediums.IntroductionFrame.service_id_hash_salt)
}
// -------------------------------------------------------------------
// DisconnectionFrame
File diff suppressed because it is too large Load Diff
+246 -4
View File
@@ -117,11 +117,16 @@ enum EventType : int {
DEFAULT_OPT_IN = 56,
SETUP_WIZARD = 57,
TAP_QR_CODE = 58,
QR_CODE_LINK_SHOWN = 59
QR_CODE_LINK_SHOWN = 59,
PARSING_FAILED_ENDPOINT_ID = 60,
FAST_INIT_DISCOVER_DEVICE = 61,
SEND_DESKTOP_NOTIFICATION = 62,
SET_ACCOUNT = 63,
DECRYPT_CERTIFICATE_FAILURE = 64
};
bool EventType_IsValid(int value);
constexpr EventType EventType_MIN = UNKNOWN_EVENT_TYPE;
constexpr EventType EventType_MAX = QR_CODE_LINK_SHOWN;
constexpr EventType EventType_MAX = DECRYPT_CERTIFICATE_FAILURE;
constexpr int EventType_ARRAYSIZE = EventType_MAX + 1;
const std::string& EventType_Name(EventType value);
@@ -258,11 +263,15 @@ enum AttachmentTransmissionStatus : int {
FAILED_NULL_CONNECTION = 14,
FAILED_NO_PAYLOAD = 15,
FAILED_WRITE_INTRODUCTION = 16,
FAILED_UNKNOWN_REMOTE_RESPONSE = 17
FAILED_UNKNOWN_REMOTE_RESPONSE = 17,
FAILED_NULL_CONNECTION_INIT_OUTGOING = 18,
FAILED_NULL_CONNECTION_DISCONNECTED = 19,
FAILED_NULL_CONNECTION_LOST_CONNECTIVITY = 20,
FAILED_NULL_CONNECTION_FAILURE = 21
};
bool AttachmentTransmissionStatus_IsValid(int value);
constexpr AttachmentTransmissionStatus AttachmentTransmissionStatus_MIN = UNKNOWN_ATTACHMENT_TRANSMISSION_STATUS;
constexpr AttachmentTransmissionStatus AttachmentTransmissionStatus_MAX = FAILED_UNKNOWN_REMOTE_RESPONSE;
constexpr AttachmentTransmissionStatus AttachmentTransmissionStatus_MAX = FAILED_NULL_CONNECTION_FAILURE;
constexpr int AttachmentTransmissionStatus_ARRAYSIZE = AttachmentTransmissionStatus_MAX + 1;
const std::string& AttachmentTransmissionStatus_Name(AttachmentTransmissionStatus value);
@@ -275,6 +284,42 @@ inline const std::string& AttachmentTransmissionStatus_Name(T enum_t_value) {
}
bool AttachmentTransmissionStatus_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, AttachmentTransmissionStatus* value);
enum ConnectionLayerStatus : int {
CONNECTION_LAYER_STATUS_UNKNOWN = 0,
CONNECTION_LAYER_STATUS_SUCCESS = 1,
CONNECTION_LAYER_STATUS_ERROR = 2,
CONNECTION_LAYER_STATUS_OUT_OF_ORDER_API_CALL = 3,
CONNECTION_LAYER_STATUS_ALREADY_HAVE_ACTIVE_STRATEGY = 4,
CONNECTION_LAYER_STATUS_ALREADY_ADVERTISING = 5,
CONNECTION_LAYER_STATUS_ALREADY_DISCOVERING = 6,
CONNECTION_LAYER_STATUS_ALREADY_LISTENING = 7,
CONNECTION_LAYER_STATUS_END_POINT_IO_ERROR = 8,
CONNECTION_LAYER_STATUS_END_POINT_UNKNOWN = 9,
CONNECTION_LAYER_STATUS_CONNECTION_REJECTED = 10,
CONNECTION_LAYER_STATUS_ALREADY_CONNECTED_TO_END_POINT = 11,
CONNECTION_LAYER_STATUS_NOT_CONNECTED_TO_END_POINT = 12,
CONNECTION_LAYER_STATUS_BLUETOOTH_ERROR = 13,
CONNECTION_LAYER_STATUS_BLE_ERROR = 14,
CONNECTION_LAYER_STATUS_WIFI_LAN_ERROR = 15,
CONNECTION_LAYER_STATUS_PAYLOAD_UNKNOWN = 16,
CONNECTION_LAYER_STATUS_RESET = 17,
CONNECTION_LAYER_STATUS_TIMEOUT = 18
};
bool ConnectionLayerStatus_IsValid(int value);
constexpr ConnectionLayerStatus ConnectionLayerStatus_MIN = CONNECTION_LAYER_STATUS_UNKNOWN;
constexpr ConnectionLayerStatus ConnectionLayerStatus_MAX = CONNECTION_LAYER_STATUS_TIMEOUT;
constexpr int ConnectionLayerStatus_ARRAYSIZE = ConnectionLayerStatus_MAX + 1;
const std::string& ConnectionLayerStatus_Name(ConnectionLayerStatus value);
template<typename T>
inline const std::string& ConnectionLayerStatus_Name(T enum_t_value) {
static_assert(::std::is_same<T, ConnectionLayerStatus>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function ConnectionLayerStatus_Name.");
return ConnectionLayerStatus_Name(static_cast<ConnectionLayerStatus>(enum_t_value));
}
bool ConnectionLayerStatus_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConnectionLayerStatus* value);
enum ProcessReceivedAttachmentsStatus : int {
PROCESSING_STATUS_UNKNOWN = 0,
PROCESSING_STATUS_COMPLETE_PROCESSING_ATTACHMENTS = 1,
@@ -483,6 +528,59 @@ inline const std::string& ServerResponseState_Name(T enum_t_value) {
}
bool ServerResponseState_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ServerResponseState* value);
enum SyncPurpose : int {
SYNC_PURPOSE_UNKNOWN = 0,
SYNC_PURPOSE_ON_DEMAND_SYNC = 1,
SYNC_PURPOSE_CHIME_NOTIFICATION = 2,
SYNC_PURPOSE_DAILY_SYNC = 3,
SYNC_PURPOSE_OPT_IN_FIRST_SYNC = 4,
SYNC_PURPOSE_CHECK_DEFAULT_OPT_IN = 5,
SYNC_PURPOSE_NEARBY_SHARE_ENABLED = 6,
SYNC_PURPOSE_SYNC_AT_FAST_INIT = 7,
SYNC_PURPOSE_SYNC_AT_DISCOVERY = 8,
SYNC_PURPOSE_SYNC_AT_LOAD_PRIVATE_CERTIFICATE = 9,
SYNC_PURPOSE_SYNC_AT_ADVERTISEMENT = 10,
SYNC_PURPOSE_CONTACT_LIST_CHANGE = 11,
SYNC_PURPOSE_SHOW_C11N_VIEW = 12,
SYNC_PURPOSE_REGULAR_CHECK_CONTACT_REACHABILITY = 13,
SYNC_PURPOSE_VISIBILITY_SELECTED_CONTACT_CHANGE = 14,
SYNC_PURPOSE_ACCOUNT_CHANGE = 15
};
bool SyncPurpose_IsValid(int value);
constexpr SyncPurpose SyncPurpose_MIN = SYNC_PURPOSE_UNKNOWN;
constexpr SyncPurpose SyncPurpose_MAX = SYNC_PURPOSE_ACCOUNT_CHANGE;
constexpr int SyncPurpose_ARRAYSIZE = SyncPurpose_MAX + 1;
const std::string& SyncPurpose_Name(SyncPurpose value);
template<typename T>
inline const std::string& SyncPurpose_Name(T enum_t_value) {
static_assert(::std::is_same<T, SyncPurpose>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function SyncPurpose_Name.");
return SyncPurpose_Name(static_cast<SyncPurpose>(enum_t_value));
}
bool SyncPurpose_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SyncPurpose* value);
enum ClientRole : int {
CLIENT_ROLE_UNKNOWN = 0,
CLIENT_ROLE_SENDER = 1,
CLIENT_ROLE_RECEIVER = 2
};
bool ClientRole_IsValid(int value);
constexpr ClientRole ClientRole_MIN = CLIENT_ROLE_UNKNOWN;
constexpr ClientRole ClientRole_MAX = CLIENT_ROLE_RECEIVER;
constexpr int ClientRole_ARRAYSIZE = ClientRole_MAX + 1;
const std::string& ClientRole_Name(ClientRole value);
template<typename T>
inline const std::string& ClientRole_Name(T enum_t_value) {
static_assert(::std::is_same<T, ClientRole>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function ClientRole_Name.");
return ClientRole_Name(static_cast<ClientRole>(enum_t_value));
}
bool ClientRole_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ClientRole* value);
enum ScanType : int {
UNKNOWN_SCAN_TYPE = 0,
FOREGROUND_SCAN = 1,
@@ -505,6 +603,26 @@ inline const std::string& ScanType_Name(T enum_t_value) {
}
bool ScanType_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ScanType* value);
enum ParsingFailedType : int {
FAILED_UNKNOWN_TYPE = 0,
FAILED_PARSE_ADVERTISEMENT = 1,
FAILED_CONVERT_SHARE_TARGET = 2
};
bool ParsingFailedType_IsValid(int value);
constexpr ParsingFailedType ParsingFailedType_MIN = FAILED_UNKNOWN_TYPE;
constexpr ParsingFailedType ParsingFailedType_MAX = FAILED_CONVERT_SHARE_TARGET;
constexpr int ParsingFailedType_ARRAYSIZE = ParsingFailedType_MAX + 1;
const std::string& ParsingFailedType_Name(ParsingFailedType value);
template<typename T>
inline const std::string& ParsingFailedType_Name(T enum_t_value) {
static_assert(::std::is_same<T, ParsingFailedType>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function ParsingFailedType_Name.");
return ParsingFailedType_Name(static_cast<ParsingFailedType>(enum_t_value));
}
bool ParsingFailedType_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ParsingFailedType* value);
enum AdvertisingMode : int {
UNKNOWN_ADVERTISING_MODE = 0,
SCREEN_OFF_ADVERTISING_MODE = 1,
@@ -838,6 +956,121 @@ inline const std::string& PreferencesActionStatus_Name(T enum_t_value) {
}
bool PreferencesActionStatus_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PreferencesActionStatus* value);
enum FastInitState : int {
FAST_INIT_UNKNOWN_STATE = 0,
FAST_INIT_CLOSE_STATE = 1,
FAST_INIT_FAR_STATE = 2,
FAST_INIT_LOST_STATE = 3
};
bool FastInitState_IsValid(int value);
constexpr FastInitState FastInitState_MIN = FAST_INIT_UNKNOWN_STATE;
constexpr FastInitState FastInitState_MAX = FAST_INIT_LOST_STATE;
constexpr int FastInitState_ARRAYSIZE = FastInitState_MAX + 1;
const std::string& FastInitState_Name(FastInitState value);
template<typename T>
inline const std::string& FastInitState_Name(T enum_t_value) {
static_assert(::std::is_same<T, FastInitState>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function FastInitState_Name.");
return FastInitState_Name(static_cast<FastInitState>(enum_t_value));
}
bool FastInitState_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FastInitState* value);
enum FastInitType : int {
FAST_INIT_UNKNOWN_TYPE = 0,
FAST_INIT_NOTIFY_TYPE = 1,
FAST_INIT_SILENT_TYPE = 2
};
bool FastInitType_IsValid(int value);
constexpr FastInitType FastInitType_MIN = FAST_INIT_UNKNOWN_TYPE;
constexpr FastInitType FastInitType_MAX = FAST_INIT_SILENT_TYPE;
constexpr int FastInitType_ARRAYSIZE = FastInitType_MAX + 1;
const std::string& FastInitType_Name(FastInitType value);
template<typename T>
inline const std::string& FastInitType_Name(T enum_t_value) {
static_assert(::std::is_same<T, FastInitType>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function FastInitType_Name.");
return FastInitType_Name(static_cast<FastInitType>(enum_t_value));
}
bool FastInitType_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FastInitType* value);
enum DesktopNotification : int {
DESKTOP_NOTIFICATION_UNKNOWN = 0,
DESKTOP_NOTIFICATION_CONNECTING = 1,
DESKTOP_NOTIFICATION_PROGRESS = 2,
DESKTOP_NOTIFICATION_ACCEPT = 3,
DESKTOP_NOTIFICATION_RECEIVED = 4,
DESKTOP_NOTIFICATION_ERROR = 5
};
bool DesktopNotification_IsValid(int value);
constexpr DesktopNotification DesktopNotification_MIN = DESKTOP_NOTIFICATION_UNKNOWN;
constexpr DesktopNotification DesktopNotification_MAX = DESKTOP_NOTIFICATION_ERROR;
constexpr int DesktopNotification_ARRAYSIZE = DesktopNotification_MAX + 1;
const std::string& DesktopNotification_Name(DesktopNotification value);
template<typename T>
inline const std::string& DesktopNotification_Name(T enum_t_value) {
static_assert(::std::is_same<T, DesktopNotification>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function DesktopNotification_Name.");
return DesktopNotification_Name(static_cast<DesktopNotification>(enum_t_value));
}
bool DesktopNotification_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DesktopNotification* value);
enum DesktopTransferEventType : int {
DESKTOP_TRANSFER_EVENT_TYPE_UNKNOWN = 0,
DESKTOP_TRANSFER_EVENT_RECEIVE_TYPE_ACCEPT = 1,
DESKTOP_TRANSFER_EVENT_RECEIVE_TYPE_PROGRESS = 2,
DESKTOP_TRANSFER_EVENT_RECEIVE_TYPE_RECEIVED = 3,
DESKTOP_TRANSFER_EVENT_RECEIVE_TYPE_ERROR = 4,
DESKTOP_TRANSFER_EVENT_SEND_TYPE_START = 5,
DESKTOP_TRANSFER_EVENT_SEND_TYPE_SELECT_A_DEVICE = 6,
DESKTOP_TRANSFER_EVENT_SEND_TYPE_PROGRESS = 7,
DESKTOP_TRANSFER_EVENT_SEND_TYPE_SENT = 8,
DESKTOP_TRANSFER_EVENT_SEND_TYPE_ERROR = 9
};
bool DesktopTransferEventType_IsValid(int value);
constexpr DesktopTransferEventType DesktopTransferEventType_MIN = DESKTOP_TRANSFER_EVENT_TYPE_UNKNOWN;
constexpr DesktopTransferEventType DesktopTransferEventType_MAX = DESKTOP_TRANSFER_EVENT_SEND_TYPE_ERROR;
constexpr int DesktopTransferEventType_ARRAYSIZE = DesktopTransferEventType_MAX + 1;
const std::string& DesktopTransferEventType_Name(DesktopTransferEventType value);
template<typename T>
inline const std::string& DesktopTransferEventType_Name(T enum_t_value) {
static_assert(::std::is_same<T, DesktopTransferEventType>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function DesktopTransferEventType_Name.");
return DesktopTransferEventType_Name(static_cast<DesktopTransferEventType>(enum_t_value));
}
bool DesktopTransferEventType_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DesktopTransferEventType* value);
enum DecryptCertificateFailureStatus : int {
DECRYPT_CERT_UNKNOWN_FAILURE = 0,
DECRYPT_CERT_NO_SUCH_ALGORITHM_FAILURE = 1,
DECRYPT_CERT_NO_SUCH_PADDING_FAILURE = 2,
DECRYPT_CERT_INVALID_KEY_FAILURE = 3,
DECRYPT_CERT_INVALID_ALGORITHM_PARAMETER_FAILURE = 4,
DECRYPT_CERT_ILLEGAL_BLOCK_SIZE_FAILURE = 5,
DECRYPT_CERT_BAD_PADDING_FAILURE = 6
};
bool DecryptCertificateFailureStatus_IsValid(int value);
constexpr DecryptCertificateFailureStatus DecryptCertificateFailureStatus_MIN = DECRYPT_CERT_UNKNOWN_FAILURE;
constexpr DecryptCertificateFailureStatus DecryptCertificateFailureStatus_MAX = DECRYPT_CERT_BAD_PADDING_FAILURE;
constexpr int DecryptCertificateFailureStatus_ARRAYSIZE = DecryptCertificateFailureStatus_MAX + 1;
const std::string& DecryptCertificateFailureStatus_Name(DecryptCertificateFailureStatus value);
template<typename T>
inline const std::string& DecryptCertificateFailureStatus_Name(T enum_t_value) {
static_assert(::std::is_same<T, DecryptCertificateFailureStatus>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function DecryptCertificateFailureStatus_Name.");
return DecryptCertificateFailureStatus_Name(static_cast<DecryptCertificateFailureStatus>(enum_t_value));
}
bool DecryptCertificateFailureStatus_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DecryptCertificateFailureStatus* value);
// ===================================================================
@@ -870,6 +1103,7 @@ template <> struct is_proto_enum< ::location::nearby::proto::sharing::Visibility
template <> struct is_proto_enum< ::location::nearby::proto::sharing::DataUsage> : ::std::true_type {};
template <> struct is_proto_enum< ::location::nearby::proto::sharing::EstablishConnectionStatus> : ::std::true_type {};
template <> struct is_proto_enum< ::location::nearby::proto::sharing::AttachmentTransmissionStatus> : ::std::true_type {};
template <> struct is_proto_enum< ::location::nearby::proto::sharing::ConnectionLayerStatus> : ::std::true_type {};
template <> struct is_proto_enum< ::location::nearby::proto::sharing::ProcessReceivedAttachmentsStatus> : ::std::true_type {};
template <> struct is_proto_enum< ::location::nearby::proto::sharing::SessionStatus> : ::std::true_type {};
template <> struct is_proto_enum< ::location::nearby::proto::sharing::ResponseToIntroduction> : ::std::true_type {};
@@ -879,7 +1113,10 @@ template <> struct is_proto_enum< ::location::nearby::proto::sharing::DeviceRela
template <> struct is_proto_enum< ::location::nearby::proto::sharing::LogSource> : ::std::true_type {};
template <> struct is_proto_enum< ::location::nearby::proto::sharing::ServerActionName> : ::std::true_type {};
template <> struct is_proto_enum< ::location::nearby::proto::sharing::ServerResponseState> : ::std::true_type {};
template <> struct is_proto_enum< ::location::nearby::proto::sharing::SyncPurpose> : ::std::true_type {};
template <> struct is_proto_enum< ::location::nearby::proto::sharing::ClientRole> : ::std::true_type {};
template <> struct is_proto_enum< ::location::nearby::proto::sharing::ScanType> : ::std::true_type {};
template <> struct is_proto_enum< ::location::nearby::proto::sharing::ParsingFailedType> : ::std::true_type {};
template <> struct is_proto_enum< ::location::nearby::proto::sharing::AdvertisingMode> : ::std::true_type {};
template <> struct is_proto_enum< ::location::nearby::proto::sharing::ActivityName> : ::std::true_type {};
template <> struct is_proto_enum< ::location::nearby::proto::sharing::ConsentType> : ::std::true_type {};
@@ -895,6 +1132,11 @@ template <> struct is_proto_enum< ::location::nearby::proto::sharing::AppCrashRe
template <> struct is_proto_enum< ::location::nearby::proto::sharing::AttachmentSourceType> : ::std::true_type {};
template <> struct is_proto_enum< ::location::nearby::proto::sharing::PreferencesAction> : ::std::true_type {};
template <> struct is_proto_enum< ::location::nearby::proto::sharing::PreferencesActionStatus> : ::std::true_type {};
template <> struct is_proto_enum< ::location::nearby::proto::sharing::FastInitState> : ::std::true_type {};
template <> struct is_proto_enum< ::location::nearby::proto::sharing::FastInitType> : ::std::true_type {};
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 {};
PROTOBUF_NAMESPACE_CLOSE