Update generated protobuf

This commit is contained in:
Leon Böttger committed 2025-08-23 21:28:45 +02:00
1 parent 44d8ac059b
commit 46c44e800c
11 files changed
+1040 -5134

No files matched your search

+73 -382
View File
@@ -1,5 +1,6 @@
// DO NOT EDIT.
// swift-format-ignore-file
// swiftlint:disable all
//
// Generated by the Swift generator plugin for the protocol buffer compiler.
// Source: securegcm.proto
@@ -36,278 +37,131 @@ fileprivate struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAP
/// This enum is used by iOS devices as values for device_display_diagonal_mils
/// in GcmDeviceInfo. There is no good way to calculate it on those devices.
enum Securegcm_AppleDeviceDiagonalMils: SwiftProtobuf.Enum {
typealias RawValue = Int
enum Securegcm_AppleDeviceDiagonalMils: Int, SwiftProtobuf.Enum, Swift.CaseIterable {
/// This is the mils diagonal on an iPhone 5.
case applePhone // = 4000
case applePhone = 4000
/// This is the mils diagonal on an iPad mini.
case applePad // = 7900
case applePad = 7900
init() {
self = .applePhone
}
init?(rawValue: Int) {
switch rawValue {
case 4000: self = .applePhone
case 7900: self = .applePad
default: return nil
}
}
var rawValue: Int {
switch self {
case .applePhone: return 4000
case .applePad: return 7900
}
}
}
#if swift(>=4.2)
extension Securegcm_AppleDeviceDiagonalMils: CaseIterable {
// Support synthesized by the compiler.
}
#endif // swift(>=4.2)
/// This should be kept in sync with DeviceType in:
/// java/com/google/security/cryptauth/backend/services/common/common_enums.proto
enum Securegcm_DeviceType: SwiftProtobuf.Enum {
typealias RawValue = Int
case unknown // = 0
case android // = 1
case chrome // = 2
case ios // = 3
case browser // = 4
case osx // = 5
enum Securegcm_DeviceType: Int, SwiftProtobuf.Enum, Swift.CaseIterable {
case unknown = 0
case android = 1
case chrome = 2
case ios = 3
case browser = 4
case osx = 5
init() {
self = .unknown
}
init?(rawValue: Int) {
switch rawValue {
case 0: self = .unknown
case 1: self = .android
case 2: self = .chrome
case 3: self = .ios
case 4: self = .browser
case 5: self = .osx
default: return nil
}
}
var rawValue: Int {
switch self {
case .unknown: return 0
case .android: return 1
case .chrome: return 2
case .ios: return 3
case .browser: return 4
case .osx: return 5
}
}
}
#if swift(>=4.2)
extension Securegcm_DeviceType: CaseIterable {
// Support synthesized by the compiler.
}
#endif // swift(>=4.2)
/// MultiDevice features which may be supported and enabled on a device. See
enum Securegcm_SoftwareFeature: SwiftProtobuf.Enum {
typealias RawValue = Int
case unknownFeature // = 0
case betterTogetherHost // = 1
case betterTogetherClient // = 2
case easyUnlockHost // = 3
case easyUnlockClient // = 4
case magicTetherHost // = 5
case magicTetherClient // = 6
case smsConnectHost // = 7
case smsConnectClient // = 8
enum Securegcm_SoftwareFeature: Int, SwiftProtobuf.Enum, Swift.CaseIterable {
case unknownFeature = 0
case betterTogetherHost = 1
case betterTogetherClient = 2
case easyUnlockHost = 3
case easyUnlockClient = 4
case magicTetherHost = 5
case magicTetherClient = 6
case smsConnectHost = 7
case smsConnectClient = 8
init() {
self = .unknownFeature
}
init?(rawValue: Int) {
switch rawValue {
case 0: self = .unknownFeature
case 1: self = .betterTogetherHost
case 2: self = .betterTogetherClient
case 3: self = .easyUnlockHost
case 4: self = .easyUnlockClient
case 5: self = .magicTetherHost
case 6: self = .magicTetherClient
case 7: self = .smsConnectHost
case 8: self = .smsConnectClient
default: return nil
}
}
var rawValue: Int {
switch self {
case .unknownFeature: return 0
case .betterTogetherHost: return 1
case .betterTogetherClient: return 2
case .easyUnlockHost: return 3
case .easyUnlockClient: return 4
case .magicTetherHost: return 5
case .magicTetherClient: return 6
case .smsConnectHost: return 7
case .smsConnectClient: return 8
}
}
}
#if swift(>=4.2)
extension Securegcm_SoftwareFeature: CaseIterable {
// Support synthesized by the compiler.
}
#endif // swift(>=4.2)
/// A list of "reasons" that can be provided for calling server-side APIs.
/// This is particularly important for calls that can be triggered by different
/// kinds of events. Please try to keep reasons as generic as possible, so that
/// codes can be re-used by various callers in a sensible fashion.
enum Securegcm_InvocationReason: SwiftProtobuf.Enum {
typealias RawValue = Int
case reasonUnknown // = 0
enum Securegcm_InvocationReason: Int, SwiftProtobuf.Enum, Swift.CaseIterable {
case reasonUnknown = 0
/// First run of the software package invoking this call
case reasonInitialization // = 1
case reasonInitialization = 1
/// Ordinary periodic actions (e.g. monthly master key rotation)
case reasonPeriodic // = 2
case reasonPeriodic = 2
/// Slow-cycle periodic action (e.g. yearly keypair rotation???)
case reasonSlowPeriodic // = 3
case reasonSlowPeriodic = 3
/// Fast-cycle periodic action (e.g. daily sync for Smart Lock users)
case reasonFastPeriodic // = 4
case reasonFastPeriodic = 4
/// Expired state (e.g. expired credentials, or cached entries) was detected
case reasonExpiration // = 5
case reasonExpiration = 5
/// An unexpected protocol failure occurred (so attempting to repair state)
case reasonFailureRecovery // = 6
case reasonFailureRecovery = 6
/// A new account has been added to the device
case reasonNewAccount // = 7
case reasonNewAccount = 7
/// An existing account on the device has been changed
case reasonChangedAccount // = 8
case reasonChangedAccount = 8
/// The user toggled the state of a feature (e.g. Smart Lock enabled via BT)
case reasonFeatureToggled // = 9
case reasonFeatureToggled = 9
/// A "push" from the server caused this action (e.g. a sync tickle)
case reasonServerInitiated // = 10
case reasonServerInitiated = 10
/// A local address change triggered this (e.g. GCM registration id changed)
case reasonAddressChange // = 11
case reasonAddressChange = 11
/// A software update has triggered this
case reasonSoftwareUpdate // = 12
case reasonSoftwareUpdate = 12
/// A manual action by the user triggered this (e.g. commands sent via adb)
case reasonManual // = 13
case reasonManual = 13
/// A custom key has been invalidated on the device (e.g. screen lock is
/// disabled).
case reasonCustomKeyInvalidation // = 14
case reasonCustomKeyInvalidation = 14
/// Periodic action triggered by auth_proximity
case reasonProximityPeriodic // = 15
case reasonProximityPeriodic = 15
init() {
self = .reasonUnknown
}
init?(rawValue: Int) {
switch rawValue {
case 0: self = .reasonUnknown
case 1: self = .reasonInitialization
case 2: self = .reasonPeriodic
case 3: self = .reasonSlowPeriodic
case 4: self = .reasonFastPeriodic
case 5: self = .reasonExpiration
case 6: self = .reasonFailureRecovery
case 7: self = .reasonNewAccount
case 8: self = .reasonChangedAccount
case 9: self = .reasonFeatureToggled
case 10: self = .reasonServerInitiated
case 11: self = .reasonAddressChange
case 12: self = .reasonSoftwareUpdate
case 13: self = .reasonManual
case 14: self = .reasonCustomKeyInvalidation
case 15: self = .reasonProximityPeriodic
default: return nil
}
}
var rawValue: Int {
switch self {
case .reasonUnknown: return 0
case .reasonInitialization: return 1
case .reasonPeriodic: return 2
case .reasonSlowPeriodic: return 3
case .reasonFastPeriodic: return 4
case .reasonExpiration: return 5
case .reasonFailureRecovery: return 6
case .reasonNewAccount: return 7
case .reasonChangedAccount: return 8
case .reasonFeatureToggled: return 9
case .reasonServerInitiated: return 10
case .reasonAddressChange: return 11
case .reasonSoftwareUpdate: return 12
case .reasonManual: return 13
case .reasonCustomKeyInvalidation: return 14
case .reasonProximityPeriodic: return 15
}
}
}
#if swift(>=4.2)
extension Securegcm_InvocationReason: CaseIterable {
// Support synthesized by the compiler.
}
#endif // swift(>=4.2)
enum Securegcm_Type: SwiftProtobuf.Enum {
typealias RawValue = Int
case enrollment // = 0
case tickle // = 1
case txRequest // = 2
case txReply // = 3
case txSyncRequest // = 4
case txSyncResponse // = 5
case txPing // = 6
case deviceInfoUpdate // = 7
case txCancelRequest // = 8
enum Securegcm_Type: Int, SwiftProtobuf.Enum, Swift.CaseIterable {
case enrollment = 0
case tickle = 1
case txRequest = 2
case txReply = 3
case txSyncRequest = 4
case txSyncResponse = 5
case txPing = 6
case deviceInfoUpdate = 7
case txCancelRequest = 8
/// DEPRECATED (can be re-used after Aug 2015)
case proximityauthPairing // = 10
case proximityauthPairing = 10
/// The kind of identity assertion generated by a "GCM V1" device (i.e.,
/// an Android phone that has registered with us a public and a symmetric
/// key)
case gcmv1IdentityAssertion // = 11
case gcmv1IdentityAssertion = 11
/// Device-to-device communications are protected by an unauthenticated
/// Diffie-Hellman exchange. The InitiatorHello message is simply the
@@ -318,87 +172,36 @@ enum Securegcm_Type: SwiftProtobuf.Enum {
/// by the derived shared key. It also contains the responder's
/// public DH key. ResponderHelloAndPayload messages have the
/// DEVICE_TO_DEVICE_RESPONDER_HELLO tag.
case deviceToDeviceResponderHelloPayload // = 12
case deviceToDeviceResponderHelloPayload = 12
/// Device-to-device communications are protected by an unauthenticated
/// Diffie-Hellman exchange. Once the initiator and responder
/// agree on a shared key (through Diffie-Hellman), they will use messages
/// tagged with DEVICE_TO_DEVICE_MESSAGE to exchange data.
case deviceToDeviceMessage // = 13
case deviceToDeviceMessage = 13
/// Notification to let a device know it should contact a nearby device.
case deviceProximityCallback // = 14
case deviceProximityCallback = 14
/// Device-to-device communications are protected by an unauthenticated
/// Diffie-Hellman exchange. During device-to-device authentication, the first
/// message from initiator (the challenge) is signed and put into the payload
/// of the message sent back to the initiator.
case unlockKeySignedChallenge // = 15
case unlockKeySignedChallenge = 15
/// Specialty (corp only) features
case loginNotification // = 101
case loginNotification = 101
init() {
self = .enrollment
}
init?(rawValue: Int) {
switch rawValue {
case 0: self = .enrollment
case 1: self = .tickle
case 2: self = .txRequest
case 3: self = .txReply
case 4: self = .txSyncRequest
case 5: self = .txSyncResponse
case 6: self = .txPing
case 7: self = .deviceInfoUpdate
case 8: self = .txCancelRequest
case 10: self = .proximityauthPairing
case 11: self = .gcmv1IdentityAssertion
case 12: self = .deviceToDeviceResponderHelloPayload
case 13: self = .deviceToDeviceMessage
case 14: self = .deviceProximityCallback
case 15: self = .unlockKeySignedChallenge
case 101: self = .loginNotification
default: return nil
}
}
var rawValue: Int {
switch self {
case .enrollment: return 0
case .tickle: return 1
case .txRequest: return 2
case .txReply: return 3
case .txSyncRequest: return 4
case .txSyncResponse: return 5
case .txPing: return 6
case .deviceInfoUpdate: return 7
case .txCancelRequest: return 8
case .proximityauthPairing: return 10
case .gcmv1IdentityAssertion: return 11
case .deviceToDeviceResponderHelloPayload: return 12
case .deviceToDeviceMessage: return 13
case .deviceProximityCallback: return 14
case .unlockKeySignedChallenge: return 15
case .loginNotification: return 101
}
}
}
#if swift(>=4.2)
extension Securegcm_Type: CaseIterable {
// Support synthesized by the compiler.
}
#endif // swift(>=4.2)
/// Message used only during enrollment
/// Field numbers should be kept in sync with DeviceInfo in:
/// java/com/google/security/cryptauth/backend/services/common/common.proto
struct Securegcm_GcmDeviceInfo {
struct Securegcm_GcmDeviceInfo: @unchecked Sendable {
// SwiftProtobuf.Message conformance is added in an extension below. See the
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
// methods supported on all messages.
@@ -798,7 +601,7 @@ struct Securegcm_GcmDeviceInfo {
fileprivate var _storage = _StorageClass.defaultInstance
}
struct Securegcm_GcmMetadata {
struct Securegcm_GcmMetadata: Sendable {
// SwiftProtobuf.Message conformance is added in an extension below. See the
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
// methods supported on all messages.
@@ -829,7 +632,7 @@ struct Securegcm_GcmMetadata {
fileprivate var _version: Int32? = nil
}
struct Securegcm_Tickle {
struct Securegcm_Tickle: Sendable {
// SwiftProtobuf.Message conformance is added in an extension below. See the
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
// methods supported on all messages.
@@ -851,7 +654,7 @@ struct Securegcm_Tickle {
fileprivate var _expiryTime: UInt64? = nil
}
struct Securegcm_LoginNotificationInfo {
struct Securegcm_LoginNotificationInfo: Sendable {
// SwiftProtobuf.Message conformance is added in an extension below. See the
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
// methods supported on all messages.
@@ -917,138 +720,33 @@ struct Securegcm_LoginNotificationInfo {
fileprivate var _eventType: String? = nil
}
#if swift(>=5.5) && canImport(_Concurrency)
extension Securegcm_AppleDeviceDiagonalMils: @unchecked Sendable {}
extension Securegcm_DeviceType: @unchecked Sendable {}
extension Securegcm_SoftwareFeature: @unchecked Sendable {}
extension Securegcm_InvocationReason: @unchecked Sendable {}
extension Securegcm_Type: @unchecked Sendable {}
extension Securegcm_GcmDeviceInfo: @unchecked Sendable {}
extension Securegcm_GcmMetadata: @unchecked Sendable {}
extension Securegcm_Tickle: @unchecked Sendable {}
extension Securegcm_LoginNotificationInfo: @unchecked Sendable {}
#endif // swift(>=5.5) && canImport(_Concurrency)
// MARK: - Code below here is support for the SwiftProtobuf runtime.
fileprivate let _protobuf_package = "securegcm"
extension Securegcm_AppleDeviceDiagonalMils: SwiftProtobuf._ProtoNameProviding {
static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
4000: .same(proto: "APPLE_PHONE"),
7900: .same(proto: "APPLE_PAD"),
]
static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}`>APPLE_PHONE\0\u{2}|<APPLE_PAD\0")
}
extension Securegcm_DeviceType: SwiftProtobuf._ProtoNameProviding {
static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
0: .same(proto: "UNKNOWN"),
1: .same(proto: "ANDROID"),
2: .same(proto: "CHROME"),
3: .same(proto: "IOS"),
4: .same(proto: "BROWSER"),
5: .same(proto: "OSX"),
]
static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0UNKNOWN\0\u{1}ANDROID\0\u{1}CHROME\0\u{1}IOS\0\u{1}BROWSER\0\u{1}OSX\0")
}
extension Securegcm_SoftwareFeature: SwiftProtobuf._ProtoNameProviding {
static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
0: .same(proto: "UNKNOWN_FEATURE"),
1: .same(proto: "BETTER_TOGETHER_HOST"),
2: .same(proto: "BETTER_TOGETHER_CLIENT"),
3: .same(proto: "EASY_UNLOCK_HOST"),
4: .same(proto: "EASY_UNLOCK_CLIENT"),
5: .same(proto: "MAGIC_TETHER_HOST"),
6: .same(proto: "MAGIC_TETHER_CLIENT"),
7: .same(proto: "SMS_CONNECT_HOST"),
8: .same(proto: "SMS_CONNECT_CLIENT"),
]
static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0UNKNOWN_FEATURE\0\u{1}BETTER_TOGETHER_HOST\0\u{1}BETTER_TOGETHER_CLIENT\0\u{1}EASY_UNLOCK_HOST\0\u{1}EASY_UNLOCK_CLIENT\0\u{1}MAGIC_TETHER_HOST\0\u{1}MAGIC_TETHER_CLIENT\0\u{1}SMS_CONNECT_HOST\0\u{1}SMS_CONNECT_CLIENT\0")
}
extension Securegcm_InvocationReason: SwiftProtobuf._ProtoNameProviding {
static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
0: .same(proto: "REASON_UNKNOWN"),
1: .same(proto: "REASON_INITIALIZATION"),
2: .same(proto: "REASON_PERIODIC"),
3: .same(proto: "REASON_SLOW_PERIODIC"),
4: .same(proto: "REASON_FAST_PERIODIC"),
5: .same(proto: "REASON_EXPIRATION"),
6: .same(proto: "REASON_FAILURE_RECOVERY"),
7: .same(proto: "REASON_NEW_ACCOUNT"),
8: .same(proto: "REASON_CHANGED_ACCOUNT"),
9: .same(proto: "REASON_FEATURE_TOGGLED"),
10: .same(proto: "REASON_SERVER_INITIATED"),
11: .same(proto: "REASON_ADDRESS_CHANGE"),
12: .same(proto: "REASON_SOFTWARE_UPDATE"),
13: .same(proto: "REASON_MANUAL"),
14: .same(proto: "REASON_CUSTOM_KEY_INVALIDATION"),
15: .same(proto: "REASON_PROXIMITY_PERIODIC"),
]
static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0REASON_UNKNOWN\0\u{1}REASON_INITIALIZATION\0\u{1}REASON_PERIODIC\0\u{1}REASON_SLOW_PERIODIC\0\u{1}REASON_FAST_PERIODIC\0\u{1}REASON_EXPIRATION\0\u{1}REASON_FAILURE_RECOVERY\0\u{1}REASON_NEW_ACCOUNT\0\u{1}REASON_CHANGED_ACCOUNT\0\u{1}REASON_FEATURE_TOGGLED\0\u{1}REASON_SERVER_INITIATED\0\u{1}REASON_ADDRESS_CHANGE\0\u{1}REASON_SOFTWARE_UPDATE\0\u{1}REASON_MANUAL\0\u{1}REASON_CUSTOM_KEY_INVALIDATION\0\u{1}REASON_PROXIMITY_PERIODIC\0")
}
extension Securegcm_Type: SwiftProtobuf._ProtoNameProviding {
static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
0: .same(proto: "ENROLLMENT"),
1: .same(proto: "TICKLE"),
2: .same(proto: "TX_REQUEST"),
3: .same(proto: "TX_REPLY"),
4: .same(proto: "TX_SYNC_REQUEST"),
5: .same(proto: "TX_SYNC_RESPONSE"),
6: .same(proto: "TX_PING"),
7: .same(proto: "DEVICE_INFO_UPDATE"),
8: .same(proto: "TX_CANCEL_REQUEST"),
10: .same(proto: "PROXIMITYAUTH_PAIRING"),
11: .same(proto: "GCMV1_IDENTITY_ASSERTION"),
12: .same(proto: "DEVICE_TO_DEVICE_RESPONDER_HELLO_PAYLOAD"),
13: .same(proto: "DEVICE_TO_DEVICE_MESSAGE"),
14: .same(proto: "DEVICE_PROXIMITY_CALLBACK"),
15: .same(proto: "UNLOCK_KEY_SIGNED_CHALLENGE"),
101: .same(proto: "LOGIN_NOTIFICATION"),
]
static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0ENROLLMENT\0\u{1}TICKLE\0\u{1}TX_REQUEST\0\u{1}TX_REPLY\0\u{1}TX_SYNC_REQUEST\0\u{1}TX_SYNC_RESPONSE\0\u{1}TX_PING\0\u{1}DEVICE_INFO_UPDATE\0\u{1}TX_CANCEL_REQUEST\0\u{2}\u{2}PROXIMITYAUTH_PAIRING\0\u{1}GCMV1_IDENTITY_ASSERTION\0\u{1}DEVICE_TO_DEVICE_RESPONDER_HELLO_PAYLOAD\0\u{1}DEVICE_TO_DEVICE_MESSAGE\0\u{1}DEVICE_PROXIMITY_CALLBACK\0\u{1}UNLOCK_KEY_SIGNED_CHALLENGE\0\u{2}V\u{1}LOGIN_NOTIFICATION\0")
}
extension Securegcm_GcmDeviceInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
static let protoMessageName: String = _protobuf_package + ".GcmDeviceInfo"
static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
1: .standard(proto: "android_device_id"),
102: .standard(proto: "gcm_registration_id"),
202: .standard(proto: "apn_registration_id"),
203: .standard(proto: "notification_enabled"),
302: .standard(proto: "bluetooth_mac_address"),
103: .standard(proto: "device_master_key_hash"),
4: .standard(proto: "user_public_key"),
7: .standard(proto: "device_model"),
8: .same(proto: "locale"),
9: .standard(proto: "key_handle"),
12: .same(proto: "counter"),
13: .standard(proto: "device_os_version"),
14: .standard(proto: "device_os_version_code"),
15: .standard(proto: "device_os_release"),
16: .standard(proto: "device_os_codename"),
17: .standard(proto: "device_software_version"),
18: .standard(proto: "device_software_version_code"),
19: .standard(proto: "device_software_package"),
22: .standard(proto: "device_display_diagonal_mils"),
24: .standard(proto: "device_authzen_version"),
29: .standard(proto: "long_device_id"),
31: .standard(proto: "device_manufacturer"),
32: .standard(proto: "device_type"),
400: .standard(proto: "using_secure_screenlock"),
401: .standard(proto: "auto_unlock_screenlock_supported"),
402: .standard(proto: "auto_unlock_screenlock_enabled"),
403: .standard(proto: "bluetooth_radio_supported"),
404: .standard(proto: "bluetooth_radio_enabled"),
405: .standard(proto: "mobile_data_supported"),
406: .standard(proto: "tethering_supported"),
407: .standard(proto: "ble_radio_supported"),
408: .standard(proto: "pixel_experience"),
409: .standard(proto: "arc_plus_plus"),
410: .standard(proto: "is_screenlock_state_flaky"),
411: .standard(proto: "supported_software_features"),
412: .standard(proto: "enabled_software_features"),
1000: .standard(proto: "enrollment_session_id"),
1001: .standard(proto: "oauth_token"),
]
static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{3}android_device_id\0\u{4}\u{3}user_public_key\0\u{4}\u{3}device_model\0\u{1}locale\0\u{3}key_handle\0\u{2}\u{3}counter\0\u{3}device_os_version\0\u{3}device_os_version_code\0\u{3}device_os_release\0\u{3}device_os_codename\0\u{3}device_software_version\0\u{3}device_software_version_code\0\u{3}device_software_package\0\u{4}\u{3}device_display_diagonal_mils\0\u{4}\u{2}device_authzen_version\0\u{4}\u{5}long_device_id\0\u{4}\u{2}device_manufacturer\0\u{3}device_type\0\u{4}F\u{1}gcm_registration_id\0\u{3}device_master_key_hash\0\u{4}c\u{1}apn_registration_id\0\u{3}notification_enabled\0\u{4}c\u{1}bluetooth_mac_address\0\u{4}b\u{1}using_secure_screenlock\0\u{3}auto_unlock_screenlock_supported\0\u{3}auto_unlock_screenlock_enabled\0\u{3}bluetooth_radio_supported\0\u{3}bluetooth_radio_enabled\0\u{3}mobile_data_supported\0\u{3}tethering_supported\0\u{3}ble_radio_supported\0\u{3}pixel_experience\0\u{3}arc_plus_plus\0\u{3}is_screenlock_state_flaky\0\u{3}supported_software_features\0\u{3}enabled_software_features\0\u{4}L\u{9}enrollment_session_id\0\u{3}oauth_token\0")
fileprivate class _StorageClass {
var _androidDeviceID: UInt64? = nil
@@ -1090,7 +788,11 @@ extension Securegcm_GcmDeviceInfo: SwiftProtobuf.Message, SwiftProtobuf._Message
var _enrollmentSessionID: Data? = nil
var _oauthToken: String? = nil
static let defaultInstance = _StorageClass()
// This property is used as the initial default value for new instances of the type.
// The type itself is protecting the reference to its storage via CoW semantics.
// This will force a copy to be made of this reference when the first mutation occurs;
// hence, it is safe to mark this as `nonisolated(unsafe)`.
static nonisolated(unsafe) let defaultInstance = _StorageClass()
private init() {}
@@ -1380,10 +1082,7 @@ extension Securegcm_GcmDeviceInfo: SwiftProtobuf.Message, SwiftProtobuf._Message
extension Securegcm_GcmMetadata: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
static let protoMessageName: String = _protobuf_package + ".GcmMetadata"
static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
1: .same(proto: "type"),
2: .same(proto: "version"),
]
static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}type\0\u{1}version\0")
public var isInitialized: Bool {
if self._type == nil {return false}
@@ -1427,9 +1126,7 @@ extension Securegcm_GcmMetadata: SwiftProtobuf.Message, SwiftProtobuf._MessageIm
extension Securegcm_Tickle: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
static let protoMessageName: String = _protobuf_package + ".Tickle"
static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
1: .standard(proto: "expiry_time"),
]
static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{3}expiry_time\0")
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
while let fieldNumber = try decoder.nextFieldNumber() {
@@ -1463,13 +1160,7 @@ extension Securegcm_Tickle: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
extension Securegcm_LoginNotificationInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
static let protoMessageName: String = _protobuf_package + ".LoginNotificationInfo"
static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
2: .standard(proto: "creation_time"),
3: .same(proto: "email"),
4: .same(proto: "host"),
5: .same(proto: "source"),
6: .standard(proto: "event_type"),
]
static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{4}\u{2}creation_time\0\u{1}email\0\u{1}host\0\u{1}source\0\u{3}event_type\0")
mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
while let fieldNumber = try decoder.nextFieldNumber() {