// DO NOT EDIT. // swift-format-ignore-file // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. // Source: sharing_enums.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ // Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. import SwiftProtobuf // If the compiler emits an error on this type, it is because this file // was generated by a version of the `protoc` Swift plug-in that is // incompatible with the version of SwiftProtobuf to which you are linking. // Please ensure that you are building against the same version of the API // that was used to generate this file. fileprivate struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAPIVersionCheck { struct _2: SwiftProtobuf.ProtobufAPIVersion_2 {} typealias Version = _2 } /// We use event based logging (an event object can be constructed and logged /// immediately when they occur). To obtain session based information (e.g. /// durations, counting incoming introductions), we use flowId (sender/receiver) /// in NearbyClearcutLogger (for android, or clearcut_event_logger as the /// equivalence for Windows) for all events (may exclude settings), and /// session_id for a pair of events (start and end of a session). /// Next id: 74 enum Location_Nearby_Proto_Sharing_EventType: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case unknownEventType = 0 /// When new users accept agreements (like grant permission to contacts for /// CONTACT_ONLY visibility) and are enrolled into Nearby Sharing. This event /// is used to count number of new users. case acceptAgreements = 1 /// User enables/disables nearby sharing from setting or tile service. case enableNearbySharing = 2 /// User sets visibility preference from setting. case setVisibility = 3 /// Describe attachments immediately when Nearby Sharing is opened by another /// app which is used to generate/attach attachments to be shared with other /// devices. case describeAttachments = 4 /// Start of a scanning phase at sender. case scanForShareTargetsStart = 5 /// End of the scanning phase at sender. case scanForShareTargetsEnd = 6 /// Receiver advertises itself for presence (a pseudo session). case advertiseDevicePresenceStart = 7 /// End of the advertising phase at receiver. case advertiseDevicePresenceEnd = 8 /// Sender sends a fast initialization to receiver. case sendFastInitialization = 9 /// Receiver receives the fast initialization. case receiveFastInitialization = 10 /// Sender discovers a share target. case discoverShareTarget = 11 /// Sender sends introduction (before attachments being sent). case sendIntroduction = 12 /// Receiver receives introduction. case receiveIntroduction = 13 /// Receiver responds to introduction (before attachments being sent). /// Actions: Accept, Reject, or (for some reason) Fail. case respondToIntroduction = 14 /// Start of the sending attachments phase at sender. case sendAttachmentsStart = 15 /// End of sending attachments phase at sender. case sendAttachmentsEnd = 16 /// Start of the receiving attachments phase at receiver. case receiveAttachmentsStart = 17 /// End of receiving attachments phase at receiver. case receiveAttachmentsEnd = 18 /// Sender cancels sending attachments. case cancelSendingAttachments = 19 /// Receiver cancels receiving attachments. case cancelReceivingAttachments = 20 /// Receiver opens received attachments. case openReceivedAttachments = 21 /// User opens the setup activity. /// /// NOTE: This enum value was marked as deprecated in the .proto file case launchSetupActivity = 22 /// User adds a contact. case addContact = 23 /// User removes a contact. case removeContact = 24 /// Local devices all Fast Share server. case fastShareServerResponse = 25 /// The start of a sending session. case sendStart = 26 /// Receiver accepts a fast initialization. case acceptFastInitialization = 27 /// Set data usage preference. case setDataUsage = 28 /// Receiver dismisses a fast initialization case dismissFastInitialization = 29 /// Cancel connection. case cancelConnection = 30 /// User starts a chimera activity (e.g. ConsentsChimeraActivity, /// DeviceVisibilityChimeraActivity...) case launchActivity = 31 /// Receiver dismisses a privacy notification. case dismissPrivacyNotification = 32 /// Receiver taps a privacy notification. case tapPrivacyNotification = 33 /// Receiver taps a help page. case tapHelp = 34 /// Receiver taps a feedback. case tapFeedback = 35 /// Receiver adds quick settings tile. case addQuickSettingsTile = 36 /// Receiver removes quick settings tile. case removeQuickSettingsTile = 37 /// Receiver phone consent clicked. case launchPhoneConsent = 38 /// Devices show a phone consent banner in Nearby Share Settings case displayPhoneConsent = 54 /// Receiver taps quick settings tile. case tapQuickSettingsTile = 39 /// Receiver Installation of APKs status. case installApk = 40 /// Receiver verification of APKs status. case verifyApk = 41 /// User starts a consent. case launchConsent = 42 /// After receiving payloads, Nearby Share still needs to transfer the payloads /// to correct attachment formats and move files attachments from temporary /// directory to final destination. case processReceivedAttachmentsEnd = 43 /// Toggle Show Notification setting item in Nearby Share setting. case toggleShowNotification = 44 /// Set device name case setDeviceName = 45 /// users dropped off opt-in page. case declineAgreements = 46 /// Request setting permissions (Wifi/BT/location/airplane mode). case requestSettingPermissions = 47 /// Set up a connection with the remote device. case establishConnection = 48 /// Track device states in Nearby Share setting. case deviceSettings = 49 /// Receiver auto dismisses a fast initialization notification. case autoDismissFastInitialization = 50 /// App Crash event. /// Used only for Windows App now. case appCrash = 51 /// Sender taps the Send button in quick settings case tapQuickSettingsFileShare = 52 /// Devices show a privacy notification case displayPrivacyNotification = 53 /// Preference usage event (e.g. load/save preferences, etc). /// Used only for Windows App now. case preferencesUsage = 55 /// Default opt in case defaultOptIn = 56 /// The result of the setup wizard flow case setupWizard = 57 /// Sender taps a QR code case tapQrCode = 58 /// QR code link shown case qrCodeLinkShown = 59 /// Sender failed to parse endpoint id. case parsingFailedEndpointID = 60 /// The device is discovered by fast initialization case fastInitDiscoverDevice = 61 /// Send desktop notification. case sendDesktopNotification = 62 /// User sets account preference case setAccount = 63 /// Decrypt certificate failure case decryptCertificateFailure = 64 /// Show allow permission auto access UI case showAllowPermissionAutoAccess = 65 /// UI events for transferring files with desktop applications. It includes /// event types such as DESKTOP_TRANSFER_EVENT_SEND_TYPE_SELECT_A_DEVICE. case sendDesktopTransferEvent = 66 /// Show accept button on Quick Share receive UI case waitingForAccept = 67 /// High quality event setup case highQualityMediumSetup = 68 /// RPC call status case rpcCallStatus = 69 /// A QR code sharing session has started case startQrCodeSession = 70 /// A QR code URL has been opened in a web client/browser instead of in a /// native Quick Share app. case qrCodeOpenedInWebClient = 71 /// A HaTS survey session id has been joined with Quick Share flow id. case hatsJointEvent = 72 /// Previews received. case receivePreviews = 73 init() { self = .unknownEventType } } /// Event category to differentiate whether this comes from sender or receiver, /// whether this is for communication flow, or for settings. enum Location_Nearby_Proto_Sharing_EventCategory: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case unknownEventCategory = 0 case sendingEvent = 1 case receivingEvent = 2 case settingsEvent = 3 case rpcEvent = 4 init() { self = .unknownEventCategory } } /// Status of nearby sharing. enum Location_Nearby_Proto_Sharing_NearbySharingStatus: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case unknownNearbySharingStatus = 0 case on = 1 case off = 2 init() { self = .unknownNearbySharingStatus } } enum Location_Nearby_Proto_Sharing_Visibility: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case unknownVisibility = 0 case contactsOnly = 1 case everyone = 2 /// NOTE: This enum value was marked as deprecated in the .proto file case selectedContactsOnly = 3 case hidden = 4 case selfShare = 5 init() { self = .unknownVisibility } } enum Location_Nearby_Proto_Sharing_DataUsage: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case unknownDataUsage = 0 case online = 1 case wifiOnly = 2 case offline = 3 init() { self = .unknownDataUsage } } /// The status of establishing a connection. Used by ESTABLISH_CONNECTION. enum Location_Nearby_Proto_Sharing_EstablishConnectionStatus: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case connectionStatusUnknown = 0 case connectionStatusSuccess = 1 case connectionStatusFailure = 2 case connectionStatusCancellation = 3 case connectionStatusMediaUnavailableAttachment = 4 case connectionStatusFailedPairedKeyhandshake = 5 case connectionStatusFailedWriteIntroduction = 6 case connectionStatusFailedNullConnection = 7 case connectionStatusFailedNoTransferUpdateCallback = 8 case connectionStatusLostConnectivity = 9 /// TODO: b/341782941 - : Annote this status when it's confirmed by Nearby /// Connections team. case connectionStatusInvalidAdvertisement = 10 init() { self = .connectionStatusUnknown } } /// The status of sending and receiving attachments. Used by SEND_ATTACHMENTS. enum Location_Nearby_Proto_Sharing_AttachmentTransmissionStatus: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case unknownAttachmentTransmissionStatus = 0 case completeAttachmentTransmissionStatus = 1 case canceledAttachmentTransmissionStatus = 2 case failedAttachmentTransmissionStatus = 3 /// NOTE: This enum value was marked as deprecated in the .proto file case rejectedAttachment = 4 /// NOTE: This enum value was marked as deprecated in the .proto file case timedOutAttachment = 5 /// NOTE: This enum value was marked as deprecated in the .proto file case awaitingRemoteAcceptanceFailedAttachment = 6 /// NOTE: This enum value was marked as deprecated in the .proto file case notEnoughSpaceAttachment = 7 /// NOTE: This enum value was marked as deprecated in the .proto file case failedNoTransferUpdateCallback = 8 /// NOTE: This enum value was marked as deprecated in the .proto file case mediaUnavailableAttachment = 9 /// NOTE: This enum value was marked as deprecated in the .proto file case unsupportedAttachmentTypeAttachment = 10 /// NOTE: This enum value was marked as deprecated in the .proto file case noAttachmentFound = 11 /// NOTE: This enum value was marked as deprecated in the .proto file case failedNoShareTargetEndpoint = 12 /// NOTE: This enum value was marked as deprecated in the .proto file case failedPairedKeyhandshake = 13 /// NOTE: This enum value was marked as deprecated in the .proto file case failedNullConnection = 14 /// NOTE: This enum value was marked as deprecated in the .proto file case failedNoPayload = 15 /// NOTE: This enum value was marked as deprecated in the .proto file case failedWriteIntroduction = 16 /// The remote response is either missing or has an unknown type. /// /// NOTE: This enum value was marked as deprecated in the .proto file case failedUnknownRemoteResponse = 17 /// Breakdowns of FAILED_NULL_CONNECTION (Desktop side) case failedNullConnectionInitOutgoing = 18 case failedNullConnectionDisconnected = 19 /// Breakdowns of FAILED_NULL_CONNECTION (android side) /// Connection failed due to Wifi is disconnected or Bluetooth setting is off /// or user turn on airplane mode. /// /// NOTE: This enum value was marked as deprecated in the .proto file case failedNullConnectionLostConnectivity = 20 /// Unexpected connection failure. /// /// NOTE: This enum value was marked as deprecated in the .proto file case failedNullConnectionFailure = 21 case rejectedAttachmentTransmissionStatus = 22 case timedOutAttachmentTransmissionStatus = 23 case notEnoughSpaceAttachmentTransmissionStatus = 24 case unsupportedAttachmentTypeAttachmentTransmissionStatus = 25 case failedUnknownRemoteResponseTransmissionStatus = 26 /// Connection failed due to Wifi is disconnected or Bluetooth setting is off /// or user turn on airplane mode. /// /// NOTE: This enum value was marked as deprecated in the .proto file case noResponseFrameConnectionClosedLostConnectivityTransmissionStatus = 27 /// Unexpected connection failure due to no response frame. case noResponseFrameConnectionClosedTransmissionStatus = 28 /// Connection failed due to Wifi is disconnected or Bluetooth setting is off /// or user turn on airplane mode. case lostConnectivityTransmissionStatus = 29 /// Connection failed due to the medium is not allowed. case failedDisallowedMedium = 30 init() { self = .unknownAttachmentTransmissionStatus } } /// Generic result status of NearbyConnections API calls. enum Location_Nearby_Proto_Sharing_ConnectionLayerStatus: Int, SwiftProtobuf.Enum, Swift.CaseIterable { /// No status is available case unknown = 0 /// The operation was successful. case success = 1 /// The operation failed, without any more information. case error = 2 /// The app called an API method out of order (i.e. another method is expected /// to be called first). case outOfOrderApiCall = 3 /// The app already has active operations (advertising, discovering, or /// connected to other devices) with another Strategy. Stop these operations on /// the current Strategy before trying to advertise or discover with a new /// Strategy. case alreadyHaveActiveStrategy = 4 /// The app is already advertising; call StopAdvertising() before trying to /// advertise again. case alreadyAdvertising = 5 /// The app is already discovering; call StopDiscovery() before trying to /// discover again. case alreadyDiscovering = 6 /// NC is already listening for incoming connections from remote endpoints. case alreadyListening = 7 /// An attempt to read from/write to a connected remote endpoint failed. If /// this occurs repeatedly, consider invoking DisconnectFromEndpoint(). case endPointIoError = 8 /// An attempt to interact with a remote endpoint failed because it's unknown /// to us -- it's either an endpoint that was never discovered, or an endpoint /// that never connected to us (both of which are indicative of bad input from /// the client app). case endPointUnknown = 9 /// The remote endpoint rejected the connection request. case connectionRejected = 10 /// The app is already connected to the specified endpoint. Multiple /// connections to a remote endpoint cannot be maintained simultaneously. case alreadyConnectedToEndPoint = 11 /// The remote endpoint is not connected; messages cannot be sent to it. case notConnectedToEndPoint = 12 /// There was an error trying to use the device's Bluetooth capabilities. case bluetoothError = 13 /// There was an error trying to use the device's Bluetooth Low Energy /// capabilities. case bleError = 14 /// There was an error trying to use the device's Wi-Fi capabilities. case wifiLanError = 15 /// An attempt to interact with an in-flight Payload failed because it's /// unknown to us. case payloadUnknown = 16 /// The connection was reset case reset = 17 /// The connection timed out case timeout = 18 init() { self = .unknown } } /// The status of processing attachments after receiver received payloads /// successfully. enum Location_Nearby_Proto_Sharing_ProcessReceivedAttachmentsStatus: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case processingStatusUnknown = 0 case processingStatusCompleteProcessingAttachments = 1 case processingStatusFailedMovingFiles = 2 case processingStatusFailedReceivingApk = 3 case processingStatusFailedReceivingText = 4 case processingStatusFailedReceivingWifiCredentials = 5 init() { self = .processingStatusUnknown } } /// The status of advertising and discovering sessions. Used by /// SCAN_FOR_SHARE_TARGETS and ADVERTISE_DEVICE_PRESENCE. enum Location_Nearby_Proto_Sharing_SessionStatus: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case unknownSessionStatus = 0 case succeededSessionStatus = 1 /// TODO: b/341782941 - FAILED_SESSION_STATUS occurs when the status of /// advertising or discovering sessions is not successful. It can be /// due to STATUS_INTERNAL_ERROR, STATUS_INTERRUPTION, STATUS_CANCELLED. /// More session statuses should be logged to determine the status. case failedSessionStatus = 2 init() { self = .unknownSessionStatus } } /// User's response to introductions. enum Location_Nearby_Proto_Sharing_ResponseToIntroduction: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case unknownResponseToIntroduction = 0 case acceptIntroduction = 1 case rejectIntroduction = 2 case failIntroduction = 3 init() { self = .unknownResponseToIntroduction } } /// TODO(fdi): may eventually include desktop, etc. /// The type of a remote device. enum Location_Nearby_Proto_Sharing_DeviceType: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case unknownDeviceType = 0 case phone = 1 case tablet = 2 case laptop = 3 case car = 4 case foldable = 5 case xr = 6 init() { self = .unknownDeviceType } } /// TODO(fdi): may eventually include windows, iOS, etc. /// The OS type of a remote device. enum Location_Nearby_Proto_Sharing_OSType: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case unknownOsType = 0 case android = 1 case chromeOs = 2 case ios = 3 case windows = 4 case macos = 5 init() { self = .unknownOsType } } /// Relationship of remote device to sender device. enum Location_Nearby_Proto_Sharing_DeviceRelationship: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case unknownDeviceRelationship = 0 /// The remote device belongs to the same owner as sender device. case isSelf = 1 /// The remote device is a contact of sender. case isContact = 2 /// The remote device is a stranger. case isStranger = 3 init() { self = .unknownDeviceRelationship } } /// The device sources of the clearcut log. enum Location_Nearby_Proto_Sharing_LogSource: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case unspecifiedSource = 0 /// Represents the devices in Nearby labs. case labDevices = 1 /// Represents the devices tested by Nearby engs, in the long term can include /// any devices with newest feature flags. case internalDevices = 2 /// Represents the devices testing our in-development features before they're /// released to the greater public. case betaTesterDevices = 3 /// Represents the OEM partners (like Samsung) that we're working with to /// verify functionality on their devices. case oemDevices = 4 /// Represents the device for debugging. case debugDevices = 5 /// Represents the device for Nearby Module Food. case nearbyModuleFoodDevices = 6 /// Represents the device for BeTo Team Food. case betoDogfoodDevices = 7 /// Represents the device for Nearby dog Food. case nearbyDogfoodDevices = 8 /// Represents the device for Nearby Team Food. case nearbyTeamfoodDevices = 9 init() { self = .unspecifiedSource } } /// The Fast Share server action name. enum Location_Nearby_Proto_Sharing_ServerActionName: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case unknownServerAction = 0 case uploadCertificates = 1 case downloadCertificates = 2 case checkReachability = 3 case uploadContacts = 4 case updateDeviceName = 5 case uploadSenderCertificates = 6 case downloadSenderCertificates = 7 case uploadContactsAndCertificates = 8 case listReachablePhoneNumbers = 9 case listMyDevices = 10 case listContactPeople = 11 /// used for analytics logger to record action name. case downloadCertificatesInfo = 12 init() { self = .unknownServerAction } } /// The Fast Share server response state. enum Location_Nearby_Proto_Sharing_ServerResponseState: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case unknownServerResponseState = 0 case serverResponseSuccess = 1 case serverResponseUnknownFailure = 2 /// For StatusException. case serverResponseStatusOtherFailure = 3 case serverResponseStatusDeadlineExceeded = 4 case serverResponseStatusPermissionDenied = 5 case serverResponseStatusUnavailable = 6 case serverResponseStatusUnauthenticated = 7 case serverResponseStatusInvalidArgument = 9 /// For GoogleAuthException. case serverResponseGoogleAuthFailure = 8 /// For Internet connect status. case serverResponseNotConnectedToInternet = 10 init() { self = .unknownServerResponseState } } /// The purpose of requesting the server request. enum Location_Nearby_Proto_Sharing_SyncPurpose: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case unknown = 0 /// When NearbySharingChimeraService#sync() is called. case onDemandSync = 1 /// Requested by chime notification. case chimeNotification = 2 /// For reqular daily sync. case dailySync = 3 /// Wen a device opts into Nearby Share. case optInFirstSync = 4 /// Requested when Nearby Share automatically enables a device that shares /// a single account that has already opted in on another device. case checkDefaultOptIn = 5 /// When a device enables Nearby Share. case nearbyShareEnabled = 6 /// When a device is in fast init advertising. case syncAtFastInit = 7 /// When device start discovery. case syncAtDiscovery = 8 /// When device tries to load valid private certificate. case syncAtLoadPrivateCertificate = 9 /// When device start advertiseement. case syncAtAdvertisement = 10 /// When device contacts list changes. case contactListChange = 11 /// When showing the C11 banner in Neary Share setting. case showC11NView = 12 /// For regular check contact reachability. case regularCheckContactReachability = 13 /// When selected contacts list changes in visibility setting. case visibilitySelectedContactChange = 14 /// When switching account. case accountChange = 15 /// When regenerate certificates case regenerateCertificates = 16 /// When Device Contacts consent changes case deviceContactsConsentChange = 17 init() { self = .unknown } } /// The device role to trigger the server request. enum Location_Nearby_Proto_Sharing_ClientRole: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case unknown = 0 case sender = 1 case receiver = 2 init() { self = .unknown } } /// The type of Nearby Sharing scanning. enum Location_Nearby_Proto_Sharing_ScanType: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case unknownScanType = 0 case foregroundScan = 1 case foregroundRetryScan = 2 case directShareScan = 3 case backgroundScan = 4 init() { self = .unknownScanType } } /// The type of parsing endpoint id failed type. enum Location_Nearby_Proto_Sharing_ParsingFailedType: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case failedUnknownType = 0 /// NULL advertisement is returned due to sender failing to parse advertisement /// from endpointInfo byte stream from receiver advertisement. case failedParseAdvertisement = 1 /// NULL shareTarget is returned due to sender failing to create shareTarget /// from a valid parsed advertisement stemming from issues in certificates, QR /// code tokens or device names. case failedConvertShareTarget = 2 init() { self = .failedUnknownType } } /// The Nearby Sharing advertising mode. enum Location_Nearby_Proto_Sharing_AdvertisingMode: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case unknownAdvertisingMode = 0 case screenOffAdvertisingMode = 1 case backgroundAdvertisingMode = 2 case midgroundAdvertisingMode = 3 case foregroundAdvertisingMode = 4 case suspendedAdvertisingMode = 5 init() { self = .unknownAdvertisingMode } } /// The Nearby Sharing discovery mode. enum Location_Nearby_Proto_Sharing_DiscoveryMode: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case unknownDiscoveryMode = 0 case screenOffDiscoveryMode = 1 case backgroundDiscoveryMode = 2 case midgroundDiscoveryMode = 3 case foregroundDiscoveryMode = 4 case suspendedDiscoveryMode = 5 init() { self = .unknownDiscoveryMode } } /// The class name of chimera activity. enum Location_Nearby_Proto_Sharing_ActivityName: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case unknownActivity = 0 case shareSheetActivity = 1 case settingsActivity = 2 case receiveSurfaceActivity = 3 case setupActivity = 4 case deviceVisibilityActivity = 5 case consentsActivity = 6 case setDeviceNameDialog = 7 case setDataUsageDialog = 8 case quickSettingsActivity = 9 case remoteCopyShareSheetActivity = 10 case setupWizardActivity = 11 case settingsReviewActivity = 12 init() { self = .unknownActivity } } /// The type of consent page user launches. enum Location_Nearby_Proto_Sharing_ConsentType: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case unknown = 0 /// launch Constellation consent page. case c11N = 1 /// launch device contact consent page. case deviceContact = 2 init() { self = .unknown } } enum Location_Nearby_Proto_Sharing_ConsentAcceptanceStatus: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case consentUnknownAcceptStatus = 0 case consentAccepted = 1 case consentDeclined = 2 /// unable to enable consent. case consentUnableToEnable = 3 init() { self = .consentUnknownAcceptStatus } } enum Location_Nearby_Proto_Sharing_ApkSource: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case unknownApkSource = 0 case apkFromSdCard = 1 case installedApp = 2 init() { self = .unknownApkSource } } /// The Installation status of APK. enum Location_Nearby_Proto_Sharing_InstallAPKStatus: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case unknownInstallApkStatus = 0 case failInstallation = 1 case successInstallation = 2 init() { self = .unknownInstallApkStatus } } /// The verification status of APK. enum Location_Nearby_Proto_Sharing_VerifyAPKStatus: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case unknownVerifyApkStatus = 0 case notInstallable = 1 case installable = 2 case alreadyInstalled = 3 init() { self = .unknownVerifyApkStatus } } enum Location_Nearby_Proto_Sharing_ShowNotificationStatus: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case unknownShowNotificationStatus = 0 case show = 1 case notShow = 2 init() { self = .unknownShowNotificationStatus } } enum Location_Nearby_Proto_Sharing_PermissionRequestResult: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case permissionUnknownRequestResult = 0 case permissionGranted = 1 case permissionRejected = 2 case permissionUnableToGrant = 3 init() { self = .permissionUnknownRequestResult } } enum Location_Nearby_Proto_Sharing_PermissionRequestType: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case permissionUnknownType = 0 case permissionAirplaneModeOff = 1 case permissionWifi = 2 case permissionBluetooth = 3 case permissionLocation = 4 case permissionWifiHotspot = 5 init() { self = .permissionUnknownType } } enum Location_Nearby_Proto_Sharing_SharingUseCase: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case useCaseUnknown = 0 case useCaseNearbyShare = 1 case useCaseRemoteCopyPaste = 2 case useCaseWifiCredential = 3 case useCaseAppShare = 4 case useCaseQuickSettingFileShare = 5 case useCaseSetupWizard = 6 /// Deprecated. QR code is an addition to existing use cases rather than being /// a separate use case. /// /// NOTE: This enum value was marked as deprecated in the .proto file case useCaseNearbyShareWithQrCode = 7 /// The user was redirected from Bluetooth sharing UI to Nearby Share case useCaseRedirectedFromBluetoothShare = 8 init() { self = .useCaseUnknown } } /// Used only for Windows App now. enum Location_Nearby_Proto_Sharing_AppCrashReason: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case unknown = 0 init() { self = .unknown } } /// Thes source where the attachemnt comes from. It can be an action, app name, /// etc. The first 6 source types are being used as FileSenderType in Nearby /// Share Windows app. enum Location_Nearby_Proto_Sharing_AttachmentSourceType: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case attachmentSourceUnknown = 0 case attachmentSourceContextMenu = 1 case attachmentSourceDragAndDrop = 2 case attachmentSourceSelectFilesButton = 3 case attachmentSourcePaste = 4 case attachmentSourceSelectFoldersButton = 5 case attachmentSourceShareActivation = 6 init() { self = .attachmentSourceUnknown } } /// The action to interact with preferences. /// Used only for Windows App now. enum Location_Nearby_Proto_Sharing_PreferencesAction: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case unknown = 0 case noAction = 1 /// Primary actions/functions towards preferences case loadPreferences = 2 case savePreferencess = 3 case attemptLoad = 4 case restoreFromBackup = 5 /// Other actions within the 4 actions above case createPreferencesPath = 6 case makePreferencesBackupFile = 7 case checkIfPreferencesPathExists = 8 case checkIfPreferencesInputStreamStatus = 9 case checkIfPreferencesFileIsCorrupted = 10 case checkIfPreferencesBackupFileExists = 11 init() { self = .unknown } } /// The status of the action to interact with preferences. /// Used only for Windows App now. enum Location_Nearby_Proto_Sharing_PreferencesActionStatus: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case unknown = 0 case success = 1 case fail = 2 init() { self = .unknown } } ///* The distance of the found nearby fast init advertisement. enum Location_Nearby_Proto_Sharing_FastInitState: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case fastInitUnknownState = 0 /// A device was found in close proximity. /// distance < fast_init_distance_close_centimeters(50 cm) case fastInitCloseState = 1 /// A device was found in far proximity. /// distance < fast_init_distance_close_centimeters(10 m) case fastInitFarState = 2 /// No devices have been found nearby. The default state. case fastInitLostState = 3 init() { self = .fastInitUnknownState } } ///* The type of FastInit advertisement. enum Location_Nearby_Proto_Sharing_FastInitType: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case fastInitUnknownType = 0 /// Show HUN to notify the user. case fastInitNotifyType = 1 /// Not notify the user. case fastInitSilentType = 2 init() { self = .fastInitUnknownType } } ///* The type of desktop notification event. enum Location_Nearby_Proto_Sharing_DesktopNotification: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case unknown = 0 case connecting = 1 case progress = 2 case accept = 3 case received = 4 case error = 5 init() { self = .unknown } } enum Location_Nearby_Proto_Sharing_DesktopTransferEventType: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case unknown = 0 /// Receive attachments. case desktopTransferEventReceiveTypeAccept = 1 case desktopTransferEventReceiveTypeProgress = 2 case desktopTransferEventReceiveTypeReceived = 3 case desktopTransferEventReceiveTypeError = 4 /// Send attachments. case desktopTransferEventSendTypeStart = 5 case desktopTransferEventSendTypeSelectADevice = 6 case desktopTransferEventSendTypeProgress = 7 case desktopTransferEventSendTypeSent = 8 case desktopTransferEventSendTypeError = 9 init() { self = .unknown } } enum Location_Nearby_Proto_Sharing_DecryptCertificateFailureStatus: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case decryptCertUnknownFailure = 0 case decryptCertNoSuchAlgorithmFailure = 1 case decryptCertNoSuchPaddingFailure = 2 case decryptCertInvalidKeyFailure = 3 case decryptCertInvalidAlgorithmParameterFailure = 4 case decryptCertIllegalBlockSizeFailure = 5 case decryptCertBadPaddingFailure = 6 init() { self = .decryptCertUnknownFailure } } /// Refer to go/qs-contacts-consent-2024 for the detail. enum Location_Nearby_Proto_Sharing_ContactAccess: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case unknown = 0 case noContactUploaded = 1 case onlyUploadGoogleContact = 2 case uploadContactForDeviceContactConsent = 3 case uploadContactForQuickShareConsent = 4 init() { self = .unknown } } /// Refer to go/qs-contacts-consent-2024 for the detail. enum Location_Nearby_Proto_Sharing_IdentityVerification: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case unknown = 0 case noPhoneNumberVerified = 1 case phoneNumberVerifiedNotLinkedToGaia = 2 case phoneNumberVerifiedLinkedToQsGaia = 3 init() { self = .unknown } } enum Location_Nearby_Proto_Sharing_ButtonStatus: Int, SwiftProtobuf.Enum, Swift.CaseIterable { case unknown = 0 case clickAccept = 1 case clickReject = 2 case ignore = 3 init() { self = .unknown } } // MARK: - Code below here is support for the SwiftProtobuf runtime. extension Location_Nearby_Proto_Sharing_EventType: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0UNKNOWN_EVENT_TYPE\0\u{1}ACCEPT_AGREEMENTS\0\u{1}ENABLE_NEARBY_SHARING\0\u{1}SET_VISIBILITY\0\u{1}DESCRIBE_ATTACHMENTS\0\u{1}SCAN_FOR_SHARE_TARGETS_START\0\u{1}SCAN_FOR_SHARE_TARGETS_END\0\u{1}ADVERTISE_DEVICE_PRESENCE_START\0\u{1}ADVERTISE_DEVICE_PRESENCE_END\0\u{1}SEND_FAST_INITIALIZATION\0\u{1}RECEIVE_FAST_INITIALIZATION\0\u{1}DISCOVER_SHARE_TARGET\0\u{1}SEND_INTRODUCTION\0\u{1}RECEIVE_INTRODUCTION\0\u{1}RESPOND_TO_INTRODUCTION\0\u{1}SEND_ATTACHMENTS_START\0\u{1}SEND_ATTACHMENTS_END\0\u{1}RECEIVE_ATTACHMENTS_START\0\u{1}RECEIVE_ATTACHMENTS_END\0\u{1}CANCEL_SENDING_ATTACHMENTS\0\u{1}CANCEL_RECEIVING_ATTACHMENTS\0\u{1}OPEN_RECEIVED_ATTACHMENTS\0\u{1}LAUNCH_SETUP_ACTIVITY\0\u{1}ADD_CONTACT\0\u{1}REMOVE_CONTACT\0\u{1}FAST_SHARE_SERVER_RESPONSE\0\u{1}SEND_START\0\u{1}ACCEPT_FAST_INITIALIZATION\0\u{1}SET_DATA_USAGE\0\u{1}DISMISS_FAST_INITIALIZATION\0\u{1}CANCEL_CONNECTION\0\u{1}LAUNCH_ACTIVITY\0\u{1}DISMISS_PRIVACY_NOTIFICATION\0\u{1}TAP_PRIVACY_NOTIFICATION\0\u{1}TAP_HELP\0\u{1}TAP_FEEDBACK\0\u{1}ADD_QUICK_SETTINGS_TILE\0\u{1}REMOVE_QUICK_SETTINGS_TILE\0\u{1}LAUNCH_PHONE_CONSENT\0\u{1}TAP_QUICK_SETTINGS_TILE\0\u{1}INSTALL_APK\0\u{1}VERIFY_APK\0\u{1}LAUNCH_CONSENT\0\u{1}PROCESS_RECEIVED_ATTACHMENTS_END\0\u{1}TOGGLE_SHOW_NOTIFICATION\0\u{1}SET_DEVICE_NAME\0\u{1}DECLINE_AGREEMENTS\0\u{1}REQUEST_SETTING_PERMISSIONS\0\u{1}ESTABLISH_CONNECTION\0\u{1}DEVICE_SETTINGS\0\u{1}AUTO_DISMISS_FAST_INITIALIZATION\0\u{1}APP_CRASH\0\u{1}TAP_QUICK_SETTINGS_FILE_SHARE\0\u{1}DISPLAY_PRIVACY_NOTIFICATION\0\u{1}DISPLAY_PHONE_CONSENT\0\u{1}PREFERENCES_USAGE\0\u{1}DEFAULT_OPT_IN\0\u{1}SETUP_WIZARD\0\u{1}TAP_QR_CODE\0\u{1}QR_CODE_LINK_SHOWN\0\u{1}PARSING_FAILED_ENDPOINT_ID\0\u{1}FAST_INIT_DISCOVER_DEVICE\0\u{1}SEND_DESKTOP_NOTIFICATION\0\u{1}SET_ACCOUNT\0\u{1}DECRYPT_CERTIFICATE_FAILURE\0\u{1}SHOW_ALLOW_PERMISSION_AUTO_ACCESS\0\u{1}SEND_DESKTOP_TRANSFER_EVENT\0\u{1}WAITING_FOR_ACCEPT\0\u{1}HIGH_QUALITY_MEDIUM_SETUP\0\u{1}RPC_CALL_STATUS\0\u{1}START_QR_CODE_SESSION\0\u{1}QR_CODE_OPENED_IN_WEB_CLIENT\0\u{1}HATS_JOINT_EVENT\0\u{1}RECEIVE_PREVIEWS\0") } extension Location_Nearby_Proto_Sharing_EventCategory: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0UNKNOWN_EVENT_CATEGORY\0\u{1}SENDING_EVENT\0\u{1}RECEIVING_EVENT\0\u{1}SETTINGS_EVENT\0\u{1}RPC_EVENT\0") } extension Location_Nearby_Proto_Sharing_NearbySharingStatus: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0UNKNOWN_NEARBY_SHARING_STATUS\0\u{1}ON\0\u{1}OFF\0") } extension Location_Nearby_Proto_Sharing_Visibility: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0UNKNOWN_VISIBILITY\0\u{1}CONTACTS_ONLY\0\u{1}EVERYONE\0\u{1}SELECTED_CONTACTS_ONLY\0\u{1}HIDDEN\0\u{1}SELF_SHARE\0") } extension Location_Nearby_Proto_Sharing_DataUsage: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0UNKNOWN_DATA_USAGE\0\u{1}ONLINE\0\u{1}WIFI_ONLY\0\u{1}OFFLINE\0") } extension Location_Nearby_Proto_Sharing_EstablishConnectionStatus: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0CONNECTION_STATUS_UNKNOWN\0\u{1}CONNECTION_STATUS_SUCCESS\0\u{1}CONNECTION_STATUS_FAILURE\0\u{1}CONNECTION_STATUS_CANCELLATION\0\u{1}CONNECTION_STATUS_MEDIA_UNAVAILABLE_ATTACHMENT\0\u{1}CONNECTION_STATUS_FAILED_PAIRED_KEYHANDSHAKE\0\u{1}CONNECTION_STATUS_FAILED_WRITE_INTRODUCTION\0\u{1}CONNECTION_STATUS_FAILED_NULL_CONNECTION\0\u{1}CONNECTION_STATUS_FAILED_NO_TRANSFER_UPDATE_CALLBACK\0\u{1}CONNECTION_STATUS_LOST_CONNECTIVITY\0\u{1}CONNECTION_STATUS_INVALID_ADVERTISEMENT\0") } extension Location_Nearby_Proto_Sharing_AttachmentTransmissionStatus: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0UNKNOWN_ATTACHMENT_TRANSMISSION_STATUS\0\u{1}COMPLETE_ATTACHMENT_TRANSMISSION_STATUS\0\u{1}CANCELED_ATTACHMENT_TRANSMISSION_STATUS\0\u{1}FAILED_ATTACHMENT_TRANSMISSION_STATUS\0\u{1}REJECTED_ATTACHMENT\0\u{1}TIMED_OUT_ATTACHMENT\0\u{1}AWAITING_REMOTE_ACCEPTANCE_FAILED_ATTACHMENT\0\u{1}NOT_ENOUGH_SPACE_ATTACHMENT\0\u{1}FAILED_NO_TRANSFER_UPDATE_CALLBACK\0\u{1}MEDIA_UNAVAILABLE_ATTACHMENT\0\u{1}UNSUPPORTED_ATTACHMENT_TYPE_ATTACHMENT\0\u{1}NO_ATTACHMENT_FOUND\0\u{1}FAILED_NO_SHARE_TARGET_ENDPOINT\0\u{1}FAILED_PAIRED_KEYHANDSHAKE\0\u{1}FAILED_NULL_CONNECTION\0\u{1}FAILED_NO_PAYLOAD\0\u{1}FAILED_WRITE_INTRODUCTION\0\u{1}FAILED_UNKNOWN_REMOTE_RESPONSE\0\u{1}FAILED_NULL_CONNECTION_INIT_OUTGOING\0\u{1}FAILED_NULL_CONNECTION_DISCONNECTED\0\u{1}FAILED_NULL_CONNECTION_LOST_CONNECTIVITY\0\u{1}FAILED_NULL_CONNECTION_FAILURE\0\u{1}REJECTED_ATTACHMENT_TRANSMISSION_STATUS\0\u{1}TIMED_OUT_ATTACHMENT_TRANSMISSION_STATUS\0\u{1}NOT_ENOUGH_SPACE_ATTACHMENT_TRANSMISSION_STATUS\0\u{1}UNSUPPORTED_ATTACHMENT_TYPE_ATTACHMENT_TRANSMISSION_STATUS\0\u{1}FAILED_UNKNOWN_REMOTE_RESPONSE_TRANSMISSION_STATUS\0\u{1}NO_RESPONSE_FRAME_CONNECTION_CLOSED_LOST_CONNECTIVITY_TRANSMISSION_STATUS\0\u{1}NO_RESPONSE_FRAME_CONNECTION_CLOSED_TRANSMISSION_STATUS\0\u{1}LOST_CONNECTIVITY_TRANSMISSION_STATUS\0\u{1}FAILED_DISALLOWED_MEDIUM\0") } extension Location_Nearby_Proto_Sharing_ConnectionLayerStatus: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0CONNECTION_LAYER_STATUS_UNKNOWN\0\u{1}CONNECTION_LAYER_STATUS_SUCCESS\0\u{1}CONNECTION_LAYER_STATUS_ERROR\0\u{1}CONNECTION_LAYER_STATUS_OUT_OF_ORDER_API_CALL\0\u{1}CONNECTION_LAYER_STATUS_ALREADY_HAVE_ACTIVE_STRATEGY\0\u{1}CONNECTION_LAYER_STATUS_ALREADY_ADVERTISING\0\u{1}CONNECTION_LAYER_STATUS_ALREADY_DISCOVERING\0\u{1}CONNECTION_LAYER_STATUS_ALREADY_LISTENING\0\u{1}CONNECTION_LAYER_STATUS_END_POINT_IO_ERROR\0\u{1}CONNECTION_LAYER_STATUS_END_POINT_UNKNOWN\0\u{1}CONNECTION_LAYER_STATUS_CONNECTION_REJECTED\0\u{1}CONNECTION_LAYER_STATUS_ALREADY_CONNECTED_TO_END_POINT\0\u{1}CONNECTION_LAYER_STATUS_NOT_CONNECTED_TO_END_POINT\0\u{1}CONNECTION_LAYER_STATUS_BLUETOOTH_ERROR\0\u{1}CONNECTION_LAYER_STATUS_BLE_ERROR\0\u{1}CONNECTION_LAYER_STATUS_WIFI_LAN_ERROR\0\u{1}CONNECTION_LAYER_STATUS_PAYLOAD_UNKNOWN\0\u{1}CONNECTION_LAYER_STATUS_RESET\0\u{1}CONNECTION_LAYER_STATUS_TIMEOUT\0") } extension Location_Nearby_Proto_Sharing_ProcessReceivedAttachmentsStatus: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0PROCESSING_STATUS_UNKNOWN\0\u{1}PROCESSING_STATUS_COMPLETE_PROCESSING_ATTACHMENTS\0\u{1}PROCESSING_STATUS_FAILED_MOVING_FILES\0\u{1}PROCESSING_STATUS_FAILED_RECEIVING_APK\0\u{1}PROCESSING_STATUS_FAILED_RECEIVING_TEXT\0\u{1}PROCESSING_STATUS_FAILED_RECEIVING_WIFI_CREDENTIALS\0") } extension Location_Nearby_Proto_Sharing_SessionStatus: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0UNKNOWN_SESSION_STATUS\0\u{1}SUCCEEDED_SESSION_STATUS\0\u{1}FAILED_SESSION_STATUS\0") } extension Location_Nearby_Proto_Sharing_ResponseToIntroduction: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0UNKNOWN_RESPONSE_TO_INTRODUCTION\0\u{1}ACCEPT_INTRODUCTION\0\u{1}REJECT_INTRODUCTION\0\u{1}FAIL_INTRODUCTION\0") } extension Location_Nearby_Proto_Sharing_DeviceType: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0UNKNOWN_DEVICE_TYPE\0\u{1}PHONE\0\u{1}TABLET\0\u{1}LAPTOP\0\u{1}CAR\0\u{1}FOLDABLE\0\u{1}XR\0") } extension Location_Nearby_Proto_Sharing_OSType: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0UNKNOWN_OS_TYPE\0\u{1}ANDROID\0\u{1}CHROME_OS\0\u{1}IOS\0\u{1}WINDOWS\0\u{1}MACOS\0") } extension Location_Nearby_Proto_Sharing_DeviceRelationship: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0UNKNOWN_DEVICE_RELATIONSHIP\0\u{1}IS_SELF\0\u{1}IS_CONTACT\0\u{1}IS_STRANGER\0") } extension Location_Nearby_Proto_Sharing_LogSource: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0UNSPECIFIED_SOURCE\0\u{1}LAB_DEVICES\0\u{1}INTERNAL_DEVICES\0\u{1}BETA_TESTER_DEVICES\0\u{1}OEM_DEVICES\0\u{1}DEBUG_DEVICES\0\u{1}NEARBY_MODULE_FOOD_DEVICES\0\u{1}BETO_DOGFOOD_DEVICES\0\u{1}NEARBY_DOGFOOD_DEVICES\0\u{1}NEARBY_TEAMFOOD_DEVICES\0") } extension Location_Nearby_Proto_Sharing_ServerActionName: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0UNKNOWN_SERVER_ACTION\0\u{1}UPLOAD_CERTIFICATES\0\u{1}DOWNLOAD_CERTIFICATES\0\u{1}CHECK_REACHABILITY\0\u{1}UPLOAD_CONTACTS\0\u{1}UPDATE_DEVICE_NAME\0\u{1}UPLOAD_SENDER_CERTIFICATES\0\u{1}DOWNLOAD_SENDER_CERTIFICATES\0\u{1}UPLOAD_CONTACTS_AND_CERTIFICATES\0\u{1}LIST_REACHABLE_PHONE_NUMBERS\0\u{1}LIST_MY_DEVICES\0\u{1}LIST_CONTACT_PEOPLE\0\u{1}DOWNLOAD_CERTIFICATES_INFO\0") } extension Location_Nearby_Proto_Sharing_ServerResponseState: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0UNKNOWN_SERVER_RESPONSE_STATE\0\u{1}SERVER_RESPONSE_SUCCESS\0\u{1}SERVER_RESPONSE_UNKNOWN_FAILURE\0\u{1}SERVER_RESPONSE_STATUS_OTHER_FAILURE\0\u{1}SERVER_RESPONSE_STATUS_DEADLINE_EXCEEDED\0\u{1}SERVER_RESPONSE_STATUS_PERMISSION_DENIED\0\u{1}SERVER_RESPONSE_STATUS_UNAVAILABLE\0\u{1}SERVER_RESPONSE_STATUS_UNAUTHENTICATED\0\u{1}SERVER_RESPONSE_GOOGLE_AUTH_FAILURE\0\u{1}SERVER_RESPONSE_STATUS_INVALID_ARGUMENT\0\u{1}SERVER_RESPONSE_NOT_CONNECTED_TO_INTERNET\0") } extension Location_Nearby_Proto_Sharing_SyncPurpose: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0SYNC_PURPOSE_UNKNOWN\0\u{1}SYNC_PURPOSE_ON_DEMAND_SYNC\0\u{1}SYNC_PURPOSE_CHIME_NOTIFICATION\0\u{1}SYNC_PURPOSE_DAILY_SYNC\0\u{1}SYNC_PURPOSE_OPT_IN_FIRST_SYNC\0\u{1}SYNC_PURPOSE_CHECK_DEFAULT_OPT_IN\0\u{1}SYNC_PURPOSE_NEARBY_SHARE_ENABLED\0\u{1}SYNC_PURPOSE_SYNC_AT_FAST_INIT\0\u{1}SYNC_PURPOSE_SYNC_AT_DISCOVERY\0\u{1}SYNC_PURPOSE_SYNC_AT_LOAD_PRIVATE_CERTIFICATE\0\u{1}SYNC_PURPOSE_SYNC_AT_ADVERTISEMENT\0\u{1}SYNC_PURPOSE_CONTACT_LIST_CHANGE\0\u{1}SYNC_PURPOSE_SHOW_C11N_VIEW\0\u{1}SYNC_PURPOSE_REGULAR_CHECK_CONTACT_REACHABILITY\0\u{1}SYNC_PURPOSE_VISIBILITY_SELECTED_CONTACT_CHANGE\0\u{1}SYNC_PURPOSE_ACCOUNT_CHANGE\0\u{1}SYNC_PURPOSE_REGENERATE_CERTIFICATES\0\u{1}SYNC_PURPOSE_DEVICE_CONTACTS_CONSENT_CHANGE\0") } extension Location_Nearby_Proto_Sharing_ClientRole: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0CLIENT_ROLE_UNKNOWN\0\u{1}CLIENT_ROLE_SENDER\0\u{1}CLIENT_ROLE_RECEIVER\0") } extension Location_Nearby_Proto_Sharing_ScanType: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0UNKNOWN_SCAN_TYPE\0\u{1}FOREGROUND_SCAN\0\u{1}FOREGROUND_RETRY_SCAN\0\u{1}DIRECT_SHARE_SCAN\0\u{1}BACKGROUND_SCAN\0") } extension Location_Nearby_Proto_Sharing_ParsingFailedType: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0FAILED_UNKNOWN_TYPE\0\u{1}FAILED_PARSE_ADVERTISEMENT\0\u{1}FAILED_CONVERT_SHARE_TARGET\0") } extension Location_Nearby_Proto_Sharing_AdvertisingMode: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0UNKNOWN_ADVERTISING_MODE\0\u{1}SCREEN_OFF_ADVERTISING_MODE\0\u{1}BACKGROUND_ADVERTISING_MODE\0\u{1}MIDGROUND_ADVERTISING_MODE\0\u{1}FOREGROUND_ADVERTISING_MODE\0\u{1}SUSPENDED_ADVERTISING_MODE\0") } extension Location_Nearby_Proto_Sharing_DiscoveryMode: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0UNKNOWN_DISCOVERY_MODE\0\u{1}SCREEN_OFF_DISCOVERY_MODE\0\u{1}BACKGROUND_DISCOVERY_MODE\0\u{1}MIDGROUND_DISCOVERY_MODE\0\u{1}FOREGROUND_DISCOVERY_MODE\0\u{1}SUSPENDED_DISCOVERY_MODE\0") } extension Location_Nearby_Proto_Sharing_ActivityName: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0UNKNOWN_ACTIVITY\0\u{1}SHARE_SHEET_ACTIVITY\0\u{1}SETTINGS_ACTIVITY\0\u{1}RECEIVE_SURFACE_ACTIVITY\0\u{1}SETUP_ACTIVITY\0\u{1}DEVICE_VISIBILITY_ACTIVITY\0\u{1}CONSENTS_ACTIVITY\0\u{1}SET_DEVICE_NAME_DIALOG\0\u{1}SET_DATA_USAGE_DIALOG\0\u{1}QUICK_SETTINGS_ACTIVITY\0\u{1}REMOTE_COPY_SHARE_SHEET_ACTIVITY\0\u{1}SETUP_WIZARD_ACTIVITY\0\u{1}SETTINGS_REVIEW_ACTIVITY\0") } extension Location_Nearby_Proto_Sharing_ConsentType: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0CONSENT_TYPE_UNKNOWN\0\u{1}CONSENT_TYPE_C11N\0\u{1}CONSENT_TYPE_DEVICE_CONTACT\0") } extension Location_Nearby_Proto_Sharing_ConsentAcceptanceStatus: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0CONSENT_UNKNOWN_ACCEPT_STATUS\0\u{1}CONSENT_ACCEPTED\0\u{1}CONSENT_DECLINED\0\u{1}CONSENT_UNABLE_TO_ENABLE\0") } extension Location_Nearby_Proto_Sharing_ApkSource: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0UNKNOWN_APK_SOURCE\0\u{1}APK_FROM_SD_CARD\0\u{1}INSTALLED_APP\0") } extension Location_Nearby_Proto_Sharing_InstallAPKStatus: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0UNKNOWN_INSTALL_APK_STATUS\0\u{1}FAIL_INSTALLATION\0\u{1}SUCCESS_INSTALLATION\0") } extension Location_Nearby_Proto_Sharing_VerifyAPKStatus: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0UNKNOWN_VERIFY_APK_STATUS\0\u{1}NOT_INSTALLABLE\0\u{1}INSTALLABLE\0\u{1}ALREADY_INSTALLED\0") } extension Location_Nearby_Proto_Sharing_ShowNotificationStatus: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0UNKNOWN_SHOW_NOTIFICATION_STATUS\0\u{1}SHOW\0\u{1}NOT_SHOW\0") } extension Location_Nearby_Proto_Sharing_PermissionRequestResult: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0PERMISSION_UNKNOWN_REQUEST_RESULT\0\u{1}PERMISSION_GRANTED\0\u{1}PERMISSION_REJECTED\0\u{1}PERMISSION_UNABLE_TO_GRANT\0") } extension Location_Nearby_Proto_Sharing_PermissionRequestType: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0PERMISSION_UNKNOWN_TYPE\0\u{1}PERMISSION_AIRPLANE_MODE_OFF\0\u{1}PERMISSION_WIFI\0\u{1}PERMISSION_BLUETOOTH\0\u{1}PERMISSION_LOCATION\0\u{1}PERMISSION_WIFI_HOTSPOT\0") } extension Location_Nearby_Proto_Sharing_SharingUseCase: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0USE_CASE_UNKNOWN\0\u{1}USE_CASE_NEARBY_SHARE\0\u{1}USE_CASE_REMOTE_COPY_PASTE\0\u{1}USE_CASE_WIFI_CREDENTIAL\0\u{1}USE_CASE_APP_SHARE\0\u{1}USE_CASE_QUICK_SETTING_FILE_SHARE\0\u{1}USE_CASE_SETUP_WIZARD\0\u{1}USE_CASE_NEARBY_SHARE_WITH_QR_CODE\0\u{1}USE_CASE_REDIRECTED_FROM_BLUETOOTH_SHARE\0") } extension Location_Nearby_Proto_Sharing_AppCrashReason: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0APP_CRASH_REASON_UNKNOWN\0") } extension Location_Nearby_Proto_Sharing_AttachmentSourceType: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0ATTACHMENT_SOURCE_UNKNOWN\0\u{1}ATTACHMENT_SOURCE_CONTEXT_MENU\0\u{1}ATTACHMENT_SOURCE_DRAG_AND_DROP\0\u{1}ATTACHMENT_SOURCE_SELECT_FILES_BUTTON\0\u{1}ATTACHMENT_SOURCE_PASTE\0\u{1}ATTACHMENT_SOURCE_SELECT_FOLDERS_BUTTON\0\u{1}ATTACHMENT_SOURCE_SHARE_ACTIVATION\0") } extension Location_Nearby_Proto_Sharing_PreferencesAction: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0PREFERENCES_ACTION_UNKNOWN\0\u{1}PREFERENCES_ACTION_NO_ACTION\0\u{1}PREFERENCES_ACTION_LOAD_PREFERENCES\0\u{1}PREFERENCES_ACTION_SAVE_PREFERENCESS\0\u{1}PREFERENCES_ACTION_ATTEMPT_LOAD\0\u{1}PREFERENCES_ACTION_RESTORE_FROM_BACKUP\0\u{1}PREFERENCES_ACTION_CREATE_PREFERENCES_PATH\0\u{1}PREFERENCES_ACTION_MAKE_PREFERENCES_BACKUP_FILE\0\u{1}PREFERENCES_ACTION_CHECK_IF_PREFERENCES_PATH_EXISTS\0\u{1}PREFERENCES_ACTION_CHECK_IF_PREFERENCES_INPUT_STREAM_STATUS\0\u{1}PREFERENCES_ACTION_CHECK_IF_PREFERENCES_FILE_IS_CORRUPTED\0\u{1}PREFERENCES_ACTION_CHECK_IF_PREFERENCES_BACKUP_FILE_EXISTS\0") } extension Location_Nearby_Proto_Sharing_PreferencesActionStatus: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0PREFERENCES_ACTION_STATUS_UNKNOWN\0\u{1}PREFERENCES_ACTION_STATUS_SUCCESS\0\u{1}PREFERENCES_ACTION_STATUS_FAIL\0") } extension Location_Nearby_Proto_Sharing_FastInitState: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0FAST_INIT_UNKNOWN_STATE\0\u{1}FAST_INIT_CLOSE_STATE\0\u{1}FAST_INIT_FAR_STATE\0\u{1}FAST_INIT_LOST_STATE\0") } extension Location_Nearby_Proto_Sharing_FastInitType: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0FAST_INIT_UNKNOWN_TYPE\0\u{1}FAST_INIT_NOTIFY_TYPE\0\u{1}FAST_INIT_SILENT_TYPE\0") } extension Location_Nearby_Proto_Sharing_DesktopNotification: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0DESKTOP_NOTIFICATION_UNKNOWN\0\u{1}DESKTOP_NOTIFICATION_CONNECTING\0\u{1}DESKTOP_NOTIFICATION_PROGRESS\0\u{1}DESKTOP_NOTIFICATION_ACCEPT\0\u{1}DESKTOP_NOTIFICATION_RECEIVED\0\u{1}DESKTOP_NOTIFICATION_ERROR\0") } extension Location_Nearby_Proto_Sharing_DesktopTransferEventType: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0DESKTOP_TRANSFER_EVENT_TYPE_UNKNOWN\0\u{1}DESKTOP_TRANSFER_EVENT_RECEIVE_TYPE_ACCEPT\0\u{1}DESKTOP_TRANSFER_EVENT_RECEIVE_TYPE_PROGRESS\0\u{1}DESKTOP_TRANSFER_EVENT_RECEIVE_TYPE_RECEIVED\0\u{1}DESKTOP_TRANSFER_EVENT_RECEIVE_TYPE_ERROR\0\u{1}DESKTOP_TRANSFER_EVENT_SEND_TYPE_START\0\u{1}DESKTOP_TRANSFER_EVENT_SEND_TYPE_SELECT_A_DEVICE\0\u{1}DESKTOP_TRANSFER_EVENT_SEND_TYPE_PROGRESS\0\u{1}DESKTOP_TRANSFER_EVENT_SEND_TYPE_SENT\0\u{1}DESKTOP_TRANSFER_EVENT_SEND_TYPE_ERROR\0") } extension Location_Nearby_Proto_Sharing_DecryptCertificateFailureStatus: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0DECRYPT_CERT_UNKNOWN_FAILURE\0\u{1}DECRYPT_CERT_NO_SUCH_ALGORITHM_FAILURE\0\u{1}DECRYPT_CERT_NO_SUCH_PADDING_FAILURE\0\u{1}DECRYPT_CERT_INVALID_KEY_FAILURE\0\u{1}DECRYPT_CERT_INVALID_ALGORITHM_PARAMETER_FAILURE\0\u{1}DECRYPT_CERT_ILLEGAL_BLOCK_SIZE_FAILURE\0\u{1}DECRYPT_CERT_BAD_PADDING_FAILURE\0") } extension Location_Nearby_Proto_Sharing_ContactAccess: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0CONTACT_ACCESS_UNKNOWN\0\u{1}CONTACT_ACCESS_NO_CONTACT_UPLOADED\0\u{1}CONTACT_ACCESS_ONLY_UPLOAD_GOOGLE_CONTACT\0\u{1}CONTACT_ACCESS_UPLOAD_CONTACT_FOR_DEVICE_CONTACT_CONSENT\0\u{1}CONTACT_ACCESS_UPLOAD_CONTACT_FOR_QUICK_SHARE_CONSENT\0") } extension Location_Nearby_Proto_Sharing_IdentityVerification: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0IDENTITY_VERIFICATION_UNKNOWN\0\u{1}IDENTITY_VERIFICATION_NO_PHONE_NUMBER_VERIFIED\0\u{1}IDENTITY_VERIFICATION_PHONE_NUMBER_VERIFIED_NOT_LINKED_TO_GAIA\0\u{1}IDENTITY_VERIFICATION_PHONE_NUMBER_VERIFIED_LINKED_TO_QS_GAIA\0") } extension Location_Nearby_Proto_Sharing_ButtonStatus: SwiftProtobuf._ProtoNameProviding { static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0BUTTON_STATUS_UNKNOWN\0\u{1}BUTTON_STATUS_CLICK_ACCEPT\0\u{1}BUTTON_STATUS_CLICK_REJECT\0\u{1}BUTTON_STATUS_IGNORE\0") }