// Generated by the protocol buffer compiler. DO NOT EDIT! // source: proto/sharing_enums.proto #ifndef GOOGLE_PROTOBUF_INCLUDED_proto_2fsharing_5fenums_2eproto #define GOOGLE_PROTOBUF_INCLUDED_proto_2fsharing_5fenums_2eproto #include #include #include #if PROTOBUF_VERSION < 3019000 #error This file was generated by a newer version of protoc which is #error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif #if 3019001 < PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. #endif #include #include #include #include #include #include #include #include // IWYU pragma: export #include // IWYU pragma: export #include // @@protoc_insertion_point(includes) #include #define PROTOBUF_INTERNAL_EXPORT_proto_2fsharing_5fenums_2eproto PROTOBUF_NAMESPACE_OPEN namespace internal { class AnyMetadata; } // namespace internal PROTOBUF_NAMESPACE_CLOSE // Internal implementation detail -- do not use these members. struct TableStruct_proto_2fsharing_5fenums_2eproto { static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; static const uint32_t offsets[]; }; PROTOBUF_NAMESPACE_OPEN PROTOBUF_NAMESPACE_CLOSE namespace location { namespace nearby { namespace proto { namespace sharing { enum EventType : int { UNKNOWN_EVENT_TYPE = 0, ACCEPT_AGREEMENTS = 1, ENABLE_NEARBY_SHARING = 2, SET_VISIBILITY = 3, DESCRIBE_ATTACHMENTS = 4, SCAN_FOR_SHARE_TARGETS_START = 5, SCAN_FOR_SHARE_TARGETS_END = 6, ADVERTISE_DEVICE_PRESENCE_START = 7, ADVERTISE_DEVICE_PRESENCE_END = 8, SEND_FAST_INITIALIZATION = 9, RECEIVE_FAST_INITIALIZATION = 10, DISCOVER_SHARE_TARGET = 11, SEND_INTRODUCTION = 12, RECEIVE_INTRODUCTION = 13, RESPOND_TO_INTRODUCTION = 14, SEND_ATTACHMENTS_START = 15, SEND_ATTACHMENTS_END = 16, RECEIVE_ATTACHMENTS_START = 17, RECEIVE_ATTACHMENTS_END = 18, CANCEL_SENDING_ATTACHMENTS = 19, CANCEL_RECEIVING_ATTACHMENTS = 20, OPEN_RECEIVED_ATTACHMENTS = 21, LAUNCH_SETUP_ACTIVITY PROTOBUF_DEPRECATED_ENUM = 22, ADD_CONTACT = 23, REMOVE_CONTACT = 24, FAST_SHARE_SERVER_RESPONSE = 25, SEND_START = 26, ACCEPT_FAST_INITIALIZATION = 27, SET_DATA_USAGE = 28, DISMISS_FAST_INITIALIZATION = 29, CANCEL_CONNECTION = 30, LAUNCH_ACTIVITY = 31, DISMISS_PRIVACY_NOTIFICATION = 32, TAP_PRIVACY_NOTIFICATION = 33, TAP_HELP = 34, TAP_FEEDBACK = 35, ADD_QUICK_SETTINGS_TILE = 36, REMOVE_QUICK_SETTINGS_TILE = 37, LAUNCH_PHONE_CONSENT = 38, DISPLAY_PHONE_CONSENT = 54, TAP_QUICK_SETTINGS_TILE = 39, INSTALL_APK = 40, VERIFY_APK = 41, LAUNCH_CONSENT = 42, PROCESS_RECEIVED_ATTACHMENTS_END = 43, TOGGLE_SHOW_NOTIFICATION = 44, SET_DEVICE_NAME = 45, DECLINE_AGREEMENTS = 46, REQUEST_SETTING_PERMISSIONS = 47, ESTABLISH_CONNECTION = 48, DEVICE_SETTINGS = 49, AUTO_DISMISS_FAST_INITIALIZATION = 50, APP_CRASH = 51, TAP_QUICK_SETTINGS_FILE_SHARE = 52, DISPLAY_PRIVACY_NOTIFICATION = 53, PREFERENCES_USAGE = 55, DEFAULT_OPT_IN = 56, SETUP_WIZARD = 57, TAP_QR_CODE = 58, 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, SHOW_ALLOW_PERMISSION_AUTO_ACCESS = 65, SEND_DESKTOP_TRANSFER_EVENT = 66, WAITING_FOR_ACCEPT = 67, HIGH_QUALITY_MEDIUM_SETUP = 68, RPC_CALL_STATUS = 69, START_QR_CODE_SESSION = 70, QR_CODE_OPENED_IN_WEB_CLIENT = 71, HATS_JOINT_EVENT = 72, RECEIVE_PREVIEWS = 73 }; bool EventType_IsValid(int value); constexpr EventType EventType_MIN = UNKNOWN_EVENT_TYPE; constexpr EventType EventType_MAX = RECEIVE_PREVIEWS; constexpr int EventType_ARRAYSIZE = EventType_MAX + 1; const std::string& EventType_Name(EventType value); template inline const std::string& EventType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function EventType_Name."); return EventType_Name(static_cast(enum_t_value)); } bool EventType_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EventType* value); enum EventCategory : int { UNKNOWN_EVENT_CATEGORY = 0, SENDING_EVENT = 1, RECEIVING_EVENT = 2, SETTINGS_EVENT = 3, RPC_EVENT = 4 }; bool EventCategory_IsValid(int value); constexpr EventCategory EventCategory_MIN = UNKNOWN_EVENT_CATEGORY; constexpr EventCategory EventCategory_MAX = RPC_EVENT; constexpr int EventCategory_ARRAYSIZE = EventCategory_MAX + 1; const std::string& EventCategory_Name(EventCategory value); template inline const std::string& EventCategory_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function EventCategory_Name."); return EventCategory_Name(static_cast(enum_t_value)); } bool EventCategory_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EventCategory* value); enum NearbySharingStatus : int { UNKNOWN_NEARBY_SHARING_STATUS = 0, ON = 1, OFF = 2 }; bool NearbySharingStatus_IsValid(int value); constexpr NearbySharingStatus NearbySharingStatus_MIN = UNKNOWN_NEARBY_SHARING_STATUS; constexpr NearbySharingStatus NearbySharingStatus_MAX = OFF; constexpr int NearbySharingStatus_ARRAYSIZE = NearbySharingStatus_MAX + 1; const std::string& NearbySharingStatus_Name(NearbySharingStatus value); template inline const std::string& NearbySharingStatus_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function NearbySharingStatus_Name."); return NearbySharingStatus_Name(static_cast(enum_t_value)); } bool NearbySharingStatus_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, NearbySharingStatus* value); enum Visibility : int { UNKNOWN_VISIBILITY = 0, CONTACTS_ONLY = 1, EVERYONE = 2, SELECTED_CONTACTS_ONLY PROTOBUF_DEPRECATED_ENUM = 3, HIDDEN = 4, SELF_SHARE = 5 }; bool Visibility_IsValid(int value); constexpr Visibility Visibility_MIN = UNKNOWN_VISIBILITY; constexpr Visibility Visibility_MAX = SELF_SHARE; constexpr int Visibility_ARRAYSIZE = Visibility_MAX + 1; const std::string& Visibility_Name(Visibility value); template inline const std::string& Visibility_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function Visibility_Name."); return Visibility_Name(static_cast(enum_t_value)); } bool Visibility_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Visibility* value); enum DataUsage : int { UNKNOWN_DATA_USAGE = 0, ONLINE = 1, WIFI_ONLY = 2, OFFLINE = 3 }; bool DataUsage_IsValid(int value); constexpr DataUsage DataUsage_MIN = UNKNOWN_DATA_USAGE; constexpr DataUsage DataUsage_MAX = OFFLINE; constexpr int DataUsage_ARRAYSIZE = DataUsage_MAX + 1; const std::string& DataUsage_Name(DataUsage value); template inline const std::string& DataUsage_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function DataUsage_Name."); return DataUsage_Name(static_cast(enum_t_value)); } bool DataUsage_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DataUsage* value); enum EstablishConnectionStatus : int { CONNECTION_STATUS_UNKNOWN = 0, CONNECTION_STATUS_SUCCESS = 1, CONNECTION_STATUS_FAILURE = 2, CONNECTION_STATUS_CANCELLATION = 3, CONNECTION_STATUS_MEDIA_UNAVAILABLE_ATTACHMENT = 4, CONNECTION_STATUS_FAILED_PAIRED_KEYHANDSHAKE = 5, CONNECTION_STATUS_FAILED_WRITE_INTRODUCTION = 6, CONNECTION_STATUS_FAILED_NULL_CONNECTION = 7, CONNECTION_STATUS_FAILED_NO_TRANSFER_UPDATE_CALLBACK = 8, CONNECTION_STATUS_LOST_CONNECTIVITY = 9, CONNECTION_STATUS_INVALID_ADVERTISEMENT = 10 }; bool EstablishConnectionStatus_IsValid(int value); constexpr EstablishConnectionStatus EstablishConnectionStatus_MIN = CONNECTION_STATUS_UNKNOWN; constexpr EstablishConnectionStatus EstablishConnectionStatus_MAX = CONNECTION_STATUS_INVALID_ADVERTISEMENT; constexpr int EstablishConnectionStatus_ARRAYSIZE = EstablishConnectionStatus_MAX + 1; const std::string& EstablishConnectionStatus_Name(EstablishConnectionStatus value); template inline const std::string& EstablishConnectionStatus_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function EstablishConnectionStatus_Name."); return EstablishConnectionStatus_Name(static_cast(enum_t_value)); } bool EstablishConnectionStatus_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EstablishConnectionStatus* value); enum AttachmentTransmissionStatus : int { UNKNOWN_ATTACHMENT_TRANSMISSION_STATUS = 0, COMPLETE_ATTACHMENT_TRANSMISSION_STATUS = 1, CANCELED_ATTACHMENT_TRANSMISSION_STATUS = 2, FAILED_ATTACHMENT_TRANSMISSION_STATUS = 3, REJECTED_ATTACHMENT PROTOBUF_DEPRECATED_ENUM = 4, TIMED_OUT_ATTACHMENT PROTOBUF_DEPRECATED_ENUM = 5, AWAITING_REMOTE_ACCEPTANCE_FAILED_ATTACHMENT PROTOBUF_DEPRECATED_ENUM = 6, NOT_ENOUGH_SPACE_ATTACHMENT PROTOBUF_DEPRECATED_ENUM = 7, FAILED_NO_TRANSFER_UPDATE_CALLBACK PROTOBUF_DEPRECATED_ENUM = 8, MEDIA_UNAVAILABLE_ATTACHMENT PROTOBUF_DEPRECATED_ENUM = 9, UNSUPPORTED_ATTACHMENT_TYPE_ATTACHMENT PROTOBUF_DEPRECATED_ENUM = 10, NO_ATTACHMENT_FOUND PROTOBUF_DEPRECATED_ENUM = 11, FAILED_NO_SHARE_TARGET_ENDPOINT PROTOBUF_DEPRECATED_ENUM = 12, FAILED_PAIRED_KEYHANDSHAKE PROTOBUF_DEPRECATED_ENUM = 13, FAILED_NULL_CONNECTION PROTOBUF_DEPRECATED_ENUM = 14, FAILED_NO_PAYLOAD PROTOBUF_DEPRECATED_ENUM = 15, FAILED_WRITE_INTRODUCTION PROTOBUF_DEPRECATED_ENUM = 16, FAILED_UNKNOWN_REMOTE_RESPONSE PROTOBUF_DEPRECATED_ENUM = 17, FAILED_NULL_CONNECTION_INIT_OUTGOING = 18, FAILED_NULL_CONNECTION_DISCONNECTED = 19, FAILED_NULL_CONNECTION_LOST_CONNECTIVITY PROTOBUF_DEPRECATED_ENUM = 20, FAILED_NULL_CONNECTION_FAILURE PROTOBUF_DEPRECATED_ENUM = 21, REJECTED_ATTACHMENT_TRANSMISSION_STATUS = 22, TIMED_OUT_ATTACHMENT_TRANSMISSION_STATUS = 23, NOT_ENOUGH_SPACE_ATTACHMENT_TRANSMISSION_STATUS = 24, UNSUPPORTED_ATTACHMENT_TYPE_ATTACHMENT_TRANSMISSION_STATUS = 25, FAILED_UNKNOWN_REMOTE_RESPONSE_TRANSMISSION_STATUS = 26, NO_RESPONSE_FRAME_CONNECTION_CLOSED_LOST_CONNECTIVITY_TRANSMISSION_STATUS PROTOBUF_DEPRECATED_ENUM = 27, NO_RESPONSE_FRAME_CONNECTION_CLOSED_TRANSMISSION_STATUS = 28, LOST_CONNECTIVITY_TRANSMISSION_STATUS = 29, FAILED_DISALLOWED_MEDIUM = 30 }; bool AttachmentTransmissionStatus_IsValid(int value); constexpr AttachmentTransmissionStatus AttachmentTransmissionStatus_MIN = UNKNOWN_ATTACHMENT_TRANSMISSION_STATUS; constexpr AttachmentTransmissionStatus AttachmentTransmissionStatus_MAX = FAILED_DISALLOWED_MEDIUM; constexpr int AttachmentTransmissionStatus_ARRAYSIZE = AttachmentTransmissionStatus_MAX + 1; const std::string& AttachmentTransmissionStatus_Name(AttachmentTransmissionStatus value); template inline const std::string& AttachmentTransmissionStatus_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function AttachmentTransmissionStatus_Name."); return AttachmentTransmissionStatus_Name(static_cast(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 inline const std::string& ConnectionLayerStatus_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ConnectionLayerStatus_Name."); return ConnectionLayerStatus_Name(static_cast(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, PROCESSING_STATUS_FAILED_MOVING_FILES = 2, PROCESSING_STATUS_FAILED_RECEIVING_APK = 3, PROCESSING_STATUS_FAILED_RECEIVING_TEXT = 4, PROCESSING_STATUS_FAILED_RECEIVING_WIFI_CREDENTIALS = 5 }; bool ProcessReceivedAttachmentsStatus_IsValid(int value); constexpr ProcessReceivedAttachmentsStatus ProcessReceivedAttachmentsStatus_MIN = PROCESSING_STATUS_UNKNOWN; constexpr ProcessReceivedAttachmentsStatus ProcessReceivedAttachmentsStatus_MAX = PROCESSING_STATUS_FAILED_RECEIVING_WIFI_CREDENTIALS; constexpr int ProcessReceivedAttachmentsStatus_ARRAYSIZE = ProcessReceivedAttachmentsStatus_MAX + 1; const std::string& ProcessReceivedAttachmentsStatus_Name(ProcessReceivedAttachmentsStatus value); template inline const std::string& ProcessReceivedAttachmentsStatus_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ProcessReceivedAttachmentsStatus_Name."); return ProcessReceivedAttachmentsStatus_Name(static_cast(enum_t_value)); } bool ProcessReceivedAttachmentsStatus_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ProcessReceivedAttachmentsStatus* value); enum SessionStatus : int { UNKNOWN_SESSION_STATUS = 0, SUCCEEDED_SESSION_STATUS = 1, FAILED_SESSION_STATUS = 2 }; bool SessionStatus_IsValid(int value); constexpr SessionStatus SessionStatus_MIN = UNKNOWN_SESSION_STATUS; constexpr SessionStatus SessionStatus_MAX = FAILED_SESSION_STATUS; constexpr int SessionStatus_ARRAYSIZE = SessionStatus_MAX + 1; const std::string& SessionStatus_Name(SessionStatus value); template inline const std::string& SessionStatus_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function SessionStatus_Name."); return SessionStatus_Name(static_cast(enum_t_value)); } bool SessionStatus_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SessionStatus* value); enum ResponseToIntroduction : int { UNKNOWN_RESPONSE_TO_INTRODUCTION = 0, ACCEPT_INTRODUCTION = 1, REJECT_INTRODUCTION = 2, FAIL_INTRODUCTION = 3 }; bool ResponseToIntroduction_IsValid(int value); constexpr ResponseToIntroduction ResponseToIntroduction_MIN = UNKNOWN_RESPONSE_TO_INTRODUCTION; constexpr ResponseToIntroduction ResponseToIntroduction_MAX = FAIL_INTRODUCTION; constexpr int ResponseToIntroduction_ARRAYSIZE = ResponseToIntroduction_MAX + 1; const std::string& ResponseToIntroduction_Name(ResponseToIntroduction value); template inline const std::string& ResponseToIntroduction_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ResponseToIntroduction_Name."); return ResponseToIntroduction_Name(static_cast(enum_t_value)); } bool ResponseToIntroduction_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ResponseToIntroduction* value); enum DeviceType : int { UNKNOWN_DEVICE_TYPE = 0, PHONE = 1, TABLET = 2, LAPTOP = 3, CAR = 4, FOLDABLE = 5, XR = 6 }; bool DeviceType_IsValid(int value); constexpr DeviceType DeviceType_MIN = UNKNOWN_DEVICE_TYPE; constexpr DeviceType DeviceType_MAX = XR; constexpr int DeviceType_ARRAYSIZE = DeviceType_MAX + 1; const std::string& DeviceType_Name(DeviceType value); template inline const std::string& DeviceType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function DeviceType_Name."); return DeviceType_Name(static_cast(enum_t_value)); } bool DeviceType_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DeviceType* value); enum OSType : int { UNKNOWN_OS_TYPE = 0, ANDROID = 1, CHROME_OS = 2, IOS = 3, WINDOWS = 4, MACOS = 5 }; bool OSType_IsValid(int value); constexpr OSType OSType_MIN = UNKNOWN_OS_TYPE; constexpr OSType OSType_MAX = MACOS; constexpr int OSType_ARRAYSIZE = OSType_MAX + 1; const std::string& OSType_Name(OSType value); template inline const std::string& OSType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function OSType_Name."); return OSType_Name(static_cast(enum_t_value)); } bool OSType_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, OSType* value); enum DeviceRelationship : int { UNKNOWN_DEVICE_RELATIONSHIP = 0, IS_SELF = 1, IS_CONTACT = 2, IS_STRANGER = 3 }; bool DeviceRelationship_IsValid(int value); constexpr DeviceRelationship DeviceRelationship_MIN = UNKNOWN_DEVICE_RELATIONSHIP; constexpr DeviceRelationship DeviceRelationship_MAX = IS_STRANGER; constexpr int DeviceRelationship_ARRAYSIZE = DeviceRelationship_MAX + 1; const std::string& DeviceRelationship_Name(DeviceRelationship value); template inline const std::string& DeviceRelationship_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function DeviceRelationship_Name."); return DeviceRelationship_Name(static_cast(enum_t_value)); } bool DeviceRelationship_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DeviceRelationship* value); enum LogSource : int { UNSPECIFIED_SOURCE = 0, LAB_DEVICES = 1, INTERNAL_DEVICES = 2, BETA_TESTER_DEVICES = 3, OEM_DEVICES = 4, DEBUG_DEVICES = 5, NEARBY_MODULE_FOOD_DEVICES = 6, BETO_DOGFOOD_DEVICES = 7, NEARBY_DOGFOOD_DEVICES = 8, NEARBY_TEAMFOOD_DEVICES = 9 }; bool LogSource_IsValid(int value); constexpr LogSource LogSource_MIN = UNSPECIFIED_SOURCE; constexpr LogSource LogSource_MAX = NEARBY_TEAMFOOD_DEVICES; constexpr int LogSource_ARRAYSIZE = LogSource_MAX + 1; const std::string& LogSource_Name(LogSource value); template inline const std::string& LogSource_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function LogSource_Name."); return LogSource_Name(static_cast(enum_t_value)); } bool LogSource_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LogSource* value); enum ServerActionName : int { UNKNOWN_SERVER_ACTION = 0, UPLOAD_CERTIFICATES = 1, DOWNLOAD_CERTIFICATES = 2, CHECK_REACHABILITY = 3, UPLOAD_CONTACTS = 4, UPDATE_DEVICE_NAME = 5, UPLOAD_SENDER_CERTIFICATES = 6, DOWNLOAD_SENDER_CERTIFICATES = 7, UPLOAD_CONTACTS_AND_CERTIFICATES = 8, LIST_REACHABLE_PHONE_NUMBERS = 9, LIST_MY_DEVICES = 10, LIST_CONTACT_PEOPLE = 11, DOWNLOAD_CERTIFICATES_INFO = 12 }; bool ServerActionName_IsValid(int value); constexpr ServerActionName ServerActionName_MIN = UNKNOWN_SERVER_ACTION; constexpr ServerActionName ServerActionName_MAX = DOWNLOAD_CERTIFICATES_INFO; constexpr int ServerActionName_ARRAYSIZE = ServerActionName_MAX + 1; const std::string& ServerActionName_Name(ServerActionName value); template inline const std::string& ServerActionName_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ServerActionName_Name."); return ServerActionName_Name(static_cast(enum_t_value)); } bool ServerActionName_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ServerActionName* value); enum ServerResponseState : int { UNKNOWN_SERVER_RESPONSE_STATE = 0, SERVER_RESPONSE_SUCCESS = 1, SERVER_RESPONSE_UNKNOWN_FAILURE = 2, SERVER_RESPONSE_STATUS_OTHER_FAILURE = 3, SERVER_RESPONSE_STATUS_DEADLINE_EXCEEDED = 4, SERVER_RESPONSE_STATUS_PERMISSION_DENIED = 5, SERVER_RESPONSE_STATUS_UNAVAILABLE = 6, SERVER_RESPONSE_STATUS_UNAUTHENTICATED = 7, SERVER_RESPONSE_STATUS_INVALID_ARGUMENT = 9, SERVER_RESPONSE_GOOGLE_AUTH_FAILURE = 8, SERVER_RESPONSE_NOT_CONNECTED_TO_INTERNET = 10 }; bool ServerResponseState_IsValid(int value); constexpr ServerResponseState ServerResponseState_MIN = UNKNOWN_SERVER_RESPONSE_STATE; constexpr ServerResponseState ServerResponseState_MAX = SERVER_RESPONSE_NOT_CONNECTED_TO_INTERNET; constexpr int ServerResponseState_ARRAYSIZE = ServerResponseState_MAX + 1; const std::string& ServerResponseState_Name(ServerResponseState value); template inline const std::string& ServerResponseState_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ServerResponseState_Name."); return ServerResponseState_Name(static_cast(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, SYNC_PURPOSE_REGENERATE_CERTIFICATES = 16, SYNC_PURPOSE_DEVICE_CONTACTS_CONSENT_CHANGE = 17 }; bool SyncPurpose_IsValid(int value); constexpr SyncPurpose SyncPurpose_MIN = SYNC_PURPOSE_UNKNOWN; constexpr SyncPurpose SyncPurpose_MAX = SYNC_PURPOSE_DEVICE_CONTACTS_CONSENT_CHANGE; constexpr int SyncPurpose_ARRAYSIZE = SyncPurpose_MAX + 1; const std::string& SyncPurpose_Name(SyncPurpose value); template inline const std::string& SyncPurpose_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function SyncPurpose_Name."); return SyncPurpose_Name(static_cast(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 inline const std::string& ClientRole_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ClientRole_Name."); return ClientRole_Name(static_cast(enum_t_value)); } bool ClientRole_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ClientRole* value); enum ScanType : int { UNKNOWN_SCAN_TYPE = 0, FOREGROUND_SCAN = 1, FOREGROUND_RETRY_SCAN = 2, DIRECT_SHARE_SCAN = 3, BACKGROUND_SCAN = 4 }; bool ScanType_IsValid(int value); constexpr ScanType ScanType_MIN = UNKNOWN_SCAN_TYPE; constexpr ScanType ScanType_MAX = BACKGROUND_SCAN; constexpr int ScanType_ARRAYSIZE = ScanType_MAX + 1; const std::string& ScanType_Name(ScanType value); template inline const std::string& ScanType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ScanType_Name."); return ScanType_Name(static_cast(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 inline const std::string& ParsingFailedType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ParsingFailedType_Name."); return ParsingFailedType_Name(static_cast(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, BACKGROUND_ADVERTISING_MODE = 2, MIDGROUND_ADVERTISING_MODE = 3, FOREGROUND_ADVERTISING_MODE = 4 }; bool AdvertisingMode_IsValid(int value); constexpr AdvertisingMode AdvertisingMode_MIN = UNKNOWN_ADVERTISING_MODE; constexpr AdvertisingMode AdvertisingMode_MAX = FOREGROUND_ADVERTISING_MODE; constexpr int AdvertisingMode_ARRAYSIZE = AdvertisingMode_MAX + 1; const std::string& AdvertisingMode_Name(AdvertisingMode value); template inline const std::string& AdvertisingMode_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function AdvertisingMode_Name."); return AdvertisingMode_Name(static_cast(enum_t_value)); } bool AdvertisingMode_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, AdvertisingMode* value); enum DiscoveryMode : int { UNKNOWN_DISCOVERY_MODE = 0, SCREEN_OFF_DISCOVERY_MODE = 1, BACKGROUND_DISCOVERY_MODE = 2, MIDGROUND_DISCOVERY_MODE = 3, FOREGROUND_DISCOVERY_MODE = 4 }; bool DiscoveryMode_IsValid(int value); constexpr DiscoveryMode DiscoveryMode_MIN = UNKNOWN_DISCOVERY_MODE; constexpr DiscoveryMode DiscoveryMode_MAX = FOREGROUND_DISCOVERY_MODE; constexpr int DiscoveryMode_ARRAYSIZE = DiscoveryMode_MAX + 1; const std::string& DiscoveryMode_Name(DiscoveryMode value); template inline const std::string& DiscoveryMode_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function DiscoveryMode_Name."); return DiscoveryMode_Name(static_cast(enum_t_value)); } bool DiscoveryMode_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DiscoveryMode* value); enum ActivityName : int { UNKNOWN_ACTIVITY = 0, SHARE_SHEET_ACTIVITY = 1, SETTINGS_ACTIVITY = 2, RECEIVE_SURFACE_ACTIVITY = 3, SETUP_ACTIVITY = 4, DEVICE_VISIBILITY_ACTIVITY = 5, CONSENTS_ACTIVITY = 6, SET_DEVICE_NAME_DIALOG = 7, SET_DATA_USAGE_DIALOG = 8, QUICK_SETTINGS_ACTIVITY = 9, REMOTE_COPY_SHARE_SHEET_ACTIVITY = 10, SETUP_WIZARD_ACTIVITY = 11, SETTINGS_REVIEW_ACTIVITY = 12 }; bool ActivityName_IsValid(int value); constexpr ActivityName ActivityName_MIN = UNKNOWN_ACTIVITY; constexpr ActivityName ActivityName_MAX = SETTINGS_REVIEW_ACTIVITY; constexpr int ActivityName_ARRAYSIZE = ActivityName_MAX + 1; const std::string& ActivityName_Name(ActivityName value); template inline const std::string& ActivityName_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ActivityName_Name."); return ActivityName_Name(static_cast(enum_t_value)); } bool ActivityName_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ActivityName* value); enum ConsentType : int { CONSENT_TYPE_UNKNOWN = 0, CONSENT_TYPE_C11N = 1, CONSENT_TYPE_DEVICE_CONTACT = 2 }; bool ConsentType_IsValid(int value); constexpr ConsentType ConsentType_MIN = CONSENT_TYPE_UNKNOWN; constexpr ConsentType ConsentType_MAX = CONSENT_TYPE_DEVICE_CONTACT; constexpr int ConsentType_ARRAYSIZE = ConsentType_MAX + 1; const std::string& ConsentType_Name(ConsentType value); template inline const std::string& ConsentType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ConsentType_Name."); return ConsentType_Name(static_cast(enum_t_value)); } bool ConsentType_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConsentType* value); enum ConsentAcceptanceStatus : int { CONSENT_UNKNOWN_ACCEPT_STATUS = 0, CONSENT_ACCEPTED = 1, CONSENT_DECLINED = 2, CONSENT_UNABLE_TO_ENABLE = 3 }; bool ConsentAcceptanceStatus_IsValid(int value); constexpr ConsentAcceptanceStatus ConsentAcceptanceStatus_MIN = CONSENT_UNKNOWN_ACCEPT_STATUS; constexpr ConsentAcceptanceStatus ConsentAcceptanceStatus_MAX = CONSENT_UNABLE_TO_ENABLE; constexpr int ConsentAcceptanceStatus_ARRAYSIZE = ConsentAcceptanceStatus_MAX + 1; const std::string& ConsentAcceptanceStatus_Name(ConsentAcceptanceStatus value); template inline const std::string& ConsentAcceptanceStatus_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ConsentAcceptanceStatus_Name."); return ConsentAcceptanceStatus_Name(static_cast(enum_t_value)); } bool ConsentAcceptanceStatus_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConsentAcceptanceStatus* value); enum ApkSource : int { UNKNOWN_APK_SOURCE = 0, APK_FROM_SD_CARD = 1, INSTALLED_APP = 2 }; bool ApkSource_IsValid(int value); constexpr ApkSource ApkSource_MIN = UNKNOWN_APK_SOURCE; constexpr ApkSource ApkSource_MAX = INSTALLED_APP; constexpr int ApkSource_ARRAYSIZE = ApkSource_MAX + 1; const std::string& ApkSource_Name(ApkSource value); template inline const std::string& ApkSource_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ApkSource_Name."); return ApkSource_Name(static_cast(enum_t_value)); } bool ApkSource_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ApkSource* value); enum InstallAPKStatus : int { UNKNOWN_INSTALL_APK_STATUS = 0, FAIL_INSTALLATION = 1, SUCCESS_INSTALLATION = 2 }; bool InstallAPKStatus_IsValid(int value); constexpr InstallAPKStatus InstallAPKStatus_MIN = UNKNOWN_INSTALL_APK_STATUS; constexpr InstallAPKStatus InstallAPKStatus_MAX = SUCCESS_INSTALLATION; constexpr int InstallAPKStatus_ARRAYSIZE = InstallAPKStatus_MAX + 1; const std::string& InstallAPKStatus_Name(InstallAPKStatus value); template inline const std::string& InstallAPKStatus_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function InstallAPKStatus_Name."); return InstallAPKStatus_Name(static_cast(enum_t_value)); } bool InstallAPKStatus_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, InstallAPKStatus* value); enum VerifyAPKStatus : int { UNKNOWN_VERIFY_APK_STATUS = 0, NOT_INSTALLABLE = 1, INSTALLABLE = 2, ALREADY_INSTALLED = 3 }; bool VerifyAPKStatus_IsValid(int value); constexpr VerifyAPKStatus VerifyAPKStatus_MIN = UNKNOWN_VERIFY_APK_STATUS; constexpr VerifyAPKStatus VerifyAPKStatus_MAX = ALREADY_INSTALLED; constexpr int VerifyAPKStatus_ARRAYSIZE = VerifyAPKStatus_MAX + 1; const std::string& VerifyAPKStatus_Name(VerifyAPKStatus value); template inline const std::string& VerifyAPKStatus_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function VerifyAPKStatus_Name."); return VerifyAPKStatus_Name(static_cast(enum_t_value)); } bool VerifyAPKStatus_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, VerifyAPKStatus* value); enum ShowNotificationStatus : int { UNKNOWN_SHOW_NOTIFICATION_STATUS = 0, SHOW = 1, NOT_SHOW = 2 }; bool ShowNotificationStatus_IsValid(int value); constexpr ShowNotificationStatus ShowNotificationStatus_MIN = UNKNOWN_SHOW_NOTIFICATION_STATUS; constexpr ShowNotificationStatus ShowNotificationStatus_MAX = NOT_SHOW; constexpr int ShowNotificationStatus_ARRAYSIZE = ShowNotificationStatus_MAX + 1; const std::string& ShowNotificationStatus_Name(ShowNotificationStatus value); template inline const std::string& ShowNotificationStatus_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ShowNotificationStatus_Name."); return ShowNotificationStatus_Name(static_cast(enum_t_value)); } bool ShowNotificationStatus_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ShowNotificationStatus* value); enum PermissionRequestResult : int { PERMISSION_UNKNOWN_REQUEST_RESULT = 0, PERMISSION_GRANTED = 1, PERMISSION_REJECTED = 2, PERMISSION_UNABLE_TO_GRANT = 3 }; bool PermissionRequestResult_IsValid(int value); constexpr PermissionRequestResult PermissionRequestResult_MIN = PERMISSION_UNKNOWN_REQUEST_RESULT; constexpr PermissionRequestResult PermissionRequestResult_MAX = PERMISSION_UNABLE_TO_GRANT; constexpr int PermissionRequestResult_ARRAYSIZE = PermissionRequestResult_MAX + 1; const std::string& PermissionRequestResult_Name(PermissionRequestResult value); template inline const std::string& PermissionRequestResult_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function PermissionRequestResult_Name."); return PermissionRequestResult_Name(static_cast(enum_t_value)); } bool PermissionRequestResult_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PermissionRequestResult* value); enum PermissionRequestType : int { PERMISSION_UNKNOWN_TYPE = 0, PERMISSION_AIRPLANE_MODE_OFF = 1, PERMISSION_WIFI = 2, PERMISSION_BLUETOOTH = 3, PERMISSION_LOCATION = 4, PERMISSION_WIFI_HOTSPOT = 5 }; bool PermissionRequestType_IsValid(int value); constexpr PermissionRequestType PermissionRequestType_MIN = PERMISSION_UNKNOWN_TYPE; constexpr PermissionRequestType PermissionRequestType_MAX = PERMISSION_WIFI_HOTSPOT; constexpr int PermissionRequestType_ARRAYSIZE = PermissionRequestType_MAX + 1; const std::string& PermissionRequestType_Name(PermissionRequestType value); template inline const std::string& PermissionRequestType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function PermissionRequestType_Name."); return PermissionRequestType_Name(static_cast(enum_t_value)); } bool PermissionRequestType_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PermissionRequestType* value); enum SharingUseCase : int { USE_CASE_UNKNOWN = 0, USE_CASE_NEARBY_SHARE = 1, USE_CASE_REMOTE_COPY_PASTE = 2, USE_CASE_WIFI_CREDENTIAL = 3, USE_CASE_APP_SHARE = 4, USE_CASE_QUICK_SETTING_FILE_SHARE = 5, USE_CASE_SETUP_WIZARD = 6, USE_CASE_NEARBY_SHARE_WITH_QR_CODE PROTOBUF_DEPRECATED_ENUM = 7, USE_CASE_REDIRECTED_FROM_BLUETOOTH_SHARE = 8 }; bool SharingUseCase_IsValid(int value); constexpr SharingUseCase SharingUseCase_MIN = USE_CASE_UNKNOWN; constexpr SharingUseCase SharingUseCase_MAX = USE_CASE_REDIRECTED_FROM_BLUETOOTH_SHARE; constexpr int SharingUseCase_ARRAYSIZE = SharingUseCase_MAX + 1; const std::string& SharingUseCase_Name(SharingUseCase value); template inline const std::string& SharingUseCase_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function SharingUseCase_Name."); return SharingUseCase_Name(static_cast(enum_t_value)); } bool SharingUseCase_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SharingUseCase* value); enum AppCrashReason : int { APP_CRASH_REASON_UNKNOWN = 0 }; bool AppCrashReason_IsValid(int value); constexpr AppCrashReason AppCrashReason_MIN = APP_CRASH_REASON_UNKNOWN; constexpr AppCrashReason AppCrashReason_MAX = APP_CRASH_REASON_UNKNOWN; constexpr int AppCrashReason_ARRAYSIZE = AppCrashReason_MAX + 1; const std::string& AppCrashReason_Name(AppCrashReason value); template inline const std::string& AppCrashReason_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function AppCrashReason_Name."); return AppCrashReason_Name(static_cast(enum_t_value)); } bool AppCrashReason_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, AppCrashReason* value); enum AttachmentSourceType : int { ATTACHMENT_SOURCE_UNKNOWN = 0, ATTACHMENT_SOURCE_CONTEXT_MENU = 1, ATTACHMENT_SOURCE_DRAG_AND_DROP = 2, ATTACHMENT_SOURCE_SELECT_FILES_BUTTON = 3, ATTACHMENT_SOURCE_PASTE = 4, ATTACHMENT_SOURCE_SELECT_FOLDERS_BUTTON = 5, ATTACHMENT_SOURCE_SHARE_ACTIVATION = 6 }; bool AttachmentSourceType_IsValid(int value); constexpr AttachmentSourceType AttachmentSourceType_MIN = ATTACHMENT_SOURCE_UNKNOWN; constexpr AttachmentSourceType AttachmentSourceType_MAX = ATTACHMENT_SOURCE_SHARE_ACTIVATION; constexpr int AttachmentSourceType_ARRAYSIZE = AttachmentSourceType_MAX + 1; const std::string& AttachmentSourceType_Name(AttachmentSourceType value); template inline const std::string& AttachmentSourceType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function AttachmentSourceType_Name."); return AttachmentSourceType_Name(static_cast(enum_t_value)); } bool AttachmentSourceType_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, AttachmentSourceType* value); enum PreferencesAction : int { PREFERENCES_ACTION_UNKNOWN = 0, PREFERENCES_ACTION_NO_ACTION = 1, PREFERENCES_ACTION_LOAD_PREFERENCES = 2, PREFERENCES_ACTION_SAVE_PREFERENCESS = 3, PREFERENCES_ACTION_ATTEMPT_LOAD = 4, PREFERENCES_ACTION_RESTORE_FROM_BACKUP = 5, PREFERENCES_ACTION_CREATE_PREFERENCES_PATH = 6, PREFERENCES_ACTION_MAKE_PREFERENCES_BACKUP_FILE = 7, PREFERENCES_ACTION_CHECK_IF_PREFERENCES_PATH_EXISTS = 8, PREFERENCES_ACTION_CHECK_IF_PREFERENCES_INPUT_STREAM_STATUS = 9, PREFERENCES_ACTION_CHECK_IF_PREFERENCES_FILE_IS_CORRUPTED = 10, PREFERENCES_ACTION_CHECK_IF_PREFERENCES_BACKUP_FILE_EXISTS = 11 }; bool PreferencesAction_IsValid(int value); constexpr PreferencesAction PreferencesAction_MIN = PREFERENCES_ACTION_UNKNOWN; constexpr PreferencesAction PreferencesAction_MAX = PREFERENCES_ACTION_CHECK_IF_PREFERENCES_BACKUP_FILE_EXISTS; constexpr int PreferencesAction_ARRAYSIZE = PreferencesAction_MAX + 1; const std::string& PreferencesAction_Name(PreferencesAction value); template inline const std::string& PreferencesAction_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function PreferencesAction_Name."); return PreferencesAction_Name(static_cast(enum_t_value)); } bool PreferencesAction_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PreferencesAction* value); enum PreferencesActionStatus : int { PREFERENCES_ACTION_STATUS_UNKNOWN = 0, PREFERENCES_ACTION_STATUS_SUCCESS = 1, PREFERENCES_ACTION_STATUS_FAIL = 2 }; bool PreferencesActionStatus_IsValid(int value); constexpr PreferencesActionStatus PreferencesActionStatus_MIN = PREFERENCES_ACTION_STATUS_UNKNOWN; constexpr PreferencesActionStatus PreferencesActionStatus_MAX = PREFERENCES_ACTION_STATUS_FAIL; constexpr int PreferencesActionStatus_ARRAYSIZE = PreferencesActionStatus_MAX + 1; const std::string& PreferencesActionStatus_Name(PreferencesActionStatus value); template inline const std::string& PreferencesActionStatus_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function PreferencesActionStatus_Name."); return PreferencesActionStatus_Name(static_cast(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 inline const std::string& FastInitState_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function FastInitState_Name."); return FastInitState_Name(static_cast(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 inline const std::string& FastInitType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function FastInitType_Name."); return FastInitType_Name(static_cast(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 inline const std::string& DesktopNotification_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function DesktopNotification_Name."); return DesktopNotification_Name(static_cast(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 inline const std::string& DesktopTransferEventType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function DesktopTransferEventType_Name."); return DesktopTransferEventType_Name(static_cast(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 inline const std::string& DecryptCertificateFailureStatus_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function DecryptCertificateFailureStatus_Name."); return DecryptCertificateFailureStatus_Name(static_cast(enum_t_value)); } bool DecryptCertificateFailureStatus_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DecryptCertificateFailureStatus* value); enum ContactAccess : int { CONTACT_ACCESS_UNKNOWN = 0, CONTACT_ACCESS_NO_CONTACT_UPLOADED = 1, CONTACT_ACCESS_ONLY_UPLOAD_GOOGLE_CONTACT = 2, CONTACT_ACCESS_UPLOAD_CONTACT_FOR_DEVICE_CONTACT_CONSENT = 3, CONTACT_ACCESS_UPLOAD_CONTACT_FOR_QUICK_SHARE_CONSENT = 4 }; bool ContactAccess_IsValid(int value); constexpr ContactAccess ContactAccess_MIN = CONTACT_ACCESS_UNKNOWN; constexpr ContactAccess ContactAccess_MAX = CONTACT_ACCESS_UPLOAD_CONTACT_FOR_QUICK_SHARE_CONSENT; constexpr int ContactAccess_ARRAYSIZE = ContactAccess_MAX + 1; const std::string& ContactAccess_Name(ContactAccess value); template inline const std::string& ContactAccess_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ContactAccess_Name."); return ContactAccess_Name(static_cast(enum_t_value)); } bool ContactAccess_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ContactAccess* value); enum IdentityVerification : int { IDENTITY_VERIFICATION_UNKNOWN = 0, IDENTITY_VERIFICATION_NO_PHONE_NUMBER_VERIFIED = 1, IDENTITY_VERIFICATION_PHONE_NUMBER_VERIFIED_NOT_LINKED_TO_GAIA = 2, IDENTITY_VERIFICATION_PHONE_NUMBER_VERIFIED_LINKED_TO_QS_GAIA = 3 }; bool IdentityVerification_IsValid(int value); constexpr IdentityVerification IdentityVerification_MIN = IDENTITY_VERIFICATION_UNKNOWN; constexpr IdentityVerification IdentityVerification_MAX = IDENTITY_VERIFICATION_PHONE_NUMBER_VERIFIED_LINKED_TO_QS_GAIA; constexpr int IdentityVerification_ARRAYSIZE = IdentityVerification_MAX + 1; const std::string& IdentityVerification_Name(IdentityVerification value); template inline const std::string& IdentityVerification_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function IdentityVerification_Name."); return IdentityVerification_Name(static_cast(enum_t_value)); } bool IdentityVerification_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, IdentityVerification* value); enum ButtonStatus : int { BUTTON_STATUS_UNKNOWN = 0, BUTTON_STATUS_CLICK_ACCEPT = 1, BUTTON_STATUS_CLICK_REJECT = 2, BUTTON_STATUS_IGNORE = 3 }; bool ButtonStatus_IsValid(int value); constexpr ButtonStatus ButtonStatus_MIN = BUTTON_STATUS_UNKNOWN; constexpr ButtonStatus ButtonStatus_MAX = BUTTON_STATUS_IGNORE; constexpr int ButtonStatus_ARRAYSIZE = ButtonStatus_MAX + 1; const std::string& ButtonStatus_Name(ButtonStatus value); template inline const std::string& ButtonStatus_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ButtonStatus_Name."); return ButtonStatus_Name(static_cast(enum_t_value)); } bool ButtonStatus_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ButtonStatus* value); // =================================================================== // =================================================================== // =================================================================== #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif // __GNUC__ #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ // @@protoc_insertion_point(namespace_scope) } // namespace sharing } // namespace proto } // namespace nearby } // namespace location PROTOBUF_NAMESPACE_OPEN template <> struct is_proto_enum< ::location::nearby::proto::sharing::EventType> : ::std::true_type {}; template <> struct is_proto_enum< ::location::nearby::proto::sharing::EventCategory> : ::std::true_type {}; template <> struct is_proto_enum< ::location::nearby::proto::sharing::NearbySharingStatus> : ::std::true_type {}; template <> struct is_proto_enum< ::location::nearby::proto::sharing::Visibility> : ::std::true_type {}; 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 {}; template <> struct is_proto_enum< ::location::nearby::proto::sharing::DeviceType> : ::std::true_type {}; template <> struct is_proto_enum< ::location::nearby::proto::sharing::OSType> : ::std::true_type {}; template <> struct is_proto_enum< ::location::nearby::proto::sharing::DeviceRelationship> : ::std::true_type {}; 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::DiscoveryMode> : ::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 {}; template <> struct is_proto_enum< ::location::nearby::proto::sharing::ConsentAcceptanceStatus> : ::std::true_type {}; template <> struct is_proto_enum< ::location::nearby::proto::sharing::ApkSource> : ::std::true_type {}; template <> struct is_proto_enum< ::location::nearby::proto::sharing::InstallAPKStatus> : ::std::true_type {}; template <> struct is_proto_enum< ::location::nearby::proto::sharing::VerifyAPKStatus> : ::std::true_type {}; template <> struct is_proto_enum< ::location::nearby::proto::sharing::ShowNotificationStatus> : ::std::true_type {}; template <> struct is_proto_enum< ::location::nearby::proto::sharing::PermissionRequestResult> : ::std::true_type {}; template <> struct is_proto_enum< ::location::nearby::proto::sharing::PermissionRequestType> : ::std::true_type {}; template <> struct is_proto_enum< ::location::nearby::proto::sharing::SharingUseCase> : ::std::true_type {}; template <> struct is_proto_enum< ::location::nearby::proto::sharing::AppCrashReason> : ::std::true_type {}; 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 {}; template <> struct is_proto_enum< ::location::nearby::proto::sharing::ContactAccess> : ::std::true_type {}; template <> struct is_proto_enum< ::location::nearby::proto::sharing::IdentityVerification> : ::std::true_type {}; template <> struct is_proto_enum< ::location::nearby::proto::sharing::ButtonStatus> : ::std::true_type {}; PROTOBUF_NAMESPACE_CLOSE // @@protoc_insertion_point(global_scope) #include #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_proto_2fsharing_5fenums_2eproto